.whatsapp-container {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Cambiado a la izquierda */
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: #25d366; /* Color de fondo verde de WhatsApp */
    padding: 10px 20px;
    border-radius: 30px; /* Bordes redondeados para el contenedor */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para el contenedor */
    transition: transform 0.3s ease;
}

.whatsapp-container a {
    display: flex;
    align-items: center;
    text-decoration: none; /* Elimina el subrayado del enlace */
    color: white; /* Color del texto en blanco */
}

.whatsapp-container img {
    width: 40px;
    height: 40px;
    margin-right: 10px; /* Espacio entre el ícono y el texto */
}

.whatsapp-container span {
    font-size: 16px;
    font-weight: bold;
}

.whatsapp-container:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse sobre todo el contenedor */
}
/* Estilos generales del contenedor y el pop-up */
.popup-container {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden; /* Inicialmente oculto */
}

/* Estilos del pop-up */
.popup {
    width: 50%;
    background-color: rgba(255, 255, 255, 0.8); /* Pop-up más transparente */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

/* Estilos del título */
.popup h1 {
    font-size: 44px;
    margin-bottom: 20px;
}

/* Estilos de la imagen */
.popup img {
    width: 70%;
    height: auto;
    margin-bottom: 20px;
}

/* Estilos del texto */
.popup p {
    font-size: 30px;
    line-height: 1.5;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: black;
}

/* Botón de cerrar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: red;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.info-btn {
    top: 10px;
    right: 15px;
    background-color: blue;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* Mostrar el pop-up */
.popup-container.show {
    visibility: visible;
}

/* Contenedor del contador */
.counter-container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo del título */
.counter h1 {
    font-size: 24px;
    color: #333;
}

/* Estilo del número del contador */
.counter {
    font-size: 48px;
    color: #ff5733;
    margin: 20px 0;
}

/* Media queries para pantallas más pequeñas */
@media screen and (max-width: 1200px) {
    .popup {
        width: 60%; /* Se ajusta el ancho en pantallas grandes */
        padding: 25px;
    }

    .popup h1 {
        font-size: 38px;
    }

    .popup p {
        font-size: 26px;
    }

    .popup img {
        width: 80%;
    }
}

@media screen and (max-width: 992px) {
    .popup {
        width: 70%; /* Se ajusta el ancho en pantallas medianas */
        padding: 20px;
    }

    .popup h1 {
        font-size: 36px;
    }

    .popup p {
        font-size: 24px;
    }

    .popup img {
        width: 85%;
    }
}

@media screen and (max-width: 768px) {
    .popup {
        width: 80%; /* Se ajusta el ancho en tablets y pantallas más pequeñas */
        padding: 20px;
    }

    .popup h1 {
        font-size: 32px; /* Reducir el tamaño del título */
    }

    .popup p {
        font-size: 24px; /* Reducir el tamaño del texto */
    }

    .popup img {
        width: 90%; /* Hacer la imagen más pequeña */
    }
}

@media screen and (max-width: 576px) {
    .popup {
        width: 90%; /* Aún más pequeño para dispositivos móviles */
        padding: 15px;
    }

    .popup h1 {
        font-size: 28px;
    }

    .popup p {
        font-size: 20px;
    }

    .popup img {
        width: 100%;
    }

    .close-btn, .info-btn {
        font-size: 12px; /* Reducir el tamaño de los botones en pantallas pequeñas */
        padding: 6px 10px;
    }
}

@media screen and (max-width: 400px) {
    .popup {
        width: 95%; /* Para pantallas muy pequeñas */
        padding: 10px;
    }

    .popup h1 {
        font-size: 24px;
    }

    .popup p {
        font-size: 18px;
    }

    .popup img {
        width: 100%;
    }
}
