:root {
    --fuenteHeading: 'Roboto', sans-serif;
    --fuenteParrafo: 'Open Sans', sans-serif;

    --primario: #501464;
    --blanco: #ffffff;
    --secundario: #6E65A0;
    --grisClaro: #F3F3F3;
    --gris: #CCCCCC;
    --negro: #000000;

}
html {
        font-size: 62.5%; /* 1 rem = 10px */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fuenteParrafo);
    font-size: 1.6rem;
    line-height: 2;
}
body {
    height: 100vh;
}

/* Globales */
.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4 {
    font-family: var(--fuenteHeading);
    line-height: 1.2;
}
h1 {
    font-size: 7.8rem;
}
h2 {
    font-size: 4rem;
}
h3 {
    font-size: 3.2rem;
}
h4 {
    font-size: 2.8rem;
}


/*Utilidades */
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
}

/* Cabecera */

header {
    width: 100%;
    top: 0;
    left: 0;
    background: var(--blanco);
}
.header__superior {
    max-width: 120rem;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}
.logotipo img {
    width: 25rem;
}

.urgencias h5 {
    text-transform: uppercase;
}
.urgencias__phone {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.btn-sesion {
    background: var(--primario);
    border-radius: 1rem;
    padding: 1rem 5rem;
    display: none;
}
.btn-sesion a {
    color: var(--blanco);
    font-size: 1.5rem;
}

/* Barra Menú */

.container__menu {
    width: 100%;
    height: 7rem;
    background: var(--secundario);
    padding: 0 2rem;
}

.menu {
    max-width: 120rem;
    margin: auto;
    height: 100%;
}
nav {
    height: 100%;
}
nav > ul {
    height: 100%;
    display: flex;
    width: 100%;
}
nav ul li {
    height: 100%;
    list-style: none;
    position: relative;
}
nav > ul > li:first-child > a {
    background-image: url(../imagenes/hogar.png);
    background-size: 2.4rem;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 2rem 4rem;
}
nav > ul > li:first-child:hover > a {
    background-image: url(../imagenes/hogar.png);
    background-size: 2.4rem;
    background-repeat: no-repeat;
    background-position: center center;
}
nav > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.4rem;
    color: var(--blanco);
    text-transform: uppercase;
    font-size: 1.4rem;
    transition: all 300ms ease;
}
nav > ul > li > a:hover {
    transform: scale(1.1);
    background: var(--primario);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
#selected {
    transform: scale(1.1);
    background-color: var(--primario);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
nav ul li ul {
    width: 20rem;
    display: flex;
    flex-direction: column;
    background: var(--blanco);
    position: absolute;
    top: 9rem;
    left: -.5rem;
    padding: 1.4rem 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    z-index: 10;
    transition: all 300ms ease;
}
nav ul li:hover ul {
    visibility: visible;
    opacity: 1;
    top: 7rem;
}
nav ul li ul:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 1.2rem solid transparent;
    border-right: 1.2rem solid transparent;
    border-bottom: 1.2rem solid var(--blanco);
    position: absolute;
    top: -1.2rem;
    left: 2rem;
}
nav ul li ul li a {
    display: block;
    color: var(--secundario);
    padding: .6rem;
    padding-left: 1.4rem;
    margin-top: 1rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    transition: all 300ms ease;
}
nav ul li ul li a:hover {
    background: var(--primario);
    color: var(--blanco);
    transform: scale(1.1);
    padding-left: 3rem;
    font-size: 1.4rem;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
.icon__menu {
    font-size: 2.6rem;
    color: var(--blanco);
    cursor: pointer;
    width: 2.6rem;
    height: 100%;
    display: none;
    padding-top: 2rem;
    align-items: center;

}
#label__check {
    width: 2.6rem;
    height: 100%;
    display: none;
}

#check__menu {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .header__superior {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    .logotipo img {
        width: 20rem;
    }
    .urgencias {
        text-align: center;
        margin-left: 2rem;
    }
  
    nav > ul {
        flex-direction: column;
        background-color: var(--secundario);
        position: relative;
        left: 0rem;
        top: 0;
        width: 100%;
        height: 0;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }
    nav > ul > li > a:hover {
        transform: scale(1);
    }
    nav ul li ul {
        left: 9rem;
    }
    nav > ul > li:hover ul {
        top: 5rem;
    }
    nav > ul > li:first-child a {
        background-position: 2rem;
    }
    #selected {
        transform: scale(1);    
    }
    #label__check {
        display: block;
    }
    .icon__menu {
        display: flex;
    }
    #check__menu:checked ~ nav > ul {
        height: 60rem;
        visibility: visible;
        opacity: 1;
    }

}

@media screen and (max-width: 767px) {
    .header__superior {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    .logotipo img {
        width: 20rem;
    }
    .urgencias {
        text-align: center;
        margin-left: 2rem;
    }
  
    nav > ul {
        flex-direction: column;
        background-color: var(--secundario);
        position: relative;
        left: 0rem;
        top: 0;
        width: 100%;
        height: 0;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }
    nav > ul > li > a:hover {
        transform: scale(1);
    }
    nav ul li ul {
        left: 9rem;
    }
    nav > ul > li:hover ul {
        top: 5rem;
    }
    nav > ul > li:first-child a {
        background-position: 2rem;
    }
    #selected {
        transform: scale(1);    
    }
    #label__check {
        display: block;
    }
    .icon__menu {
        display: flex;
    }
    #check__menu:checked ~ nav > ul {
        height: 60rem;
        visibility: visible;
        opacity: 1;
    }    
}

/* Página Inicio */
/* Video Presentación */

.video-principal {
    width: 100%;
    height: 80vh;
    background: linear-gradient( var(--blanco),  var(--secundario)   );
    display: flex;
    align-content: center;
    align-items: center;
    margin-top: .8rem;
}

