@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Permanent+Marker&display=swap');

:root{
    --color-blue: #3D4D9B;
    --color-blue60: #B1B1D9;
    --color-freus: #88CDD4;
    --color-freus30: #B6DFE3FE;
    --color-yellow: #FDEB2A;
    --color-yellow30: #FEF181;
    --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 14);
    --duration: 30s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

body{
    color: var(--color-blue);
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
}

b{
    font-weight: 900;
}

header{
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*animation: sticky-parallax-header-bg linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 10vh;*/
}

header.fixed{
    background-color: rgb(177, 177, 217, 0.9);
}

header .content{
    width: 94%;
    margin: 0 auto;
    padding-top: 65px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

header nav{
    list-style: none;
    font-size: 18px;
    font-weight: 900;
    font-family: Inter;
    line-height: 18px;
    text-align: right;
    position: relative;
    margin-top: 12px;
    /*animation: sticky-parallax-header-nav linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 1vh;*/
    display: flex;
    flex-direction: column;
    gap: 23px;
}

header.fixed nav{
    flex-direction: row;
}

header nav li a{
    position: relative;
}

header nav li a::after{
    width: 100%;
    height: 5px;
    content: '';
    transform: rotate(-3deg) scale(0);
    position: absolute;
    bottom: -9px;
    left: 0;
    background-color: var(--color-yellow);
    transition: 500ms;
}

header nav li.active a::after, header nav li a:hover::after{
    transform: rotate(-3deg) scale(1);
}

header nav li:last-child{
    display: flex;
    justify-content: end;
    align-items: start;
    gap: 6px;
    margin-left: -20px;
    position: relative;
}

header nav li:last-child::after{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 5px;
    content: '';
    background-color: var(--color-yellow);
    display: block;
    background-image: url(../img/chevron.svg);
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
}

#mobmenu{
    display: none;
}

/*header .content{
    animation: sticky-parallax-header-move-and-size-nav linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 1vh;
}*/

header.fixed .content{
    padding-top: 10px;
}

header .logo{
    /*animation: sticky-parallax-header-logo linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 1vh;*/
    width: 168px;
    height: 110px;
    background-image: url(../img/logo.svg);
    display: block;
    background-repeat: no-repeat;
    margin-bottom: 0px;
}

header.fixed .logo{
    height: 55px;
    width: 55px;
    background-image: url(../img/logo_sm.svg);
    margin-bottom: 10px;
}

@keyframes sticky-parallax-header-move-and-size-nav {
	from {
        padding-top: 65px;
	}
	to {
        padding-top: 10px;
	}
}

@keyframes sticky-parallax-header-nav{
	to {
        flex-direction: row;
	}
}

@keyframes sticky-parallax-header-bg{
	to {
        background-color: rgb(177, 177, 217, 0.9);
	}
}

@keyframes sticky-parallax-header-logo{
	to {
        height: 55px;
        width: 55px;
        background-image: url(../img/logo_sm.svg);
        margin-bottom: 10px;
	}
}

#langselector {
    padding: 0 30px 10px 10px;
    cursor: pointer;
}

#langselector option{
    background-color: var(--color-blue);
    color: #ffffff;
}

#langselector option:hover, #langselector option[selected]{
    background-color: var(--color-yellow);
    color: var(--color-blue);
}

section{
    scroll-margin: 30px;
}

#banner{
    height: 1080px;
    background-image: url(../img/header.jpg);
    mask-image: url(../img/ruido.jpg);
    background-size: cover;
    position: relative;
    background-position: center;
}

div.noise{
    position: relative;
}

.noise::before{
    background-image: url(../img/asfalt-dark.png);
    background-size: 10%;
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
}

#banner::after{
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 240px;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

#banner .content{
    max-width: 1700px;
    width: 94%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: end;
}

#banner .info{
    width: 902px;
    height: 827px;
    background-image: url(../img/bg1.svg);
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    color: var(--color-blue);
    font-size: 70px;
    line-height: 68px;
    padding: 150px 100px;
    text-align: center;
    z-index: 5;
}

#banner .info h1{
    position: relative;
}

