/*------------------BODY------------------*/
body {
    margin: 0;
}

/*------------------SOBRE MÍ------------------*/

.bg-sobremi {
    position: relative;
    height: 30vh;
    background-image: url("../img/sobremi.webp");
    background-size: cover;
    background-attachment: fixed;
    background-position: right;
    z-index: -1;
    display: grid;
    place-items: center;
}

.bg-sobremi::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.33);
}

.bg-sobremi h1 {
    font-size: 4em;
    font-family: "Quicksand", sans-serif;
    text-shadow: 0 0 30px black;
    font-weight: 400;
    color: #fff;
    z-index: 3;
}

/*------------------¿QUÍEN SOY?------------------*/

.main-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    font-family: "Manrope", sans-serif;
    padding-bottom: 5em;
}

.subtitle {
    margin: 0;
    padding: 1.5em 0;
    text-align: center;
    font-size: 2.5em;
    color: #5c9dff;
    font-family: "Montserrat", sans-serif;
}

.flex-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 4px;
    max-width: 47em;
}

.profile-container {
    background-color: #e0e0e0;
    padding: 5px;
    border-radius: 50% 50% 2% 2%;
}

.profile-foto {
    border-radius: 50% 50% 2% 2%;
    display: block;
}

.flex-item-about h3 {
    color: #4071cc;
    font-size: 2.3em;
    text-align: center;
    margin: 25px 0;
}

.flex-item-about p {
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    border-bottom: solid 3px #4071cc;
    padding-bottom: 2em;
    margin: 0;
}

/*------------------¿CÓMO ABORDAMOS JUNTOS EL PROCESO?------------------*/

.work-style {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #cfe2fd;
    font-family: "Manrope", sans-serif;
    padding-bottom: 4em;
}

.work-style h3 {
    font-size: 2.3em;
    color: #4071cc;
    margin: 0;
    padding: 2em 0;
    text-align: center;
}

.flex-work-style {
    display: flex;
    align-items: center;
    padding: 3em;
    padding-top: 0;
    gap: 3.5em;
}

.flex-work-style p {
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    max-width: 42em;
    border-left: solid 3px #4071cc;
    padding-left: 1.5em;
}

.flex-work-style img {
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

/*------------------MEDIA-QUERYS------------------*/

@media (max-width: 1024px) {
    .flex-work-style {
        flex-direction: column;
    }

    .flex-work-style img {
        order: 2;
    }

    .bg-sobremi {
        height: 23vh;
    }

    .bg-sobremi h1 {
        font-size: 3.5em;
    }
}

@media (max-width: 600px) {
    .bg-sobremi {
        height: 23vh;
        background-attachment: scroll;
        background-image: url("../img/INFOPERSONAL/consultorio-sillones.webp");
    }

    .bg-sobremi h1 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 1.7em;
        padding: 1.3em 0;
    }

    .flex-item-about p {
        font-size: 18px;
    }

    .flex-about {
        max-width: 100%;
    }

    .flex-work-style {
        gap: 20px;
        padding: 0 1.5em;
    }

    .flex-work-style img {
        width: 190px;
    }

    .flex-work-style p {
        font-size: 18px;
    }

    .work-style h3 {
        padding: 1.5em 0;
    }
}

@media (max-width: 480px) {
    .profile-foto {
        width: 250px;
    }

    .flex-item-about {
        font-size: 15px;
        padding: 0 2em;
    }

    .flex-item-about h3 {
        font-size: 2.1em;
    }

    .flex-item-about p {
        font-size: 17px;
    }

    .flex-work-style {
        gap: 1em;
    }

    .work-style {
        padding: auto 0.6em;
        padding-bottom: 3em;
    }

    .work-style h3 {
        font-size: 25px;
        padding: 1em 0.5em;
        padding-top: 2em;
    }

    .flex-work-style p {
        font-size: 17px;
        padding-left: 0.7em;
    }

    .flex-work-style img {
        width: 160px;
    }
}
