*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
nav{
    height: 80px;
    width: 100%;
    display: flex;
    position: sticky;
    top: 0%;
    z-index: 5;
    background-color: rgb(48, 114, 177);
    border-bottom: 1px solid white;
    align-items: center;
    color: white;
    position: fixed;
    justify-content: space-around;
    
}
.colored{
    color: goldenrod;
    
}
#toggle-menu{
    display: none;
}
.nav-left{
    font-size: xx-large;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-weight: bolder;
    color: black;
}
.nav-center{
    display: flex;
    justify-content: space-around;
}
.nav-center div{
width: 80px;

}
.nav-center div a{
    font-size: 1rem;
text-decoration: none;
list-style: none;
color: white;
}
.nav-center div:hover{
    color: blue;
    font-weight: bold;
    transform: scale(1.1);
    cursor: pointer;
    transition: 0.5s ease-in-out;
}
.btn-s{
    display: none;
}

.nav-right button{
    width: 150px;
    list-style: none;
    color: white;
    font-weight: bold;
    border: 3px solid red;
    border-radius: 30px;
    height: 50px;
    background-color: red;
}
.nav-right button:hover{
    transform: scale(1.1);

}
.nav-toggle{
    display: none;
}
.main{
    margin-top: 50px;
}
.srch-icon{
    border-radius: 50px;
}
.spn-srch{
    border-radius: 50px;
}
.btn-primary{
    font-size: 2rem;
    background-color: rgb(48, 114, 177);
}
.course-card{
    margin: 20px 30px;
    box-shadow: 0px 5px 30px 5px gray;
    border-radius: 30px;
}
.info{
    position: absolute;
    opacity: 0;
}
.course-card:hover .info{
    opacity: 1;
    position: absolute;
    border: 1px solid gray;
    background-color: rgb(247, 247, 247);
    top: 80%;
    left: 40%;
    z-index: 2;
    border-radius: 15px;
    padding: 5px;
    transition: 0.5s ease;
    animation-name: slide;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
@keyframes slide {
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(5px);
    }
    100%{
        transform: translateY(0px);
    }
}

.course-card:hover{
    transform: translateY(-10px);
    transition-duration: 1s;
}


.main{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgb(48, 114, 177), rgb(0, 174, 255));
}

.input-group {
    width: 80%;
    height: 82px;
}


.input-group .form-control{
    border: none;
}

.btn-primary{
    height: 80px;
    border-radius: 50px;
    width: 200px;
}

.courses-btn span{
    font-size: 2rem;
    margin: 20px 20px;
    padding-bottom: 10px;
}

.spn-2:hover{
    border-bottom: 2px solid rgb(48, 114, 177);
}

.card-img-top{
border-radius: 30px;
padding: 10px 0px;
}





@media  screen and (max-width : 700px) {

    nav{
        flex-direction: column;
        height: auto;
        padding-bottom: 30px;
    }
    .nav-center{
margin: 20px 20px;
    }

    
}

@media  screen and (max-width : 450px) {

    nav{
        width: 100%;
        position: fixed;
        flex-direction: row;
        top: 0%;
        padding-top: 20px;
    }
 
    .nav-center div{
display: none;
    }

    .nav-toggle{
        display: flex;
        margin-top: 10px;
        background-color: transparent;
        color: white;
        font-size: 2rem;
        align-self: self-start;
    }
    #menus{
display: block;
    }

   
    .nav-left{
        font-size: 2rem;
        align-self: self-start;
        padding-left:20px;
    }
    .nav-right{
        display: none;
        padding-right:20px;
    }

   
#toggle-menu{
   width: 100%;
        position: fixed;
        top: 80px;
        /* height: 100vh; */
        z-index: 3;
        display: none;
        flex-direction: column;
        text-align: center;
        font-size: 2rem;
        row-gap: 20px;
        padding:20px 0px;
        background-color: rgb(48, 114, 177);
    }

    #toggle-menu div a{
        list-style-type: none;
        text-decoration: none;
        color: white;
    }
    .nav-right-toggle button{
       
            width: 50%;
            list-style: none;
            color: white;
            font-weight: bold;
            border: 3px solid red;
            border-radius: 30px;
            height: 50px;
            background-color: red;
    
}
.nav-right-toggle button:hover{
    transform: scale(1.1);

}

.content{
    margin-top: 150px;
}

    .course-card{
        width: 50%;
    }

    .btn-s{
        display: block;
    }
    .srch-icon{
        border-radius: 0px;
    }

    .spn-srch{
        display: none;
    }
    
    
}