#banner .info h1::after{
    background-color: var(--color-freus);
    width: 350px;
    height: 11px;
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-55%) rotate(-3deg);
}

#banner .info h2{
    font-family: Inter;
    font-size: 16px;
    line-height: 22px;
    padding: 25px 130px 40px;
    font-weight: 500;
}

#banner .info h2 b{
    font-weight: 900;
}

.btn{
    position: relative;
    display: inline-block;
    color: transparent;
    font-size: 12px;
}

.btn img{
    position: absolute;
    top: 0;
    left: 0;
    transition: 500ms;
}

.btn img.hover{
    opacity: 0;
}

.btn:hover img{
    opacity: 0;
}

.btn:hover img.hover{
    opacity: 1;
}

#unete.btn{
    width: 99px;
    height: 77px;
    transform: translateX(-10px);
}

#somos{
    padding: 100px 0 0;
    text-align: center;
}

#somos h3{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

#somos h3 b{
    display: block;
}

#somos p{
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

/*************LOGOS**********/
#logos{
    padding: 70px 0;
}

#logos img{
    max-height: 50px;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    mask-image: linear-gradient(
        var(--mask-direction, to right),
        hsl(0 0% 0% / 0),
        hsl(0 0% 0% / 1) 20%,
        hsl(0 0% 0% / 1) 80%,
        hsl(0 0% 0% / 0)
    );
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
}

.marquee:hover .marquee__group {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .marquee__group {
        animation-play-state: paused;
    }
}

.marquee--reverse .marquee__group {
    animation-direction: reverse;
    animation-delay: -3s;
}

@keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }
    to {
        transform: translateX(var(--scroll-end));
    }
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    margin: auto;
    max-width: 100vw;
}


@keyframes fade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
/*************LOGOS**********/

#compromiso{
    width: 100%;
    height: 475px;
    display: grid;
    grid-template-columns: 500px 1fr;
}

#compromiso > div{
    background: var(--color-yellow30);
    display: flex;
    align-items: center;
    justify-content: center;
}

#compromiso > div .content{
    max-width: 300px;
    text-align: center;
}

#compromiso > div .content h3{
    font-size: 36px;
    line-height: 33px;
    font-family: "Permanent Marker", cursive;
    margin-bottom: 25px;
}

#compromiso > div:last-child img{
    width: 100%;
    height: 475px;
    object-fit: cover;
    object-position: center;
}

.badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 25px;
    background-size: cover;
}

#compromiso .badge{
    width: 180px;
    height: 65px;
    background-image: url(../img/badge1.svg);
    color: var(--color-yellow);
}

#historia{
    width: 100%;
    height: 500px;
    display: grid;
    grid-template-columns: 375px 1fr 375px 1fr;
}

#historia > div{
    background: var(--color-blue60);
    display: flex;
    align-items: center;
    justify-content: center;
}

#historia > div:nth-child(3){
    background: var(--color-freus30);
}

#historia > div .content{
    max-width: 300px;
    text-align: center;
}

#historia > div .content h3{
    font-size: 36px;
    line-height: 33px;
    font-family: "Permanent Marker", cursive;
    margin-bottom: 25px;
}

#historia > div.noise img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#historia div:nth-child(1) .badge{
    width: 146px;
    height: 60px;
    background-image: url(../img/badge2.svg);
    color: var(--color-blue);
}

#historia div:nth-child(3) .badge{
    width: 134px;
    height: 60px;
    background-image: url(../img/badge3.svg);
    color: var(--color-blue);
}

#problematica{
    text-align: center;
    padding: 160px 0 0;
    overflow: clip;
    scroll-margin: 0;
}

#problematica h3{
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
}

#problematica div.content{
    max-width: 1700px;
    width: 100%;
    height: 1010px;
    background-image: url(../img/bg2.svg);
    margin: 30px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#problematica div.content::before{
    width: 100px;
    height: 75px;
    content: '';
    background-color: var(--color-yellow);
    opacity: 0.5;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#problematica div.content .info{
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    margin: 0px auto;
    align-items: start;
    padding-top: 80px;
}

#problematica div.content .info .warning{
    position: absolute;
}

#problematica div.content .info h4{
    font-family: "Permanent Marker", cursive;
    font-size: 70px;
    margin: 5px 0 20px;
}

