/* General */
html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url('../imagestmp/HOME.png'); /* Desktop y Tablets */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* Redes sociales */
.social-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.small-logo {
    width: 30px;
    height: 30px;
    transition: opacity 0.3s;
}

.small-logo:hover {
    opacity: 0.7;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.logo-image {
    max-width: 250px;
    height: auto;
}

/* Botones */
.blockbuttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    margin-top: 90px;
}

.button-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.button-container button {
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.button-container button:hover {
    transform: scale(1.1);
}

.button-container img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Descarga de la app */
.app-download {
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 20px;
    border-radius: 10px;
    z-index: 10;
}

.app-download p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.app-icons {
    display: flex;
    gap: 15px;
}

.app-icon {
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.app-icon:hover {
    transform: scale(1.1);
}

/* ✅ Ajustes para dispositivos móviles */
@media (max-width: 768px) {

    /* ✅ Cambiar la imagen SOLO en móviles */
    html, body {
        background-image: url('../imagestmp/fondo.gif'); /* Imagen de celulares */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .social-container {
        top: 5px;
        right: 5px;
    }

    .small-logo {
        width: 25px;
        height: 25px;
    }

    .logo-container {
        margin-top: 20px;
    }

    .logo-image {
        max-width: 200px;
    }

    .blockbuttons {
        margin-top: 100px;
        padding: 10px;
    }

    .button-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .button-container img {
        max-width: 150px;
    }

    .app-download {
        padding: 10px;
        top: 70%;
    }

    .app-download p {
        font-size: 1em;
    }

    .app-icon {
        width: 100px;
    }
}

/* Descarga de la app */
.app-download {
    position: absolute;
    top: 70%; /* Ajusta este valor para moverlo verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta para centrar correctamente */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 20px;
    border-radius: 10px;
    z-index: 10; /* Asegura que esté visible sobre otros elementos */
}

.app-download p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.app-icons {
    display: flex;
    gap: 15px;
}

.app-icon {
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.app-icon:hover {
    transform: scale(1.1);
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .app-download {
        padding: 10px;
        top: 85%; /* Ajusta este valor si es necesario para móviles */
    }

    .app-download p {
        font-size: 1em;
    }

    .app-icon {
        width: 100px;
    }
}
