/*------------------BODY------------------*/
body {
    margin: 0;
    background-color: #d9f2fd;
}

/*------------------AGENDAR UNA SESIÓN------------------*/

.bg-agendar {
    position: relative;
    width: 100%;
    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-agendar::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.33);
}

.bg-agendar h1 {
    font-size: 4em;
    font-family: "Quicksand", sans-serif;
    text-shadow: 0 0 30px black;
    font-weight: 400;
    color: #fff;
    z-index: 3;
}

/*------------------ELIGE LA MODALIDAD------------------*/

.modalidad {
    background-color: #fff;
}

.modalidad h2 {
    margin: 0;
    padding: 1em 0 1em 8em;
    font-family: "Manrope", sans-serif;
    font-size: 2em;
    color: #5c9dff;
}

/*------------------TERAPIA ONLINE/PRESENCIAL------------------*/

.elige-modalidad {
    padding: 7em 0;
    display: flex;
    flex-direction: column;
    max-width: 70em;
    margin: 0 auto;
    font-family: "Manrope", sans-serif;
    gap: 10em;
}

.flex-session {
    display: flex;
    align-items: center;
    gap: 4em;
}

.flex-session img {
    box-shadow: 6px 6px 1px #7fa3e0, -6px -6px 1px #4a7bb5, 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.flex-session-item {
    display: flex;
    flex-direction: column;
}

.subtitle-session {
    font-size: 2.3em;
    color: #1b75fc;
    font-weight: 600;
    margin: 15px 0;
}

.flex-session-item p {
    font-size: 1.1em;
    font-weight: 400;
    margin: 10px 0;
    margin-bottom: 30px;
}

.button {
    background-color: #297fff;
    color: #fff;
    width: 15em;
    border-radius: 6px;
    text-align: right;
    transition: all 0.6s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.button:hover {
    background-color: #1c3eff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.button svg {
    width: 1.6em;
    margin: 0.9em 1.2em 1em;
    position: absolute;
    display: flex;
    transition: all 0.4s ease;
}

.button:hover svg {
    transform: translateX(10px);
}

.text {
    margin: 5px auto;
    font-size: 1.1em;
}

.flex-session-item-child {
    display: flex;
    gap: 2em;
}

.presencial-icon {
    font-size: 35px;
    color: #1b75fc;
    transition: transform 0.3s;
}

.presencial-icon:hover {
    transform: translateY(-8px);
    transition: transform 0.3s;
}

/*------------------HORARIOS DE CONSULTA------------------*/

.schedule {
    font-family: "Manrope", sans-serif;
    max-width: 70em;
    margin: 0 auto;
    border-top: solid 3px #1b75fc;
    border-bottom: solid 3px #1b75fc;
    padding: 3em 0;
    color: #333;
    margin-bottom: 7em;
}

.schedule h4 {
    font-size: 20px;
    font-weight: 600;
}

.schedule li,
.schedule p {
    font-size: 18px;
}

.fa-arrow-right {
    padding-right: 10px;
    color: #1b75fc;
}

.schedule li {
    padding-bottom: 7px;
}

/*------------------FINAL IMG------------------*/

.final-img {
    display: grid;
    place-items: center;
    padding-bottom: 3em;
}

/*------------------MEDIA-QUERY------------------*/

@media (max-width: 1024px) {
    .bg-agendar {
        height: 23vh;
    }

    .bg-agendar h1 {
        font-size: 3.5em;
    }

    .modalidad h2 {
        font-size: 27px;
        padding: 1em 2em;
    }

    .flex-session {
        display: flex;
        flex-wrap: wrap;
        flex-grow: 1;
        justify-content: center;
    }

    .flex-session-item-child {
        justify-content: center;
    }

    .elige-modalidad {
        padding: 4em 6em;
        gap: 6em;
    }

    .mod-img {
        width: 400px;
    }

    .schedule {
        padding: 4em 6em;
        margin-bottom: 0;
    }

    .final-img {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    .bg-agendar {
        height: 23vh;
        background-attachment: scroll;
        background-image: url("../img/INFOPERSONAL/consultorio-sillones.webp");
    }

    .bg-agendar h1 {
        font-size: 2em;
    }

    .modalidad h2 {
        font-size: 24px;
        padding: 1em 2em;
    }

    .flex-session {
        gap: 1em;
    }

    .flex-session-item-child {
        justify-content: center;
    }

    .elige-modalidad {
        padding: 3em 2em;
        gap: 6em;
    }

    .mod-img {
        width: 300px;
    }

    .schedule {
        padding: 4em 2em;
        margin-bottom: 0;
    }

    .final-img {
        padding: 30px 0;
    }

    .subtitle-session {
        font-size: 30px;
    }

    .schedule ul {
        padding-left: 10px;
    }

    .final-img img {
        width: 150px;
    }
}
