/* Sección About */
#about {
    background-image: url("../img/about-background.webp");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#about .container-fluid {
    position: relative;
}

.about-container {
    padding-top: 5%;
    max-width: 90%;
    margin: auto;
    position: relative;
    text-align: center;
    z-index: 2;
}

@media screen and (max-width: 1199px) {
    .about-container {
        padding-top: 15%;
        padding-bottom: 35%;
    }
}

.about-container h1 {
    font-size: clamp(var(--min-size-custom),
            calc(var(--min-size-custom) + var(--scaling-factor-custom-xl) * (1vw - var(--vw-offset-custom))),
            44px);
    color: var(--text-color);
    margin-bottom: 3%;
}

.about-container .about-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container .about-img img {
    width: 75%;
    margin: 0 auto;
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 1199px) {
    .about-container .about-img img {
        width: 50%;
        margin: 40% auto auto auto;
        max-width: 450px;
        min-width: 200px;
        object-fit: contain;
        aspect-ratio: auto;
    }
}

@media screen and (max-width: 767px) {
    .about-container .about-img {
        padding: 0 20px;
    }

    .about-container .about-img img {
        width: 70%;
        max-width: 300px;
        min-width: 180px;
        margin: 20% auto auto auto;
        object-fit: contain;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .about-container .about-img img {
        width: 65%;
        max-width: 250px;
    }
}

.about-container p {
    font-size: clamp(var(--min-size-custom),
            calc(var(--min-size-custom) + var(--scaling-factor-custom) * (1vw - var(--vw-offset-custom))),
            29px);
    color: var(--text-color);
    margin-bottom: 3%;
    text-align: justify;
}

.about-container .brush-text {
    display: flex;
}

@media screen and (max-width: 1199px) {
    .about-container .brush-text {
        flex-direction: column;
    }
}

.about-container .brush-text p {
    font-size: 80px;
    color: var(--color-hover);
    font-family: 'Brush', sans-serif;
    margin: auto;
}

@media screen and (max-width: 1199px) {
    .about-container .brush-text p {
        font-size: clamp(40px,
                calc(40px + var(--scaling-factor-custom-xl) * (1vw - var(--vw-offset-custom))),
                57px);
    }
}

.about-container .brush-text img {
    z-index: 2;
}

@media screen and (max-width: 767px) {
    .about-container .brush-text img {
        width: 60%;
        margin: auto;
    }
}

.pyramids {
    position: absolute;
    width: auto;
    height: auto;
    z-index: -1;
    bottom: 0;
    left: 7%;
}

@media screen and (max-width: 1199px) {
    .pyramids {
        left: 0;
        width: 90%;
        max-width: 310px;
    }
}

.flower1 {
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
    top: 4%;
    left: 0;
    opacity: 0.1;
}

@media screen and (max-width: 1199px) {
    .flower1 {
        top: 7%;
    }
}

.flower2 {
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
    bottom: 10%;
    left: 0;
    opacity: 0.1;
}

.flower3 {
    position: absolute;
    width: auto;
    height: auto;
    z-index: 1;
    top: 10%;
    right: 0;
    opacity: 0.1;
}
