*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Arial, sans-serif;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main{
    margin-top: 9.5rem;
    height: 100%;
    overflow-y: auto;
    position: relative;
    overflow-x: hidden;
}



.icono-home i { 
    color: #c3da95;
    margin-left: 0.5rem;
    margin-top: -1.6rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1100;
    border-radius: 50%;
    border: none;
    background-color: none;
}

.barra-busqueda{
    margin-bottom: 0.8rem;
}



.barra-busqueda li{
    background-color: none;
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
    transition:  transform 0.5s ease;
}

.barra-busqueda li:hover{
    transform: scale(1.05);

}

.barra-busqueda li a{
    color: #1c5333;
    padding: 0;
    background-color: none;
    text-decoration: none;
    z-index: 1100;
    position: absolute;
}

.barra-busqueda li a:hover{
    background-color: inherit;
}


/* --- Barra de      búsqueda --- */

.category {
    background-color: #1c5333;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}


.barra-categorias {
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    top: 0;
    width: 100%;
    z-index: 1100;
    position: fixed;
}

.barra-categorias ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.barra-categorias li {  
    padding: 10px;
    display: inline;
}

.barra-categorias a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 3px ;
    display: flex;
    text-align: center;
    justify-content: center;
    font-family: "Nunito Sans", sans-serif;
}

.barra-categorias a:hover {
    background-color: #6868684d;
}



.logo {
    background-color: #f4f4f4;
    align-items: center;
    display: flex;
    justify-content: space-evenly;
    height: 6rem;
}

.logo img {
    height: 15rem;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    z-index: 1100;
    transition: background-color 0.5s ease, transform 0.5s ease;
}

#fondo-oscuro {
    margin-top: 1rem;
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;  /* Asegúrate de que esté oculto por defecto */
}


.img-ul{
    display: none;
}

.category ul hr  {
    margin: 0; /* Eliminar márgenes por defecto */
    border: none; /* Quitar borde por defecto */
    height: 1px; /* Altura de la línea */
    background-color: #1c5333; /* Color de la línea */
}

.headmenu{
    display: none;
}

.scroll{
    z-index: 99999;
}

.textmenu{
    display: none;
}

.homeul{
    display: none;
}

.img-alterna{
    display: none;
}    
   

/*MEDIA QUERES*/

