/* FUENTES */
@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Bold.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff) format("woff")
}

@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Black.woff) format("woff")
}

@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Light.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Light.woff) format("woff")
}


@font-face {
    font-family: MarcinAntB;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff2) format("woff2")
    ,url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff) format("woff")
}

@font-face {
    font-family: Majrit Text;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Black.woff) format("woff")
}

@font-face {
    font-family: Majrit Txt;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Medium.woff2) format("woff2")
    ,url(https://static.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Medium.woff) format("woff")
}


body .a_t,
body .a_k {
  display: none;
}

/* apertura */
body .apertura {
    position: relative;
    background-color: #001824;
}

body .apertura:before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height:330px;
    z-index: 1;
    content:"";
    background: linear-gradient(0deg,rgb(41, 36, 30) 0%, rgba(41, 36, 30, 0) 100%);
}

.video_apertura {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.video_apertura video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apertura_textos {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 22.75rem;
    width: 100%;
    text-align: center;
    z-index: 1;
}

body .apertura h1 {
    font-family: MajritBn;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    font-size: 2.125rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* boton bajar */
.apertura .bajar {
  display: block;
  text-align: center;
  margin: 0 auto 3.75rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  animation: bajar 3s infinite 3s, opacidad 1s forwards 2s;
  bottom: -7px;
}

.apertura .bajar span {
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  width: 15px;
  height: 15px;
  border-top: 1px solid white;
  border-right: 1px solid white;
  transform: rotate(135deg);
}

/* MEDIA QUERIES */
@media (min-width: 48em){ 


}

@media ((min-width: 62.5625em)){

  /* titulo */
  body .apertura h1 {
    font-size: 3.375rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    margin: 0 auto 1.25rem;
  }

  .apertura_textos {
    max-width: 40rem;
  }

}

@media (min-width: 74.938em) { /* 1199px */
  
  body .apertura h1 {
    font-size: 3.375rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    margin: 0 auto 1.25rem;
  }

  .apertura_textos {
    max-width: 40rem;
  }

}
  
/* Animaciones */
@keyframes opacidad {
    100% {
        opacity:1;
    }
}

@keyframes bajar {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-0.5rem);
    }
    50% {
        transform: translateY(0rem);
    }
    75% {
        transform: translateY(-0.25rem);
    } 
}


/* animaciones */


@keyframes ejeY {
    100% {
      margin-top: 0;
    }
  }
  
  @keyframes opacidad {
    100% {
      opacity: 1;
      visibility: visible;
    }
  }
  
  @keyframes fade {
    0% {
      opacity:1;
    }
    17% {
      opacity:1;
    }
    25% {
      opacity:0;
    }
    92% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  
  @keyframes bajar {
    0%, 100% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(-0.5rem);
    }
    50% {
      transform: translateY(0rem);
    }
    75% {
      transform: translateY(-0.25rem);
    } 
  }
  
  @media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
  }