@font-face {
    font-family: 'Lato';
    src: url('/static/fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('/static/fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('/static/fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('/static/fonts/Lato/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
}

.light-text {
    font-family: 'Lato', sans-serif;
    font-weight: 200;
}

p, span, div {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

strong, b {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background:
            radial-gradient(circle at 22.33% 73.0%, #2DAFB5 0%, 27.594%, rgba(45,175,181,0) 42%),
            radial-gradient(circle at 76.66% 43.16%, #F6C57B 0%, 35%, rgba(246,197,123,0) 50%),
            radial-gradient(circle at 48.90% 49.52%, rgba(255,255,239,0) 0%, 100%, rgba(255,255,239,0) 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.main_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(240, 240, 240, 0);
    border: none;
}

.logo-container {
    border: none;
    outline: none;
}

.main_header_head_logo {
    max-height: 70px;
}

.main_image {
    width: 100%;
    max-width: 1050px;
    margin: 20px auto;
    display: block;
    padding-left: 30px;
}

.tagline {
    text-align: center;
    font-size: 34px;
    margin: 20px 0;
    color: #333;
    font-weight: 200;
}


#content {
    display: none;
    background-color: rgba(255, 255, 255, 0.0);
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1135px;
    width: 94%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#content:not(:empty) {
    display: block; /* Show content when it's not empty */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-section {
    padding: 20px;
    border-radius: 10px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2DAFB5;
    opacity: 0.8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #248f94;
}

/* Adjust bento grid for content above */
.bento-grid {
    margin-top: 20px;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #content {
        width: 95%;
        padding: 15px;
        margin: 10px auto;
    }

    .tagline {
        font-size: 24px;
    }

    .main_image {
        padding-left: 15px;
    }

    .back-button {
        display: block;
        text-align: center;
        margin-top: 15px;
    }
}

/* Additional mobile adjustments for very small screens */
@media (max-width: 480px) {
    #content {
        width: 100%;
        border-radius: 0;
    }

    .tagline {
        font-size: 20px;
    }
    .main_image {
        padding-left: 15px;
    }
}
