* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: #333;
}

header {
    background-color: #333;
    padding: 1rem;
    position: relative;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-divider {
    width: 90vw;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

#theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 200;
    font-family: inherit;
}

#theme-toggle:hover {
    color: #ddd;
}
h1{
    text-align: center;
    color: floralwhite;
    font-weight: 100;
    letter-spacing: 0.1em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    width: 100%;
}

nav a {
    font-weight: 250;
    color: white;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    white-space: nowrap;
    display: block;
}

nav li {
    flex-shrink: 0;
}

/* Adjust container width to ensure content fits */
nav {
    width: 90%;
    max-width: 1200px;
}

nav a:hover {
    color: #ddd;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-section {
    margin-bottom: 3rem;
    width: 100%;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
h3 {
    color: floralwhite;
    font-weight: 100;
    letter-spacing: 0.1em;
    font-size: 1rem;
    margin-bottom: 1rem;
}
h3 a{
    color: floralwhite;
}

h4 {
    color: floralwhite;
    font-weight: 100;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-weight: 200;
    font-family: inherit;
}

footer p {
    color: white;
    font-weight: 200;
    font-size: 0.7rem;
}