#problematica div.content .info div{
    margin: 0 auto;
}

#problematica div.content .info div:first-child{
    max-width: 400px;
    position: relative;
}

#problematica div.content .info div:first-child .warning{
    bottom: 33%;
    right: -70px;
    animation: animwarning 12s infinite;
}

@keyframes animwarning {
    25% {
        transform: rotate(-2deg) translateY(2px) translateX(1px);
    }
    50% {
        transform: rotate(-2deg) translateY(9px) translateX(8px);
    }
    75% {
        transform: rotate(14deg) translateY(4px) translateX(15px);
    }
}

#problematica div.content .info div:last-child{
    max-width: 460px;
    position: relative;
}

#problematica div.content .info div:last-child .warning{
    top: -20%;
    right: 70px;
    animation: animwarning2 15s infinite;
    transform: rotate(-20deg) translateY(0px) translateX(0px);
}

@keyframes animwarning2 {
    25% {
        transform: rotate(-20deg) translateY(2px) translateX(1px);
    }
    50% {
        transform: rotate(0deg) translateY(9px) translateX(8px);
    }
    75% {
        transform: rotate(-20deg) translateY(4px) translateX(15px);
    }
}

#problematica3{
    position: absolute;
    top: 32%;
    left: -6%;
}

#problematica4{
    position: absolute;
    top: 15%;
    right: -2%;
}

#economia{
    text-align: center;
    padding: 70px 0;
    overflow: clip;
    scroll-margin: 50px;
}

#economia h3{
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
    margin-bottom: 35px;
}

#economia .content{
    width: 90%;
    max-width: 1200px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
}

#economia .content > div{
    padding: 80px;
    background-color: var(--color-yellow);
    border-radius: 16px;
}

#economia .content > div:first-child{
    transform: rotate(-3deg);
}

#economia .content > div h3{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-size: 33px;
    line-height: 33px;
    margin: 30px 0 10px;
}

#economia .content > div span{
    font-size: 20px;
    line-height: 28px;
    display: block;
    margin-bottom: 30px;
}

#economia .content > div:last-child{
    margin-top: 50px;
}

#economia .content > div .btn{
    height: 66px;
}

#economia .content > div.open .btn{
    display: none;
}

#economia .content > div div{
   display: grid;
  grid-template-rows: 0fr;
  transition: 250ms grid-template-rows ease;
}

#economia .content > div p{
    overflow: hidden;
}

#economia .content > div.open div {
    grid-template-rows: 1fr;
}

#hacemos{
    overflow: clip;
    position: relative;
}

#hacemos #slider{
    width: 300%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    transition: 750ms;
}

#hacemos #slider > div{
    width: 100%;
}

#hacemos #slider > div .content{
    background-image: url(../img/bg3.svg);
    min-height: 1060px;
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    padding-top: 170px;
    text-align: center;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 40px;
}

#hacemos #slider > div:nth-child(2) .content{
    background-image: url(../img/bg4.svg);
}

#hacemos #slider > div:nth-child(3) .content{
    background-image: url(../img/bg5.svg);
}

#hacemos .control{
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    text-align: center;
    cursor: pointer;
}

#hacemos .control.next{
    left: initial;
    right: 20px;
    transform: translateY(-50%) rotate(180deg);
}

#hacemos h3{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 40px;
    font-weight: 900;
    text-align: center;
}

#hacemos #slider > div .content > p{
    max-width: 580px;
    margin: 0 auto;
}

#hacemos #slider > div .content::before {
    width: 100px;
    height: 75px;
    content: '';
    background-color: var(--color-yellow);
    opacity: 0.5;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#hacemos #slider > div:last-child .content::before{
    background-color: var(--color-freus);
}

#hacemos #slider > div .content .info{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    max-width: 1400px;
    margin: 70px auto 0;
    text-align: left;
    width: 82%;
}

#hacemos #slider > div .content .info div{
    position: relative;
}

#hacemos #slider > div .content .info div .bg{
    max-width: 100%;
    mask-image: url(../img/ruido.jpg);
}

#hacemos #slider > div .content .info div .ico{
    position: absolute;
    top: 0;
    right: 0;
}

