:root{
    --color1:#1A3353;
    --color2:#C11F32; 
    --color3:#ffffff;
}
@font-face {
    font-family: "Museo_Sans_100";
    src: url("../fonts/MuseoSans-100.otf");
    font-weight: 100;
}
@font-face {
    font-family: "Museo_Sans_300";
    src: url("../fonts/MuseoSans-300.otf");
    font-weight: 300;
}
@font-face {
    font-family: "Museo_Sans_500";
    src: url("../fonts/MuseoSans-500.otf");
    font-weight: 500;
}
@font-face {
    font-family: "Museo_Sans_700";
    src: url("../fonts/MuseoSans_700.otf");
    font-weight: 700;
}
@font-face {
    font-family: "Museo_Sans_900";
    src: url("../fonts/MuseoSans_900.otf");
    font-weight: 900;
}
body{
    margin: 0px;
    padding: 0px;
}
h3{
    margin: 0px;
}
header{
    background-color: var(--color1);
}
header figure{
    max-width: calc(467px * .75);
    overflow: hidden;
    aspect-ratio: 467 / 305;
    margin: 0 auto;
    padding-top: 36px;
}
header figure .principal{
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}
header .mountain{
     max-width: calc(1020px * .75);
    overflow: hidden;
    aspect-ratio: 1020 / 172;
    margin: 0 auto;
    padding-top: 0px;
}
.mountain .bajo{
    width: 100%;
}
.bienvenida{
     background: linear-gradient(90deg,rgba(26, 51, 83, 1) 0%, rgba(193, 31, 50, 1) 100%);
}
.bienvenida article{
    width: min(90%, calc(1020px * .75));
    margin: 0 auto;
}
.bienvenida h3{
    font-size: calc(36px * 0.75);
    color: var(--color3);
    font-weight: 900;
      font-family: "Museo_Sans_900";
    text-decoration: underline;
    text-underline-offset: 15px;
    text-align: center;
    padding-top: 30px;
    line-height: 2;
}
.bienvenida p{
    font-size: calc(23px * 0.75);
    color: var(--color3);
    font-weight: 900;
      font-family: "Museo_Sans_900";
    padding-top: 40px;
    padding-bottom: 95px;
    text-align: center;
}
.video{
    background-color: var(--color3);
}
.video article{
     width: min(90%, calc(1020px * .75));
    margin: 0 auto;
}
.video article h3{
      font-size: calc(36px * 0.75);
    color: var(--color1);
    font-weight: 900;
     font-family: "Museo_Sans_900";
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.video article figure{
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 0px;
}
.video article p{
      font-size: calc(23px * 0.75);
    color: var(--color1);
    font-weight: 500;
    font-family: "Museo_Sans_500";
    text-align: center;
    margin: 0px;
    padding-top: 40px;
}
.video .figure_imagen{
    overflow: hidden;
    max-width: min(calc(734px * .75), 90%);
    height: calc(162px * .75);
    aspect-ratio: 734 / 162;
    margin: 0px;
    margin-left: auto;
    margin-top: 50px;
}
.figure_imagen img{
    width: 100%;
    height: auto;
}
.documentos{
    background: linear-gradient(90deg,rgba(26, 51, 83, 1) 0%, rgba(193, 31, 50, 1) 100%);
    padding: 50px 0px 45px 0px;
}
.documentos article{
    width: min(90%, calc(1020px * .75));
    margin: 0 auto;
}
.documentos article h3{
  font-size: calc(36px * 0.75);
    color: var(--color3);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    font-family: "Museo_Sans_900";
    
}
.documentos article .cards{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.documentos article .cards .card{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(338px * .75);
    padding-left: 15px;
    padding-right: 15px;
}
.documentos article .cards .card:nth-child(2) {
    border-left: 1px solid var(--color3);
    border-right: 1px solid var(--color3);

}
.documentos article .cards .card figure{
    position: relative;
    border-radius: 17px;
    width: 203px;
    height: 170px;
    aspect-ratio: 203 / 278;
    overflow: hidden;
    margin: 0px auto;
}
.documentos article .cards .card a{
    text-decoration: none;
}
.documentos article .cards .card figure a img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.documentos article .cards .card h4{
    text-align: center;
    font-weight: 500;
    font-size: calc(20px * 0.75);
    color: var(--color3);
    font-family: "Museo_Sans_500";
    
}
.oficial{
    margin-top: 60px;
    margin-bottom: 60px;
    margin-left: 60px;
    margin-right: 60px;
}
.oficial article{
    display: flex;
    flex-direction: row;
    border: 1px solid var(--color1);
    border-radius: 29px;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.oficial article h3{
      font-size: calc(36px * 0.75);
    color: var(--color1);
    font-weight: 900;
    text-align: center;
    font-family: "Museo_Sans_900";
}
.oficial article button{
     margin-left: 60px;
     background-color: var(--color3);
     border: none;

}
.oficial article button a{
    text-decoration: none;
    color: var(--color1);
    border: 1px solid var(--color1);
    border-radius: 16px;
    font-size: calc(37px * 0.75);
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 900;
    font-family: "Museo_Sans_900";
}
footer{
    background-color: var(--color1);
    padding-top: 23px;
}
footer article{
    width: min(90%, calc(1020px * .75));
    margin: 0 auto;
}
footer .footer_imagenes{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer_imagenes .imagenes_uno{
    max-width: calc(477px * .75);
    overflow: hidden;
    margin: 0px;
    aspect-ratio: 477 / 101;
    align-self: center;

}
.imagenes_uno img{
    width: 100%;
    height: auto;
}
.footer_imagenes .imagenes_dos{
    max-width: calc(230px * .75);
    overflow: hidden;
    margin: 0px;
    aspect-ratio: 230 / 209;
    align-self: center;

}
.imagenes_dos img{
    width: 100%;
    height: auto;
}
footer .final{
    max-width: calc(552px * .75);
    overflow: hidden;
    margin:0px auto;
    aspect-ratio: 552 / 122;
}
.final .img_fin{
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .oficial{
        margin: 10px;
    }
    .oficial article{
        flex-direction: column;
       
    }
  .oficial article button{
    display: flex;
     margin-left: 0;
        margin-top: 30px;
  }
  .video .figure_imagen{
    height: auto;
  }
  .documentos article .cards{
  
    flex-direction: column;
  
}
.documentos article .cards .card{
    width: 90%;
}
.documentos article .cards .card:nth-child(2) {
    border-top: 1px solid var(--color3);
    border-bottom: 1px solid var(--color3);
    border-left: none;
    border-right: none;

}
  footer .footer_imagenes{
    flex-direction: column;
    gap: 20px;
  }
}