@media (max-width: 768px) {

        .img-alterna1{
            display: none;
        }
    
        .img-alterna{
            display: block;
        }

    .barra-busqueda{
        display: none;
    }
    

    .barra-busqueda li a{
        font-size: 0.9rem;

    }

    .icono-home i { 
        margin-left: 0.6rem;
        margin-top: -1rem;
        font-size: 1rem;

    }

    .main{
        margin-top: 6.8rem;
    }

    .homeul{
        display: block;
    }

    .servers ul{
        width: 100%;
    }

    .servers ul li {
        width: 100%;
    }

    .servers ul li a{
        width: 100%;
    }

    .textmenu{
        text-align: center;
        background-color: #c3da95;
        color: #318452;
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: 1rem;
        margin-bottom: -0.2rem;
        display: block;
        font-family: "Roboto", sans-serif;
        font-size: 1rem;
        border-radius: 10px;

    }

    .servers{
        display: block;
    }

    .minihead{
        display: flex;
    }

    .minihead h1{
        background-color: #1c5333;
        font-size: 1.4rem;
        margin-left: 0.8rem;
        margin-top: 0.7rem;
        font-weight: 200;
        color: #c3da95;
    font-family: "Roboto", sans-serif;

    }

    .headmenu{
        width: 100%;
        position: sticky;
        height: 3rem;
        z-index: 9999999;
        background-color: #1c5333;
        display: block;
    }

    #cerrar-barra11 {
        margin-top: 0.7rem;
    
        position: absolute;
        color: #dfeec1;
        background-color: #5eac24;
        border: none;
        right: 0;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1100;
        margin-right: 0.1rem;
        width: 1.8rem;
        border-radius: 5px;
    
    }

    .menu-toggle {
        background-color: #1c5333;
        font-family: "Roboto", sans-serif;
        color: #c3da95; 
        display: block;
        font-size: 1.1rem;
        cursor: pointer;
        margin: 0;
        z-index: 9999;
        margin-top: -1.5rem;

    }

    .menu-toggle:hover{
        transform: scale(1.05);
    }

   .category .scroll{
    max-height: 100%;
        overflow-y: auto;
    }

    .category {
        margin-top: 0.9rem;
        background-color: #fff;
        position: fixed;
        z-index: 9999;
        width: 60%;
        max-height: 100%;
        height: 100%;
        left: -60%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2); /* Sombra para un efecto más profesional */
        transition: transform 0.5s ease, opacity 0.5s ease; /* Transiciones suaves */
    }

    .category.open {
        transform: translateX(100%); /* Desliza el menú hacia la pantalla desde la derecha */
        max-height: 100%;
    }

    .category ul {
        display: flex; /* Flexbox para controlar la disposición */
        flex-direction: column; /* Coloca los elementos en columnas */
        width: 100%; /* Ocupa el 100% del ancho del contenedor */
 /* Remueve rellenos predeterminados */
        list-style: none; /* Elimina los estilos de lista predeterminados */
        overflow-y: auto; /* Permite desplazamiento vertical si no cabe el contenido */
    }

    .category ul li {

        display: block; /* Asegura que cada elemento sea un bloque */
        width: 100%; /* Ocupa todo el ancho del contenedor */

    }


    .category ul li a {
        color: #000;

        font-weight: 500;
        border-radius: 10px;
        font-size: 1rem;
        display: block; /* Comportamiento de bloque para el enlace */
        text-align: left; /* Centra el texto dentro del enlace */
        width: 100%; /* Ocupa el 100% del ancho del padre (li) */
        overflow: hidden; /* Oculta el texto desbordado */
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .category ul hr  {
        margin-left: 1rem;
        margin-right: 1rem;
        border: none; /* Quitar borde por defecto */
        height: 1px; /* Altura de la línea */
        background-color: #b3b3b36f; /* Color de la línea */
        margin-top: -1.5rem;
        margin-bottom: -1.5rem;
    }


    .img-ul{
        margin-top: -3rem;
        margin-bottom: 5rem;
        display: block;
    }

    .logo img{
        margin-bottom: 2rem;
        height: 12rem;

    }

    .barra-busqueda li a{
        color: #c3da95;
    }

    .logo{
        height: 100%;
        z-index: 9999999999;

        background-color: #1c5333;
    }

    .footer-container {
        width: 100%;
        white-space: nowrap;
        padding: 2rem;
        flex-direction: column; /* Elementos apilados en lugar de lado a lado */
    }

    footer .social-media,
    footer .footer-services {
        width: 100%; /* Cada sección ocupa el 100% del ancho */
    }

    footer .social-media li,
    footer .footer-services li {
        font-size: auto;
        /* Centra los elementos */
    }

    footer .social-media li{
        gap: 5px;
        
    }

    footer .social-media li, footer .footer-services li{
        width: 100%;
    }

    .barra-categorias{
        background-color: #1c5333;
        z-index: 999999999;
        padding: 1rem;
        height: 7rem;
        z-index: 9999;
        width: 100%;
        box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
        overflow-y: hidden;
    }

    .barra-categorias a {
        color: #000;
    }

 
}

@media (max-width: 423px) {

    .logo img {
        height: 9rem;
    }

    .main{
        margin-top: 6.5rem;
    }

    .barra-categorias{
        height:6.5rem;
    }

    .menu-toggle {
        font-size: 1rem; /* Reducir tamaño de fuente */
    }
}

@media (max-width: 362px) {

    .textmenu{
        font-size: 0.8rem;
    }

    .minihead h1{
        font-size: 1rem;

    }

    #cerrar-barra11 {
        font-size: 1rem;
        width: 1.5rem;
    }

    .category ul li a {
        font-size: 0.8rem;
    }
}

@media (max-width: 314px) { 

    footer .social-media li a{
        width: 1.5rem;
    }

}

@media (max-width: 270px){

    .footer-container {
        width: 100%;
        white-space: wrap;
    }
}

@media (max-width: 242px){
    .logo img{
        height: 6rem;
    }
}

footer {
    overflow: hidden;
    flex-direction: row;
    align-items: center;
    width: 100%;
    background-color: #1c5333;
    font-family: "Roboto", sans-serif;
    justify-content: space-between;
}

.footer-container {
    display: flex;
    align-items: flex-start;
    max-width: 100%;
    margin: 1rem;
    gap: 4rem;
}

.logo-piedepagina {
    width: 30%; /* Logo ocupa el 30% del ancho */
    margin: 1rem;

}

/* Redes sociales */
footer .social-media,
footer .footer-services {
    margin-top: 5%;
    width: 35%;
}

footer .social-media ul,
footer .footer-services ul {
    padding: 0;
    margin: 0;
    
}

