@font-face {
    font-family: 'lemon_milklight';
    src: url('../assets/fonts/lemonmilk-light-webfont.woff2') format('woff2'),
         url('../assets/fonts/lemonmilk-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
      font-family: 'lemon_milklightitalic';
      src: url('../assets/fonts/lemonmilk-lightitalic.woff2') format('woff2'),
           url('../assets/fonts/lemonmilk-lightitalic.woff') format('woff');
      font-weight: normal;
      font-style: normal;
    }


  @font-face {
    font-family: 'din';
    src: url('../assets/fonts/din-bold-webfont.woff2') format('woff2'),
         url('../assets/fonts/din-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

  }

  @font-face {
    font-family: 'din';
    src: url('../assets/fonts/din-medium-webfont.woff2') format('woff2'),
         url('../assets/fonts/din-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;

  }

  @font-face {
    font-family: 'din';
    src: url('../assets/fonts/din-regular-webfont.woff2') format('woff2'),
         url('../assets/fonts/din-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

html {
    box-sizing: border-box;
    font-size: 62.5%;
  }

*, *:before, *:after {
box-sizing: inherit;
}

body{
    font-size: 1.6rem;
    font-family: 'Montserrat';
}

/* Elements */

h3, .title{
    font-size: 2.4rem;
    font-weight: 700;
    margin: 2rem 0;
}

a{
    text-decoration: none;
    color: white;
}

/* Utilities */

.op1{
    opacity: 1!important;
    transition: all 1s ease;
}

.moveRight{
    transform: translateX(0)!important;
    transition: all 1s ease;
    transition-delay: 1s;
}

.moveLeft{
    transform: translateX(0)!important;
    transition: all 1s ease;
    transition-delay: 1s;
}

.white{
    color: white;
}

.container{
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
}

.flex--center{
    display: flex;
}

.description{
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
}

.noticias-description{
  margin-bottom: 2rem;
}

.button{
    border: none;
    background-color: white;
    color: #333333;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 1rem;
    outline: none;
    padding: 1.2rem 3.5rem;
}

.button_full{
    border: none;
    background-color: white;
    color: #333333;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 1rem;
    outline: none;
    padding: 1.2rem 3.5rem;
    margin: 1rem 0 1rem;
}


.button_mapa{
    border: none;
    background-color: #00aabb;
    color: white;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 1rem;
    outline: none;
    padding: 1.2rem 3.5rem;
}


.label{
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1.5rem;
}


/* Navbar */


.navbar{
    background-color: rgba(4, 81, 228, .5);
    height: 10rem;
}

.navbar nav{
    display: none;
}

.navbar__container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 80%;
    margin: auto;
}

.navbar__container i{
    font-size: 3.5rem;
}


.navbar__links{
    display: flex;
    list-style: none;
}

.navbar__dropdown{
    position: relative;
}

.navbar__dropdown ul{
    position: absolute;
    background-color:  #060605;
    margin-top: 2rem;
    width: 20rem;
    left: calc(100% - 20rem);
    z-index: 2;
    border-radius: 1rem;
    list-style: none;
    padding-left: 0;
    opacity: 0;
    pointer-events: none;
    transition: .5s all ease;
}

.navbar__hamburger-menu div{
    width: 4rem;
    height: .6rem;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 .2rem .5rem rgba(255,101,47,.2);
    transition: all .5s ease-in-out;
}

.navbar__hamburger-menu div::before,
.navbar__hamburger-menu div::after {
    content: '';
    position: absolute;
    width: 4rem;
    height: .6rem;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 .2rem .5rem rgba(255,101,47,.2);
    transition: all .5s ease-in-out;
}
.navbar__hamburger-menu div::before {
    transform: translateY(-1.6rem);
}
.navbar__hamburger-menu div::after {
    transform: translateY(1.6rem);
}

.navbar__hamburger-menu.navbar__hamburger-menu--open div {
    transform: translateX(-50px);
    background: transparent;
    box-shadow: none;
  }
  .navbar__hamburger-menu.navbar__hamburger-menu--open div::before {
    transform: rotate(45deg) translate(35px, -35px);
  }
  .navbar__hamburger-menu.navbar__hamburger-menu--open div::after {
    transform: rotate(-45deg) translate(35px, 35px);
  }

@media (max-width: 414px) {
    .navbar__dropdown{
        position: unset;
    }

    .navbar__dropdown ul{
        width: 100vw;
        margin-top: 2rem;
        left: 0;
        border-radius: 0;
    }
}

.navbar__dropdown ul li{
    width: 100%;
    text-align: center;
    font-family: 'din';
    text-transform: uppercase;
    padding: 2rem 0;
    color: black;
    cursor: pointer;

}

.navbar__dropdown ul li:hover{
    background-color: rgba(0, 0, 0, 0.65);
    color: #ffffff;
}

ul.navbar__dropdown--active{
    opacity: 1;
    pointer-events: all;
    transition: 1s all ease;
    transform: translateY(1rem);
}

.navbar__link{
    color: white;
    font-family: 'din';
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 3.6rem;
    display: inline-block;
}

.navbar__links li:last-of-type a{
    margin-right: 0;
}

.navbar__link:active{
    color: white;
}

.navbar__menu-icon{
    color: white;
}

.navbar__dropdown{
    display: block;
}

@media (min-width: 992px) {
    .navbar__dropdown{
        display: none;
    }

    .navbar nav{
        display: block;
    }
}

/* Hero */
 .main_header{
     width: 100%;
     background-color: #060605;
 }
.hero{
    height: 50vh;
    padding: 0 8.9rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.overlay::before {
  content:"";
  position: absolute;
  top:0;
  right:0;
  left:0;
  bottom:0;
  /* z-index:1; */
  background:rgba(0,0,0,.5);
}

@media (min-width: 412px) {
    .hero{
        height: 75vh;
        padding: 0 23rem;
    }
}

.background__video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -100;
    background-color: #060605;
}


@media (min-width:462px) {
    .background__video video{
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -1000;
        overflow: hidden;
    }
}

/* .background__video--desktop{
    display: none;
} */

@media (min-width:462px) {

    .background__video--desktop{
        display: block;

    }

    .background__video--mobile{
        display: none;
    }
}

.hero__logo{
  opacity: 0;
  transform: translateX(-3rem);
}

.hero__title{
    color: white;
    text-transform: uppercase;
    text-align: center;
    font-family: 'din';
    font-weight: 300;
    font-size: 3rem;
    text-shadow: 2px 2px rgba(0,0,0,.5);
    opacity: 0;
    transform: translateX(-3rem);
}

.hero__subtitle{
    color: white;
    text-align: center;
    margin-inline: auto;
    font-size: 2rem;
    text-shadow: 1px 1px #000000;
    padding: 1rem;
}

@media (min-width:480px) {
    .hero__subtitle{
        /* width: 60ch; */
    }
}

@media (min-width: 250px) {
    .hero__title{
        font-size: 4rem;
    }
    .hero{
      background: linear-gradient(to bottom, rgba(4,81,228,0), rgba(4,81,228,0), rgba(4,81,228,0.8)), url('../assets/img/hero_desktop.jpg');
      height: 85vh;
      padding: 0 23rem;
      /* margin-top: -10rem; */
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      display: flex;
      justify-content: center;
      align-items: center;
      position: initial;
    }

}


}

@media (min-width: 768px) {
    .hero__title{
        font-size: 7rem;
    }
}

@media (min-width: 982px) {
    .hero__title{
        font-size: 6rem;
    }
}

.hero::after{
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 15rem;
    width: 100%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0, .0)); */
}


/* Evolucionamos */

.evolucionamos{
    background-image: linear-gradient(to bottom, rgba(0,180,187,1), rgba(0,180,187,0));
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    padding: 5rem 1.5rem 0 1.5rem;
    height: 40rem;
}

@media (min-width: 412px) {
    .evolucionamos{
        padding: 10rem 1.5rem 0 1.5rem;
    height: 50rem;

    }
}

.evolucionamos__text{
    font-size: 2rem;
    color: white;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

#evolucionamos__text{
    opacity: 0;
}
@media (min-width: 377px) and (max-width:770px) {

    .evolucionamos__text{
        font-size: 2.5rem;
    }

}

@media (min-width: 771px) {
    .evolucionamos__text{
        font-size: 3.4rem;
    }
}

/* Cards*/

.cards__container{
    display: flex;
    margin-top: -20rem;
    flex-wrap: wrap;
}

.card{
  width: 100%;
  height: 45rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  margin-right: 0;
  padding: 2.5rem;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  background-position: 0 0;
  opacity: 0;
  transition: all 1s ease;
  background-position: center;
}

@media (max-width: 412px) {
    .navbar {
      background-color: #060605;
    }

    .card{
        display: flex;
    }
    .hero {
      background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), url('../assets/img/hero_mobile.jpg');
      margin-top: 0;
      padding: 0 8.9rem;
    }
    .background__video--desktop{
        display: none;
    }

    .background__video--mobile{
        display: block;
    }
}


