*{
    margin: 0;
    padding: 0;
    font-family:'Poppins', sans-serif;
    text-transform: capitalize;
}
:root{
    --black:#2c2c54;
    --orange:#ff9f1a;
}
html{
    font-size: 62%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    background-color: #b3b7ebc7;
}
span{
    color: blue
}
.header{
    min-height:100vh;
    width: 100%;
    background-image: linear-gradient(rgba(13, 31, 100, 0.7), rgba(13, 31, 100, 0.7)), url(images/wallpaper.jpg);
    background-position: center;
    background-size:cover;
    position:relative;
}
/**beginning of navigation bar**/
.nav-links{
    flex: 1;
    display: flex;
    margin-top: 35px;
    float: right;
}

.link li a{
    text-decoration: none;
    color: white;
    margin: 10px;
    font-size: 15px;
    transition: 1s;
}

.nav-links ul li{
    list-style: none;
    position: relative;
    margin: 10px;
    display: inline-block;
    transition: 1s;
}
.nav-links ul li>ul{
    display: none;
}
.nav-links ul li>ul{
    /* position: absolute; */
    background: #ffff;
    margin-top: 3px;
}
.nav-links ul li>ul>li{
    padding: 4px;
    color: blue;
    display: block;
    font-size: 17px;
}
.nav-links ul li:hover>ul{

    display: block;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: blue;
    display:block;
    margin: auto;
    transition: 1s;
}
.nav-links ul li:hover::after{
    width:80%;
    font-weight: bold;
}

.halitech{
    width: 250px;
    float: left;
}
.text-box{
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color:white;
    margin-top: 50px;
}
/**beginning of navigation bar**/
.text-box h1{
    margin-bottom: 15px;
    font-size: 60px;
}
.text-box p{
    line-height: 42px;
    margin: 40px 0 50px;
    font-size: 20px;
}
.button{
    color:white;
    display: inline-block;
    text-decoration: none;
    border: 1px solid white;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    padding: 12px 34px;
    background-color: transparent;
    cursor: pointer;
    transition: 1s;

}
.text-box a{
    text-transform: uppercase;

}
.button:hover{
    border: 1px solid blue;
    background-color: blue;
    color: white;
}
nav #menu{
    display: none;
    float: right;
}
nav .fa{
    display: none;
}
@media(max-width: 700px){
    html{
        font-size: 55%;
    }
    .halitech{
        width: 200px;
    }
    .text-box h1{
    font-size: 35px;
    font-weight: bold;
    }

    
    .nav-links ul li{
        display: block;
        padding: 10px;
    }
    .nav-links{
        position: absolute;
        background: #afaeae;
        display: block;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        margin-top: 0px;
        float: left;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .nav-links ul{
        padding: 10px 0 10px;
    }
    nav #menu{
        display:block;
        color: white;
        font-size: 20px;
        margin: 20px;
        cursor: pointer;
    }
    nav #close{
        display:block;
        color: blue;
        font-size: 20px;
        margin: 20px;
        cursor: pointer;
    }
    .nav-links ul li:hover::after{
        width: 0%;
    }
    .link li a{
        color: blue;
        font-weight: bold;
    }
}
/**beginning of courses**/

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.course h1{
    font-size: 50px;
    font-weight: 600px;
    text-transform: uppercase;

}
.course-p{
    font-size: 20px;
    margin: 15px;
    font-weight: 700;
    padding: 10px;
}
.course-body{
    margin-top: 5%;
    justify-content: space-between;
    display: flex;
}
.course-level{
    flex-basis: 31%;
    background: #f8e0e0;
    border-radius: 10px;
    margin-bottom: 5%;
    box-sizing: border-box;
    padding: 20px 0 20px;
    transition: 1s;
}
.course-level h3{
    color: rgb(0, 0, 0);
    font-size: 30px;
    transition: 1s;
}
.course-level p{
    margin: 15px;
    padding: 10px;
    color: black;
    font-size: 15px;
    line-height: 25px;
    transition: 1s;

}
.course-level:hover{
    box-shadow: 0 0 30px 0px rgba(2, 38, 184, 0.7);
}
.course-level:hover h3{
    color: blue;
}
.course-level:hover p{
    color: blue;
}
.reg{
    color: white;
    border: 1px solid blue;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    background-color: blue;
    font-size: 20px;
    padding: 12px 34px;
    cursor: pointer;   
    transition: 1s;
}
.reg:hover{
    color: black;
    background-color: transparent;
}
@media(max-width: 700px){
    html{
        font-size: 65%;
    }
    .row{
        flex-direction: column;
    }
    .course-body{
        flex-direction: column;
    }
    .students{
        flex-direction: column;
    }
    .students h2{
        margin-top: 13px;
    }
    .students p{
        margin-top: 0px;
        width: 450px;
    }
}
/**End of courses**/

