* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--main-color-white);
    color: var(--main-color-black);
    font-family: var(--font-family);
}

@font-face {
    font-family: "Monserrat";
    src: url(../tipografia/Montserrat-Italic-VariableFont_wght.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Monserrat";
    src: url(../tipografia/Montserrat-Italic-VariableFont_wght.ttf);
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Monserrat";
    src: url(../tipografia/Montserrat-Italic-VariableFont_wght.ttf);
    font-weight: 800;
    font-style: normal;
}

:root {
    --main-color-grey: #737a82;
    --main-color-aqua-green: #2ed9ad;
    --main-color-yellow: #cbb32b;
    --main-color-black: #0a0a0a;
    --main-color-white: #e4fbf6;
    --font-family: "Monserrat";
}

::selection {
    background: var(--main-color-black);
    color: var(--main-color-aqua-green);
}

.reciclajeTitle {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--main-color-black);
    background-color: transparent;
    text-align: center;
    padding: 3% 10%;
}


.problematicaReciclaje {
    display: flex;
    width: 100%;
    padding: 5% 10% 0 10%;
    background-color: transparent;
}

.problematicaReciclaje:nth-of-type(2) {
    padding: 0 10% 10% 10%;
}


.problematicaReciclaje p {
    color: var(--main-color-black);
    background-color: transparent;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    padding: 0 15%;
}

#estadisticasContainer {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60vh;
    background-color: var(--main-color-white);
}

#estadisticasContainer::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0%;
    width: 480px;
    height: 480px;
    background-image: url(../ilustraciones/reciclaje-background.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.3;
}

#estadisticasContainer::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -1%;
    width: 450px;
    height: 450px;
    background-image: url(../ilustraciones/reciclaje-background-3.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.3;
}

.counters {
    text-align: center;
    background-color: transparent;
    z-index: 1000;
}

.counters>div {
    margin: 0 auto;
    display: grid;
    width: 80%;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 8%;
    background-color: transparent;
}

.counter {
    position: relative;
    background-color: transparent;
}

.counterText {
    font-size: 1rem;
    text-align: center;
    background-color: transparent;
    color: var(--main-color-black);
    margin-top: 1rem;
}

.counterNumber {
    background-color: transparent;
    color: var(--main-color-black);
}

.counterNumber span {
    font-size: 4rem;
    background-color: transparent;
    color: var(--main-color-black);
}

.counter:not(:last-child)::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 3em;
    top: 40%;
    right: -3em;
    transform: translateY(-50%);
    background-color: var(--main-color-black);
}

#estadisticasMercadoLubricantes {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--main-color-white);
}

#lubricantesContainer {
    position: relative;
    display: flex;
    flex-flow: row;
    align-items: start;
    justify-content: center;
    width: 80%;
    height: 50vh;
    padding-top: 5%;
    background-color: transparent;
}

#lubricantesContainer::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 0%;
    width: 480px;
    height: 480px;
    background-image: url(../ilustraciones/reciclaje-background-2.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.2;
}

#lubricantesContainer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -1%;
    width: 450px;
    height: 450px;
    background-image: url(../ilustraciones/reciclaje-background-2.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.2;
    transform: rotate(180deg);
}

.lubricantesSides {
    width: 20%;
    background-color: var(--main-color-white);
}

.lubricantesSides p {
    background-color: var(--main-color-white);
    color: var(--main-color-black);
    line-height: 1.4;
    font-size: 1.2rem;
    text-align: center;
}

.lubricantesMain {
    position: relative;
    width: 60%;
    height: 200px;
    display: flex;
    flex-flow: row;
    align-items: end;
    justify-content: space-evenly;
    background-color: transparent;
}

#graficoTitle {
    position: absolute;
    bottom: -45%;
    z-index: 1000;
    background-color: transparent;
    color: var(--main-color-black);
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.lubricantesMain::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60%;
    height: 4px;
    border-top: 7px dashed var(--main-color-grey);
}

.lubricantesMain::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 60%;
    height: 4px;
    background-color: var(--main-color-black);
    z-index: 1000;
}

#lubricantes24 {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-end;
    width: 15%;
    height: 0;
    padding-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--main-color-black);
    background-color: var(--main-color-yellow);
}