#hacemos #slider > div .content .info h4{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-size: 70px;
    line-height: 66px;
    position: relative;
    margin-bottom: 70px;
}

#hacemos #slider > div .content .info h4 span{
    position: relative;
}

#hacemos #slider > div .content .info h4 span::after{
    background-color: var(--color-yellow);
    width: 100%;
    height: 11px;
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: rotate(-3deg);
}

#hacemos #slider > div:last-child .content .info h4 span::after{
    background-color: var(--color-freus);
}

#hacemos #slider > div .content .info h5{
    font-size: 24px;
    line-height: 29px;
    font-weight: 900;
    margin-bottom: 30px;
}

#hacemos #slider > div .content .info ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 90%;
}

#hacemos #slider > div .content .info ul li{
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    grid-row-gap: 0;
}

#hacemos #slider > div .content .info ul li.mobileblock{
    display: none;
}

#hacemos #points{
    display: flex;
    justify-content: center;
    gap: 15px;
}

#hacemos #points span{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--color-blue);
    transition: 500ms;
    cursor: pointer;
}

#hacemos #points span.active{
    background-color: var(--color-yellow);
}

#colaborar{
    text-align: center;
    padding: 150px 0 0;
    overflow: clip;
    display: grid;
    gap: 90px;
}

#colaborar .item:last-child{
    margin-bottom: 100px;
}

#colaborar .item.open:last-child{
    margin-bottom: 0px;
}

#colaborar h3{
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
    margin-bottom: 35px;
}

#colaborar > div h4{
    max-width: 1400px;
    width: 94%;
    font-family: "Permanent Marker", cursive;
    font-size: 60px;
    margin: 5px auto 0px;
    display: flex;
    align-items: start;
    gap: 20px;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

#colaborar > div.open h4{
    margin-bottom: 40px;
}

#colaborar > div h4 .btn{
    width: 67px;
    margin-top: 10px;
}

#colaborar .info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0fr;
    transition: grid-template-rows 500ms;
}

#colaborar .open .info{
    grid-template-rows: 1fr;
}

#colaborar .vermas{
    transform: rotate(180deg);
    transition: 500ms;
    width: 67px;
    height: 67px;
    cursor: pointer;
}

#colaborar .open .vermas{
    transform: rotate(0deg);
}

#colaborar .info > div:first-child{
    background-color: var(--color-yellow30);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#colaborar .item.bgblue .info > div:first-child{
    background-color: var(--color-blue60);
}

#colaborar .info > div:first-child > div{
    max-width: 550px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

#colaborar > div h5{
    font-family: "Permanent Marker", cursive;
    font-size: 30px;
    line-height: 33px;
}

#colaborar > div p.small{
    max-width: 330px;
}

#colaborar .info > div.noise{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#colaborar #legaltxt{
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    line-height: 12px;
    max-width: 420px;
    margin: 0 auto;
}

#colaborar .info > div.noise img{
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    overflow: hidden;
}

#colaborar .info > div.noise::before{
    height: 0;
}

#colaborar .open .info > div.noise::before{
    height: 100%;
}

.btn.certificate{
    width: 100px;
    height: 100px;
}


#colaborar .badge {
    width: 180px;
    height: 65px;
    background-image: url(../img/badge1.svg);
    color: var(--color-yellow);
}

footer{
    background-color: var(--color-blue);
    padding-top: 150px;
}

footer .content{
    max-width: 1400px;
    width: 94%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

footer nav{
    display: grid;
    gap: 18px;
    font-size: 18px;
    color: var(--color-yellow);
    text-align: center;
    font-weight: 900;
}

#waves {
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
}

#waves::after{
    content: '';
    background: linear-gradient(0deg, rgba(61,77,144,1) 0%, rgba(255,255,255,0) 100%);
    width: 100%;
    height: 80%;
    position: absolute;
    bottom: 0;
    left: 0;
}

#waves div{
    background-image: url(../img/wave.svg);
    height: 25px;
    background-repeat: repeat-x;
    animation: wave 150s infinite linear;
}

@keyframes wave {
    0%, 100% {
      background-position: 0;
    }

    50% {
        background-position: -100%;
    }
}

