@font-face {
    font-family: tomatoes;
    src: url(/fuentes/Tomatoes-O8L8.ttf);
    font-display: swap;
}


body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
    padding-top: 86px;
}

/*--------------------logo loaging inicial-----------------------------*/
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }



/*-------------------------------------BRAND-MARCA---------------------------*/
.color-logo {
    background-color: #0da768;
    background: #0da768;
}

.titulo {
    font-size: 1.3rem;
    letter-spacing: 4px;
}

.slogan {
    font-size: 0.6rem;
    font-family: tomatoes;
}

.container-color {
    background-color: #E6F6EF;
}

/*---------------------------------------NAV-------------------------------*/
.navbar {
    height: 86px;
}

.fondo-nav {
    /* background-color: rgb(3,50,31);*/
    /*    background: rgb(3,50,31);
    background: linear-gradient(82deg, rgba(3,50,31,1) 8%, rgba(13,167,104,1) 55%, rgba(134,211,179,1) 98%);*/

    background: #52c234; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #061700, #52c234); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #061700, #52c234); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.navbar-nav li a:hover{
    cursor:pointer;
}

.navbar-nav {
    /*background-color: rgb(3,50,31,0.9)*/
    background-color: transparent;
}



/*---------------------------------------VIDEO DESKTOP   ---------------------------------------------*/


/* Estilos para el video de escritorio (horizontal) */
.video-container-desktop {
    width: 100%;
    padding-top: 56.25%; /* (720 / 1280) * 100 */
    position: relative;
    overflow: hidden;
}

    .video-container-desktop video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/*------------------------------ VIDEO MOVIL    ------------------------------------------------------------------*/

.video-container {
    width: 100%;
    padding-top: 177.63%; /* (1080 / 608) * 100 */
    position: relative;
    overflow: hidden;
}

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



/*spinner-----------------------------------------------------------------------*/
.spinner {
    border: 16px solid silver;
    border-top: 16px solid #0da768;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 500ms linear infinite;
    top: 40%;
    left: 50%;
    position: fixed;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}


/*-------------------------------------------------BOTONES FIXED-----------------------------*/
/* Estilos para el botón de audio */
#btnAudio {
    position: fixed;
    width: 40px;
    height: 40px;
    line-height: 25px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    background: red;
    color: #FFF;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    bottom: 15px;
    left: 15px;
    z-index: 999;
    transition: all 300ms ease;

}

    #btnAudio:hover {
        background-color: crimson;
    }


/* Estilos para el botón de Whatsapp */
.btn-wsp {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 53px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    background: #25d366;
    color: #FFF;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    bottom: 15px;
    right: 6px;
    z-index: 999;
    transition: all 300ms ease;

    
}


    .btn-wsp:hover {
        background: #20ba5a;
        color: #FFF;
    }


.btn-wsp-big {
    position: fixed;
    width: 4rem; 
    height: 4rem;
    border-radius: 50%;
    background: #25d366;
    color: #FFF;
   /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);*/
    bottom: 15px;
    right: 6px;
    z-index: 999;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

    .btn-wsp-big i {
        font-size: 1.2em; /* Tamaño del icono relativo al tamaño de fuente del botón */
        font-weight: 200;
        padding-left: 2px;
        padding-bottom:4px;
    }

    .btn-wsp-big:hover {
        background: #20ba5a;
        color: #FFF;
    }


/* Estilos para el botón de "Volver arriba" */
#btnScrollToTop {
    display: none;
    color: #0da768;
    width: 40px;
    height: 40px;
    border: 3px solid #0da768;
    background-color: rgba(0,0,0,0.2);
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    position: fixed;
    bottom: 100px;
    right: 19px;
    cursor: pointer;
    z-index: 999;
    transition: all 300ms ease;
}

    #btnScrollToTop:hover {
        transform: scale(1.2);
        border-color: rgba(0,0,0,0.1);
        border: 5px solid #0da768;
    }


/*-------------------------------------------SECTIONS------------------------------------*/
section {
    padding-top: 100px;
}


/*--------------INICIO------------------------*/
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:zoom-in;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }





/* ------------------loteo------------------------- */
#loteo img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    cursor: zoom-in;
    margin: auto;
}

#loteo .card {
    margin-top: 1rem;
    padding-top: 0.5rem;
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid black;
    
}

#loteo .card-body{
    padding: 0px 4px 6px 15px;
    font-weight:600;
}


/* ------------------servicios------------------------- */
#servicios img {
    width: 6rem;
}

/* Estilo para el margen horizontal entre las cards */
.custom-card-margin {
    margin-right: 5px;
    margin-left: 5px;
    min-width: 250px;
}

#servicios .card {
    /* Compensar el espacio extra del borde */
    border: 2px solid transparent;
}

    #servicios .card:hover {
        border-color: #0da768;
    }

        #servicios .card:hover .card-img-zoom {
            transform: scale(1.1); /* Hacer el zoom en el hover (1.1 significa 110% de tamaño original) */
        }

        #servicios .card:hover .card-title {
            color: #0da768;
        }

