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

@font-face {
    font-family: MarcinAntB;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(https://static-sandbox.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")
}

/* SOBRESCRITURA ELEMENTOS */
.a .a_k, .a .a_t {
  display: none;
}

body .a_c p a {
  color: #000;
}

body .a_e {
  display: none;
}

body .a_md {
  margin-top: 3.75rem;
}

/* apertura */
body .apertura { 
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 0;
  background: #1a1b1c;
  overflow: hidden;
  position: relative;  
  height: auto;
  }
  
  .apertura_contenedor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  }
  
  .apertura .foto {
  position: relative;
   /* aspect-ratio: 3 / 4;
  height: 100%;*/
  }

  .apertura .foto img {
  width:  100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  }
  
  
  .apertura_textos {
  text-align: center;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1.25rem 3.75rem;
  box-sizing: border-box;
  }

  .apertura_textos_contenido {
  display: flex;
  flex-direction: column;
  flex: 1;
  order: 1;
  justify-content: center;
  align-items: center;
  padding: 0 1.25rem;
  }


  .apertura_textos h1 {
text-align: center;
  margin: 0 auto 1.875rem;
  padding: 0 0 0;
  font-weight: normal;
  font-family: MajritBn, serif;
  font-style: normal;
  font-weight: 300;
  line-height: 1.1;
  font-size: 1.75rem;
  letter-spacing: 0;

  }

  .apertura_textos p {
  font-family: MajritTxRoman, sans-serif;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.3;
  margin: 0 auto 2.25rem;
  padding: 0 0 0;
  }

  .apertura_textos .info_foto {
  order: 0;
  font-family: MajritTxRoman, sans-serif;
  font-size: 0.75rem;
  color: #8D8D8D;
  text-align: right;
  align-self: flex-end;
  justify-self: flex-end;
  margin: 0 0 5rem;
  }
  
  .apertura_textos .info_foto span {
  display: block;
  font-family:MajritTx,serif;
  font-weight: 500;
  margin-top: 0.25rem;
  text-transform: uppercase;
  }

  .apertura .bajar {
  display: block;
  text-align: left;
  margin: 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  animation: bajar 3s infinite 3s, opacidad 1s forwards 2s;
  bottom: -0.4375rem;
  }
  
  .apertura .bajar span {
  display: block;
  text-indent: -3.902344rem;
  overflow: hidden;
  width: 0.75rem;
  height: 0.75rem;
  border-top: 0.0625rem solid black;
  border-right: 0.0625rem solid black;
  transform: rotate(135deg);
  }
  
 

@media (min-width: 48em){
  
  .apertura_textos {
    padding: 1.25rem 1.25rem 6.25rem;
  }

  .apertura_textos_contenido {
    max-width: 40.625rem;
  }
  
  .apertura_textos h1 {
    font-size: 2.25rem;
    max-width: 100%;
    margin: 0 0 2.5rem;
    padding: 0;
  }

  .apertura_textos p {
    font-size: 1rem;
    max-width: 100%;
  }

  
  
}

@media (min-width: 62.563em) {
 

  body .apertura {   
  height: calc(100vh - 3.3125rem);
  }
  
  .apertura_contenedor {
  width: 100%;
  height: 100%;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  }
  
  .apertura .foto {
  position: relative;
  aspect-ratio: 3 / 4;
  height: 100%;
  }

  .apertura .foto img {
  width:  auto;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  }

  .apertura_textos {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 100%;
  padding: 2.5rem;
  height: 100%;
  max-width: 100%;
  }

  .apertura_textos_contenido{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  order: 0;
  max-width: 31.25rem;
  }

  .apertura_textos h1 {
  max-width: 100%;
  font-size: 2.75rem;
  margin: 0 0 2.813rem;
  }

  .apertura_textos .info_foto {
  margin-top: auto;
  text-align: left;
  order: 1;
  align-self: flex-start;
  margin-bottom: 0;
  }


}







/* animaciones */
@keyframes opacidad {

  100% {
    opacity:1;
  }
  }
  
  @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);
  } 
  }
  
  @keyframes opacidad {
  100% {
    opacity: 1;
    visibility: visible;
  }
  }
  
  @keyframes width {
  100% {
    width: 100%;
  }
  }
  
  @keyframes width12 {
  100% {
    width: 12%;
  }
  }
  
  @keyframes width25 {
  100% {
    width: 25%;
  }
  }
  
  @keyframes width30 {
  100% {
    width: 30%;
  }
  }
  