#slogan {
    font-size: 50px;
    position: absolute;
    color: white;
    font-family: 'Poppins', sans-serif;
    top: 170px;
    left: 100px;
}

.underline {
    display: inline-block;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    background: white;
    color: var(--green);
}

.change {
    display: inline-block;
    transition: transform 1s ease-in-out;
}

.goUp {
    transform: translateY(-100px);
}

.goDown {
    transform: translateY(0);
}

#reading {
    filter: drop-shadow(0 0 20px #a7c957);
    position: absolute;
    right: 100px;
    top: 180px;
    width: auto;
    height: 400px;
}

#courses {
    color: var(--green);
    font-family: 'Poppins', sans-serif;
    margin: 20px;
    margin-top: 100px;
    display: flex;
    justify-content: space-evenly;
}

#spoken-text {
    position: absolute;
    background: white;
    top: -50px;
}

#spoken {
    padding: 20px;
    position: relative;
    width: 50%;
    border: 2px solid var(--green);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#spoken-container {
    display: flex;
    flex-direction: row;
}

.course-card {
    margin: 10px;
    padding: 20px;
    box-shadow: 0 0 10px 0 var(--green);
    border-radius: 15px;
}

.course-title {
    text-align: center;
}

.course-card p {
    text-align: left;
}

#courses-img {
    width: auto;
    height: 300px;
    filter: drop-shadow(0 0 20px #a7c957);
    position: absolute;
    top: -247px;
    left: 100px;
}

#know-more {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    right: 130px;
    bottom: 105px;
}


#courses-know-more {
    font-size: 150%;
    font-family: 'Poppins', sans-serif;
    color: var(--green);
}

#courses-know-more h1 {
    margin: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding: 0;
}

#know-more i {
    color: var(--green);
    font-size: 3em;
    transition: all 0.5s ease-in-out;
}

#know-more i:hover {
    transform: translateX(10px);
    color: #a7c957;
}

#review-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    color: white;
}

#prev,
#next {
    position: absolute;
    font-size: 3em;
}

#prev {
    top: 40%;
    left: 300px;
}

#next {
    top: 40%;
    right: 300px;
}

#reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .9em
}

#reviews h1 {
    font-size: 3em;
}

.review {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-img {
    height: auto;
    width: 100px;
    filter: drop-shadow(0 0 20px #a7c957);
}

.review-name {
    margin: 0;
    margin-top: 10px;
}

.testimonial {
    width: 60%;
    text-align: center;
    font-size: 1.2em;
}

.fit {
    height: 600px;
}

@media only screen and (max-width: 600px) {
    #slogan {
        font-size: 2em;
        text-align: center;
        position: initial;
        margin: 0;
        padding-top: 5em;
    }

    #reading {
        width: auto;
        height: 200px;
        position: initial;
        transform: translateY(70px);
    }

    .green-bg {
        display: flex;
        flex-direction: column;
    }

    .white-bg {
        height: fit-content;
    }

    #spoken {
        padding: 10px;
        width: 90%;
    }

    #courses {
        flex-direction: column;
        align-items: center;
    }

    #spoken-container {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .course-card {
        padding: 10px;
    }

    .course-card * {
        font-size: 0.7em;
    }

    #spoken-text {
        top: -30px;
        font-size: 1em;
    }


    #know-more {
        display: flex;
        flex-direction: column;
        padding: 20px;
        font-size: 0.5em;
        position: initial;
    }

    #know-more-btn {
        font-size: 2em;
    }

    #courses-know-more {
        text-align: center;
    }

    #courses-img {
        display: none;
    }

    #reviews {
        font-size: 0.5em;
        text-align: center;
    }

    .review-name {
        font-size: 2em;
    }

    #prev,
    #next {
        position: absolute;
        font-size: 3em;
    }

    #prev {
        top: 50%;
        left: 20px;
    }

    #next {
        top: 50%;
        right: 20px;
    }

    .fit {
        height: 500px;
    }
}