/* layout.css */
#announcement-banner {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 60;
    height: 40px;
    max-width: 100vw;
}

nav.fixed {
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 50;
    height: 56px;
    max-width: 100vw;
}

.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-section > div {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

/* Container constraints */
.max-w-7xl {
    max-width: 100vw;
    overflow-x: hidden;
}

@media screen and (max-width: 768px) {
    #announcement-banner {
        height: 40px;
    }

    nav.fixed {
        top: 40px;
    }

    #mobile-menu {
        top: 96px;
        max-width: 100vw;
    }

    .hero-section {
        padding-top: 96px;
    }

    .hackathon-title {
        display: none;
    }

    #announcement-banner .max-w-7xl {
        padding: 0;
        height: 100%;
        max-width: 100vw;
    }

    #announcement-banner .flex {
        height: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .h-16 {
        height: 56px;
    }

    #mobile-menu .flex-wrap {
        padding: 1rem;
        gap: 0.75rem;
        justify-content: center;
    }

    .theme-btn {
        transition: all 0.3s ease;
    }

    .theme-btn:active {
        transform: scale(0.95);
    }

    .theme-btn i {
        color: var(--text-color);
    }
}