.sobre {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10%;
}

.sobre h2 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
}

.sobre p {
    color: var(--font-color);
    font-size: 1.2rem;
}

.sobre-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 8%;
}

.sobre-container img {
    width: 20%;
    border-radius: 5%;
    border: solid var(--primary-color);
}

.box-text-sobre {
    width: 50vw;
}

.box-text-sobre p {
    color: var(--font-color);
    font-size: clamp(1rem, 1.3vw, 2rem);
    text-indent: 5%;
}

@media screen and (max-width:1070px) {

    .sobre {
        margin: 0;
    }

    .sobre-container {
        flex-direction: column;
        margin-bottom: 20%;
    }

    .sobre-container img {
        margin-top: 10%;
        margin-bottom: 10%;
        width: 55%;
    }

    .box-text-sobre {
        width: 70vw;
    }
}

@media screen and (max-width:400px) {
    .box-text-sobre {
        width: 90vw;
    }

    .box-text-sobre p {
        font-size: clamp(0.8rem, 2vw, 2rem);
    }
}