
a{
    text-decoration: none;
}

header{
    /* position: relative !important; */
    display: block !important;
}

.sticky-top{
    position: sticky !important;
}

.navbar a:hover, .navbar a.active {
    color: var(--main-color) !important;
}



.navbar-toggler {
    color: black;
    background: #ffffff;
}

.navbar{
    position: relative !important;
}

.dropdown-toggle, .navbar a {
    font-size: 20px;
}

a.navbar-brand.logo{
    width: 65%;
}


button.navbar-toggler {
    background: #ffffff !important;
}


header .logo, header .logo:hover{
    color: var(--text-color) !important;
}


.navbar-brand{
    white-space: normal;
}




header .navbar .dropdown-toggle {
    background: transparent;
    color: #fff;
    box-shadow: none;
    border: none;
    margin-top: -8px;
}


.dropdown-menu {
    background: #000;
}

.dropdown-menu .dropdown-item {
    margin-left: 0;
    padding: 10px 15px;
}

/* Dropdown active colors */
li.nav-item.dropdown.active button {
    color: var(--main-color) !important;
}

a.dropdown-item.active {
    background-color: var(--bs-dropdown-link-hover-bg);
}


/* Content */
.home-img img{
    width: 100%;
}

section#home {
    margin-top: 80px;
}

section#home {
    min-height: unset !important;
    padding: 0 !important;
    margin-top: 80px;
}

.people{
    padding-top: 0px;
}

.people-img{
    text-align: right;
}

.people-img img {
    width: 100%;
    max-width: 350px;
}

.publications p {
    margin-top: 75px;
}


.teaching .heading{
    text-align: center;
    margin: 6rem;
}

@media only screen and (min-width: 768px) {
    div#navbarNav {
        justify-content: flex-end;
    }
    
    .logo{
        font-size: 2rem !important;
    }
    
    .container{
        max-width: 1600px;
    }

    
}


/** Tablet Devices  **/
@media only screen and (max-width: 1024px) {
    section#home {
        margin-top: 50px;
    }
   
    .container{
        max-width: 1024px;
        padding: 0 4%;
    }

    a.navbar-brand.logo {
        margin-left: 0;
    }
    
    .home-content p {
        font-size: 16px;
    }

    .publications p, .publications {
        font-size: 16px;
    }

    .teaching-content h3, .contact-content h3, .people-content h2, .research-box h3 {
        font-size: 30px;
    }
    
    .teaching-content p, .contact-content p, .people-content p, .research-box p {
        font-size: 16px;
    }
    
    .teaching .heading, .contact .heading {
        font-size: 35px;
    }

    .contact-content, .contact-content li{
        font-size: 16px;
    }
    
    footer p{
        font-size: 16px;
    }

    
}




/** Mobile Devices **/



@media only screen and (max-width: 767px) {
    html,body{
        max-width:100% !important;
        overflow-x:hidden !important;
    }
    
    header .navbar .dropdown-toggle {
        font-size: 2rem;
    }


    .navbar-nav li a {
        margin: 15px 0;
    }

    .teaching {
        padding-top: 0;
        min-height: 70vh;
    }

    .teaching .heading {
        text-align: left;
        margin-left: 0;
    }
    
    section#publications {
    padding-top: 20px;
    }
    
    section#publications .heading {
        text-align: left;
    }
    
    
    .publications p {
    margin-top: 40px;
    }

    .contact {
        padding-top: 0;
        min-height: 78vh;
    }

    .people-img {
        text-align: left;
        margin-bottom: 20px;
    }

    .research .heading, .mobile-heading .heading {
        margin-left: 0;
        text-align: left;
    }
    
    

}

