*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    transition: all 200ms;
    scroll-behavior: smooth;
    outline: none;
}

:root {
    --fondo: #ffffff;
    --base: #a10333;
    --fuente: #231f20;
}

::-webkit-scrollbar{
    width: 10px;   
}

::-webkit-scrollbar-thumb{
    background-color: var(--base);
}

header{
    width: 100%;
    z-index: 2;
}

h1{
    font-size: 3rem;
}

p{
    font-size: 20px;
    margin: 20px 0px;
    color: var(--fuente);
}

label{
    margin: 10px 0px;
    font-size: 1.5rem;
}

/* accesos y redes */

.contenedorAccesos{
    width: 100%;
    background-color: var(--base);
    position: fixed;
    z-index: 2;
    top: 0;
}

.contenidoAccesos{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0px 0px;
}

.accesos, .redes{
    height: 80px;
    color: var(--fondo);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--CCA);
}

.accesos nav, .redes nav{
    height: 100%;
}

.accesos nav ul, .redes nav ul{
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
}

.accesos nav ul li, .redes nav ul li{
    height: 100%;
    margin: 0px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.accesos a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fondo);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-in-out;
}
.accesos a:hover::before {
    transform: scaleX(1);
}

.redes nav ul .iconoWhatsapp{
    display: none;
}

.accesos nav ul li label{
    color: var(--fondo);
    position: relative;
    font-size: 1rem;
}

.accesos nav ul li img{
    cursor: initial;
}

.accesos nav ul li img, .redes nav ul li img{
    height: 1.5rem;
    filter: invert();
    padding: 0px 10px;

}

.redes nav ul .idioma img{
    filter: none;
    border-radius: 30%;
}

.iconoMenu{
    display: none;
}

.animated{
    display: flex;
}


/* nav*/

.contenedorNav{
    width: 100%;
    margin-top: 80px;
    background: var(--fondo);
}

.contenidoNav{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0px 0px;
    background-color: var(--fondo);
}

.logo a{
    height: 120px;
    display: flex;
    align-items: center;
}

.logo a img{
    height: 60%;
}

.menu{
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu nav {
    height: 100%;
}

.menu nav ul{
    height: 100%;
    display: flex;
    list-style: none;
    
}

.menu nav ul li{
    height: 100%;
    margin: 0px 25px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.menu nav ul li a{
    text-align: center;    
  color: var(--fuente);
  position: relative;
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fuente);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-in-out;
}
.menu a:hover::before {
    transform: scaleX(1);
}


/* nav responsive pa*/

.menuFlotante{
    display: flex;
    transform: translateY(-100vh);
    position: fixed;
    margin-top: 40px;
    padding: 20px 30px;
    border-radius: 10px;
    right: 10%;
    z-index: 4;
    background: #231f20ef;
    transition: all 500ms;
}

.mostrar{
    transform: translateY(0);
}

.menuFlotante nav {
    height: 100%;
}

.menuFlotante nav ul{
    height: 100%;
    list-style: none;
    transition: all 200ms;
}

.menuFlotante nav ul li{
    height: 50px;
    margin: 0px 10px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.menuFlotante nav ul li a{
  color: var(--fondo);
  position: relative

}

.menuFlotante a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fondo);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-in-out;
}
.menuFlotante a:hover::before {
    transform: scaleX(1);
}


/* whatsapp */

.whatsapp{
    position: relative;
    max-width: 100%;
    height: 60px;
    margin: auto;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0px 0px;

}
.contenidoWhatsapp{
    background-color: var(--base);
    padding: 10px 20px;
    width: 30%;
    align-items: center;
    display: flex;
}

.contenidoWhatsapp img{
    width: 1.4rem;
    height: 1.4rem;
    filter: invert();
}

.contenidoWhatsapp a {
    font-size: 1rem;
    color: var(--fondo);
    margin: 10px 20px;
    position: relative;
    padding-bottom: 1px;
}

.contenidoWhatsapp a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fondo);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-in-out;
}
.contenidoWhatsapp a:hover::before {
    transform: scaleX(1);
}


/*Portada pa*/

.contenedorSlider{
    width: 100%;
    overflow: hidden;
}

.slider{
    width: 100%;
    display: flex;
}

.contenidoSlider{
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-shrink: 0;
    background-image: url(../img/laboratorio/portada/01.png);
    color: #fff;
    background-size: cover;
    background-position: center;
}

.contenidoSlider:nth-child(2){
    background-image: url(../img/laboratorio/portada/03.png);
}

.contenidoSlider:nth-child(3){
    background-image: url(../img/laboratorio/portada/01.png);
}

