
html {
    scroll-behavior: smooth;
}

.gdpr-cookie-notice{
  
}

body{
    min-height:100vh;
    background-color: #fff;
    font-family: Doctaforum;
}

.header{
    background-color: transparent;
    position:sticky;
    top:0px;
    left:0px;
    z-index: 4000;
}

.logo-header{
    /*transition: color 0.3s ease, filter 0.3s ease;
    */
    max-width:110px;
}

.link-home{
    color:black !important;
}


.caja-links{
    font-size: 16px;
}


.entered{
    color:black !important;
    border-bottom: 2px solid var(--doctaforum);
}

.link-lang{
    color:black !important;
    position: relative;
    font-size: 16px;
    text-decoration: none;
}

b{
    color: var(--doctaforum);
    font-family: Doctaforum-Bold;
}

.link-lang::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    bottom: 0px; /* Ajusta esta propiedad para acercar la línea al texto */
    height: 2px;
    color:var(--doctaforum);
    background-color: var(--doctaforum);
    transition: width 0.5s ease, left 0.5s ease;
    -webkit-transition: width 0.5s ease, left 0.5s ease;
    -moz-transition: width 0.5s ease, left 0.5s ease;
    -ms-transition: width 0.5s ease, left 0.5s ease;
    -o-transition: width 0.5s ease, left 0.5s ease;
}

  /* Al hacer hover, expandimos la línea desde el centro hacia los lados */
  .link-lang:hover::after {
    width: 100%;
    left: 0;
    color: var(--doctaforum);
  }


  .contenido{
    min-height:58vh !important;
    overflow: hidden;
  }


.black{
    font-family: Doctaforum-Bold;
    color: #333;
    font-size: 18px;
    display: inline-block;
}

.palabra-principal{
    color: #333;
    font-family: Doctaforum-Bold;
    font-size: 70px !important;
    line-height: 70px;
    letter-spacing: -5px;
  /* color:var(--doctaforum);
    font-family:Doctaforum-Bold;
    font-size:55px !important;
    line-height: 0px; */
}

.palabra-principal-2{  
    color: var(--doctaforum);
    font-family: Doctaforum-Bold;
    font-size: 47px !important;
    line-height: 45px;
    letter-spacing: -2px;
  /* color:var(--doctaforum);
    font-family:Doctaforum-Bold;
    font-size:55px !important;
    line-height: 0px; */
}

.texto-principal{
    font-family:Doctaforum;
    color: #333;
    /* font-size:18px; */
    font-size:16px;
    letter-spacing: 1px;
}


.caja-right{
    height: 100% !important;
    animation: slideInFromRight 2s forwards;
    -webkit-animation: slideInFromRight 2s forwards;
}