.video-principal .video {
    width: 100vw;
    height: 70vh;
    padding: 2rem;
    margin-top: 2rem;
    align-content: center;
    align-items: center;
}


@media screen and (min-width: 768px) and (max-width: 1023px) {
    .video-principal {
        height: 40vh;
    }
    .video-principal .video {
        height: 40vh;
    }
}
@media screen and (max-width: 767px) {
    .video-principal {
        height: 35vh;
    }
    .video-principal .video {
        height: 40vh;
       
    }    
}

/* Informacion de Urgencias y Horarios de Visita */

.bloques {
    padding: 4rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}
.urgencias-info {
    background-color: var(--primario);
    padding: 2rem;
    border-radius: 2rem;
    margin-bottom: 4rem;
}
.urgencias-info i {
    color: var(--blanco);
    font-size: 2.5rem;
}
.urgencias-info h2 {
    color: var(--blanco);
    font-family: var(--fuenteHeading);
    text-transform: uppercase;
    padding-bottom: 3rem;
    padding-top: 2rem;
}
.urgencias-info p {
    color: var(--blanco);
    font-family: var(--fuenteParrafo);
    padding-bottom: 3rem;
    font-size: 1.5rem;
}
.urgencias-info ul li {
    color: var(--blanco);
    font-family: var(--fuenteParrafo);
    padding: 0 2rem;
    margin-left: 5rem;
    font-size: 1.5rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .bloques {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 767px) {
    .bloques {
        grid-template-columns: 1fr;
    }  
    .urgencias-info h2 {
        font-size: 2rem;
    }  
}


/* Información del Hospital */


.info-serafin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 2rem;
    column-gap: 3rem;
    align-items: center;
    align-content: center;

}
.info-serafin .serafin__imagen img {
    width: 100%;
    margin: 0 auto;

}
.serafin__contenido h1 {
    font-size: 3rem;
    font-family: var(--fuenteHeading);
    padding: 0 2rem;
    color: var(--primario);
    text-align: left;
    text-transform: uppercase;
}
.serafin__contenido p {
    padding: 0 2rem 2rem;
    font-family: var(--fuenteParrafo);
    text-align: justify;
    font-size: 1.5rem;
    font-weight: 600;
    
}
.serafin__contenido--cita  {
    text-align: center;
    color: var(--primario);
    font-weight: bold;
    display: none;
}
.serafin__contenido button {
    width: 50%;
    height: 25%;
    background-color: var(--primario);
    padding: 1rem 1rem;
    border: none;
    border-radius: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    display: none;
}
.serafin__contenido button a {
    color: var(--blanco);
    font-family: var(--fuenteParrafo);
    font-size: 2rem;
}
.serafin__contenido button i {
    color: var(--blanco);
    padding-left: 1rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .info-serafin {
        grid-template-columns: 1fr;
        padding-top: 0;
    }
    .info-serafin .serafin__imagen {
        width: 70vw;
        margin: 0 auto;
    }
    .serafin__contenido h1 {
        text-align: center;
        font-size: 2rem;
    }
    .serafin__contenido p {
        text-align: justify;
        padding-left: 10rem;
        padding-right: 10rem;
        font-size: 1.5rem;
    }
    .serafin__contenido button a {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 767px) {
    .info-serafin {
        grid-template-columns: 1fr;
        padding-top: 0;
    }
    .serafin__contenido h1 {
        text-align: center;
        font-size: 2rem;
    }
    .serafin__contenido p {
        text-align: justify;
        padding-left: 5rem;
        padding-right: 5rem;
        font-size: 1.5rem;
    }
    .serafin__contenido button a {
        font-size: 1.5rem;
    }
}


/* Slider de Aseguradoras */

.aseguradoras {
    padding: 10rem 0 8rem 0;
}
.aseguradoras h2 {
    text-align: center;
    font-size: 3rem;
    font-family: var(--fuenteHeading);
    margin-bottom: 20px;
    color: var(--primario);
    text-transform: uppercase;
}
.aseguradoras p {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--fuenteParrafo);
    margin-bottom: 20px;
}
.aseguradoras .swiper {
    width: 100%;
}
.aseguradoras .swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 250px;
}
.aseguradoras .swiper .swiper-slide img {
    display: block;
}

@media screen and (max-width: 767px) {
    .aseguradoras {
        padding: 3rem;
    }
    .aseguradoras .swiper .swiper-slide img {
        width: 80%
    }
}


/* Sección Contáctenos */

.contactanos {
    width: 100%;
    height: 30vh;
    margin-bottom: 25rem;
    

}
.contactanos .imagen img {
    width: 100%;
    height: 20vw;
    position: absolute;
    
}

.contactanos .info {
    text-align: center;
    position: relative;
    padding-top: 5rem;
}
.contactanos .info h3 {
    padding-top: 10rem;
    padding-bottom: 2rem;
    font-size: 3rem;
    font-family: var(--fuenteHeading);
}
.contactanos .btn_info {
    position: relative;
    text-align: center;
    border: 2px solid var(--primario);
    width: 15%;
    margin: 0 auto;
    border: 2rem;
    background-color: var(--primario);
    border-radius: 2rem;
}

.contactanos .btn_info:hover {
    transform: scale(1.3);
    transition: all 1s ease;
    border: 2px solid var(--primario);
}
.contactanos .btn_info a {
    color: var(--blanco);
    font-size: 2rem;
    font-weight: bold;
}
.contactanos .btn_info a:hover {
    transform: scale(1.3);
    transition: all 1s ease;
    
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .contactanos .imagen img {
        height: 20vh;
    }   
    .contactanos .info h3 {
        padding-top: 0;
    } 
    .contactanos .btn_info {
        width: 35%;
    }
    .contactanos {
        margin-bottom: 10rem;
    }
}
@media screen and (max-width: 767px) {
    .contactanos {
        margin-bottom: -15rem;
    }
    .contactanos .imagen img {
        height: 15vh;
    }
    .contactanos .info h3 {
        font-size: 2rem;
        margin-top: -10rem;
    }
    .contactanos .btn_info {
        width: 30%;
        height: 12%;
       
    }
    .contactanos .btn_info a {
        font-size: 2rem;
        
    }
}