.contenedorContenidoPortada{
    width: 60%;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logoPortada img{
    width: 3rem;
}

.contenedorTextoPortada{
    color: var(--fondo);
    padding: 0px 40px;
}

/* body */

.contenedorBody{
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.presentacion{
    width: 70%;
    display: flex;
    flex-direction: column;
    margin: auto;
    padding-top: 80px;
    border-top: var(--fuente) solid 3px ;
}

.texto p{
    text-align: justify;
}

.encabezado{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.encabezado img{
    width: 55%;
    margin-bottom: 40px;
    object-fit: cover;
}

/* Filosofia */

.contenedorFilosofia{
    margin-top: 180px;
    width: 100%;
}
.contenidoFilosofia{
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding-bottom: 80px;
    border-bottom: var(--fuente) 3px solid;
}

.textoFilosofia{
    width: 55%;
}

.textoFilosofia p{
    text-align: justify;
}

.img{
    width: 35%;
}

.img img{
    width: 100%;
    object-fit: cover;
}

/* Profesionales */

.contenedorProfesionales{
    width: 100%;
}

.contenidoProfesionales div{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: auto;
    margin-top: 80px;
    padding-bottom: 80px;
    border-bottom: var(--fuente) solid 3px;
}

.contenidoProfesionales div section{
    width: 59%;
    text-align: justify;
}

.contenidoProfesionales :first-child{
    align-items: center;
}

.contenidoProfesionales div h3{
    font-size: 1.9rem;
    font-weight: 500;
}

.contenidoProfesionales div img{
    width: 37%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.contenidoProfesionales :first-child img{
    width: 50%;
    height: 700px;
}

/* Slider Equipo*/

.contenedorSliderEquipo{
    width: 70%;
    margin: auto;
}

.contenidoSliderEquipo{
    position: relative;
}
.slide{
    padding: 10px;
}
.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sliderAnterior, .slideSiguiente{
    background: none;
    border: none;
    margin: auto;
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    top: calc(50% - 35px);
    cursor: pointer;
    line-height: 30px;
    text-align: center;
    z-index: 3;
}

.sliderAnterior{
    left: -30px;
}

.slideSiguiente{
    right: -30px;
}

.slideSiguiente img{
    transform: scaleX(-1);
}

.sliderAnterior img, .slideSiguiente img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Servicios*/

.contenedorSliderServicios{
    width: 70%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 80px;
    border-bottom: var(--fuente) 3px solid;
}

.contenidoSliderServicios{
    position: relative;
}

.contenidoSliderServicios .slide{
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 10px;
}

.contenidoSliderServicios .slide figure{
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.contenidoSliderServicios .slide figure img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 200ms;
}

.contenidoSliderServicios .slide figure .textoHover{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3d3d3db7;
    height: 100%;
    width: 100%;
    top: 0;
    color: var(--fondo);
    opacity: 1;
    text-align: center;
}

.contenidoSliderServicios .red figure .textoHover{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a1033293;
    height: 100%;
    width: 100%;
    top: 0;
    color: var(--fondo);
    opacity: 1;
    text-align: center;
}

.contenidoSliderServicios .slide figure:hover > .textoHover{
    opacity: 0;
    visibility: hidden;
}

.sliderAnteriorServicios, .slideSiguienteServicios{
    background: none;
    border: none;
    margin: auto;
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    top: calc(50% - 35px);
    cursor: pointer;
    line-height: 30px;
    text-align: center;
    z-index: 3;
}

.sliderAnteriorServicios{
    left: -30px;
}

.slideSiguienteServicios{
    right: -30px;
}

.slideSiguienteServicios img{
    transform: scaleX(-1);
}

.sliderAnteriorServicios img, .slideSiguienteServicios   img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Redes */

.contenedorRedes{
    width: 70%;
    height: auto;
    margin: 80px auto;
    padding-top: 80px;
    border-top: var(--fuente) 3px solid;
}

.contenidoRedes{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 80px;
}

.contenidoRedes figure{
    position: relative;
    height: 17vw;
    width: 24%;
    overflow: hidden;
    margin: 3px;
}

.contenidoRedes figure a{
    width: 100%;
    height: 100%;
}

.contenidoRedes figure a h3{
    font-size: 1rem;
}

.contenidoRedes figure a img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 200ms;
}

.textoRedes{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3d3d3db7;
    height: 100%;
    width: 100%;
    top: 0;
    color: var(--fondo);
    opacity: 0;
    text-align: center;
}


.contenidoRedes figure:hover > .textoRedes{
    opacity: 1;
}


/* Contacto */

.contenedorContacto{
    width: 100%;
    background: rgb(207,85,122);
    background: linear-gradient(0deg, rgba(207,85,122,1) 0%, rgba(255,255,255,1) 100%);
    padding-bottom: 120px;
}

.contenidoContacto{
    width: 70%;
    margin: auto;
    display: flex;
    padding-top: 80px;
    border-top: 3px solid var(--fuente);
}

.contenidoContacto ul li label a{
    color: var(--fuente);
    position: relative;
}

.contenidoContacto a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fuente);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.contenidoContacto a:hover::before {
    transform: scaleX(1);
}

.contenedorFormulario{
    margin: auto;
    width: 70%;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

.formularioContacto{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.formularioContacto input{
    border: none;
    height: 60px;
    margin: 10px 0px;
    padding: 0px 20px;
    outline: none;
}

.formularioContacto button{
    border: none;
    outline: none;
    width: 100%;
    height: 60px;
    font-size: 1rem;
    margin: 40px 0px;
    background-color: var(--fondo);
}

.formularioContacto button:hover{
    background-color: #e0e0e0;
}


/* footer? */


footer{
    width: 100%;
    background: rgb(161,3,51);
    background: linear-gradient(0deg, rgba(161,3,51,1) 0%, rgba(207,85,122,1) 100%);
}

.contenidoFooter{
    width: 70%;
    margin: auto;
    padding: 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contenidoFooter label{
    color: var(--fondo);
}

footer img{
    width: 25%;
    height: 15%;
}