/**beginning of branch section**/
.branch{
    width: 80%;
    text-align: center;
    padding-top: 50px;
    margin: auto;
}
.branch p{
    font-size: 20px;
    margin: 15px;
    font-weight: bold;
}
.branch h1{
    text-transform: uppercase;
    font-size: 50px;
}
.row{
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.branch-col{
    height: 600px;
    width: 100%;
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: block;

}

.layer{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 1s;
}
.layer h3{
    font-size: 26px;
    width: 100%;
    color: white;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    transition: 1s;
    opacity: 0;
}
.layer:hover{
    background: rgba(226,0,0,0.7);
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

.review{
    text-align: center;
    margin-top: 100px;
}
.rev-p{
    font-size: 20px;
    margin: 15px;
    font-weight: bold;
}
.review h1{
    text-transform: uppercase;
    font-size: 50px;
}
/**End of branch section**/

/**beginning of review section**/
.students{
    display: flex;
    padding: 20px;
    margin-top: 50px;
    width: 1000px;
}
.students img{
    height: 200px;
    border-radius: 50px;
    width: 200px;
}
.students p{
    padding: 10px;
    margin-top: 30px;
    text-align: left;
    font-size: 20px;
}
.students h2{
    text-transform: uppercase;
    text-align: left;
    color: black;
}
.students .text{
    margin-left: 10px;
}
/**End of review section**/

.footer{
    min-height:20vh;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/images7.jpg);
    background-position: center;
    background-size:cover;
    position:relative;
    width: 100%;
    margin-top: 100px;
    text-align: center;
    align-items: center;
    padding: 30px 0;
}
.footer h2{
    margin-top: 50px;
    font-size: 30px;
    color: white;
}

.social-links{
    text-align: center;
    margin: 5px;
}
.social-links .fa{
    color: white;
    font-size: 20px;
    padding: 15px;
    margin-left: 18px;
    margin-top: 20px;
    transition: 0.5s;
}
.social-links .fa:hover{
    font-size: 15px;
    border-radius: 50px;
}

.sub-header{
    min-height:80vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/background.jpg);
    background-position: center;
    background-size:cover;
    position:relative;
}
.sub-header .text-box{
    margin-top: 50px;
}
.sub-header img{
    width: 250px;
    float: left;
}
.about-story{
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
}
.story h2{
    text-shadow: 0px 13px 0px 0px rgba(2, 38, 184, 0.7);
    text-align: center;
    margin-top: 100px;
    font-size: 50px;
}
.story p{
    line-height: 40px;
    justify-content:flex-end;
    font-size: 30px;
    margin-top: 20px;
}
.about-head{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.about-head img{
    height: 40px;
    width: 40px;
}
@media(max-width:700px){
    .sub-header img{
        width: 200px;
    }
    .story p{
        font-size: 15px;
        line-height: 23px;
    }
    .story h2{
        font-size: 35px;
    }
    .about-head img{
        height: 30px;
        margin-bottom: 5px;
        width: 30px;
    }
}
/**contact page**/
.contact{
    margin-top: 50px;
    text-align: center;
}
input{
    width: 400px;
    height: 30px;
    border-radius: 15px;
    border-style: none;
    text-align: center;
}
textarea{
    width: 400px;
    height: 80px;
    text-align: center;
    border-radius: 10px;
    border-style: none;
}

.regg{
    margin-top: 300px;
    text-align: center;
}

/**courses**/
.sub-course{
    margin: auto;
    text-align: center;
    padding-top: 100px;
    flex-direction: column;
}
.sub-course h1{
    font-size: 50px;
    font-weight: 600px;
    text-transform: uppercase;

}
.sub-course .course-body{
    text-align: center;
    margin-top: 5%;
    justify-content: center;
    display: inline-block;
}

.sub-course .course-level{
    text-align: center;
    height: 200px;
    width: 400px;
    flex-basis: 31%;
    background: #f8e0e0;
    border-radius: 10px;
    margin-bottom: 5%;
    box-sizing: border-box;
    padding: 20px 0 20px;
    transition: 1s;
}
.sub-course .course-level h3{
    margin-top: 62px;
    color: rgb(0, 0, 0);
    font-size: 50px;
    transition: 1s;
}
.sub-course .course-level:hover{
    box-shadow: 0 0 30px 0px rgba(2, 38, 184, 0.7);
}
.sub-course .course-level:hover h3{
    color: blue;
}
.course-header{
    min-height:80vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/wall.jpg);
    background-position: center;
    background-size:cover;
    position:relative;
}
.gal-header{
    min-height:80vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/wallpaper.jpg);
    background-position: center;
    background-size:cover;
    position:relative;
}
.contact-header{
    min-height:80vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/contact.jpg);
    background-position: center;
    background-size:cover;
    position:relative;
}
/* .image{
    margin-top: 100px;
    text-align: center;
    justify-content: space-between;
}
.image img{    
    size: 5px;
    width: 300px;
    height: 320px;
    display:inline-block;
    margin-bottom: 40px;
    justify-content: space-between;
    transition: 1s;
} */
.home .slide-cont img{

    height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-right: 50px;
    padding-top: 10px;
}

