*{
    font-family: Arial, sans-serif;
    color:#FFF;
    font-style: normal;
    margin:0;
    padding:0;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-color: black;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url(images/background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

body{
    overflow: hidden;
}

nav{
    display:flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 100px;
}

.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{
    color:white;
    text-decoration: none;
    font-size: 15px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    display: block;
    margin:auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.nav-home:hover::after {
    background: red;
}

.nav-contact:hover::after {
    background: rgb(255, 123, 0);
}

.nav-whychoose:hover::after {
    background: yellow;
}

.nav-rates:hover::after {
    background: green;
}

.nav-teachers:hover::after {
    background: blue;
}

.nav-getstarted:hover::after {
    background: rgb(186, 0, 186);
}

nav .fa-solid{
    display: none;
}

.text-container {
    position: absolute;
    margin-left: 5%;
    top: 20%;
    width: 90%;
    color: white;
    height: 70%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /*background-color: gray;*/
}

.home-title {
    font-size: 54px;
    margin: 0px;
    font-weight: bold;
    max-width: 741px;
    min-width: min-content;
    width: 100%;
    /*background-color: white;*/
}
.filler{
    flex-grow: 1;
}

.home-body{
    display: block;
    width: 600px;
    letter-spacing: 1.6px;
    font-size: 24px;
    line-height: 1.5;
    text-align: left;
    /*background-color: black;*/
}

footer{
    position:absolute;
    left: 45%;
    bottom: 3%; /* Adjust as needed */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    display: block;
}
.footer-links{
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-links li{
    display: inline;
    margin: 0 10px;
}
.footer-links li a{
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.footer-credit{
    display:inline-block;
    position: fixed;
    right: 1%;
    bottom: 1%;
}

@media(max-width: 700px) {
    .text-overlay {
        width: 90%;
        top: 10%;
        left: 5%;
    }

    .home-title {
        font-size: 42px;
        text-align: center;
        margin: 0px auto;
        position: static;
    }

    .home-body {
        width: 90%;
        position: relative;
        margin: 25px;
        font-size: 16px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links ul li a{
        font-size: 24px;
    }

    .nav-links {
        position: absolute;
        background: #000000e1;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: center;
        z-index: 2;
        transition: 0.5s;
    }

    nav .fa-solid {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22pt;
        cursor: pointer;
    }
    nav .fa-bars{
        margin-left: auto;
    }
    nav .fa-xmark{
        text-align: left;
    }

    .nav-links ul {
        padding: 30px;
    }

    .footer-credit{
        display: none;
    }

}