/* Estilo para hacer zoom en la imagen en el hover */
#servicios .card-img-zoom {
    transition: transform 0.5s; /* Agregar una transición suave */
}

#servicios .card-body{
    text-align: center;
}




/* ---------------UBICACION-----------------------------*/
#ubicacion ul {
    list-style-type: square;
    font-size: 1.3rem;
}

    #ubicacion ul span {
        font-size: large;
        font-weight: 700;
        color: #0da768;
    }

    #ubicacion ul li::marker {
        font-size: 30px;
        color: #0da768;
    }

.map iframe {
    width: 100%;
}


/*-------------------GALERIA--------------------*/
#galeria .card {
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
}

    #galeria .card:hover {
        cursor: zoom-in;
    }

.card-image {
    border: 3px #0da768 solid;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s; /* Agregar una transición suave */
}

    .card-image:hover {
        transform: scale(1.07); /* Hacer el zoom en el hover (1.1 significa 110% de tamaño original) */
    }

.img-gal {
    width: 100%;
}

/*-------------------CONTACTO--------------------*/
#contacto .btn {
    background-color: #0da768;
}

#contacto input.form-control:hover,
#contacto textarea.form-control:hover,
#contacto button.form-control:hover {
    border-color: #0da768;
}

#contacto input.form-control:focus,
#contacto textarea.form-control:focus,
#contacto button.form-control:focus {
    border-color: #0da768;
    box-shadow: 0 0 0 0.2rem rgba(13,167, 104, 0.25);
}


/*------para el textarea mensaje que tiene floating de bootstrap, se solapa con texto de muchas lineas*/
#textareaContacto {
    position: relative;
}

    #textareaContacto:before {
        content: '';
        position: absolute;
        top: 1px; /* border-width (default by BS) */
        left: 1px; /* border-width (default by BS) */
        width: calc(100% - 20px); /* to show scrollbar */
        height: 32px;
        border-radius: 4px; /* (default by BS) */
        background-color: #ffffff;
    }

    #textareaContacto textarea.form-control {
        padding-top: 32px; /* height of pseudo element */
        min-height: 80px; /* not relevant */
    }



/*-------------------footer-------------------------*/
.contenedorDevelopedBy {
    max-height: 200px;
    overflow: auto;
    word-wrap: break-word;
    display: flex; /* Aplicar un contenedor flexible para centrar verticalmente */
    align-items: center; /* Centrar verticalmente el contenido */
    justify-content: center; /* Centrar horizontalmente el contenido */
}

.contenidoDevelopedBy {
    text-align: center; /* Centrar el texto dentro del div */
}

/*clase para el efecto del hover en los items del footer*/
.hover-effect:hover {
    color: white !important;
    cursor: pointer;
}


.titulo-footer {
    color: #0da768;
}
.texto-footer {
    color:  gray;
}


#footer .titulo {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

#footer .slogan {
    font-size: 0.6rem;
    font-family: tomatoes;
}




/* sm*/
@media (min-width: 576px) {
    .titulo {
        font-size: 1.6rem;
    }

    .slogan {
        font-size: 0.9rem;
    }

    #footer .titulo {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    #footer .slogan {
        font-size: 0.7rem;
        font-family: tomatoes;
    }
   
}


@media (max-width: 470px) {

    nav .container {
        width: auto;
    }

    .navbar-toggler {
        position: fixed;
        right: 15px;
        top: 90px;
        background-color: rgba(0, 0,0,0.7);
    }

}


    /* Ajustes para pantallas pequeñas */
    @media (max-width: 600px) {
        .btn-wsp-big {
            width: 3.5rem;
            height: 3.5rem;
            bottom: 10px;
            right: 5px;
        }

            .btn-wsp-big i {
                font-size: 1em; /* Disminuye el tamaño del icono en pantallas pequeñas */
            }

        #btnScrollToTop {
            right: 11px;
        }
    }

    /* --------------------------max LG ------------------------------------------------*/
    @media (max-width: 992px) {

        .navbar-toggler-icon {
            color: black;
        }

        .navbar-nav {
            background-color: rgba(0,0,0,0.8);
        }
            /*--para que no me tome el click en el boton hamburguesa achico en width*/
            .navbar-nav .nav-item {
                width: 83%;
            }
    }



    /* Large devices (desktops, 992px and up)*/
    @media (min-width: 992px) {
        .swiper {
            width: 75%;
            height: 75%;
        }

        /*--para el efecto subrayado------*/
        .nav-link {
            position: relative;
        }

            .nav-link::before {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 2px;
                background-color: white;
                z-index: 1;
                transform: scaleX(0);
                transform-origin: center;
                transition: transform 0.2s ease-in-out;
            }

            .nav-link:hover::before {
                transform: scaleX(1);
            }
    }


    /*estas clases no se pueden borrar porque pertenecen al error de blazor*/
    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
        display: none;
        left: 0;
        padding: 0.6rem 1.25rem 0.7rem 1.25rem;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

        #blazor-error-ui .dismiss {
            cursor: pointer;
            position: absolute;
            right: 0.75rem;
            top: 0.5rem;
        }