@media (min-width: 412px) {
    .card:before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 110%;
        transition: all 1s ease;
    }

    .card:hover:before{
        transform: translateY(-4%);
        transition: all 1s ease;
    }
}

.cards .card:nth-child(even){
    margin-right: 0;
}

@media (min-width: 1156px) {
    .card{
        width: calc(25% - 2rem);
        margin-right: 2rem;
    }
    .cards__container .card:nth-child(4){
        margin-right: 0rem;
    }
}

@media (min-width: 600px) and (max-width: 1155px) {
    .card{
        width: calc(50% - 2rem);
        margin-right: 2rem;
    }
}


@media (max-width: 411px) {

    .card--experiencia{
            background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.8), rgba(4,81,228,0.8)), url("../assets/img/pilares/pilar1.jpg");
        }

        .card--innovacion{
            background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.7), rgba(4,81,228,0.7)), url("../assets/img/pilares/pilar2.jpg");
        }

        .card--movilidad{
            background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.7), rgba(4,81,228,0.7)), url("../assets/img/pilares/pilar3.jpg");
        }

        .card--sustentabilidad{
            background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.7), rgba(4,81,228,0.7)), url("../assets/img/pilares/pilar4.jpg");

        }

}

@media (min-width: 412px) {

    .card--experiencia::before{
        background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.8), rgba(4,81,228,0.8)), url("../assets/img/pilares/pilar1.jpg");
    }

    .card--innovacion::before{
        background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.7), rgba(4,81,228,0.7)), url("../assets/img/pilares/pilar2.jpg");
    }

    .card--movilidad::before{
        background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.7), rgba(4,81,228,0.7)), url("../assets/img/pilares/pilar3.jpg");
    }

    .card--sustentabilidad::before{
        background-image:linear-gradient(to bottom,  rgba(0,170,187, 0.7), rgba(4,81,228,0.7)), url("../assets/img/pilares/pilar4.jpg");

    }
}

