.properties-container {
    min-height: 680px;
    padding: 0;
}

.properties-container.empty {
    min-height: auto;
}

#propiedades,
#popup-container .popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
    padding: 0;
}

#propiedades .item,
#popup-container .item {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

#propiedades .thumb-container,
#popup-container .thumb-container {
    position: relative;
    height: 360px;
}

#propiedades .thumb-container .location,
#popup-container .location {
    background-color: #e9b700;
    color: #fff;
    padding: 5px;
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 5px;
    font-weight: bold;
}

#propiedades .thumb-container img,
#popup-container .thumb-container img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#propiedades .item .content,
#popup-container .item .content {
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#propiedades .item .content .name,
#popup-container .item .content .name {
    font-size: 24px;/* Tamaño del titulo del nombre del proyecto */
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

#propiedades .item .content .delivery,
#popup-container .item .content .delivery {
    font-size: 18px; /* Tamaño de la fecha de entrega */
    color: #555;
    margin-bottom: 10px;
    text-align: center;
}

#propiedades .item .content .price,
#propiedades .item .content .reserve,
#popup-container .item .content .price,
#popup-container .item .content .reserve {
    background-color: #eee;
    display: block;
    padding: 10px;
    text-align: center;
    margin: 10px 0;
    width: 100%;
}

#propiedades .item .content .contact-btn,
#popup-container .item .content .contact-btn {
   background-color: #000;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* Ajusta la altura si es necesario */
    padding: 10px 15px; /* Ajusta el alto del texto al borde del boton */
    text-decoration: none;
    flex: 1;
    border-radius: 20px; /* Bordes más redondeados */
    margin: 5px 0;
    width: 80%;
    font-size: 14px; /* Ajusta el tamaño del texto del botón */
}

#propiedades .item .content .contact-btn:last-child,
#popup-container .item .content .contact-btn:last-child {
    margin-right: 0; /* Elimina el margen derecho del último botón */
}

#propiedades .item .content .contact-btn:hover,
#popup-container .item .content .contact-btn:hover {
    background-color: #e9b700;
}

#oportunities {
    color: #151515;
    display: block;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif; /*  */
    /* text-transform: uppercase; */
    text-transform: capitalize;
    margin-bottom: 2rem;
}

#properties-filters .form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

#properties-filters .form-row .form-group {
    width: calc(15% + 10px);
}

#properties-filters .form-row input,
#properties-filters .form-row select,
#properties-filters .form-row button {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 25px;
    height: 35px;
    padding: 0 10px;
    outline: none;
    width: 100%;
}

#properties-filters .form-row button {
    background-color: #e9b700;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

#properties-loader {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#properties-loader.active {
    display: block;
}

#properties-loader img {
    margin: 0 auto;
    display: block;
}

#popup-container {
    align-items: center;
    justify-content: center;
    background-color: #151515de;
    overflow-y: scroll;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 99;
}

#popup-container.active {
    display: flex;
}

#popup-container #close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e9b700;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    position: fixed;
    right: 40px;
    top: 80px;
    height: 50px;
    width: 50px;
    z-index: 999;
}

#popup-container .popup-window {
    height: 80vh;
    max-width: 1140px;
    width: 90%;
}

#popup-container .popup-window.loading {
    display: none;
}

#popup-loader {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 900;
}

#popup-loader.active {
    display: flex;
}

#popup-loader img {
    margin: 0 auto;
    display: block;
}

.slide-in-popup {
    animation-name: slideInPopup;
    animation-duration: 1s;
}

.slide-out-popup {
    animation-name: slideOutPopup;
    animation-duration: 1s;
}

@media (max-width: 980px) {
    #propiedades,
    #popup-container .popup-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    #propiedades,
    #popup-container .popup-content {
        grid-template-columns: 1fr;
    }

    #oportunities {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    #properties-filters .form-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    #properties-filters .form-row .form-group {
        margin: 8px 0;
        width: 100%;
    }
}

@keyframes slideInPopup {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideOutPopup {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}