@keyframes waveinvert {
    0%, 100% {
      background-position: -100%;
    }

    50% {
        background-position: 0%;
    }
}

.mobintro{
    display: none;
}

.mobileblock{
    display: none;
}

.raisely-donate{
    width: 100%;
}

@media only screen and (max-width: 1400px) {

    #hacemos #slider > div .content .info ul {
        grid-template-columns: 1fr;
    }

    #hacemos #slider > div .content .info div .ico {
        width: 40%;
        top: 20%;
    }

    #hacemos #slider > div .content .info h4 {
        font-size: 60px;
        line-height: 56px;
    }

    #hacemos #slider > div .content .info div:last-child{
        display: flex;
        align-items: center;
    }

}

@media only screen and (max-width: 1000px) {

    header nav{
        gap: 19px;
    }

    header {
        height: 75px;
    }

    header nav{
        /*animation: sticky-parallax-header-nav-mob linear forwards;
        animation-timeline: scroll();
        animation-range: 0vh 1vh;   */
        margin-right: 7%;
        top: 0;
        animation: none;
    }

    header.fixed nav li:last-child{
        display: none;
    }

    header.fixed nav{
        transform: translateY(calc(-100% - 65px));
        left: 0;
        width: 100%;
        top: 0;
        text-align: center;
        padding: 150px 0 90px;
        position: absolute;
        font-size: 25px;
        gap: 30px;
        flex-direction: column;
    }

    /*@keyframes sticky-parallax-header-nav-mob{
        to {
            transform: translateY(calc(-100% - 65px));
        }
    }*/

    @keyframes sticky-parallax-header-logo{
        to {
            height: 55px;
            width: 75px;
            background-image: url(../img/logo_sm.svg);
            margin-bottom: 10px;
     }
    }

    header.fixed.showmenu nav{
        transition: 500ms;
        transform: translateY(-15px);
        background-color: rgba(177, 177, 217, 0.9);
    }

    header.fixed.hidemenu nav{
        transition: 500ms;
    }

    header.fixed nav{
        transform: translateY(calc(-100% - 65px));
    }

    header .content {
        width: 100%;
        display: grid;
        grid-template-columns: 200px 1fr;
    }

    header .logo{
        margin-left: 50px;
        z-index: 10;
    }

    .btn:hover img{
        opacity: 1;
    }

    .btn:hover img.hover{
        opacity: 0;
    }

    #banner {
        height: 1220px;
        background-image: url(../img/header_tablet.jpg);
    }

    #banner .info {
        font-size: 48px;
        line-height: 48px;
        aspect-ratio: 902 / 827;
        width: 100%;
        height: auto;
        background-size: contain;
        background-repeat: no-repeat;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #banner .content {
        width: 100%;
    }

    .mobintro{
        display: block;
    }

    #banner .info h1::after{
        /*display: none;*/
    }

    #banner .info h2 {
        font-size: 20px;
        line-height: 25px;
        padding: 25px 110px 40px;
    }

    #somos {
        padding: 30px 0 0;
        scroll-margin: 80px;
    }

    #somos h3 {
        font-size: 25px;
        line-height: 25px;
        font-weight: 900;
    }

    #compromiso {
        grid-template-columns: 1fr;
        height: auto;
    }

    #compromiso > div{
        order: 2;
        padding: 70px 0;
    }

    #compromiso > div.noise{
        padding: 0px 0;
        order: 1;
    }

    #compromiso > div .content {
        max-width: 70%;
    }

    #compromiso > div .content h3{
        max-width: 300px;
        margin: 0 auto 20px;
        font-size: 30px;
        line-height: 30px;
    }

    #historia {
        height: auto;
        grid-template-columns: 1fr 1fr;
    }

    #historia > img {
        height: 310px;
    }

    #historia > div{
        padding: 60px 0;
    }

    #historia > div.noise{
        padding: 0;
    }

    #historia > div:nth-child(1){
        order: 3;
    }

    #historia > div:nth-child(2){
        order: 1;
    }

    #historia > div:nth-child(3){
        order: 4;
    }

    #historia > div:nth-child(4){
        order: 2;
    }

    #historia > div .content h3 {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    #problematica {
        padding: 70px 0 0;
        scroll-margin: 40px;
    }

    #problematica h3 {
        font-size: 26px;
        line-height: 29px;
    }

    #problematica div.content {
        height: auto;
        background-size: cover;
        background-position: center top;
    }

    #problematica div.content::before {
        top: 30px;
    }

    #problematica div.content .info {
        grid-template-columns: 1fr;
        padding-top: 180px;
        gap: 100px;
        padding-bottom: 140px;
    }

    #problematica3 {
        top: 19%;
        left: -11%;
    }

    #problematica div.content .info h4 {
        font-size: 50px;
        margin: 25px 0 15px;
    }

    #problematica4 {
        top: initial;
        bottom: 23%;
        right: -16%;
    }

    #problematica div.content .info div:first-child .warning {
        top: -1%;
        right: -108px;
    }

    #problematica div.content .info div:last-child .warning {
        top: 0%;
        left: -70px;
    }

    #economia {
        padding: 0px 0 80px;
        scroll-margin: 100px;
    }

    #economia > h3 {
        font-size: 25px;
        line-height: 25px;
        max-width: 240px;
        margin: 0 auto;
        margin-bottom: 25px;
    }

    #economia .content {
        grid-template-columns: 1fr;
    }

    #economia .content > div {
        max-width: 575px;
        margin: 0 auto;
    }

    #economia .content > div h3 {
        font-size: 25px;
        line-height: 25px;
    }

    #hacemos #slider > div .content {
        padding-top: 150px;
        background-position: center top;
        padding-bottom: 130px;
    }

    #hacemos h3 {
        font-size: 25px;
        line-height: 25px;
        max-width: 200px;
        margin: 0 auto;
        margin: 0 auto 35px;
    }

    #mobslider{
        scroll-snap-type: x mandatory;
        overflow: auto;
    }

    #mobslider #slider > div {
        width: 100%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    #hacemos #slider > div .content > p {
        max-width: 430px;
    }

    #hacemos #slider > div .content .info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #hacemos #slider > div .content .info h4 {
        font-size: 51px;
        line-height: 43px;
        height: 120px;
    }

    body.en #hacemos #slider > div .content .info h4{
        height: 230px;
    }

    body.en #hacemos #slider > div .content .info div:last-child {
        top: 640px;
    }

    #hacemos #slider > div .content .info h4 span::after {
        width: 70%;
        left: 50%;
        transform: translateX(-50%) rotate(-3deg);
        bottom: -30px;
    }

    #hacemos #slider > div .content .info h4 span {
        display: inline-block;
    }

    #hacemos #slider > div .content .info ul {
        grid-template-columns: 1fr 1fr;
        margin: 630px auto 0;
    }

    #hacemos #slider > div .content .info h5 {
        font-size: 21px;
        line-height: 27px;
    }

    #hacemos #slider > div .content .info div:last-child {
        display: flex;
        align-items: center;
        position: absolute;
        width: 500px;
        left: 50%;
        transform: translateX(-50%);
        top: 560px;
    }

    #hacemos #slider > div .content .info div .ico {
        width: 45%;
        top: -10%;
    }

    #hacemos .control {
        left: 50px;
    }

    #hacemos .control.next {
        right: 50px;
    }

    #colaborar {
        padding: 100px 0 0;
        gap: 50px;
        scroll-margin: 0px;
    }

    #colaborar h3 {
        font-size: 25px;
        line-height: 25px;
        max-width: 200px;
        margin: 0 auto;
        margin-bottom: 35px;
    }

    #colaborar > div h4 {
        width: 85%;
        font-size: 42px;
        text-align: left;
        display: grid;
        grid-template-columns: 1fr 67px;
    }

    #colaborar .open .info {
        grid-template-columns: 1fr;
    }

    #colaborar .info > div{
        order: 2;
    }

    #colaborar .open .info > img{
        height: 470px;
        object-position: center top;
    }

    #colaborar .info > div:first-child > div {
        padding: 70px 0;
    }

    #mobmenu{
        position: absolute;
        display: flex;
        font-weight: 900;
        gap: 20px;
        font-size: 18px;
        top: -50px;
        right: 7%;
        /*animation: sticky-parallax-header-nav-mobmenu linear forwards;
        animation-timeline: scroll();
        animation-range: 0vh 1vh;*/
    }

    header.fixed #mobmenu{
        top: 10px;
    }

    #mobilelang{
        display: flex;
        gap: 5px;
        text-align: right;
        position: relative;
        width: 65px;
        justify-content: end;
    }

    body.cat #mobilelang{
        width: 75px;
    }

    #mobilelang select{
        position: absolute;
        top: 0;
        left: 0;
        text-align: left;
        padding: 0 10px 10px;
        width: 75px;
    }

    #mobilelang::after{
        width: 20px;
        height: 20px;
        border-radius: 50%;
        margin-left: 5px;
        content: '';
        background-color: var(--color-yellow);
        display: block;
        background-image: url(../img/chevron.svg);
        background-size: 11px;
        background-repeat: no-repeat;
        background-position: center;
        pointer-events: none;
    }

    @keyframes sticky-parallax-header-nav-mobmenu{
        to {
            top: 10px;
        }
    }

    #mobilemenu{
        display: block;
        width: 37px;
        height: 37px;
        position: relative;
        z-index: 3;
    }

    #mobilemenu span{
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 3px;
        background-color: var(--color-blue);
        transition: background ease .3s, top ease .3s .3s, transform ease .3s;
        position: absolute;
    }

    #mobilemenu span:first-child{
        top: 0px;
    }

    #mobilemenu span:nth-child(2){
        top: 16px;
    }

    #mobilemenu span:last-child{
        top: 30px;
    }

    header.showmenu #mobilemenu span:first-child{
        transform: rotate(45deg);
    }

    header.showmenu #mobilemenu span:nth-child(2){
        transform: scale(0);
    }

    header.showmenu #mobilemenu span:last-child{
        transform: rotate(-45deg);
    }

    header.showmenu #mobilemenu span {
        top: 16px;
        transition: top ease .3s, transform ease .3s .3s;
    }



}