@media screen and (max-width: 375px) {
    .contactanos {
        margin-bottom: -5rem;
        height: 30vh;
    } 
    .contactanos .info h3 {
        margin-top: -13rem;
    } 
    .contactanos .btn_info {
        height: 17%;
        
    } 
    .contactanos .btn_info a {
        font-size: 1.5rem;
        
    } 
}


/* Scrolltop boton flotante */

.btn-scrolltop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    background: var(--secundario);
    color: var(--blanco);
    border: 1px solid var(--blanco);
    border-radius: 100%;
    cursor: pointer;
    transform: translateY(100px);
    transition: 0.3s;
}
@media screen and (max-width: 375px) {
    .btn-scrolltop i {
        font-size: 1.5rem;
    }    
}
.btn-scrolltop-on {
    transform: translateY(0);
}

/* Whatsapp boton flotante */

.btn-wsp {
    position: fixed;
    width: 5.5rem;
    height: 5.5rem;
    line-height: 5.5rem;
    bottom: 10rem;
    right: 2rem;
    background: #0df053;
    color: var(--blanco);
    border-radius: 5rem;
    text-align: center;
    font-size: 3rem;
    box-shadow: 0px 1px 10px rgba(0,0,00.3);
    z-index: 100;
}
@media screen and (max-width: 375px) {
    .btn-wsp .fa.whatsapp i {
        font-size: 1.5rem;
    }    
}
.btn-wsp:hover {
    text-decoration: none;
    background: var(--blanco);

}
.btn-wsp i {
    font-size: 3rem;

}
.btn-wsp i:hover {
    color: #0df053;
 }



/* Pie de Página */

.fotter {
    background-color:  #9c9b9f;
    padding: 5rem;
}
.fotter .fotter-columnas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
}
.fotter .fotter-columnas .fotter-columnas__col1 {
    margin: 0 auto;

}
.fotter .fotter-columnas .fotter-columnas__col1 img {
    padding-bottom: .5rem;
}

.fotter .fotter-columnas .fotter-columnas__col1 .copy   {
    text-align: center;
    color: var(--blanco);
    
}
.fotter .fotter-columnas .fotter-columnas__col1 .copy p {
    font-size: 1.5rem;
}
.fotter .fotter-columnas .fotter-columnas__col1 .copy span {
    font-size: 1.5rem;
}
.fotter .fotter-columnas .fotter-columnas__col2 {
    padding: 0;
}
.fotter .fotter-columnas .fotter-columnas__col2 ul li {
    list-style: none;
    color: var(--blanco);
    font-size: 1.5rem;
}
.fotter .fotter-columnas .fotter-columnas__col3 {
    padding: 0 5rem;
    margin-left: -15rem;
}
.fotter .fotter-columnas .fotter-columnas__col3 .privacidad-calidad {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.fotter .fotter-columnas .fotter-columnas__col3 ul li {
    list-style: none;
    color: var(--blanco);
    font-size: 1.5rem;
}
.fotter .fotter-columnas .fotter-columnas__col3 ul li a {
    color: var(--blanco);
    font-size: 1.5rem;

}
.fotter .fotter-columnas .fotter-columnas__col3 ul li a:hover {
    color: var(--negro);
}
.fotter .fotter-columnas .fotter-columnas__col3 .quejas ul {
    margin-top: 3rem;
}
.fotter .fotter-columnas .fotter-columnas__col3  .quejas .quejas__calidad {
    color: var(--negro);
}
.fotter .fotter-columnas .fotter-columnas__col4 ul li {
    list-style: none;
    color: var(--blanco);
    font-size: 1.5rem;
}
.fotter .fotter-columnas .fotter-columnas__col4 .redes {
    padding-top: 2rem;
}
.fotter .fotter-columnas .fotter-columnas__col4 .redes i {
    font-size: 3rem;
    padding-right: 2rem;
    color: var(--blanco);
    padding-bottom: 1rem;
}
.fotter .fotter-columnas .fotter-columnas__col4 .redes i:hover {
    color: var(--primario);
}
.fotter .fotter-columnas .fotter-columnas__col4 .freepik a {
    text-align: center;
    color: var(--blanco);
    font-size: 1.5rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .fotter .fotter-columnas {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .fotter .fotter-columnas .fotter-columnas__col3 {
        padding: 0;
        margin-left: 0;
    }
}
@media screen and (max-width: 720px) {
    .fotter .fotter-columnas {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .fotter .fotter-columnas .fotter-columnas__col1 img {
        width: 25rem;
    }    
    .fotter .fotter-columnas .fotter-columnas__col3 {
        padding: 0;
        margin-left: 0;
    }
}

/* Página Aviso de Privacidad */
/* Seccion imagen presentación */

.privacidad-info {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Aviso_Privacidad.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
}
#fondo:before {
	content:'';
	position: absolute;
    top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.6);
}
.privacidad-info h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .privacidad-info {
        height: 30vh;
    }
    .privacidad-info h2 {
        font-size: 4rem;
        padding-top: 13rem;
    }
}
@media screen and (max-width: 720px) {
    .privacidad-info {
        height: 20vh;
    }  
    .privacidad-info h2 {
        padding-top: 10rem;
        font-size: 5rem;
    }  
} 
@media screen and (max-width: 375px) {
    .privacidad-info {
        height: 25vh;
    }
    .privacidad-info h2 {
        font-size:  3rem;
        padding-top: 6rem;
    }    
}

/* Documento PDF */

