body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('image/fondo-bocha.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinear contenido a la izquierda */
    justify-content: flex-end; /* Mover contenido hacia abajo */
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
}

#redes-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
    top: 40%;
    margin-left: 10px;
}

.redes-sociales img {
    width: 40px;
    margin: 0 5px; /* Reducir el margen para un espaciado más ajustado */
}
.contenedor-p-element{
    text-align: left;
    margin-left: 4rem;
    margin-bottom: 1rem;
}
.p-element{
    letter-spacing: 15px;
    margin: 0;
}

.whatsapp-float {
    position: fixed;
    right: 20px; /* Distancia desde el borde derecho de la pantalla */
    top: 50%; /* Centra verticalmente el botón */
    transform: translateY(-50%); /* Ajusta la posición para que quede centrado completamente */
    width: 60px; /* Ajusta el tamaño del icono si es necesario */
    height: 60px;
    z-index: 9999; /* Asegura que el botón esté encima de otros elementos */
    cursor: pointer;
}

.whatsapp-float img {
    width: 100%;
    height: auto;
}

.logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

.logo img {
    max-width: 80%;
    height: auto;
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    #logo {
        width: 80%;
        margin-top: 40vh;
    }

    .footer {
     text-align: center;
    }
    
    #redes-container {
        justify-content: center;
    }

    .whatsapp-float {
        right: 30px;
        top: 50%; /* Cambia de bottom a top para mantenerlo centrado verticalmente */
        transform: translateY(-50%); /* Aplica el transform para centrarlo correctamente */
        width: 50px;
        height: 50px;
    }   

    .logo img {
        max-width: 80%;
        margin-bottom: 20%;
    }
    .contenedor-p-element{
        margin: 0 !important;
        text-align: center;
        align-self: center;
    }
}