.caja-left{
    animation: slideInFromLeft 2s forwards;
    -webkit-animation: slideInFromLeft 2s forwards;
}
        /* Animación de izquierda a derecha */
        @keyframes slideInFromLeft {
            0% {
                transform: translateX(-100%);
                opacity: 0;
            }
            100% {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Animación de derecha a izquierda */
        @keyframes slideInFromRight {
            0% {
                transform: translateX(100%);
                opacity: 0;
            }
            100% {
                transform: translateX(0);
                opacity: 1;
            }
        }

.texto-que-right{
    max-width:65%;
}





/*? CONTENEDOR 8*/
.contenedor-8{
    background-color: #333;
    width: 100% !important;
    min-height:30vh !important;
    height: auto !important;
    overflow-y:hidden;
    padding: 0% 8% !important;
}

.font-footer{
    color: #FFF;
    font-family: Doctaforum-Bold !important;
    font-size: 15px;
    font-style: normal;
    line-height: 24px; /* 150% */
}

.link-responsabilidad {
    color:white;
    font-family: Doctaforum !important;
    text-decoration: white;
}


.link-responsabilidad:hover {
    color: white;
    text-decoration: underline;
}

.link-cookies{
    color:white !important;
    font-family: Doctaforum !important;
    text-decoration:none !important;
}

.link-cookies:hover{
    color:white !important;
    cursor:pointer;
    font-family: Doctaforum-Bold !important;
    text-decoration:underline !important;
}


@media screen and (min-width: 1280px) and (max-width: 1440px) {
    .flechas {
        margin-bottom: 0px !important;
      }

    .texto-que-right{
        max-width: 100% !important;
        width: 100% !important;
      }
}
@media screen and (min-width: 768px)  and (max-width: 1280px) {
    .flechas {
        margin-bottom: 0px !important;
      }

    .texto-que-right{
        max-width: 100% !important;
        width: 100% !important;
      }
}
@media screen and (min-width: 360px ) and (max-width: 768px) {
    .texto-principal {
        font-family: Doctaforum;
        color: gray;
        font-size: 16px;
        letter-spacing: 1px;
        line-height: 18px !important;
    }
    
    .flechas{
        margin-top: -70px !important; 
    }

        
    .logo-header{
        /*transition: color 0.3s ease, filter 0.3s ease;
        */
        max-width:100px;
    }

    .palabra-principal {
        color: #333;
        font-family: Doctaforum-Bold;
        font-size: 50px !important;
        line-height: 45px;
        letter-spacing: -4px !important;
    }

    .palabra-principal-2{
        font-size: 45px !important;
        line-height: 40px !important;
        letter-spacing: -3px !important;
    }

    .texto-que-right{
        max-width:100% !important;
    }

    .salto-responsive{
        display: block !important;
    }

    .texto-que-right{
        max-width: 100% !important;
        width: 100% !important;
      }
      .black {
        font-family: Doctaforum-Bold;
        color: black;
        font-size: 16px;
        display: inline-block;
      }
      

    .contenedor-8 {
        background-color: #333;
        width: 100% !important;
        min-height: 30vh !important;
        height: auto !important;
        padding: 10% 10% !important;
    }

    .caja-health-2{
        margin-top:-110px !important;
    }

    .caja-ciencia-2{
        margin-top:-50px !important;
    }

    .caja-eventos-2{
        margin-top:-45px !important;
    }
}


.flechas-absolute{
    height: 100% !important;
    position: absolute !important;
    width: 100% !important;
}

.flecha-izq-abs{
    z-index: 900;
    position: absolute;
    top: 50%;
    rotate:-90deg;
    left: 5%;
}

.flecha-der-abs{
    z-index: 13000;
    rotate:90deg !important;
    position: absolute;
    top: 50%;
    right: 5%;
}
.flecha-der-abs svg, .flecha-izq-abs svg{
    rotate: 180deg;
}

    /*EFECTO FLECHA*/
    .flecha{
        position:absolute;
        transform: translateX(-50%);
        animation: rebote 2s infinite ease-in-out;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -webkit-animation: rebote 2s infinite ease-in-out;
}

.flecha-izq{
    transform: rotate(90deg);
    transform-origin: center; 
    z-index: 900;
}

.flecha-der{
    transform: rotate(-90deg);
    transform-origin: center;
    z-index: 900;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

@keyframes rebote {
    from,
        to {
          transform:translateY(0%);
          -webkit-transform:translateY(0%);
          -moz-transform:translateY(0%);
          -ms-transform:translateY(0%);
          -o-transform:translateY(0%);
}
      
        50% {
            transform:translateY(30%);
            -webkit-transform:translateY(30%);
            -moz-transform:translateY(30%);
            -ms-transform:translateY(30%);
            -o-transform:translateY(30%);
}
}

.texto-izq{
    color: rgb(44, 44, 44) !important;
    rotate: 90deg !important;
    padding-top: 35px !important;
    animation: rebote-text 2s infinite ease-in-out;
    -webkit-animation: rebote-text 2s infinite ease-in-out;
}

.texto-der{
    color: rgb(44, 44, 44) !important;
    rotate: -90deg !important;
    padding-top: 35px !important;
    animation: rebote-text-der 2s infinite ease-in-out;
    -webkit-animation: rebote-text-der 2s infinite ease-in-out;
}


.texto-izq-resp{
    color: rgb(44, 44, 44) !important;
    rotate: -90deg !important;
    padding-top: 35px !important;
    animation: rebote-text-der 2s infinite ease-in-out;
    -webkit-animation: rebote-text 2s infinite ease-in-out;
}

.texto-der-resp{
    color: rgb(44, 44, 44) !important;
    rotate: 90deg !important;
    padding-top: 35px !important;
    animation: rebote-text-der 2s infinite ease-in-out;
    -webkit-animation: rebote-text-der 2s infinite ease-in-out;
}

@keyframes rebote-text {
    from,
        to {
          transform:translateX(0%);
          -webkit-transform:translateX(0%);
          -moz-transform:translateX(0%);
          -ms-transform:translateX(0%);
          -o-transform:translateX(0%);
}
      
        50% {
            transform:translateX(-42.5%);
            -webkit-transform:translateX(-42.5%);
            -moz-transform:translateX(-42.5%);
            -ms-transform:translateX(-42.5%);
            -o-transform:translateX(-42.5%);
}
}

@keyframes rebote-text-der {
    from,
        to {
          transform:translateX(0%);
          -webkit-transform:translateX(0%);
          -moz-transform:translateX(0%);
          -ms-transform:translateX(0%);
          -o-transform:translateX(0%);
}
      
        50% {
            transform:translateX(42.5%);
            -webkit-transform:translateX(42.5%);
            -moz-transform:translateX(42.5%);
            -ms-transform:translateX(42.5%);
            -o-transform:translateX(42.5%);
}
}



/**? MENU HAMBURGUESA */
.icono-burguer {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    }

.icono-burguer span{
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}


.icono-burguer span {
    background: var(--doctaforum);
    }
    
    
.icono-burguer span:nth-child(1) {
    top: 0px;
    }
    
    .icono-burguer span:nth-child(2),
    .icono-burguer span:nth-child(3) {
    top: 10px;
    }
    
    .icono-burguer span:nth-child(4) {
    top: 20px;
    }
    
    .icono-burguer.open span:nth-child(1) {
    top: 11px;
    width: 0%;
    left: 50%;
    }
    
    .icono-burguer.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    }
    
    .icono-burguer.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    }
    
    .icono-burguer.open span:nth-child(4) {
    top: 11px;
    width: 0%;
    left: 50%;
    }

    .custom-burguer-menu {
        position: fixed; /* Fija el menú en la parte superior de la pantalla */
        top: 0; /* Alinea el menú en la parte superior */
        left: 0; /* Alinea el menú con el borde izquierdo */
        width: 100%; /* Asegura que el menú ocupe todo el ancho de la pantalla */
        z-index:2000; /* Coloca el menú por encima de otros elementos */
        max-height: 100dvh !important;
        /* background-color: rgba(255,255,255,.5);
        height: 100vh !important; */
     }
     
     .boton-burguer {
        position:sticky !important;
        top:3px !important;
        right:3px !important;
        z-index:3001;
        color:var(--doctaforum);
}

     .collapse.show {
        display: block !important; /* Asegura que el menú se muestre cuando está activado */
     }

     .cuerpo-menu{
        /* height: 100% !important; */
        background-color: white;
        height: 100vh !important;
     }

     .link-burguer{
        color:var(--doctaforum) !important;
        font-family: Doctaforum !important;
        font-size: 20px !important;
     }

     
     .link-burguer:hover{
        font-family: Doctaforum-Bold !important;
     }

     .link-lang-burguer{
        color:var(--doctaforum) !important;
        position: relative !important;
        font-size:18px;
        text-decoration: none;
     }
        
    .footer-burguer{
        color: var(--doctaforum) !important;
        position: absolute;
        bottom: 5%;
    }

    .link-lang-burguer::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        bottom: 0px; /* Ajusta esta propiedad para acercar la línea al texto */
        height: 2px;
        color:var(--doctaforum);
        background-color: var(--doctaforum);
        z-index:2001; /* Coloca el menú por encima de otros elementos */
        transition: width 0.5s ease, left 0.5s ease;
        -webkit-transition: width 0.5s ease, left 0.5s ease;
        -moz-transition: width 0.5s ease, left 0.5s ease;
        -ms-transition: width 0.5s ease, left 0.5s ease;
        -o-transition: width 0.5s ease, left 0.5s ease;
    }

    /* Al hacer hover, expandimos la línea desde el centro hacia los lados */
    .link-lang-burguer:hover::after {
        width: 100%;
        left: 0;
        color: var(--doctaforum);
    }

    .barra-burguer{
        background-color: var(--doctaforum);
        height: 2px !important;
        color: var(--doctaforum);
        width: 100%;
    }
