/* 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: MarcinAntBCNXXX;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantbcnxxx-heavy-webfont.woff2) format("woff2")
    ,url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantbcnxxx-heavy-webfont.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.tpl-a, body.tpl-a .a {
  background: #fff;
}

body .a_c>h3:after{
  display: none;
}

/* APERTURA */
body .a_k,
body .a_t {
  display: none;
}


body .apertura {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 0;
  background: white;
  overflow: hidden;
  position: relative;  
  height: auto;
  padding:20px 20px 0;
}

.apertura_contenedor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 0 20px;
  box-sizing: border-box;
  max-width: auto;
  border-bottom: 1px solid #000;
}

.ilustracion {
    width: 100%;
    position: relative;
    min-width: 280px;
    padding: 20px 0;
    box-sizing: border-box;
    order: 1;
    height: 60vh;
}

.ilustracion img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ilustracion .ilustracion_firma {
  font-family: MarcinAntB,sans-serif;
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.625rem;
  text-transform: uppercase;
}

.apertura_textos {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}


body .apertura h1 {
  font-family: MarcinAntBCNXXX, serif;
  font-style: normal;
  font-weight: 900;
  color: #000;
  line-height: 1;
  font-size: 3.375rem;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  padding: 0 0;
}

body .apertura h1 span {
  display: block;
  font-size: 2.375rem;
  margin-bottom: 5px;
}


.apertura_textos p {
  font-family:MajritTxRoman,serif;
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0 0 30px;
  padding: 0 0;
  color: #000;
  text-align: left;
}

.apertura .bajar {
  display: none;
  text-align: left;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: visible;
  animation: bajar 3s infinite 3s, opacidad 1s forwards 2s;
  bottom: 20px;
  width: 20px;
  height: 30px;
  border-radius: 50%;
}

.apertura .bajar span {
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 10px;
  height: 10px;
  border-top: 2px solid black;
  border-right: 2px solid black;
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}


@media only screen and (min-width: 48em) {
    /* APERTURA */
    .ilustracion {
      width: 560px;
    }

    .apertura_textos {
        margin-top: 60px;
    }

    .apertura_textos h1 {
        max-width: 620px;
    }

    .apertura .bajar {
        bottom: 0;
    }

    body .a_e {
      border:none;
    }


}



@media only screen and (min-width: 62.563em) {
    /* APERTURA */
    body .apertura {
      height: calc(100vh - 53px);
      padding-bottom: 0;
      min-height: 580px;
  }

  body .a_st {
    margin-top: 0;
  }

  .apertura_contenedor {
    max-width: 1001px;
    margin: 0 auto;
    flex-direction: row;
    justify-content: center;
    padding: 0px 10px 50px;
    column-gap: 50px;
    border-bottom: 1px solid #000;
  }

  .ilustracion  {
    width: 50%;
    height: 100%;
    order: 0;
  }

  .apertura_textos {
    text-align: left;
    width: 50%;
    position: static;
    transform: none;
    padding: 0 0;
  }

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

    body .apertura h1 span {
    font-size: 3rem;
    }

  .apertura .bajar {
    display: inline-block;
  }




}

@media only screen and (min-width: 74.938em) {
    body .apertura {
        min-height:  580px;
    }


}


@media (min-width: 87.438em){ 

  .apertura_contenedor {
    max-width: 1155px;
    width: 100%;
  }


}

/* 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);
  } 
}