#no-biens {
    height: 100%;
    background-color: #f5f5f5;
}

#nos-biens div.title {
    text-align: center;
    margin-bottom: 2rem;
}
#nos-biens div.title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}
#nos-biens div.title p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary);
}

.no_biens_grid {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
    margin-top: 3rem;
    gap: 2rem;
}

.no_biens_grid .item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 70%;
    max-height: 300px;
    overflow: hidden;
}

.no_biens_grid .item img {
    height: 100%;
    object-fit: cover;
    width: 50%;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
}

.no_biens_grid .item div.content {
    max-width: 50%;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
}

.modal-content {
    padding: 20px;
    border-radius: 5px;
}
.modal-content span {
    color: white;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}


/* carrousel */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}
.swiper-slide *{
    background-color: transparent !important;
}

.swiper-slide img {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0.05rem;
    background-color: white;
}


@media screen and (max-width: 1150px) {
    .no_biens_grid .item {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: max-content;
    }
}


@media screen and (max-width: 768px) {
    #nos-biens {
        padding: 0.2rem;
    }
    .no_biens_grid {
        max-width: 100%;
        width: 100%;
    }
    .no_biens_grid .item div.content {
        padding: 1rem;
    }
}