@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Kalnia+Glaze&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    
}

.Udemy__navi {
    background-color: black;
    width: 100%;
    color: white;
    position: sticky;
    top: 0; 
    z-index: 1000; 
}

.udemy--navbar {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content:space-between;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.Udemy__s1--title {
    font-size: 24px;
    color: #D95BFF;
}

.Udemy__s2 {
    padding: 10px;
    border: solid 2px rgb(255, 255, 255);
    border-radius: 40px;
    width: 60%;
    display: flex;
    gap: 10px;
    align-items: center;

}

.Udemy__s2 input {
    border: none;
    width: 90%;
    font-size: 16px;
    background-color: transparent;
    color: white;
}

.Udemy__s2 input:focus {
    outline: none;
}


.mylearning{
    position: relative;
}
.mylearning__course{
    position: absolute;
    background-color: white;
    border: 2px solid black;
    color: black;
    top: 150%;
    padding: 10px;
    text-align:center;
    display: none;
    flex-basis: 10%;
    flex-grow: 1;

}

.mylearning:hover .mylearning__course{
    display: block;
    
}
.Udemy__s2--title a{
    text-decoration: none;
    color: white;
}
/* .Udemy__s2--title a:hover{

} */


.Udemy__s3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.Udemy__s3 p {
    margin-right: 20px;
}

/* .Udemy__s3 p:hover {
    color: #cacaca; 
} */

.udemy__session2--head {
    display: flex;
    background-color: white;
    gap:10px; 
    align-items: center;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: space-around;
    padding: 5px;
    border-bottom: 2px solid black;
    flex-basis: 100px;
 
}

.udemy__catgoires {
    background-color: #b430dc;
    padding: 5px;
    border-radius: 30px;
    border: 2px solid;
    color: white;
}

.udemy__catgoires:hover {
    background-color: white;
    color: black;
    border: 2px solid #D95BFF;
    transition: .5s;
}

.Udemy-Logo--sale{
    position: relative;
}
.Udemy-Logo--sale img {
    width: 100%;
    height: auto;
    flex-grow: 1;
    position: relative;

}
.sale__image--offer{
    padding: 5px;
    border: solid 2px black ;
    position: absolute;
    top: 30%;
    left: 20px;
    background-color: rgba(255, 161, 9, 0.586);
    animation-name:zoom ;
    animation-duration: 3S;
    opacity: 0;
    animation-fill-mode: forwards;
}


@keyframes zoom{
    0%{
        transform: scale(0);
        opacity: 0;
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}

/* -------------------------------------------------------- */



.udemy__course--recommend {
   margin-top:10px ;
}
.coure__cotainer {
    display: flex;  
    flex-wrap: wrap;
    flex-basis: 50%;
 
}
.udemy__course {
    flex-basis: 20%;
    flex-grow: 1;
    margin: 5px;
    height: 320px;
    width: 300px;
    text-align: center;
}
.udemy__course p{
    padding: 2px;
}
.udemy__course:hover {
    background-color: rgb(249, 247, 247);
    border-radius: 10px;
    transition: 0.5s;
}
.udemy__course--sales {
    width: 100%;
    height: 50%;
}

/* -------------------------------------------------------- */

.udemy__session3--head {
    margin-bottom: 20px;
    margin-top: 20px;
}

.udemy__session3 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.udemy__session3--coursebox {
    padding: 5px;
    text-align: center;
    border: 2px solid black;
    flex-grow:1;
    flex-basis:20%;  
}
.udemy__session3--coursebox:hover {
    background-color: rgb(245, 245, 243);
}
.udemy__session3--coursebox a {
    text-decoration: none;
    color: black;
}

/* -------------------------------------------------------- */



.udemy__footer {
    height: 300px;
    background-color: black;
    padding: 30px;
    overflow: hidden;

}

.udemy__contact {
    color: white;
    margin: 24px;

}

.udemy__footer--tit {
    color: white;

}

.udemy__footer--verify {
    padding-right: 25px;
    color: white;

}

.udemy__footer__tit {
    display: flex;
    flex-wrap: wrap;
}

.last__footer {
    display: flex;
    margin: 24px;
    justify-content:space-between;
    align-items: center;

}

@media screen and (max-width:800px){

    body{
        font-size:12px ;
    }
    
  
}

@media screen and (min-width:500px)
{

    .Udemy__s4{
        display: none;
    }
  
}


@media screen and (max-width:600px){
    .udemy__course{
        flex-basis: 40%;
        flex-grow: 1;
        height: 250px;
    }
   

  
}
@media screen and (max-width:500px) {
    .udemy__session2--head{
        display: none;
    }
    .sale__image--offer{
        width: 200px;
        height:100px ;
    }
    .Udemy__s3{
        display: none;
    }
    .Udemy__s4{
        display:block ;
    }

    .sale__image--offer{
        font-size: 10px;
        height: fit-content;
    }
}



  