
body {
    font-family: "Literata", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: bold;
    background-color: #1e293b;
    margin: 0px;
    color: #e6f3b3;
    padding: 0; /* Remove default padding */
    /* overflow-x: hidden; Remove this line to enable horizontal scrolling */
}

a {
    color: #db623e; 
}

.enchilada-text {
    font-weight: bold;
    color:  #db623e;
}

#topnav {
    display: flex;
    width: 100vw;
    height: 6vh;
    margin-top: 20px;
    align-items: center;
    z-index: 2000;
}

#hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 0vh); /* Adjusted height to make room for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

#hero {
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 75vh;
    margin: 0px;
    background: url("img/YlGnBu_r_0_255_535ba5611c.jpeg") center no-repeat;
    background-size: cover; /* Ensure background covers the hero-container */
    background-position: center top; /* Initial background position */
}


#enchilada-logo {
    position: absolute;
    width: 275px;
    min-width: 150px;
    top: 20px;
    left: 20px;
}

.cta-button {
    font-family: "Literata", serif;
    cursor: pointer;
    text-align: center;
    border-width: 0;
    width: 15%;
    height: 50px;
    font-size: 20px;
    /* color:  #738db8; */
    color: #1e2a3b;
    /* color:  #e6f3b3; */
    background-color: #FECF92;
    border-radius: 5px;
}

#cta-button-header {
    position: absolute;
    right: 1%;
    top: 3%;
    width: 15%;
    height: 50px;
    font-size: 30px;
    background-color: #27374d;
}
#cta-button-slogan {

}

#hero_text {
    position: absolute;
    bottom: 20px;
    right: 120px;
    color: #e6f3b3;
    text-align: right;
}

#hero h2 {
    margin: 0px;
    /* font-size: 2.5; */
    font-size: max(2.0vw, 30px);
}

#eee_image {
    width: 35vw;
    min-width: 400px;
}

#slogan-block {
    width: 100%;
    background-color: #1e293b;
    text-align: center;
}

#slogan-content {
    padding: 20px;
}

#slogan-block h2 {
    color:  #db623e;
}

#slogan-block h1 {
    font-size: 2.6em;
    color:  #e6f3b3;
}

#bio-block {
    display: flex;
    width: 100%;
    justify-content: space-around;
    background-color: #27374d;
    padding: 20px 0;
    align-items: center;
}

.bio-item {
    display: flex;
    flex-wrap: wrap;
    height: 650px;
    text-align: left;
    width: 300px;
    background-color: #1e293b;
    padding: 30px;
    vertical-align: top;
}

.bio-item img {
    max-width: 100%;
    height: 300px;
}

.bio-header {
    position: relative;
    /* top: 100px; */
    height: 300px;
    width: 300px;
}

#bio-summary-header {
    background: url("img/YlGnBu_r_0_255_b17903b2a1_sq.jpeg") top no-repeat;
    background-size: cover; /* Ensure background covers the hero-container */
    background-position: center top; /* Initial background position */
    background-color: white;
}

#bio-summary-header-text {
    position: relative;
    top: 40%;
}

#bio-summary-header h1 {
    text-align: center;
    font-size: 2em;
    color: #1e2a3b;
}

#bio-summary-text {
    padding: 10px;
    background-color: rgba(30, 41, 59, 0.4);
}

.bio-name {
    text-align: center;
    width: 300px;
}

.bio-list ul {
    text-align: left;
}

.bio-list li {
    text-align: left;
    font-size: clamp(14px, 0.7vw, 16px);
}   

footer {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 20px 0;
}

#footer-content {
    max-width: 800px;
    margin: 0 auto;
}

footer p {
    margin: 5px 0;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#lightbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 600px;
    height: fit-content;
    border-radius: 10px;
    background-color: #1e2a3b;
    max-width: 80vw;
}

#contact_form {
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#email {
    font-family: "Literata", serif;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

#message{
    font-family: "Literata", serif;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    height: 100px;
    overscroll-behavior: contain;
}

#submit {
    position: relative;
    margin: 10px 0px 0px 0px;
    width: 40%;
    left: 30%;
    align-content: center;
    font-weight: bold;
    color:  #e6f3b3;
    background-color: #db623e;
    font-family: "Literata", serif;
    font-size: 25px;
}

#closeBtn {
    position: fixed;
    top: 0px;
    right: 10px;
    cursor: pointer;
    scale: 1.75;
    color: rgb(255, 255, 255);
}

@media screen and (max-width: 1175px) {

    #bio-block {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .bio-item {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 60%;
        height:fit-content;
    }

@media screen and (max-width: 600px) {
    #hero {
        height: 40vh;
        background-position: right bottom; /* Adjust position for smaller screens */
    }

    #hero_text {
        position: absolute;
        bottom: 20px;
        right: 20px;
        color: #e6f3b3;
        text-align: right;
    }

    #eee_image {
        min-width: 80vw;
    }

    #hero h2 {
        /* font-size: 2.5; */
        font-size: max(2.5vw, 20px);
    }

    #slogan-block h1 {
        font-size: 1.5em;
    }

    #slogan-block h2 {
        font-size: 1em;
    }

    .bio-list li {
        font-size: 1em;
    }
    .bio-item {
        width: 100%;
        padding: 0px;
        padding-top: 20px;
        padding-bottom: 20px;
        height:fit-content;
    }
}
}