.home .slide-cont:nth-child(1){
    background-color:aliceblue;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.home .slide-cont:nth-child(2){
    background-color:aliceblue;
    background-size: cover;
    background-position: center;
}
.home .slide-cont:nth-child(3){
    background-color:aliceblue;
    background-size: cover;
    background-position: center;
}
.home .slide-cont{
    display: none;
}
.home .slide-cont.active{
    display: block;
}
.home #prev,
.home #next{
    position: absolute;
    top: 900px;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 100;
    height: 5rem;
    width: 5rem;
    line-height: 4.4rem;
    font-size: 2rem;
    color: #2c2c54;
    border: .2rem solid var(--black);
    cursor: pointer;
    text-align: center;
    transition: 1s;
}
.home #prev:hover,
.home #next:hover{
    color: #fff;
    background: var(--orange);
}

.home #prev{
    left:3rem
}
.home #next{
    right:3rem
}

/* .slider{
    width: 500px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    text-align: center;
    overflow: hidden;
} */
/* 
.image-container{
    width: 1500px;
    background-color: transparent;
    height: 300px;
    clear: both;
    position: relative;
    -webkit-transition: left 2s;
    -moz-transition: left 2s;
    -o-transition: left 2s;
    transition: left 2s;
}
.slide{
    float: left;
    margin: 0px;
    padding: 0px;
    position: relative;
}
#slide-1:target ~ .image-container{
    left: 0px;
}
#slide-2:target ~ .image-container{
    left: -500px;
}
#slide-3:target ~ .image-container{
    left: -1000px;
} */
.copy{
    color: white;
    font-size: 13px;
}
@keyframes bg-change{
    0%,100%{
        background-image: url(images/images11.jpg);
      
    }
    25%{
        background-image: url(images/images12.jpg);
    }
    50%{
        background-image: url(images/images10.jpg);
    }
    75%{
        background-image: url(images/images14.jpg);
    }
}
