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;
    padding-left: 20px;
}

h1 {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 400;
    font-size: 40;
    margin: 0;
    margin-bottom: 20px;
    margin-top: 40px;
}

.anchor {
    position: relative;
    top: -150px;
}

/* COURSES */
.course-box{
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*float: left;*/
    min-height: 100px;
    width: 400px;
    max-width: 50vw;
    max-height: 50vw;
    height: 400px;
    margin-bottom: 6px;
    text-decoration: none;
    color: black;
}

.course-box:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.course-box h2 {
    display: block;
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 100;
    margin: 0px;
    background-color: rgba(255,255,255, 0.8);
}

.course-title{
    font-size: 28;
    padding: 10px 10px 10px 10px;
}

.instructor-name{
    font-size: 22;
    padding: 0px 10px 10px 10px;
}

.course-info{
    font-size: 22;
    padding: 10px;
    height: 0px;
}

@media(max-width: 650px){
    .course-title{
        font-size: 22;
    }
    .course-info, .instructor-name{
        font-size: 16;
    }
}


/*.course-box h2:after {
    display: block;
    content:''; 
    width: 100%; 
    height:4px; 
    background:black; 
    position:relative; 
    bottom: -10px;
}*/
/* END COURSES */
/* END COURSE SECTION */