.docpdf {
    width: 100%;
    padding: 0 5rem 5rem;
}
.docpdf embed {
    width: 100%;
    height: 200rem;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .docpdf {
        padding: 0 2rem 2rem;
    }
    .docpdf embed {
        height: 100rem;
    }
}
@media screen and (max-width: 720px) {
    .docpdf {
        padding: 0 2rem 2rem;
    }
    .docpdf embed {
        height: 100rem;
    }    
}

/* Página Aviso de Privacidad de Uso de Cámara de Videovigilancia */
/* Sección Imagen Presentación */
.privacidadCamara-info {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Aviso_Privacidad.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
}
.privacidadCamara-info h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 5rem;
    color: var(--blanco);
    position: relative;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .privacidadCamara-info {
        height: 30vh;
    }  
    .privacidadCamara-info h2 {
        font-size: 3.5rem;
        padding: 13rem 2rem 0 2rem;
    }  
}
@media screen and (max-width: 720px) {
    .privacidadCamara-info {
        height: 20vh;
    } 
    .privacidadCamara-info h2 {
        padding-top: 5rem;
        font-size: 5rem;
    }   
}
@media screen and (max-width: 375px) {
    .privacidadCamara-info {
        height: 25vh;
    }
    .privacidadCamara-info h2 {
        font-size: 2.5rem;
        padding-top: 3.5rem;
    }
}

/* Información del Aviso de Videovigilancia */
.videovigilancia-info p {
    text-align: justify;
    padding-bottom: 3rem;
    font-size: 2rem;
}
.videovigilancia-info p b {
    font-size: 2rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .videovigilancia-info {
        padding: 0 3rem;
    }
}

@media screen and (max-width: 720px) {
    .videovigilancia-info p {
        text-align: justify;
    }
    .videovigilancia-info p, 
    .videovigilancia-info p b {
        font-size: 1.5rem;
        padding: 0 2rem 2rem 2rem;
        
    }       
}


/* Página Quienes Somos */
/* Sección Portada */
.nosotros-portada {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Nosotros.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
}
.nosotros-portada h2 {
    color: var(--blanco);
    text-transform: uppercase;
    font-size: 8rem;
    text-align: center;
    padding-top: 20rem;
    position: relative;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .nosotros-portada {
        height: 30vh;
    }
    .nosotros-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;
    }
}
@media screen and (max-width: 720px) {
    .nosotros-portada {
        height: 20vh;    
    }  
    .nosotros-portada h2 {
        padding-top: 10rem;
    }  
}
@media screen and (max-width: 375px) {
    .nosotros-portada {
        height: 25vh;
    }
    .nosotros-portada h2 {
        font-size: 3rem;
        padding-top: 6rem;
    }
}

/* Sección Información Hospital */
.hospital {
    width: 100%;
    padding: 2rem 0;

}
.hospital .informacion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    margin-top: -15rem;
}
.informacion__img img {
    width: 25vw;
}
.hospital .informacion .informacion__texto  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hospital .informacion .informacion__texto h2 {
    color: var(--primario);
    padding-bottom: 2rem;
    font-size: 3rem;
}
.hospital .informacion .informacion__texto p {
    text-align: justify;
    padding-bottom: 2rem;
    font-size: 1.5rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hospital .informacion {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hospital .informacion .informacion__img img {
        width: 65vw;

    }
    .hospital .informacion .informacion__texto p {
        font-size: 2rem;
        padding: 0 3rem 2rem;
    }
}

@media screen and (max-width: 720px) {
    .hospital .informacion {
        display: flex;
        flex-direction: column;
        align-items: center;
    }   
    .hospital .informacion .informacion__img img {
        width: 65vw;

    }
    .hospital .informacion .informacion__texto p {
        font-size: 2rem;
        padding: 0 3rem 2rem;
    } 
}
@media screen and (max-width: 375px) {
    .hospital .informacion .informacion__texto h2 {
        font-size: 2.5rem;
    }   
    .hospital .informacion .informacion__texto p {
        font-size: 1.5rem;
    } 
}

/* Sección Misión, Visión y Valores */
.estrategia {
    width: 100%;
    padding: 4rem 6rem;
}
.estrategia .secciones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
}
.estrategia .secciones h3 {
    color: var(--primario);
    font-size: 3rem;

}
.estrategia .secciones p {
    text-align: justify;
    font-size: 1.5rem;
}
.estrategia .secciones .secciones__valores .titulo1,
.estrategia .secciones .secciones__valores .titulo2,
.estrategia .secciones .secciones__valores .titulo3,
.estrategia .secciones .secciones__valores .titulo4,
.estrategia .secciones .secciones__valores .titulo5 {
    display: flex;
    justify-content: space-between;
    background-color: var(--secundario);
    color: var(--blanco);
    font-weight: bold;
    margin-top: 1rem;
    padding: 0 2rem;
    
}
.estrategia .secciones .secciones__valores .detalle1,
.estrategia .secciones .secciones__valores .detalle2,
.estrategia .secciones .secciones__valores .detalle3,
.estrategia .secciones .secciones__valores .detalle4,
.estrategia .secciones .secciones__valores .detalle5 {
    margin-bottom: 5rem;
    display: none;
}
.estrategia .secciones .secciones__valores .oculto1,
.estrategia .secciones .secciones__valores .oculto2,
.estrategia .secciones .secciones__valores .oculto3,
.estrategia .secciones .secciones__valores .oculto4,
.estrategia .secciones .secciones__valores .oculto5 {
    display: none;

}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .estrategia {
        padding: 0 2rem;
    }
    .estrategia .secciones {
        grid-template-columns: 1fr;
    }
    .estrategia .secciones h3 {
        padding-top: 2rem;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 720px) {
    .estrategia {
        padding: 0 2rem;
    }
    .estrategia .secciones {
        grid-template-columns: 1fr;
    }
    .estrategia .secciones h3 {
        padding-top: 2rem;
        padding-bottom: 0;
    }    
}