footer .footer-services li {
    padding: 1rem 1rem;
    list-style: none;
    font-size: small;
    color: #c3da95;
    font-family: "Roboto", sans-serif;

}

footer .footer-services li a{
    color: #c3da95;
    text-decoration: none;
}

footer .footer-services li a:hover{
    text-decoration: underline;
}

footer .social-media li {
    display: flex;
    padding: 1rem 1rem;
    color: #c3da95;
    cursor: pointer;
    font-size: small;

}

footer .social-media a {
    font-family: "Roboto", sans-serif;
    text-decoration: none;
    color: inherit; 
    display: flex;
    align-items: center;
    width: 2.2rem;
}

footer .social-media a:hover{
    text-decoration: underline;
}

footer .social-media ul li  i {
    font-size: 18px;
    margin: auto;

}

footer p {
    margin-bottom: 0.6rem;
    width: 100%;
    color: #c3da95;
    font-size: 0.8em;
    text-align: center;
}

footer h1 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #c3da95;
}



/* cuerpo*/


header {
    background-color:  #1c5333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 1rem;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.header p {
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
}

.text {
    padding: 2rem;
}

.section {
    margin-bottom: 2rem;
}

.section h2 {
    font-size: 1.8rem;
    color: #5eac24;
}

.section p, .section ul {
    font-size: 1rem;
    line-height: 1.5;
    color: #1c5333;
}

.section p, .section ul li{
    list-style: none;
}

section img{
    align-items: center;
}

.image-placeholder{
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.image-placeholder img {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    height: auto;
    background-color: #c3da95;
}

#procedimiento h3{
    color: #68ca1d;
    text-decoration: underline;
}

#procedimiento h4{
    color: #ffae00;
    text-decoration: underline;
}

#procedimiento h5{
    color: red;
    text-decoration: underline;

}



.text h4{
    font-weight: normal;
    font-family: "Roboto", sans-serif;
    display: flex;
    text-align: center;
    align-items: center;
}

.text h4 li a{
    color: #000;
    font-size: 0.9rem;
    background-color: inherit;
    font-weight: 300;
    margin-left: 0.5rem;
    text-decoration: none;
}

.text h4 li a:hover{
    text-decoration: underline;
}

.text h4 li {
    list-style: none;
    gap: 10px;
    padding: 0;
}

.text h4 li i{
    margin-right: -6px;
    font-size: 1.5rem;
    color: #206c3f;
}



/* Contenedor de la pantalla de carga */
#pantalla-carga {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0; /* Inicialmente invisible */
    transition: opacity 0.5s ease-in-out; /* Suaviza la transición */
}

/* Muestra el contenedor */
#pantalla-carga.mostrar {
    opacity: 1; /* Visible cuando se agrega la clase */
}

/* Contenedor de los puntos */
.puntos {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos para los puntos */
.punto {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    background-color: #5eac24;
    transform: rotate(0deg) translate(50px); /* Asegura la posición inicial */
    animation: girar 2s linear infinite;
}

.punto:nth-child(1) {
    background-color: #5eac24;
    animation-delay: 0s;
}

.punto:nth-child(2) {
    background-color: #0056b3;
    animation-delay: 0.2s;
}

.punto:nth-child(3) {
    background-color: #5eac24;
    animation-delay: 0.4s;
}

.punto:nth-child(4) {
    background-color: #0056b3;
    animation-delay: 0.6s;
}

.punto:nth-child(5) {
    background-color: #5eac24;
    animation-delay: 0.8s;
}

.punto:nth-child(6) {
    background-color: #0056b3;
    animation-delay: 1s;
}

/* Animación giratoria */
@keyframes girar {
    0% {
        transform: rotate(0deg) translate(50px) rotate(0deg);
    }
    50% {
        transform: rotate(180deg) translate(50px) rotate(-180deg);
    }
    100% {
        transform: rotate(360deg) translate(50px) rotate(-360deg);
    }
}

/* Animación para suavizar la aparición/desaparición del contenido */
#contenido {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


#contenido2 {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


.logo-de-compra{
    position: absolute;
    top: -4rem;
    width: 15rem;
}

.whatsapp-container {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #1c5333;
}

.whatsapp-container a {
    color: #1c5333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.whatsapp-container a:hover{
    text-decoration: underline;
}

.whatsapp-icon {
    font-size: 24px;  /* Tamaño del icono */
    margin-right: 7px;  /* Espacio entre el icono y el texto */
}

