.home {
    /* height: 80vh; */
}

.splide__slide {
    position: relative;
    /* height: 80vh; */
}

.splide__slide .content h2 {
    font-family: var(----manrope-font) !important;
    font-size: 40px !important;
    color: white;
    color: white;
    font-weight: normal;
}

.splide__slide .content p {
    font-weight: normal !important;
    font-size: var(----usual-font-size);
    font-family: var(----manrope-font);
}

.splide__slide img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.splide__slide .overlay .content {
    display: flex;
    flex-direction: column;
    justify-container: center;
    align-items: center;
}

.content h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.content p {
    margin: 10px 0;
    font-size: 1.2rem;
}

.content button {
    width: 148px;
    height: 38px;
    padding: 0px 10px;
    font-size: 1rem;
    background-color: #0aa543;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.content button:hover {
    background-color: #027f30;
}

.content button p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Default styles (for larger screens) already provided */

/* Media query for tablets (768px to 1024px) */
@media (max-width: 1024px) {
    /* .home {
        height: auto;
    } */
    .splide__slide .content h2 {
        font-size: 32px;
    }

    .splide__slide .content p {
        font-size: 16px;
    }

    .splide__slide img {
        height: 70vh;
    }

    .content h2 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 1rem;
    }

    .content button {
        width: 130px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Media query for mobile devices (up to 768px) */
@media (max-width: 768px) {
    /* .home {
        height: auto;
    } */
    .splide__slide .content h2 {
        font-size: 24px;
    }

    .splide__slide .content p {
        font-size: 14px;
    }

    .splide__slide img {
        height: 50vh;
    }

    .overlay {
        padding: 10px;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .content button {
        width: 120px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Media query for very small mobile devices (up to 480px) */
@media (max-width: 480px) {
    .home {
        height: auto;
    }
    .splide__slide {
        /* height: 50vh; */
    }
    .splide__slide .content h2 {
        font-size: 18px !important;
    }

    .splide__slide .content p {
        font-size: 12px;
    }

    .splide__slide img {
        /* height: 50vh; */
    }

    .content h2 {
        font-size: 1.2rem;
    }

    .content p {
        font-size: 0.8rem;
    }

    .content button {
        width: 100px;
        height: 28px;
        font-size: 0.7rem;
    }
}
