.sliding-box {
    height: 70vh;
}

#slide1 {
    padding-left: 4rem;
    padding-bottom: 4rem;
}

.filter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    gap: 2rem;
}

.filter-section .btn-a {
    border: none;
    cursor: pointer;
}

.gallery-section {
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.gallery-section img {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
}

.gallery-section .image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-box .image-overlay {
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #cc6600ad);
    text-align: center;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    transition: 0.4s;
}

.image-box:hover>.image-overlay {
    top: 0;
}

.image-overlay p {
    color: white;
    font-size: 12px;
}

#footer {
    margin-top: 0;
}

@media screen and (max-width:1250px) {
    .gallery-section img {
        width: 300px;
        height: 200px;
    }
}

@media screen and (max-width:1000px) {
    .gallery-section {
        gap: 1rem;
    }

    .gallery-section img {
        width: 250px;
        height: 150px;
    }
}

@media screen and (max-width:850px) {
    .gallery-section img {
        width: 200px;
        height: 120px;
    }

    .filter-section {
        padding: 1rem 2rem;
    }
}

@media screen and (max-width:650px) {
    .gallery-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .gallery-section img {
        width: 100%;
    }

    .sliding-box {
        height: 50vh;
    }

    .image-overlay h3 {
        font-size: 1.2rem;
    }

    .image-overlay p {
        font-size: 10px;
    }
}

@media screen and (max-width:600px) {
    #footer {
        padding-top: 1rem;
    }
}

@media screen and (max-width:500px) {
    .sliding-box {
        height: 50vh;
    }
}

@media screen and (max-width:370px) {
    .sliding-box {
        height: 40vh;
    }
}