#sobre {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--secondBackgroundColor);
    padding: 5rem 5rem 2rem 5rem;
}

#sobre #sobreConteiner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-content: center;
    width: 100%;
}

#sobre .right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-end;
    gap: 1rem;
}

#sobre .right h1 {
    font-size: 2rem;
    font-weight: 600;
    text-align: justify;
    font-style: italic;
}

#sobre .right p {
    font-size: 1.4rem;
    text-align: left;
}

#sobre .left {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
}

#sobre .left img {
    height: 600px;
    width: 100%;
    max-width: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;

}

#sobre .left h1 {
    font-size: 3rem;
    font-weight: 600;
    text-align: justify;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 1024px) {
    #sobre {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    #sobre .right,
    #sobre .left {
        width: 90%;
    }

    #sobre .right h1,
    #sobre .left h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #sobre {
        width: 100%;
        height: auto;
        padding: 1.5rem;
    }

    #sobre #sobreConteiner{
        grid-template-columns: repeat(1, 1fr);
    }

    #sobre .right,
    #sobre .left {
        width: 100%;
    }

    #sobre .right h1,
    #sobre .left h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    #sobre {
        padding: 1rem;
    }

    #sobre .right h1,
    #sobre .left h1 {
        font-size: 1.8rem;
    }
}