/* Sección Contador */
.counter-wrapper {
    background: linear-gradient( var(--blanco),  var(--secundario));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10rem 9%;
    margin-top: 5rem;
    position: relative;
    margin-bottom: 5rem;
}
.counter {
    text-align: center;
    z-index: 2;
    position: relative;
}
.counter::before {
    position: absolute;
    content: '';
    bottom: -2rem;
    left: 50%;
    width: 20%;
    height: .2rem;
    background: var(--primario);
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.counter .count {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.counter p {
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .counter p {
        font-size: 1.5rem;
    }    
}
@media screen and (max-width: 720px) {
    .counter-wrapper {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 8rem;
    }
}
@media screen and (max-width: 375px) {
    .counter .count {
        font-size: 3rem;
    }    
}

/*Página Especialidades */
/*Sección Portada Especialidades */
.portada-especialidades {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Aviso_Privacidad.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.portada-especialidades h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .portada-especialidades {
        height: 30vh;
    }
    .portada-especialidades h2 {
        font-size: 4rem;
        padding-top: 13rem;
    }
}
@media screen and (max-width: 720px) {
    .portada-especialidades {
        height: 20vh;
    }  
    .portada-especialidades h2 {
        padding-top: 10rem;
        font-size: 4rem;
    }  
}
@media screen and (max-width: 375px) {
    .portada-especialidades {
        height: 25vh;
    }
    .portada-especialidades h2 {
        font-size: 3rem;
        padding-top: 6rem;
    }
}

/* Sección Menú de Especialidades */
.especialidades {
    padding: 5rem 0;
    text-align: center;
    color: var(--primario);
    
}

.especialidades h2 {
    padding-bottom: 5rem;
    text-transform: uppercase;
    font-size: 3rem;
}
.especial {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    align-items: center;
    justify-content: center;
}
.tarjeta {
    position: relative;
    width: 40rem;
    height: 40rem;
}
.tarjeta .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    overflow: hidden;
    transition: .5s;
}
.tarjeta .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px var(--negro);
}
.tarjeta .front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center center;
    background-size: cover;
}
.tarjeta .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4.5rem;
    line-height: 4.5rem;
    color: var(--blanco);
    background: rgba(0,0,0,.4);
    font-size: 2rem;
}
.tarjeta .back {
    transform: perspective(600px) rotateY(180deg);
    background: var(--secundario);
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 10px var(--negro);
}
.tarjeta  .back h3 {
    font-size: 2rem;
    text-transform: uppercase;
    padding-top: 2rem;
}
.tarjeta  .back p {
    font-size: 1.5rem;
    padding: 1rem;
    font-weight: 100;
    text-align: justify;
    
}
.tarjeta:hover .front {
    transform: perspective(600px) rotateY(180deg);
}
.tarjeta:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

@media screen and (max-width: 375px) {
    .especialidades h2 {
        font-size: 2rem;
    }
    .tarjeta {
        width: 30rem;
    }
    .tarjeta  .back h3 {
        font-size: 2rem;
    }
    .tarjeta  .back p {
        font-size: 1.5rem;
    }
    .tarjeta .front h3 {
        font-size: 2rem;
    }
}

/* Página Servicios */
/* Sección Portada Servicios */
.portadaServicios {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Portada-Servicios.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.portadaServicios h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .portadaServicios {
        height: 30vh;    
    } 
    .portadaServicios h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }   
}
@media screen and (max-width: 720px) {
    .portadaServicios {
        height: 20vh;
    }
    .portadaServicios h2 {
        padding-top: 10rem;
        font-size: 4rem;
    }

}
@media screen and (max-width: 375px) {
    .portadaServicios {
        height: 25vh;
    }
    .portadaServicios h2 {
        font-size: 3rem;
        padding-top: 6rem;
    }
}

/* Sección Servicios */

.back img {
    width: 18rem;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
}
.tarjeta1 {
    position: relative;
    width: 25vw;
    height: 83vh;
}
.tarjeta1 .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    overflow: hidden;
    transition: .5s;
}
.tarjeta1 .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px var(--negro);
}
.tarjeta1 .front video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center center;
    background-size: cover;
}
.tarjeta1 .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4.5rem;
    line-height: 4.5rem;
    color: var(--blanco);
    background: rgba(0,0,0,.4);
    font-size: 2rem;
}
.tarjeta1 .back {
    transform: perspective(600px) rotateY(180deg);
    background: var(--secundario);
    padding: 1.5rem;
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 10px var(--negro);
}
.tarjeta1  .back h3 {
    font-size: 3rem;
    text-transform: uppercase;
    padding-top: 2rem;
   
}
.tarjeta1  .back p {
    padding-top: 2rem;
    font-size: 1.5rem;
    
}
.tarjeta1:hover .front {
    transform: perspective(600px) rotateY(180deg);
}
.tarjeta1:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .tarjeta1 {
        width: 50rem;
    }
    .tarjeta1 .front h3 {
        height: 4rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tarjeta1  .back h3 {
        font-size: 2rem;
        text-transform: uppercase;
        margin-top: 2rem;
    }
    .tarjeta1  .back p {
        padding-bottom: 1rem;
        font-size: 1.5rem;
    }    
}

