/* Full-page background image */
body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: url('/static/homepage/green-background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white; /* Ensure readability */
    min-height: 100vh; /* Ensures full viewport coverage */
    display: flex;
    flex-direction: column;
}

/* Background overlay for better contrast */
.overlay {
    background: rgba(0, 128, 0, 0.4); /* Slight transparency */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Logo styling */
.logo-container {
    text-align: center;
    margin: 10px auto;
    width: 100%;
    max-width: 800px;
}

.logo-container .btn-right-top {
    float: right;
    margin-right: 30px;
    margin-top: -58px;
    min-width: 120px;
}

.logo-container img {
    max-width: 250px;
    display: block;
    margin: 0 auto;
}

/* Main content container */
main {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
}

/* Form & content container (keeps normal text alignment) */
.content-container {
    width: 100%;
    max-width: 800px;
    padding: 15px;
    text-align: left;
}

/* Buttons - Green Theme */
.btn-primary {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

.btn-primary:hover {
    background-color: #388E3C !important;
    border-color: #388E3C !important;
}

/* Always Hamburger Menu */
.navbar-toggler {
    display: block !important;
}

.navbar-collapse {
    display: none !important;
}

.navbar-collapse.show {
    display: block !important;
}

.card.screening-card {
    border-radius: 15px;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    padding: 25px;
}

.card.white70 {
    background: rgba(255, 255, 255, 0.7);
}

#cookieModal {
    color: rgb(51, 51, 51);
}

@media screen and (max-width: 1000px) {
    .logo-container .btn-right-top {
        margin-right: 3.2rem;
    }
}


@media screen and (max-width: 768px) {
    main {
        padding: 10px 0 10px 0;
    }

    /* mwm: max width on mobile */
    div.mwm {
        margin: 0;
        max-width: none;
    }

    div.content-container.mwm,
    div.mwm .content-container,
    div.mwm .container {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none;
    }

    div.container.mwm .p-5 {
        padding: 1.2rem 1rem 1.2rem 1rem !important;
    }

    div.container.mwm div.card {
        margin: 0 5px;
    }
    .logo-container .btn-right-top {
        margin-right: 5px;
    }
}

@media screen and (max-width: 520px) {
    .logo-container .btn-right-top {
        margin-top: -10px;
        margin-right: 5px;
        margin-bottom: 10px;
    }
}