::-webkit-scrollbar {
    display: none;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body{
    font-family: Montserrat;
    display: grid;
    justify-items:center;
    background-color: white;
    min-height: 100vh;
    
}

/* Nav Section */

.header{
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    font-weight: 650;
    font-size: 18px;
    z-index: 1;
}

li.nav{
    display: flex;
    align-content: center;
}

nav.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 96%;
    padding: 15px;
}

.checkbtn{
    font-size: 30px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

ul.main-list {
    width: 60%;
    list-style-type: none;
    display: flex;
	justify-content: space-around;
}

a.nav-items:hover{
    transition-duration: 0.4s;
    text-decoration: underline #950000;
    color:#950000;
    cursor: pointer;
}


a.nav-items{
    display: block;
    align-content: center;
    text-decoration: none;
    color: black;

}

button.CVbutton{
    height: 50px;
    width: 130px;
    padding: 5px;
    color:white;
    background-color: #950000;
    box-shadow: 3.5px 3.5px black;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition-duration: 0.3s;
    font-size: 16px;
    font-weight: 650;
    
}

li.mobile-button{
    display: none;
}

.CVbutton:hover {
    background-color: white;
    color: #950000;
}


hr.nav{
    width: 100%;
    height: 3px;
    color: #950000;
    background-color: #950000; 
}

/* main */
main.main{
    width: 90%;
}

/* page specific */
section.research-highlight{
    margin: 20px 0 0 0;
}

button.research-highlights{
    height: 60px;
    width: 180px;
    padding: 5px;
    color:white;
    background-color: #950000;
    box-shadow: 3.5px 3.5px black;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition-duration: 0.3s;
    font-size: 16px;
    font-weight: 650;
}

.research-highlights:hover {
    background-color: white;
    color: #950000;
}

/* article navigation */
nav.sub-nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* buttons for navigation */

button.nav-button:hover {
    background-color: #ddd; /* Hover state */
}

button.nav-button.active {
    background-color: #666; /* Active state */
    color: white;
}


.content-area {
    width:100%;
    padding: 20px;
    height: auto;
}

/* Footer Section */

footer.footer-container {
    height: 55vh;
    min-height: 450px;
    width: 100%;
    background-color: #950000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 5%;
    font-size: clamp(0.875rem, 0.792rem + 0.444vw, 1.125rem); /*14px - 18px*/
}
    
div.footer-content{
    width: 75%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}
    
div.links-section{
    height: 50%;
    display: flex;
    justify-content: space-around;
}
    
ul.footer-ul{
    list-style: none;
    
    li{
    margin-bottom: 13px;
    }
}

a.footer {
    color: white;
    text-decoration: none;
}

a.footer:hover {
    color: yellow;
    transition: 0.3s;
    text-decoration: underline;
}
    
div.links{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    }
    
.footer-h3{
    margin-bottom: 20px;
    }
    
div.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    }
    
hr.footer{
    margin: 3% 0 3% 0;
    height: 3px;
    color: white;
    background-color: white;
    }
   
p.footer{
    text-align: center;
    }

div.logoFooter{
    width:20%;
    display: block;
    align-content: center;
}

img.logoFooter{
    width: 100%;
    height:auto;
    object-fit: cover;
}
/* responsive codes */

/* mobile devices */
@media only screen and (max-width: 760px) {
    
    /* navbar */
    .checkbtn {
        display: block; /* Show hamburger menu */
    }

    .logoHead{
        width: 55px;
    }

    hr.nav{
        display: none;
    }

    ul.main-list {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-around;
        font-size: 20px;
        position: fixed;
        width: 70%;
        padding: 50px 0px 90px 40px;
        height: 100vh;
        background-color: white;
        top: 8%;
        left: -100%; /* Hide menu by default */
        transition: all 0.5s ease-in-out;
        li.mobile-button{
            display: flex;
        }
    }

    button.CVbutton{
        height: 50px;
        width: 160px;
        font-size: 14px;
    }

    button.desktop-button{
        display: none;
    }

    main.main{
        width: 100%;
    }

    /* page specific */
    /* research nav section */
    nav.sub-nav{
        flex-wrap: wrap;
        justify-content: center;
    }

    button.research-highlights{
        height: 50px;
        width: 160px;
        font-size: 14px;
    }

    /* footer */
    footer.footer-container{
        height:150vh;
        min-height: 700px;
        max-height: 900px;
        padding: 0;
    }
    div.footer-content{
        width: 85%;
        height: 95%;
        align-content: flex-start;
        text-align: center;
        justify-content: space-between;
    }
    div.links-section{
        height: auto;
        flex-direction: column;
    }
    .footer-h3{
        margin-top: 25px;
    }
    div.logoFooter{
        width: 100%;
        margin-bottom: 10px;
    }
    img.logoFooter{
        width: 150px;
    }

}
