/* media query screen to 1440 */
@media screen and (max-width: 1445px) {
    /* Styles for screens smaller than 1445px */

    .join_now_step {
        width: 370px;
        height: 370px;
    }
}

/* media query screen to 1370 */
@media screen and (max-width: 1445px) {
    /* Styles for screens smaller than 1445px */

    .join_now_step {
        width: 345px;
        height: 345px;
    }

    .join_now_step strong {
        font-size: 80px;
    }

    .join_now_step p {
        font-size: 20px;
    }

    .join_now_step ul {
        font-size: 14px;
    }
}

/* media query 1920 with 150% zoom but bigger than 768 */
@media screen and (max-width: 1300px) {

    /* Styles for screens smaller than 1280px */
    .frequently_btn {
        padding: 8px 14px;
        font-size: 10px;
    }

    .green-slider {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        height: 10px;
        background: transparent;
        cursor: pointer;
        margin: 10px 0;
    }


    .green-slider::-webkit-slider-runnable-track {
        width: 100%;
        height: 10px;
        background: var(--color-sv-dark-green);
        border-radius: 10px;
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    }

    /* For Firefox */
    .green-slider::-moz-range-track {
        width: 100%;
        height: 10px;
        background: var(--color-sv-dark-green);
        border-radius: 4px;
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    }

    .green-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        height: 24px;
        width: 24px;
        border-radius: 50%;
        background: var(--color-sv-dark-green);
        border: 2px solid var(--color-sv-beige);
        margin-top: -8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* For Firefox */
    .green-slider::-moz-range-thumb {
        height: 24px;
        width: 24px;
        border-radius: 50%;
        background: var(--color-sv-dark-green);
        border: 2px solid var(--color-sv-beige);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .float_donate_txt {
        font-size: 14px;
        padding-inline: 10px;
    }

    .btn_close_form_donate {
        top: -30px;
    }

    .btn_wp_fixed {
        width: 50px;
        height: 50px;
    }

    .btn_want_donate {
        width: 125px;
        height: 50px;
    }

    .circle_data_1,
    .circle_data_2 {
        height: 230px;
        width: 230px;
    }

    .circle_data_4 {
        height: 240px;
        width: 240px;
    }

    .circule_img_1 {
        height: 280px;
        width: 280px;
    }

    .circule_img_3 {
        height: 280px;
        width: 280px;
    }

    .circule_img_2 {
        height: 300px;
        width: 300px;
    }

    .histories_card {
        height: 350px;
    }


    .join_now_step {
        width: 300px;
        height: 300px;
    }

    .join_now_step:nth-child(2) {
        margin-top: 50px;
    }

    .join_now_step strong {
        font-size: 60px;
    }

    .join_now_step p {
        font-size: 16px;
    }

    .join_now_step ul {
        font-size: 14px;
    }

    .join_now_step a {
        font-size: 12px;
        width: 180px;
        padding: 12px;
    }

    .join_now_step ul li {
        font-size: 12px;
    }

    .join_now_step ul li::after {
        content: '';
        width: 12px;
        height: 12px;
    }

    .histories_card_2 .histories_card_link p,
    .histories_card_1 .histories_card_link p {
        font-size: 14px;
    }

    .histories_card_2 .histories_card_link span,
    .histories_card_1 .histories_card_link span {
        font-size: 24px;
    }

    .masked {
        background: white;
        mask-image: url('../imgs/bosque.svg');
        mask-position: center 42%;
        mask-repeat: no-repeat;
        mask-size: 1120px;
    }
}

/* media query screen mobile < 768px */
@media screen and (max-width: 768px) {
    .text-ellipsis {
        max-width: 200px;
    }

    .circle_data span {
        font-size: 36px;
    }

    .circle_data p {
        font-size: 20px;
        text-align: center;
        text-wrap: balance;
    }

    .circle_data_1 {
        height: 259px;
        width: 259px;
        top: auto;
        left: auto;
        background-color: var(--color-sv-dark-2);
    }

    .circle_data_2 {
        height: 221px;
        width: 221px;
        top: auto;
        right: auto;
    }

    .circle_data_3 {
        height: 259px;
        width: 259px;
        bottom: auto;
        left: auto;
    }

    .circle_data_3 p {
        font-size: 10px;
    }

    .circle_data_4 {
        height: 259px;
        width: 259px;
        bottom: auto;
        right: auto;
    }

    .circule_img_1 {
        height: 221px;
        width: 221px;
        top: auto;
        transform: none;
        left: auto;
    }

    .circule_img_2 {
        height: 221px;
        width: 221px;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .circule_img_3 {
        height: 221px;
        width: 221px;
        top: auto;
        transform: none;
        right: auto;
    }

    .circle_data {
        position: relative;
        margin: 0 auto;
    }

    .circule_img {
        position: relative;
        margin: 0 auto;
    }

    .histories_card {
        height: 400px;
        width: 360px;
        max-width: 100%;
        margin: 0 auto;
    }

    .histories_card_1 .histories_card_link p {
        font-size: 18px;
    }

    .histories_card_1 .histories_card_link span {
        font-size: 36px;
    }

    .histories_card_2 .histories_card_link p {
        font-size: 18px;
    }

    .histories_card_2 .histories_card_link span {
        font-size: 36px;
    }

    .join_now_steps {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }


    .join_now_step {
        background: white;
        width: 314px;
        height: 314px;
        border-radius: 100%;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 0;
        color: var(--color-sv-dark);
        margin-inline: auto;
    }

    .join_now_step:nth-child(2) {
        margin-top: 0;
    }

    .join_now_step strong {
        font-family: var(--font-sv-bold);
        font-size: clamp(5rem, 1vw + 0.5rem, 6rem);
        display: block;
        line-height: 1;
    }

    .join_now_step p {
        font-size: clamp(1.1rem, 1vw + 0.5rem, 2rem);
    }

    .join_now_step ul li {
        font-size: clamp(0.9rem, 1vw + 0.5rem, 1rem);
    }

    .arrow_dark::after {
        content: '';
        width: 14px;
        height: 14px;
    }

    .product_card {
        max-width: 305px;
        margin: 0 auto;
    }

    .footer_menu li a {
        font-size: 14px;
    }

    .splide__arrow--prev {
        left: -1rem;
    }

    .splide__arrow--next {
        right: -1rem;
    }

    .splide__arrow {
        background: transparent !important;
    }

    .splide__arrow svg {
        fill: var(--color-sv-dark-green);
    }

    .btn_want_donate {
        width: 183px;
        height: 60px;
        background-image: url('../imgs/btn_donate_mobile.png');
    }

    .btn_wp_fixed {
        width: 60px;
        height: 60px;
    }

    .section-with-oval-background::before {
        content: "";
        border-radius: 0% !important;
    }

    .partners_testimonials_slider .splide__pagination {
        bottom: -6rem !important;
    }

    .splide_testimonials_donations .splide__pagination {
        left: 0rem !important;
        bottom: -1.5em !important;

    }

    .leaves_container::before {
        content: "";
        width: 43px;
        height: 80px;
        display: block;
        background-image: url('../imgs/leaves.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;

    }



    .product_card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: url('../imgs/footprint_1.png');
        background-repeat: no-repeat;
        background-size: 80%;
        background-position: center;
        text-align: center;
        gap: 10px;
        max-width: 100%;
    }

    .product_card picture {
        width: 100%;
        height: 150px;
    }

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

    .product_card h3 {
        font-family: var(--font-sans);
        font-size: 24px;
        line-height: 1;
    }

    .product_card h3 span {
        font-family: var(--font-serif);
        font-size: 24px;
        color: #3E362880;
    }

    .product_card p {
        font-family: var(--font-sans);
        font-size: 16px;
    }

    .product_card a.btn_buy, .product_card .btn_buy {
        font-family: var(--font-sv-bold);
        font-size: 12px;
        background-color: var(--color-sv-dark-green);
        color: var(--color-sv-yellow);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;
        border-radius: 999px;
        padding: 8px 40px;
    }

    .product_card a.btn_buy:hover {
        background-color: #00be76;
    }

    .section-with-oval {
        clip-path: none;
    }

}

@media (width >=120rem) {
    .container {
        max-width: 96rem;
    }
}