@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
}
body{
    background-image: url(img/WhatsApp\ Image\ 2024-03-09\ at\ 11.18.15\ PM.jpeg);
    background-repeat: no-repeat;
    /* background-size: cover; */
    background-attachment: fixed;
}
header{
    height: 10.9vh;
    width: 98.8vw;
    background-image: linear-gradient(to left, black 30%, transparent);
    display: flex;
    position: sticky;
    z-index: 1;
    top: 0;
}
nav{
    display: flex;
}
nav ul li{
    padding: 0 80px;
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    font-weight: 550;
}
nav ul li a{
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    color: rgb(30 29 137);
}
.back{
    width: 98.9vw;
    height: max-content;
    background-image: linear-gradient(to left, black 30%,transparent);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-attachment: fixed;
    /* background-color: black; */
}
.teacher{
    background-color: rgba(249, 115, 115, 0.301);
    width: 25vw;
    height: 56vh;
    margin: 26px;
    border-radius: 20px;
    font-family: 'Lato',sans-serif;
    padding: 20px;
    font-size: xx-large;
    font-weight: 500;
}
a{
    text-decoration: none;
    color: black;
}
.link{
    color: black;
}
.call{
    width: 140px;
    height: 40px;
    margin-top: 20px;
    border-radius: 10px;
    font-weight: 550;
    color: black;
    background-color: transparent;
    border: 2px solid black;
    font-size: large;
    font-family: 'Lato',sans-serif;
}
.sbj{
    font-size: x-large;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
}
progress{
    width: 14vw;
}
#searchbar{
    width: 24vw;
    height: 6vh;
    margin: 20px;
    border-radius: 15px;
    padding-left: 31px;
    background-color: black;
    border: 2px solid white;
    position: relative;
    left: -2rem;
    color: white;
    font-size: large;
}
#searchbar::placeholder{
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: large;
}
#srch{
    top: 0.4rem;
    position: relative;
    left: -5.7rem;
}
.loc{
    position: absolute;
    top: 1.6rem;
    right: 3rem;
    color: aliceblue;
    font-family: 'Lato',sans-serif;
    font-size: x-large;
}
@media screen and (max-width: 800px){
    nav ul li{
        padding: 0px 20px;
    }
    .back{
        width: 301vw;
    }
    header{
        width: 301vw;
        height: 21vh;
    }
    #searchbar{
        left: 0rem;
        width: 94vw;
        height: 8vh;
    }
    .teacher{
        width: 108vw;
        height: 68vh;
        font-size: 45px;
    }
    nav ul{
        font-size: 45px;
    }
    #srch{
        left: -18.2rem;
        top: -1rem;
    }
    #searchbar::placeholder{
        font-size: 25px;
    }
    .loc{
        position: absolute;
        top: 4.6rem;
        right: 6rem;
    }
}