*{
    padding: 0;
    margin: 0;
}
header{
    min-height: 100vh;
    background: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/bg.webp);
    background-position: center;
    background-size: cover;
    position: relative;
}


nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;

}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
 }
 .nav-links ul li a{
    text-decoration: none;
    font-size: 15px;
    color: white;
 }
 .nav-links ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background-color: red;
    display: block;
    margin: auto;
    transition: 0.5s;
    left: 0;
    bottom: 0;
}

.nav-links ul li a:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: aliceblue;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.text-box h1{
    font-size: 40px;
}
.text-box p{
    margin: 10px;
    margin-bottom: 40px;
    font-size: 15px;
    color: white;
    line-height: 20px;
}

.hero-btn{
    display: inline-block;
    background-color: aqua;
    text-decoration: none;
    color: white;
    border: 1px solid white  ;
    padding: 10px 30px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid red;
    background-color: red;
    transition: 0.7s;
    font-size: 19px;
}
.bi{
    display: none;
}

@media (max-width:768px){
    .text-box h1{
        font-size: 30px;
    }
    .bi{
        display: block;
        color: white;
        font-size: 30px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background-color: rgba(255, 0, 0, 0.447);
        height: 100vh;
        top: 0;
        width: 200px;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }

    nav .bi{
    display: block;
    color: white;
    margin: 10px;
    font-size: 25px;
    cursor: pointer;


}
}

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
 }

 .course h1{
    font-size: 35px;
 }

 .course p{
    color: #777;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
    padding: 10px;
 }

 .row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
 }
 .rows{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
 }


 .course-col{
    background-color: rgb(233, 229, 222);
    flex-basis: 30%;
    border-radius: 10px;
    margin-bottom: 10%;
    padding: 30px 10px;
    box-sizing: border-box;
    font-weight: bold;

 }
 .course-cols{
    background-color: rgb(233, 229, 222);
    flex-basis: 30%;
    border-radius: 10px;
    margin-bottom: 10%;
    padding: 30px 10px;
    box-sizing: border-box;
    font-weight: bold;
    margin: 30px;
 }

 .course-col h3{
    margin: 10px 0;
 }
 .course-cols h3{
    margin: 10px 0;
 }
 .course-col:hover{
    box-shadow:  0 0 10px  rgba(4,9,30,0.5);
 }
 .course-cols:hover{
    box-shadow:  0 0 10px  rgba(4,9,30,0.5);
 }

 @media (max-width:768px) {
    .row{
        flex-direction: column;
    }
 }
 @media (max-width:768px) {
    .rows{
        flex-direction: column;
    }
 }

 .campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
 }
 .campus-col{
    flex-basis: 30%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
 }
 .campus-col img{
    width: 100%;
    display: block;
 }
 .layer{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: 0.5s;

 }

 .layer:hover{
    background-color: rgba(200, 100, 50, 0.2);
 }

 .layer h3{
    opacity: 0;
    background-color: blue;
    width: 100%;
    color: white;
    font-size: 25px;
    position: absolute;
    bottom: 0;
    transition: 0.5s;
 }
 .layer:hover h3{
    bottom: 50%;
    opacity: 1;
 }

 .son{
    color: rgb(77, 77, 77);
    -webkit-box-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    padding: 20px 0;
 }
 .son a{
    text-decoration: none;
 }