body {
    background-image: url('../../images/background.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

.footer {
    background-color: #0c2a46;
    color: white;
    text-align: center;
    position: fixed;
    bottom: 10px;
    border-radius: 10px;
    white-space: nowrap;
    padding: 5px;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
}

/* Asegurar que el contenido principal tenga espacio suficiente */
.home-page {
    min-height: 100vh;
}

.home-page .content-wrapper {
    padding-bottom: 2rem;
}



#logotype {
    width: 350px;
    height: auto;
    margin-top: 40px;
}

.header-logo {
    position: fixed;
    text-align: center;
    width: 100%;
}

.desktop-only {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 110vh;
    box-sizing: border-box;
    
}

.desktop-only #comunities-table{
    width: 45%;
}

.mobile-only {
    display: none;
}

.alert {
    position: absolute;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
    z-index: 1000;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
        display: none;
    }
}

.alert.hide {
    animation: fadeOut 5s forwards;
}

.btn-custom-invert {
    background-color:white;
    border-color: black;
    color: #0c2a46;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    padding: 20%;
}

.btn-custom-invert:hover {
    background-color: #0c2a46;
    color: white;
}


.btn-custom {
    background-color: #0c2a46;
    border-color: #0c2a46;
    color: white;
    width: 150px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.btn-custom:hover {
    background-color: #3b83bc;
}

.invert-color{
    filter: invert(100%);
}
.text-decoration-none {
    text-decoration: none !important;
}

@media screen and (max-width: 768px) {
    body{
        background-color: #0c2a46;
        background-image: none;
        
    }
    .desktop-only #comunities-table{
        width: 100%;
    }
    #properties-of-comunity-table{
        display: none;
    }
}