@media screen and (max-width: 720px) {
    .tarjeta1 {
        width: 60rem;
    }
    .tarjeta1 .front h3 {
        height: 4rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tarjeta1  .back h3 {
        font-size: 2rem;
        text-transform: uppercase;
        margin-top: 2rem;
    }
    .tarjeta1  .back p {
        padding-bottom: 1rem;
        font-size: 1.5rem;
    }    
}
@media screen and (max-width: 375px) {
    .tarjeta1 {
        width: 30rem;
    }
    .tarjeta1 .front h3 {
        height: 4rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tarjeta1  .back h3 {
        font-size: 2rem;
        text-transform: uppercase;
        margin-top: 2rem;
    }
    .tarjeta1  .back p {
        padding-bottom: 1rem;
        font-size: 1.5rem;
    }
}


/* Página Galeria */
/* Sección Portada Galerias */
.portada-instalaciones {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Aviso_Privacidad.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.portada-instalaciones h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;    
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .portada-instalaciones {
        height: 30vh;    
    }  
    .portada-instalaciones h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }  
}

@media screen and (max-width: 720px) {
    .portada-instalaciones {
        height: 20vh;    
    }
    .portada-instalaciones h2 {
        padding-top: 10rem; 
        font-size: 4rem;   
    }    
}

@media screen and (max-width: 375px) {
    .portada-instalaciones {
        height: 25vh;    
    }
    .portada-instalaciones h2 {
        font-size: 3rem;
        padding-top: 5rem;    
    }    
}

/*Seccion Galeria */
.galeria {
    padding: 8rem 2rem;
}
.galeria h2 {
    text-align: center;
    font-size: 3rem;
    padding-bottom: 8rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .portada-instalaciones h2 {
        font-size: 2rem;
    }    
}

@media screen and (max-width: 720px) {
    .portada-instalaciones h2 {
        font-size: 2rem;
    }     
}
@media screen and (max-width: 375px) {
    .galeria {
        padding: 3rem 2rem;
    }
    .galeria h2 {
        font-size: 1.5rem;
    }    
}
.linea {
   background: var(--primario);
   height: .5rem;
   width: 100%;
   display: block;
}
.galerias {
    overflow: hidden; 
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    padding-bottom: 7rem;
    padding-left: 2rem;
    padding-right: 2rem;
}
.galerias > a {
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 .6rem rgba(0, 0, 0, .5);
}
.galerias img {
    width: 100%;
    vertical-align: top;
    height: 30rem;
    object-fit: cover;
    transition: transform 0.5s;
}
.galerias a:hover img {
    filter: blur(.2rem);
    transform: rotate(10deg) scale(1.3);
}
.light-box {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    transition: transform .3s ease-in-out;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
}
.light-box img {
    width: 75vw;
    max-height: 70vh;
}
.light-box:target {
    transform: scale(1);
}
.close {
    display: block;
    position: absolute;
    top: 4rem;
    right: 4rem;
    background: var(--secundario);
    color: var(--blanco);
    width: 4rem;
    height: 4rem;
    text-align: center;
    line-height: 4rem;
    border-radius: 50%;
}
.next {
    display: block;
    background: var(--secundario);
    color: var(--blanco);
    height: 3rem;
    width: 3rem;
    text-align: center;
    line-height: 3rem;
}

/*Página Admisión e Información */
/*Sección Portada */
.portada-admision {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Aviso_Privacidad.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.portada-admision h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;    
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .portada-admision {
        height: 30vh;    
    } 
    .portada-admision h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }   
}
@media screen and (max-width: 720px) {
    .portada-admision {
        height: 30vh;    
    } 
    .portada-admision h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }       
}

@media screen and (max-width: 375px) {
    .portada-admision {
        height: 25vh;    
    }
    .portada-admision h2 {
        font-size: 3rem;
        padding-top: 5rem;    
    }
}

/* Sección Información */

.informacion {
    padding: 10rem 0;
}
.informacion h2 {
    text-align: center;
    text-transform: uppercase;
    color: var(--primario);
    font-size: 3rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .informacion h2 {
        font-size: 3rem;
    }    
}

@media screen and (max-width: 720px) {
    .informacion h2 {
        font-size: 3rem;
    }  
}

@media screen and (max-width: 375px) {
    .informacion {
        padding-bottom: 5rem;
    }
    .informacion h2 {
        font-size: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }   
}

/* Sección Texto Animado */