@media only screen and (max-width: 760px) {

    header .logo {
         width: 98px;
        height: 66px;
        background-size: cover;
    }

    header nav {
        margin-top: 0;
        font-size: 17px;
        gap: 12px;
    }

    header .content {
        grid-template-columns: 120px 1fr;
    }

    header .logo {
        margin-left: 15px;
    }

    @keyframes sticky-parallax-header-move-and-size-nav {
        from {
            padding-top: 20px;
    }
        to {
            padding-top: 10px;
        }
    }

    @keyframes sticky-parallax-header-logo{
        to {
            height: 55px;
            width: 55px;
            background-image: url(../img/logo_sm.svg);
            margin-bottom: 10px;
     }
    }

    #banner {
        height: 950px;
    }

    #banner .info {
        font-size: 32px;
        line-height: 32px;
        aspect-ratio: 902 / 827;
        width: 100%;
        height: 530px;
        background-size: 570px;
        background-repeat: no-repeat;
        background-position: center;
        margin: 0 auto;
        padding: 80px 10px;
    }

    #banner .info h1 {
        max-width: 440px;
    }

    #banner .info h2 {
        font-size: 20px;
        line-height: 25px;
        padding: 25px 20px 28px;
        font-size: 15px;
        max-width: 440px;
    }

    #somos {
        scroll-margin: 60px;
    }

    #somos h3 {
        font-size: 22px;
        line-height: 29px;
        font-weight: 900;
        max-width: 220px;
        margin: 30px auto 15px;
    }

    #somos h3 b {
        display: initial;
    }

    #compromiso > img {
        height: 295px;
    }

    #compromiso > div {
        padding: 50px 0;
    }

    #compromiso > div .content h3 {
        font-size: 24px;
        line-height: 24px;
    }

    .badge {
        margin-bottom: 15px;
    }

    #historia {
        grid-template-columns: 1fr;
    }

    #historia > div:nth-child(1) {
        order: 2;
    }

    #historia > div:nth-child(3) {
        order: 4;
    }

    #historia > div:nth-child(4) {
        order: 3;
        height: 330px;
    }

    #historia > div.noise {
        height: 270px;
    }

    #historia > div .content h3 {
        font-size: 24px;
        line-height: 24px;
    }

    #historia > div .content h3 br{
        display: none;
    }

    #problematica {
        padding: 40px 0 0;
        scroll-margin: 70px;
    }

    #problematica h3 {
        font-size: 20px;
        line-height: 23px;
    }

    #problematica div.content {
        margin: 10px auto;
    }

    #problematica3 {
        top: 18%;
        left: -45%;
    }

    #problematica div.content .info {
        padding-top: 130px;
        width: 86%;
        gap: 40px;
    }

    #problematica div.content .info > div > img:nth-child(2){
        aspect-ratio: 405 / 397;
        height: auto;
    }

    #problematica div.content .info h4 {
        font-size: 35px;
        margin: 60px 0 15px;
    }

    #problematica4 {
        top: initial;
        bottom: 27%;
        right: -25%;
        width: 250px;
    }

    #problematica div.content .info div:first-child .warning {
        top: 49%;
        right: -18px;
        width: 80px;
    }

    #problematica div.content .info div:last-child .warning {
        top: 50%;
        left: -20px;
        width: 80px;
    }

    #economia > h3 {
        font-size: 20px;
        line-height: 20px;
        max-width: 180px;
    }

    #economia > p br{
        display: none;
    }

    #economia .content {
        margin: 30px auto 0;
    }

    #economia .content > div {
        padding: 50px 20px;
    }

    #economia .content > div h3 {
        font-size: 20px;
        line-height: 20px;
        margin: 20px 0;
    }

    #colaborar h3 {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 0;
    }

    #colaborar > div h4 {
        font-size: 28px;
        line-height: 32px;
        grid-template-columns: 1fr 37px;
    }

    #colaborar > div h4 .btn {
        width: 37px;
        height: 37px;
        margin-top: 0px;
    }

    #colaborar .open .info > img {
        height: 320px;
    }

    #colaborar .info > div:first-child > div {
        padding: 50px 0;
    }

    #colaborar > div h5 {
        font-size: 22px;
        line-height: 25px;
    }

    .marquee__group{
        gap: 40px;
    }

    footer {
        padding-top: 70px;
    }

    footer .content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;

    }

    footer nav {
        gap: 13px;
        font-size: 15px;
    }

    #waves {
        padding-top: 90px;
    }

    #economia {
        padding: 0px 0 50px;
    }

    #hacemos h3 {
        font-size: 20px;
        line-height: 22px;
        display: none;
    }

    #hacemos h3.mobileblock{
        display: block;
        margin-bottom: 20px;
    }

    #hacemos #slider > div .content > p{
        display: none;
    }

    #hacemos #slider > div .content {
        padding-top: 80px;
        min-height: 890px;
    }

    #hacemos #slider > div .content .info h4 {
        font-size: 32px;
        line-height: 29px;
        margin-bottom: 0;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #hacemos #slider > div .content .info div:last-child {
        width: 220px;
        top: 390px;
    }

    body.en #hacemos #slider > div .content .info div:last-child{
        top: 390px;
    }

    #hacemos #slider > div .content .info ul {
        grid-template-columns: 1fr;
        margin: 340px auto 0;
        width: 100%;
    }

    #hacemos .control {
        top: 570px;
        left: 15px;
    }

    #hacemos .control.next {
        right: 15px;
    }

    #hacemos #slider > div .content .info ul li{
        display: none;
    }

    #hacemos #slider > div .content .info ul li.mobileblock{
        display: block;
    }

    #hacemos #slider > div .content .info div .ico {
        width: 52%;
        top: -30%;
        right: 20px;
    }

    #hacemos #slider > div .content .info h4 span::after {
        /*width: 100%;
        left: 0px;
        bottom: -20px;*/
    }

    #hacemos #slider > div .content .info {
        margin: 30px auto 0;
    }

    section{
        scroll-margin: 100px;
    }

    #hacemos #slider > div .content .info ul li.mobileblock{
        display: block;
    }

    #waves div{
        animation: wave 150s infinite linear;
    }

}

@media only screen and (min-width: 1800px) {

    #hacemos .control{
        left: 100px;
    }

    #hacemos .control.next {
        right: 100px;
    }

}