@media (min-width: 412px) {

    .card__info{
        position: absolute;
        top: 60%;
        left: 0;
        padding: 2rem;
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 412px) {

}

.card__title{
    margin-top: 5rem;
}

.card__title, .card__description {
    color: white;
    /* text-transform: uppercase; */
    text-align: center;
    font-family: 'Montserrat';
    transition: all 1s ease;
}

.card__description {
  text-transform: none;

}

@media (min-width: 412px) {
    .card:hover .card__title{
        transform: translateY(-20rem);
        transition: all 1s ease;
    }

    .card:hover .card__description{
        transition: all 1s ease;
        transition-delay: .2s;
        transform: translateY(-20rem);
        opacity: 1;
    }

    p.card__description{
        opacity: 0;
    }
}

.card__description{
    opacity: 1;
}

/* Ahorro */

.ahorro__container{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 4rem;
    margin-top: 4rem;
}

@media (min-width: 930px) {
    .ahorro__container{
        flex-direction: row-reverse;
    }

    .ahorro__title, .ahorro__info{
        flex-basis: 50%;
        padding: 0 2rem;
    }

    div.ahorro__info{
        text-align: center;
    }
}

.ahorro__title, .ahorro__info{
    flex-basis: 100%;
}

.ahorro__info{
    transform: translateX(3rem);
    opacity: 0;
}

.ahorro__title{
    display: flex;
    justify-content: center;
    align-items: center;
}

.ahorro_cifra{
    /* color: white; */
    color: #0451e4;
    font-size: 5.6rem;
    font-weight: 800;
    margin: 0;
    text-align: center;
    transform: translateX(-3rem);
    opacity: 0;
}


.ahorro_cifra span{
    font-size: 8rem;
}

@media (min-width: 416px) and (max-width:825px) {
    .ahorro_cifra{
        font-size: 7rem;
    }

    .ahorro_cifra span{
        font-size: 10rem;
    }
}

@media (min-width: 825px){
    .ahorro_cifra span{
        font-size: 10rem;
    }
    .ahorro_cifra{
        font-size: 7rem;
    }
}

@media (min-width: 930px) and (max-width: 825px) {

    .ahorro_cifra span{
        font-size: 8rem;
    }
    .ahorro_cifra{
        font-size: 5.6rem;
    }
}

.ahorro_subtitulo{
    color: #00aabb;
    font-size: 2.4rem;
    font-weight: bold;
    margin: 0;
    text-align: end;
    opacity: 0;
}

.ahorro__info{
    text-align: center;
    margin-bottom: 3rem;
    transform: translateX(3rem);

}


/* Noticias */

.noticias{
    background-image: url(../assets/img/bg-full.svg), linear-gradient(to bottom, #8491a3, #8491a3);
    padding: 5rem 0 0;
}

.noticias__imagen{
    width:45%
}


@media (max-width:480px) {

    .noticia {
        flex-direction: column-reverse;
    }
    .noticias__imagen{
        width: 100%;

    }
}



.noticias__imagen img{
    max-width: 100%;
}

.noticias__info{
    /* transition-delay: 1s;
    transform: translateX(3rem);
    opacity: 0; */
}

.noticias_title{
    margin: 2rem 0;
}

.noticias__label{
    background-color: #1E46b2;

}

@media (min-width: 1035px) {
    .noticias__label{
        margin: 3rem 0 0 0;
    }
}

@media (min-width: 880px) {
    .noticias__imagen{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .noticias__info{
        width: 35%;
    }
}


@media (min-width: 880px) {

    .noticias{
        padding: 7rem 4rem 0;
    }

    .timelapse__video{
        display: none;
    }
}

/* Descargá */

.descarga{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 10rem auto;
    opacity: 0;
}

.descarga__info{
    text-align: center;
}

.descarga__title{
    font-size: 3rem;
    font-weight: 700;
    color: #52bdb9;
    margin: 0;
}

.appYPF-mobile{
    display: inline;
}

.appYPF{
    display: none;
}

.descarga__subtitle{
    font-size: 2.2rem;
    margin: .5rem 0 3rem 0;
}

.descarga__links{
    display: flex;
    align-items: center;
    justify-content: center;
}


.app-store, .play-store{
    cursor: pointer;
}

.app-store img{
    width: 15rem;
    height: 5.4rem;}

.play-store img{
    width: 15rem;
    height: 5.4rem;
    margin-right: 1rem;
}

.app-YPF{
    display: none;
    position: absolute;
    top: 35%;
    left: 5%;
    z-index: -1;
}

@media (min-width: 1172px) {
    .app-YPF{
        left: 15%;
    }
}

.mano{
    display: none;
    position: absolute;
    top: -6.7rem;
    left: 73%;
    z-index: -1;
}

@media (min-width: 1147px) {
    .mano{
        left: 67%;
    }
}

@media (min-width: 981px) {
    .appYPF{
       display: inline;
    }

    .appYPF-mobile{
        display: none;
    }
    .mano, .app-YPF{
        display: block;
    }
}

/* Nueva */

.estacion__foto img{
    max-width: 100%;
    margin-bottom: 5rem;
}

@media (min-width: 880px) {

    .estacion__foto{
        display: none;
    }
}

.nueva{
    background: linear-gradient(to bottom left, rgba(20, 106, 237, 1), rgba(24, 53, 129, 1) );
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: space-evenly;
    padding: 5rem 4rem 0 4rem;
    opacity: 0;
    margin-block: 5rem;
    border-radius: 1rem;
}

/* @media (max-width: 1070px) {
    .nueva img{
        transform: translateY(1vw);
    }
} */

.app__content{
    width: 100%;
    text-align: right;
    opacity: 0;
    /* transform: translateX(-3rem); */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 6rem;
}


@media (min-width:550px) {
    .app__content h3{
        width: 30ch;
    }

    .app__description{
        width: 38ch;
    }
}

.nueva__foto{
    display: none;
    opacity: 0;
    transform: translateX(3rem);
}


@media (max-width:550px) {

    .app__content img {
      margin-top: 4rem;
    }

    .noticias__imagen{
        display: none;
    }

    .noticias{
      background-size: cover;
    }
}


@media (min-width: 880px) {

    .nueva{
        padding: 6rem 4rem 0 4rem;
    }

    .nueva__foto{
        width: 50%;
        display: flex;
        align-items: center;
        position: relative;
    }

    .nueva__foto img{
        position: absolute;
        bottom: 0;
    }

    .app__content{
        width: 50%;
        margin-right: 3rem;
        /* margin-bottom: 6rem; */
    }
}

@media (min-width:1050px) {
    .nueva__foto img{
        left: 10%;
    }
}

.nueva__foto img{
    width: 100%;
}

.nueva__label{
    background-color: #52bdb9;
    margin-top: 2rem;
    border-radius: 1rem;
}

.app__description{
    margin-bottom: 3rem;
    }
}

.nueva__boton a,.nueva__boton a:focus, .nueva__boton a:active{
    color: #333333;
}

/* Mapa */

@media (min-width: 425px) {
    header.mapa__header h3{
        font-size: 2.4rem!important;
    }
}

.mapa__container{
    opacity: 0;
}

.mapa__header{
    width: 100%;
    background-color: #1e4692;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

header.mapa__header h3 {
    font-size: 2rem;
}


.mapa{
    height: 47rem;
    background-color: #32d3a7;
    display: grid;
    place-items: center;
    text-align: center;
    background-image: url("../assets/img/Mapa.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.mapa__content{
    background-color: rgba(255, 255, 255, 0.6);
    height: 80%;
    width: 90%;
    display: grid;
    place-items: center;
    border-radius: 20px;
}

.mapa__content p{
    font-size: 4rem;
    width: 28ch;
    color: #0451e4;
    font-weight: bold;
}

/* Slider */

.slider{
    display: flex;
    flex-wrap: wrap;
}

.cuadrado{
    width: 50%;
    aspect-ratio: 16/9;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 0 2rem 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
}

@media (min-width: 488px) {
    .cuadrado{
        width: 33.33%;
    }
}

@media (min-width: 940px) {
    .cuadrado{
        width: 16.66%;
    }
}

.cuadrado p{
    color: white;
}

.slider__icon{
    width: calc(33% + 1rem);
}

.slider__text{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.cuadrado--full{
    /* background-color: #000000; */
    background-image: url('../assets/img/negocios/cuadrado--FULL.png');
}

.cuadrado--app{
    /* background-color: #1e4692; */
    background-image: url('../assets/img/negocios/cuadrado--app.png');
}

/* .cuadrado--elaion .slider__icon{
    width: 67%;
    margin: 1.6rem 0 1.9rem 0;
} */

.cuadrado--elaion{
    /* background-color: #3b78ba; */
    background-image: url('../assets/img/negocios/cuadrado--ELAION.png');
}

.cuadrado--infinia{
    /* background-color: #32d3a7; */
    background-image: url('../assets/img/negocios/cuadrado--INFINIA.png');
}

.cuadrado--diesel{
    /* background-color: #CC6FCE; */
    background-image: url('../assets/img/negocios/cuadrado--INFINIA_D.jpg');
}
.cuadrado--serviclub{
    /* background-color: #ee8f00; */
    background-image: url('../assets/img/negocios/cuadrado--SERVICLUB.png');
}

/* Footer */

.footer{
    padding: 5rem 0;
    background-color: #1d1d1d;
    font-family: 'din';
}

.seguinos, .footer__photo p{
    display: none
}

.copyright, .footer__terminos{
    text-align: center;
}


@media (min-width: 992px) {
    .seguinos, .footer__photo p{
        display: block;
    }

    .copyright, .footer__terminos{
        display: none;
    }
}


.footer__container{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .footer__container{
        flex-direction: row;
    }
}

.footer__photo{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .footer__photo{
        align-items: flex-start;
    }


}

.footer__photo svg{
    margin-bottom: 3rem;
}

.footer__img{
    margin-bottom: 3rem;
}



@media (min-width: 992px) {
    .footer__photo img{
        margin-bottom: .5rem;
    }
}



@media (min-width: 992px) {
    .footer__info{
        padding-left: 4rem;
        text-align: center;
        /* transform: translateX(40%); */
    }

}

.footer p{
    color: white;
    margin: .5rem;
    font-size: 1.8rem;
}

.footer__info p{
    margin:  0 0 2rem 0;
}

.footer__redes{
    margin-bottom: 5rem;
}

@media (min-width: 992px) {
    .footer__redes{
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.footer__links{
    display: flex;
    flex-direction: column;
}

.footer__link{
    color: #666666;
    margin-bottom: .5rem;
}

.footer__link:last-child{
    margin-bottom: 0;
}

.footer__link a{
    margin-right: 1.5rem;
}

.footer__icon{
    flex-basis: calc(20% - 1rem);
    display: inline-block;
    background-color: white;
    padding: 1rem;
    color: #222;
    border-radius: 50%;
    margin-right: 1rem;
    text-align: center;
}

.footer__contact, .footer__contact:active{
    text-decoration: none;
    color: white;
}
.swiper{
    position: relative;
    padding-bottom: 7rem;

}

.swiper-wrapper{
    position: relative;
}

.swiper-pagination{
    position: absolute;
    top: 90%;
    left: 50%;
}


.swiper-pagination-bullet{
    background-color: white;
    border: 2px solid var(--secondary-color-dark);
    width: 1rem;
    height: 1rem;
    opacity: 1;

}

.swiper-pagination-bullet-active{
    background-color:  #1E46b2;
}

.swiper-button-next,
.swiper-button-prev{
    color:  #1E46b2;
    position: absolute;
    top: calc(50% - 3.5rem);
}

@media (max-width: 940px) {
    .swiper-button-next,
    .swiper-button-prev{
        display: none;
    }

}


.noticia{
    justify-content: center;
    gap: 2rem;
}


@media (max-width:480px) {
    .noticias__info{
        max-width: 90%;
        margin-inline: auto;

    }
    .noticias__imagen{
        max-width: 90%;
        margin-inline: auto;
    }

    .mapa__content p{
        font-size: 2.5rem;
        width: auto;
    }

    .hero__logo {
      width: 35ch;
    }
}