.animado {
    display: flex;
    align-items: center;
    align-content: center;
    overflow: hidden;
}
.texto-animado {
    overflow: hidden;
}
.texto-animado .text{
    position: relative;
    color: var(--primario);
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--fuenteHeading);
}
.texto-animado .text.first-text {
    color: var(--negro);
}
.text.sec-text:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--blanco);
    border-left: .2rem solid var(--primario);
    animation: animate 4s steps(12) infinite;
}
@keyframes animate {
    40%, 60% {
        left: calc(100% + .4rem);
    }
    100% {
        left: 0%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .texto-animado .text {
        padding-left: 2rem;
    }    
}
@media screen and (max-width: 720px) {
    .texto-animado .text {
        padding: 0 2rem;
        font-size: 2rem;
    }
}
@media screen and (max-width: 375px) {
    .texto-animado .text {
        font-size: 1.5rem;
    }
}

/* Sección Consejos */

.consejos {
    padding: 3rem 0;
}
.consejos p {
    padding: 2rem 0;
    font-size: 1.5rem;
    font-family: var(--fuenteParrafo);
}
.consejos p b {
    font-size: 1.5rem;
    font-family: var(--fuenteParrafo);
}
.consejos ul li {
    margin-left: 2rem;
    font-size: 1.5rem;
    font-family: var(--fuenteParrafo);
}
.consejos ul li b {
    font-size: 1.5rem;
    font-family: var(--fuenteParrafo);
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .consejos p {
        padding: 2rem;
    }
    .consejos ul li {
        margin: 0 4rem;
    }    
}

@media screen and (max-width: 720px) {
    .consejos p {
        padding: 2rem;
    }
    .consejos ul li {
        margin: 0 4rem;
    }    
}

/* Sección Info */

.informacion-grid {
    display: flex;
    justify-content: space-between;
    padding: 0 20rem;
    gap: 5rem;
}
.informacion-grid .informacion__img img {
    width: 30vw;
    height: 40vh;
    margin-top: 2rem;
    box-shadow: 0 5px 10px var(--negro);
    border-radius: 1rem;
}
.hidden {
    transform: scale(0.8);
    opacity: 0;
    transition: all 1.2s ease-out;
}
.mostrar {
    transform: scale(1);
    opacity: 1;
}
.informacion-grid .informacion__texto p {
    padding: 2rem 0;
    font-size: 1.5rem;
    font-family: var(--fuenteParrafo);
    text-align: justify;
}
.informacion-grid .informacion__texto ul li {
    margin-left: 2rem;
    font-size: 1.5rem;
    font-family: var(--fuenteParrafo);
    text-align: justify;
}
.informacion-flex {
    display: flex;
    justify-content: space-between;
    padding: 0 20rem 5rem 20rem;
    gap: 5rem;
}
.informacion-flex .informacion__img1 img {
    width: 30vw;
    height: 40vh;
    margin-top: 6rem;
    box-shadow: 0 5px 10px var(--negro);
    border-radius: 1rem;
}
.informacion-flex .informacion__texto1 p {
    padding: 2rem 0;
    font-size: 1.5rem; 
    font-family: var(--fuenteParrafo);   
    text-align: justify;
}
.informacion-flex .informacion__texto1 {
    padding-bottom: 5rem;
}
.informacion-flex .informacion__texto1 ul li {
    margin-left: 2rem;
    font-size: 1.5rem; 
    font-family: var(--fuenteParrafo); 
    text-align: justify;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .informacion-grid {
        flex-direction: column;
        padding: 0 2rem;
    }    
    .informacion-grid .informacion__img img {
        width: 90%;
        margin-top: 2rem;
        margin-left: 3rem;
    }
    .informacion-flex {
        flex-direction: column;
        padding: 0 2rem 5rem 2rem;
    }
    .informacion-flex .informacion__img1 img {
        width: 90vw;
        margin-left: 1rem;
    }
}
@media screen and (max-width: 720px) {
    .informacion-grid {
        flex-direction: column;
        padding: 0 2rem;
    }    
    .informacion-grid .informacion__img img {
        width: 90%;
        margin-top: 2rem;
        margin-left: 3rem;
    }
    .informacion-flex {
        flex-direction: column;
        padding: 0 2rem 5rem 2rem;
    }
    .informacion-flex .informacion__img1 img {
        width: 90vw;
        margin-left: 1rem;
    }

}
@media screen and (max-width: 375px) {
    .informacion-grid .informacion__img img {
        margin-left: 1.5rem;
    }    
    .informacion-flex .informacion__img1 img {
        margin-left: 0;
    }
}


/* Página Admisiones */
/* Sección Portada Admisiones */

.admisiones-portada {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Aviso_Privacidad.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.admisiones-portada h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;  
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .admisiones-portada {
        height: 30vh;    
    }  
    .admisiones-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }  
}

@media screen and (max-width: 720px) {
    .admisiones-portada {
        height: 25vh;    
    }  
    .admisiones-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }      
}
@media screen and (max-width: 375px) {
    .admisiones-portada {
        height: 25vh;    
    }
    .admisiones-portada h2 {
        font-size: 3rem;
        padding-top: 6rem;    
    }
}

/* Sección nota Admisiones */

.nota h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

/* Sección Formulario Admisiones */

.form1 {
    padding: 3rem 0;
}
h3 {
    color: var(--primario);
    padding-bottom: 1rem;
    font-size: 3rem;

}
fieldset {
    border: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
}
.form1 span {
    color: var(--secundario);
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
}
select {
    height: 4.5rem;
    width: 100%;
    color:  var(--negro) ;
    font-size: 1.5rem;
}
label {
    padding-bottom: 2rem;
}
input {
    height: 4.5rem;
    width: 100%;
    color: var(--negro);
    margin-top: 1rem;
    font-size: 1.5rem;

}
::placeholder {
    color: var(--negro);

}
.btn-admision{
    background: var(--primario);
    padding: 2rem 5rem;
    border-radius: 3rem;
    margin-bottom: 5rem;
    margin-left: 50rem;
    color: var(--blanco);
    cursor: pointer;
    font-size: 1.5rem;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .form1  h3 {
        padding: 0 1rem;
    } 
    .btn-admision {
        margin-left: 25rem;
    }   
}
@media screen and (max-width: 720px) {
    .form1  h3 {
        padding: 0 1rem;
    } 
    .btn-admision {
        margin-left: 25rem;
    }   
}
@media screen and (max-width: 375px) {
    fieldset {
        grid-template-columns: 1fr;
    }
    .btn-admision {
        margin-left: 8rem;
    }
}

/* Página Directorio Médico */
/* Sección Portada */
.directorio-portada {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/Portada_Directorio.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.directorio-portada h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;  
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .directorio-portada {
        height: 30vh;    
    } 
    .directorio-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }   
}
@media screen and (max-width: 720px) {
    .directorio-portada {
        height: 25vh;    
    } 
    .directorio-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }   
}
@media screen and (max-width: 375px) {
    .directorio-portada {
        height: 25vh;    
    }
    .directorio-portada h2 {
        font-size: 3rem;
        padding-top: 6rem;    
    }
}

/* Sección Directorio Médico */
.directorio {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    margin: 5rem;
}
.container__card {
    max-width: 120rem;
    margin: auto;
    margin-top: 10rem;
    perspective: 100rem;

}

