::-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;
    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%;
    justify-content: center;
    align-items: center;
}

/* Profile Section */

section.HeroSection{
    height:100vh;
    min-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: flex-end;
}

div.about{
    width:65%;
    display: flex;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
}

img.profile-image{
    max-width: 350px;
    min-width: 200px;
    height: auto;
    box-shadow: 10px 10px 30px black; 
    border-radius: 35px; 
    overflow: hidden;
}

h1.profile{
    color:#950000;
    margin-left:10%;
    font-size: clamp(2.5rem, 2.188rem + 1.667vw, 3.438rem); /*35px - 55px*/
    margin-bottom: 60px;
}

p.about{
    margin-left: 10%;
    color: black; 
    font-size: clamp(0.875rem, 0.792rem + 0.444vw, 1.125rem); /*14px - 18px*/
    font-weight: 400;

}

/* Updates Section */

section.Updates{
    /* height:130vh; */
    display: flex;
    justify-content: space-evenly;
}

header.headings{
    display: flex;
	justify-content: space-evenly;
}

h2{
    text-align: center;
    color: #950000;
    font-size: clamp(1.875rem, 1.771rem + 0.556vw, 2.188rem); /*30-35*/    
    padding-bottom: 15%;
    
}

section.Updates{
    width: 100%;
    display:flex;
    justify-content: space-around;
}

/* Latest News */

section.news-container{
    width: 31%;
    display: flex;
    flex-direction: column;
}

div.LatestNews{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFF3F3;
    box-shadow: 5px 5px rgba(101.79, 0, 0, 0.50);
    overflow-y: auto;
    max-height: 800px;
}

.button{
    display: flex;
    justify-content: end;
}

/* Research Highlights */

section.ResearchHighlights{
    width: 31%;
    height: 900px;
    display: flex;
    flex-direction: column;
}

.Research-items{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

section.text-content {
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 1; /* Allow text content to take available space */
    max-height: 200px; /* Set a maximum height for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
}

.itemheader{
    margin:9% 0 5% 0;
    font-size: clamp(1.125rem, 1.042rem + 0.444vw, 1.375rem);
}

.items{
    height:19%;
    padding:2% 9% 2% 9%;
    display: flex;
    justify-content: space-around;
    background: #FFF3F3;
    box-shadow: 5px 5px rgba(101.79, 0, 0, 0.50);
}

.itemsText{
    font-size: clamp(0.875rem, 0.792rem + 0.444vw, 1.125rem); /*14px - 18px*/
    font-weight: 400;
    margin:10px;
}


div.image-source{
    width: 30%;
    display: block;
    align-content: center;
}

img.research-highlights{
    width: 100%;
    height: 90%;
    box-shadow: 0 10px 20px rgba(101.79, 0, 0, 0.50); 
    border-radius: 35px; 
    object-fit: cover;
}

a.main-content{
    text-decoration: none;
    color: black;
}

a.main-content:hover{
    color:#950000;
    text-decoration: underline;
    transition: 0.3s;
}

/* Upcoming Events */

section.UpcomingEvents{
    width: 31%;
    height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

section.events{
    height : 500px;
    background: #FFF3F3;
    box-shadow: 5px 5px rgba(101.79, 0, 0, 0.50);
}

div.events-content{
    flex: 1;
    max-height: 250px;
    overflow-y: auto;
}

/* Youtube Box */


div.youtube{
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    padding-top: 75%;
    margin: 5% 0 0 0;
    border-radius: 35px; 
    box-shadow: 5px 5px 10px rgba(101.79, 0, 0, 0.50);
}

iframe{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* 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;
}


/* contact Page */

section.contact-section{
    height: 85vh;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: flex-end;
}

h1.connect-heading{
    padding-right:5%;
    color:#950000;
    font-size: 65px;
    font-weight: 600;
}

p.contact-about{
    padding-top: 30px;
    padding-right: 5%;
    color: black;
    font-size: 18px;
    font-weight: 400;
}

/* form */

form.contact-form{
    display:flex;
    flex-direction: column;
    justify-content: center;
}

section.basic{
    display: flex;
    justify-content: center;
    align-items: center;
}

input.basic{
    height: 80px;
    width: 300px;
    margin: 5px;
    background-color: #FFF3F3;
    color: rgba(0, 0, 0, 0.60); 
    font-size: 18px;
    box-shadow: 5px 5px 0px rgba(101.79, 0, 0, 0.80);
}


/* 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: 16px;
    }

    button.desktop-button{
        display: none;
    }

    main.main{
        width: 100%;
    }

    /* page specific */
    /* hero section */
    section.HeroSection{
        height: 100vh;
        min-height: 800px;
    }
    div.about{
        width:80%;
        display: flex;
        flex-direction: column;
    }
    div.profile-image{
        display: flex;
        justify-content: center;
        padding: 0% 0% 7% 0%;
    }
    img.profile-image{
        width: 85%;
        border-radius: 5%;
    }
    h1.profile{
        margin: 0 0 10px 0;
        text-align: center;
    }
    p.about{
        margin: 0;
        text-align: justify;
    }

    /* updates section */
    h2{
        text-align: start;
        padding: 0;
        margin: 0 0 15px 0;
    }
    section.Updates{
        flex-direction: column;
        align-items: center;
    }
    section.news-container{
        width: 80%;
        margin-top: 10%; 
    }
    .informational-buttons{
        font-size: 15px;
        height:40px;
    }
    section.ResearchHighlights{
        margin-top: 10%;
        height: 800px;
        width: 80%;
    }
    section.UpcomingEvents{
        width: 80%;
        margin: 10% 0 0 0;
        height: auto;
    }
    section.events{
        height: 350px;
    }

    /* 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;
    }
}

/* tablets */
@media only screen and (max-width: 1199px) and (min-width: 761px) {
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box
    }
    
    body{
        font-family: Montserrat;
        justify-items:center;
        background-color: white;
        min-height: 100vh;
    }

    .checkbtn {
        display: block; /* Show hamburger menu */
    }

    hr.nav{
        display: none;
    }

    ul.main-list {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        font-size: 25px;
        position: fixed;
        width: 70%;
        padding: 50px 0px 90px 0px;
        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: 80px;
        width: 180px;
        font-size: 20px;
    }

    button.desktop-button{
        display: none;
    }

    main.main{
        width: 100%;
    }
    div.about{
        width:80%;
        display: flex;
        flex-direction: column;
    }
    div.profile-image{
        display: flex;
        justify-content: center;
        padding: 0% 0% 7% 0%;
    }
    img.profile-image{
        width: 70%;
        border-radius: 5%;
    }
    h1.profile{
        font-size: 55px;
        margin-left: 10%;
        text-align: center;
    }
    p.about{
        text-align: justify;
    }
    /* div.header-headings{
        width:100%;
    } */
    h2{
        font-size: 35px;
        text-align: start;
        margin: 1% 0 1% 0;
        padding-bottom: 5%;
    }
    section.Updates{
        flex-direction: column;
        align-items: center;
    }
    section.news-container{
        width: 80%;
    }
    span.news-items{
        padding:1%;
    }
    .informational-buttons{
        font-size: 15px;
        height:40px;
    }
    section.ResearchHighlights{
        margin-top: 10%; 
        width: 80%;
    }
    section.UpcomingEvents{
        margin-top: 10%;
        width: 80%;
    }
}

/* regular desktop */
@media only screen and (min-width: 1200px){
    
    h1.profile{
        margin-bottom: 10px;
    }

    div.profile-image{
        display: flex;
        justify-content: center;
    }
    img.profile-image{
        border-radius: 5%;
    }
}