#lubricantes24::before {
    content: "2024";
    position: absolute;
    bottom: -2rem;
    color: var(--main-color-black);
}

#lubricantes29 {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-end;
    width: 15%;
    height: 0;
    padding-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--main-color-black);
    background-color: var(--main-color-yellow);
}

#lubricantes29::before {
    content: "2029";
    position: absolute;
    bottom: -2rem;
    color: var(--main-color-black);
}

.animate-lubricantes {
    animation: subida24 1.5s ease-in-out forwards;
}

@keyframes subida24 {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

.animate-lubricantes-29 {
    animation: subida29 1.5s ease-in-out forwards;
}

@keyframes subida29 {
    from {
        height: 0;
    }

    to {
        height: 130%;
    }
}

#econCircularIlustracion {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--main-color-white);
}


#econCircularIlustracion::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 0%;
    width: 480px;
    height: 480px;
    background-image: url(../ilustraciones/reciclaje-background.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.2;
}

#econCircularIlustracion::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -1%;
    width: 450px;
    height: 450px;
    background-image: url(../ilustraciones/reciclaje-background-2.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.2;
    transform: rotate(180deg);
}


#econCircularImgContainer {
    position: relative;
    width: 55%;
    height: 55%;
    background-color: transparent;
}

#econCircularImgContainer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../ilustraciones/reciclaje-background-4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* asegura que la imagen se centre */
    opacity: 0.2;
    z-index: 1000;
    animation: econmCircularRotate 20s ease-in-out 1 forwards;
    transform: translate(-50%, -50%);
}

@keyframes econmCircularRotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

#econCircularImg {
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    transform: translateY(-15px);
    z-index: 100;
}

.econCircularIlustracionAnim {
    animation: ilustracionAnim 1.4s ease-in-out forwards;
}

@keyframes ilustracionAnim {
    from {
        opacity: 0;
        transform: scale(0.8);
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
        transform: translateY(-15px);
    }
}

#filosofia {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex-flow: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    background-color: transparent;
    padding-bottom: 6%;
    overflow: hidden;
}

#filosofia::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 250px;
    height: 250px;
    background-image: url(../ilustraciones/triple-r.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

#filosofia::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 250px;
    height: 250px;
    background-image: url(../ilustraciones/planeta-verde.png);
    background-repeat: no-repeat;
    background-size: 100%;

}


#filosofia p {
    display: flex;
    width: 70%;
    padding: 10% 10% 5%;
    flex-flow: column;
    align-items: center;
    justify-content: start;
    background-color: transparent;
    color: var(--main-color-black);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
}

#filosofiaVideoContainer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    background-color: transparent;
}

#filosofiaVideo {
    width: 300px;
    border: 7px dashed #0101015f;
}

#filosofiaVideoLogo {
    width: 400px;
    background-color: transparent;
    margin-top: 2rem;
}

@media screen and (max-width: 700px) {
    .reciclajeTitle {
        font-size: 1.2rem;
        padding: 0 0;
        margin-top: 3rem;
    }

    #navMenu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 200px;
        background-color: var(--main-color-white);
        border-left: 3px solid var(--main-color-black);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        transition: right 0.3s ease;
        padding: 5rem 0 80%;
        z-index: 10000;
    }

    #navMenu::before {
        display: block;
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        top: 50%;
        background-image: url("../logo/logo-todo-blanco.svg");
        text-align: center;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1000;
    }

    #navMenu ul {
        flex-direction: column;
        gap: 20px;
    }

    #navMenu ul li a {
        font-size: 1rem;
        z-index: 1000;
    }

    #navIcon {
        display: block;
        z-index: 1000;
    }

    #closeNavIcon {
        display: block;
        font-size: 1rem;
    }

    #navMenu.active {
        right: 0;
    }

    #lubricantesContainer::before {
        bottom: -50%;
        right: 0%;
        width: 150px;
        height: 150px;
    }

    #lubricantesContainer::after {
        top: -40%;
        left: -1%;
        width: 150px;
        height: 150px;
    }


    #econCircularIlustracion::before {
        display: none;
    }

    #econCircularIlustracion::after {
        display: none;
    }

    #econCircularImgContainer::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../ilustraciones/reciclaje-background-4.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        /* asegura que la imagen se centre */
        opacity: 0.3;
    }

}