.card__father:hover .card{
    transform: rotateY(180deg);
}
.card {
    width: 30rem;
    height: 30rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;

}
.card__front {
   border-radius: 100%;
   background-position: center;
   background-size: cover;
}
.card__front,
.card__back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.card__back {
    transform: rotateY(180deg);
    background: var(--secundario);
    border-radius: 100%;
    
}
.body__card-front {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 4rem;
    padding-top: 20rem;
    transform: translateZ(60px);
}
.body__card_back {
    width: 100%;
    height: 100%;
    text-align: center;
    transform: translateZ(60px);
    padding: 6rem 2rem;
}
.body__card_back1 {
    width: 100%;
    height: 100%;
    text-align: center;
    transform: translateZ(60px);
    padding: 10rem 2rem;    
}
.body__card_back h5,
.body__card_back1 h5 {
    font-size: 2rem;
}
.body__card_back p,
.body__card_back1 p {
    font-size: 1.5rem;
    
}
.card__front h6 {
    text-align: center;
    font-size: 2rem;
    color: var(--primario);
    font-style: italic;
}

@media screen and (max-width: 375px) {
    .card {
        width: 25rem;
        height: 25rem;
    }
    .body__card_back h5,
    .body__card_back1 h5 {
        font-size: 1.5rem;
    }
    .body__card_back p,
    .body__card_back1 p {
        font-size: 1.5rem;
    }
}
/* Página de Contacto */
/* Sección de Portada */
.contacto-portada {
    width: 100%;
    height: 55vh;
    background-image: url(../imagenes/12.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-bottom: 8rem;
    text-align: center;
    position: relative;
}
.contacto-portada h2 {
    text-align: center;
    padding-top: 20rem;
    text-transform: uppercase;
    font-size: 8rem;
    color: var(--blanco);
    position: relative;      
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .contacto-portada {
        height: 30vh;
    }
    .contacto-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }
}
@media screen and (max-width: 720px) {
    .contacto-portada {
        height: 25vh;
    }
    .contacto-portada h2 {
        font-size: 4rem;
        padding-top: 13rem;    
    }    
}
@media screen and (max-width: 375px) {
    .contacto-portada {
        height: 25vh;
    }   
    .contacto-portada h2 {
        font-size: 3rem;
        padding-top: 6rem;    
    } 
}

/* Sección Información */
.contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    margin: 5rem;
}
.container__infor {
    max-width: 120rem;
    margin: auto;
    margin-top: 10rem;
    perspective: 100rem;

}

.infor__father:hover .infor{
    transform: rotateY(180deg);
}
.infor {
    width: 30rem;
    height: 30rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;

}
.infor__front {
   border-radius: 100%;
   background-position: center;
   background-size: cover;
}
.infor__front,
.infor__back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.infor__back {
    transform: rotateY(180deg);
    background: var(--secundario);
    border-radius: 100%;
}


.body__infor-front {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 4rem;
    padding-top: 20rem;
    transform: translateZ(60px);
}
.body__infor-front h6 {
    font-weight: bold;
    


}
.body__infor_back {
    width: 100%;
    height: 100%;
    text-align: center;
    transform: translateZ(60px);
    padding: 0 2rem;
    padding-top: 8rem;
}
.body__infor_back1 {
    width: 100%;
    height: 100%;
    text-align: center;
    transform: translateZ(60px);
    padding: 0 2rem;
    padding-top: 5.5rem;  
}
.body__infor_back2 {
    width: 100%;
    height: 100%;
    text-align: center;
    transform: translateZ(60px);
    padding: 0 2rem;
    padding-top: 5rem;      
}
.body__infor_back h5,
.body__infor_back1 h5,
.body__infor_back2 h5 {
    font-size: 2rem;
}
.body__infor_back p,
.body__infor_back1 p,
.body__infor_back2 p {
    font-size: 1.5rem;
}
.infor__front h6 {
    text-align: center;
    font-size: 2rem;
    color: var(--primario);
    font-style: italic;

}


/* Seccioin Formulario */

.contacto2 {
    margin-top: 5rem;
    width: 100%;
    height: auto;
}

.contacto2 h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    padding-right: 2rem;
}

.contacto2__linea {
    background: var(--secundario);
    height: .5rem;
    width: 50%;
    display: block;
    margin-top: 2rem;
    margin: 2rem auto;
}

.contactanos2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
    width: 100%;
}

.contacto-textos {
    margin-top: 15rem;
}

.contactanos2 h3 {
    font-size: 2rem;
    padding-bottom: 2rem;
    text-shadow: 1px 1px 10px var(--negro); 
    padding-left: 2rem;   
}

.contactanos2 a {
    font-size: 1.7rem;
    font-family: var(--fuenteParrafo);
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    color: var(--negro);
    font-weight: 700;
    margin-right: 1rem;
    padding-left: 2rem;
}

.contactanos2 a i {
    margin-right: 1rem;
}

.formulario {
    width: 100%;
    padding: 0 2rem 0 2rem;
}

.formulario form .campo,
.formulario form textarea {
    width: 100%;
    padding: 1.5rem 1rem;
    font-size: 1.5rem;
    border: 1px solid var(--negro);
    margin-bottom: 2rem;
    border-radius: 3px;
    outline: 0px;
}

.formulario form textarea {
    max-width: 100%;
    min-height: 14rem;
    max-height: 15rem;
}
.btn-msg {
    background: var(--primario);
    padding: 2rem 5rem;
    border-radius: 3rem;
    margin-top: 3rem;
    color: var(--blanco);
    cursor: pointer;
    font-size: 1.5rem;
}

@media screen and (max-width: 768px) {

    .contactanos2 {
        display: flex;
        flex-direction: column;
    }
    
    .contacto-textos {
        margin-top: 0;
    }

    .contactanos2 h3 {
        text-align: center;
    }

    .contactanos2 a {
        text-align: center;
    }
    
}
@media screen and (max-width: 375px) {
    .btn-msg {
        margin-left: 5rem;
    }  
}

/* Sección Mapa */
.mapa {
    width: 100%;
    padding-bottom: 5rem;
}
.mapa iframe {
    width: 100%;
    padding: 0 3rem;
}

