html{
    overflow-x: hidden;
}
body{
    width: 100%;
    margin: 0px;
}

/* NAV BAR */
.nav-bar{
    position: fixed;
    display: block;
    background-color: rgba(255,255,255,0.8);
    height: 130px;
    width: 100%;
    margin-left: 0%;
    z-index: 10;
}

@-webkit-keyframes fadein-nav-bar {
    from { background-color: rgba(255,255,255, 0.8);}
    to   { background-color: rgba(255,255,255, 1.0);}
}

.nav-bar:hover{
    -webkit-animation: fadein-nav-bar 0.25s;
    background-color: white;
}

.logo-container{
    display: inline-block;
    float: left;
    width: 145px;
    height: 100px;
    margin-left: 5%;
    margin-top: 15px;
    background-image: url("images/isci-logo.png");
    background-repeat: no-repeat;
    background-size: cover;
    
}

.menu-container{
    display: block;
    float: right;
    margin-top: 85px;
    margin-right: 5%;
    margin-left: 30px;
    grid-gap: 0px 0px;
}
.menu-container::before{
    position: absolute;
    content:'';
    height: 6px;
    width: 676px;
    background: black;
    top: 40px;
    margin-left: 5px;
}

.menu-item {
    display: inline-block;
    min-width: 50px;
    height: 30px;
    text-align: center;
    
}

.menu-link, .menu-item a{
    font-size: 19px;
    font-family: neue-haas-grotesk-display;
    font-weight: 500;
    text-decoration: none;
    color: black;
    text-align: center;
}

.menu-item:hover{
}



.menu-link{
    margin-left: 5px;
    margin-right: 5px;
}


.dropdown{
    position: relative;
    z-index: 1;
}

.dropdown:after {
    visibility: hidden;
    content:''; 
    width:70%; 
    height:4px; 
    background-color:black; 
    position:absolute; 
    bottom:-8px;
    left: 15%;
}

.dropdown-items {
    display: none;
    position: absolute;
    padding-top: 20px;
    padding-left: 15%;
}
.dropdown-items a {
    max-width: 300px;
    height: 30px;
    width: 250px;
    display: block;
    background-color: rgba(255,255,255, 0.0);
    background-color: rgba(255,255,255, 0.0);
    text-align: left;
}

.dropdown-items a:hover {
    text-decoration: underline;
}

.dropdown:hover .dropdown-items {
    -webkit-animation: fadein-dropdown 0.5s;
    display: block;
    background-color: rgba(255,255,255, 1.0);
}

.dropdown:hover .nav-bar {
    background-color: rgba(255,255,255, 1.0);
}

@-webkit-keyframes fadein-dropdown {
    from { background-color: rgba(255,255,255, 0.0);}
    to   { background-color: rgba(255,255,255, 1.0);}
}

.dropdown:hover:after{
    visibility: visible;
}

.dropdown:hover{
    background-color: white;
}

@media(max-width: 960px){
    .logo-container{
        height: 70px;
        background-size: contain;
        background-position: 4px;
    }
    .menu-container{
        float: left;
        margin: 0;
        margin-top: 10px;
        padding-left: 5%;
        width: 100%;
        min-height: 20px;
    }
    .menu-container::before{
        display: none;
    }
}

@media(max-width: 720px){
    .menu-container{
        display: none;
    }
    .logo-container{
        height: 100px;
    }
}
/* END NAV BAR */

/* COURSE GUIDE */
.guide-box {
    position: fixed;
    top: 130px;
    left: 15%;
    width: 15%;
    max-height: 440px;
    padding-bottom: 20px;
    background-color: rgb(217, 224, 33);
    overflow-x: auto;
    
}

.guide-link {
    display: block;
    min-height: 20px;
    margin-top: 20px;
    padding-right: 10%;
    padding-left: 10%;
    font-size: 24px;
    text-decoration: none;
    color: black;
    font-family:neue-haas-grotesk-display;
    text-align: right;
}
 .active:hover {
    text-decoration: underline;
}
/* END COURSE GUIDE */

/* COURSE SECTION */
.course-section {
    position: absolute;
    width: 600px;
    max-width: 70%;
    min-height: 500px;
    margin-left: 30%;
    margin-top: 130px;
}

.course-image{
    object-fit: cover;
    object-position: left;
    width: 90%;
    margin-left: 5%;
    max-height: 350px;
}

h1, h3, h2, p {
    margin-left: 5%;
    margin-right: 5%;
    padding-left: 5px;
}

h3{
    font-family:neue-haas-grotesk-display;
    font-size: 16;
    font-weight: 100;
    height: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}

h1{
    font-family:neue-haas-grotesk-display;
    font-size: 28;
    background-color: rgb(217, 224, 33);
}

h2{
    font-family:neue-haas-grotesk-text;
    font-size: 20;
    font-weight: 400;
}

p{
    font-family:neue-haas-grotesk-text;
    font-size: 18;
    font-weight: 400;
}
}

/* END COURSE SECTION */