@font-face {
    font-family: 'faBrands';
    src: url('../fonts/fa-brands-400.woff2') format('woff2'),
}

@font-face {
    font-family: 'faDuotone';
    src: url('../fonts/fa-duotone-900.woff2') format('woff2'),
}

@font-face {
    font-family: 'faLight';
    src: url('../fonts/fa-light-300.woff2') format('woff2'),
}

@font-face {
    font-family: 'faRegular';
    src: url('../fonts/fa-regular-400.woff2') format('woff2'),
}

@font-face {
    font-family: 'faSolid';
    src: url('../fonts/fa-solid-900.woff2') format('woff2'),
}

@font-face {
    font-family: 'flaticon';
    src: url('../fonts/Flaticon.woff2') format('woff2'),
}

.on {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.off {
    opacity: 0;
    transform: translateY(20px);
}

.displayOff {
    display: none;
}

.displayOn {
    display: flex;
}

.onB {
    display: block;
}

#fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

#presentacion {
    width: 80vw;
    border-radius: 15px;
}

#contenidoInicial {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8vw;
}

#presentacionBox {
    display: flex;
    width: 90vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 5vw;
    align-self: center;
    background-color: rgba(255, 255, 255, 0.253);

}

.fading {
    opacity: 0;
    animation: fadeInto 1s ease-in forwards;
}

/* Definición de la animación */
@keyframes fadeInto {
    to {
        opacity: 1;
    }
}

#titulo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#tituloPrincipal {
    font-family: "faRegular";
    text-shadow: 2px 2px 2px rgba(12, 12, 12, 0.721);
}

#tituloSecundario {
    font-family: "elegantIcons";
    font-style: italic;
    text-shadow: 2px 2px 2px rgba(12, 12, 12, 0.721);
    color: #ff7676c5;
}

#parrafoTitulo {
    font-family: "faRegular";
    text-shadow: 2px 2px 2px rgba(12, 12, 12, 0.721);
}

#botonContactanos {
    display: flex;
    font-family: "faRegular";
    width: 50vw;
    justify-content: center;
    align-items: center;
    background-color: #fae3b163;
    color: rgba(255, 255, 255, 0.674);
}

.texto-degradado {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    /* sombra ligera para resaltar sobre el vídeo */
    background: #a6181838;
    border-radius: 5px;
    padding: 0.5vw;
}

#parrafoTitulo {
    display: none;
}

#cWA {
    z-index: 20000;
    display: flex;
    position: fixed;
    right: 1.5vw;
    bottom: 1.5vw;
    cursor: pointer;
}

#iWA {
    width: 50px;
}

#aInstagram {
    position: absolute;
    right: 2vw;
    top: 8vw;
    width: 12vw;
    cursor: pointer;
}

#aInstagram>img {
    width: 8vw;
}

.fs-7 {
    font-size: 0.8rem;
}

#imagenDeEspecialidad {
    width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 991px) {
    .separadorDocs {
        display: none;
    }
}

/* ESCRITORIO Y TABLETS GRANDES */
@media screen and (min-width: 1024px) {

    #contenidoInicial {
        flex-direction: row;
        /* border: 1px solid red; */
        align-items: center;
        justify-content: center;
        gap: 2vw;
    }

    #titulo {
        /* border: 1px solid pink; */
        width: 49vw;
        padding: 2vw;
        align-items: start;
        text-align: start;
    }

    #presentacionBox {
        /* border: 1px solid yellow; */
        width: 42.5vw;
        height: 25vw;
        padding-top: 2vw;
        padding-bottom: 2vw;
        padding-left: 0;
        padding-right: 0;
        margin-top: 2vw;

    }

    #presentacion {
        width: 40vw;
    }

    #departamentos {
        margin-top: -3vw;
        margin-bottom: -2vw;
    }

    #parrafoTitulo {
        display: flex;
    }

    #botonContactanos {
        width: 15vw;
    }

    #cWA {
        z-index: 2000;
        display: flex;
        position: fixed;
        right: 1.12vw;
        bottom: 0.37vw;
        cursor: pointer;
    }

    #iWA {
        width: 60px;
    }

    #aInstagram {
        right: -24.1vw;
        top: 1.1vw;
        width: 12vw;
        cursor: pointer;
    }

    #aInstagram>img {
        width: 1.7vw;
    }

    #imagenDeEspecialidad {
        width: 40%;
    }

}