#contact-floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #008a97;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    z-index: 5000;
}

#contact-floating-button:hover {
    background-color: #006d75;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #contact-floating-button {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #contact-floating-button {
        bottom: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* boton de inicio */
#back-to-top-button {
    position: fixed;
    bottom: 90px; /* Distancia del botón de contacto */
    right: 20px;
    background-color: #008a97;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    z-index: 1000;
}

#back-to-top-button:hover {
    background-color: #006d75;
    transform: scale(1.1);
}

/* Responsividad */
@media (max-width: 768px) {
    #back-to-top-button {
        bottom: 80px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #back-to-top-button {
        bottom: 70px;
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}





/* Estilos del cuadro emergente */
#contact-info-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: white;
    border: 1px solid #008a97;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    z-index: 1000;
    display: none; /* Oculto por defecto */
    width: 250px;
    font-size: 14px;
    color: #333;
}

/* Botón flotante */
#contact-floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}

#contact-floating-button:hover {
    background-color:white;
    transform: scale(1.2);
}

/* Clase para mostrar el cuadro */
#contact-info-popup.visible {
    display: block;
}
