.backpipe {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
}

.backpipe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.634);
}

.backpipe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.backpipe .meta-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 20px;
}

.backpipe .meta-info h3 {
    font-size: 2rem;
    color: rgb(255, 255, 255);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.backpipe .meta-info span {
    font-weight: 400;
    font-size: 1rem;
    color: rgb(255, 255, 255);
    font-family: "Poppins", sans-serif;
    font-style: italic;

}

.backpipe .meta-info a {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
}

.backpipe .meta-info a:hover {
    background-color: rgba(255, 255, 255, 0.204);
}

.backpipe .arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.backpipe .arrows i {
    width: 50px;
    height: 50px;
    font-size: 50px;
    color: white;
    animation: movement 2s linear infinite;
    position: absolute;
    top: 0;
    left: 1;
    transform: translate(-50%, 0);
    opacity: 0;
}

@keyframes movement {
    0% {
        top: 0;
        opacity: 0;
    }

    25% {
        top: 30px;
        opacity: 0.5;
    }

    50% {
        top: 40px;
        opacity: 0.8;
    }

    100% {
        top: 50px;
        opacity: 1;
    }
}

@media screen and (max-width: 700px) {
    .backpipe {
        font-size: 75%;
    }

    .backpipe img {
        height: 100vh;
        object-fit: cover;
    }

    .backpipe .meta-info h3 {
        font-size: 1.5rem;
    }

    .backpipe .meta-info span {
        font-size: 0.875rem;
    }

    .backpipe .meta-info a {
        margin-top: 8px;
    }

}
.contfilter{
    display: flex;
    width: 100%;
    gap: 10px;
    padding: 0;
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
    
}
.filterDiv {   

    max-width: 350px;
    min-width: 300px;
    height: 400px;
    display: none;
    position: relative;

}
.filterDiv a img{

    width: 100%;
    height: 100%;
    object-fit: cover;
}
.filterDiv a span{

    position: absolute;
    bottom: 40px;
    left: 10px;
    color: white;
    text-decoration: none;
    background-color: black;
    padding: 8px 20px;
    border-radius: 6px;

}
#myBtnContainer{

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px;
    gap: 4px;
}
/* The "show" class is added to the filtered elements */
.show {
    display: block;
    
}
/* Style the buttons */
.btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #f1f1f1;
    cursor: pointer;
    min-width: 180px;
}
.btn:hover {
    background-color: #ddd;
}

.btn.active {
    background-color: white;
    color: black;
    border: 1px solid black;
}
