* {
    margin: 0;
    box-sizing: border-box;
}

:root {
    --background: #FFF2EE;
    --font-color: #808080;
}

body {
    font-family: "Readex Pro";
    margin: 0;
}

.about {
    margin-top: 140px;
    direction: rtl;
    display: flex;
    margin-bottom: 50px;
    justify-content: space-around;
}

.about-content {
    width: 70%;

}

.about-content h2 {
    color: var(--font-color);
}

.about-content p {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .about {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-content {
        justify-items: center;
        width: 90%;
    }
}

/* goals */
#goals {
    margin: 50px 0;
    background-image: url(../img/goals.webp);
    background-size: cover;
    background-position: center;
    height: max-content;
    padding: 40px 0;
}

#goals .container {
    color: white;
    display: flex;
    direction: rtl;
    align-items: center;
    justify-content: space-around;
}

.goals-container {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.goal {
    padding: 20px;
    width: 24vw;
    border: 2px solid white;
    border-radius: 10px;
    height: 120px;
    align-content: center;
    margin-bottom: 20px;
    max-width: 280px;
    min-width: 200px;
}
.goal p{
    text-align: -webkit-center;
}
@media (min-width:1200px) {
    .goals-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width:767px) {
    #goals .container {
        flex-direction: column;
    }

    .goals-container {
        width: 100%;
        display: grid;
        place-items: center;
        margin-top: 25px;
    }
}
/* word */
#word{
margin:50px 0;
direction: rtl;
}

#word .container {
    margin-right: 20px;
    width: 80%;
}
#word .container h2, #word .container h4{
    margin-bottom: 15px;
}
#word .container h2{
    color: var(--font-color);
}
@media (max-width:767px) {
    #word .container {
        margin-right: 10px;
        width: 90%;
        place-items: center;
    }
        
}