* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0
}

body {
    background-image: url("../assets/img/fondo.png");
    background-size: cover;
    position: relative;
    width: 100%;
}

.site-content {
    flex: 1;
    padding-top: 20px;
}

.site-content h4 {
    text-align: center;
    color: #065da6;
    margin-bottom: 20px;
    font-size: clamp(1.1rem, 1.2rem + 1vw, 1.8rem);
}

.lucky_gum {
    display: flex;
    justify-content: center;
}

.lucky_gum img {
    max-width: 15vw;
    object-fit: cover;
}

.contenedor-video {
    z-index: 1;
    border-top: 3vh solid transparent;
    border-right: 15vw solid transparent;
    border-bottom: 5vh solid transparent;
    border-left: 15vw solid transparent;
    margin-top: 30px;
}

video {
    width: 100%;
    height: auto;
}

.boton {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}


/* Imagenes en moviles */
.custom-container {
    display: none; 
}

.custom-container img,
.site-content .container img {
    width: 15%; 
    transition: 0.5s;
    padding: 15px;
}

.custom-container img:hover,
.site-content .container img:hover {
    transform: scale(1.3);
}

/* Estilos para pantallas móviles (de 480px a 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .custom-container {
        display: none; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
    }

    input[type="checkbox"]:checked + .custom-container {
        display: grid; 
    }

    .custom-container img {
        width: 30%; 
        max-width: 100%; 
    }

    .site-content .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }

    .site-content .container img {
        width: 100%; 
    }
}

@media (max-width: 480px) {
    .custom-container {
        display: none; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px; 
    }

    input[type="checkbox"]:checked + .custom-container {
        display: grid;
    }

    .custom-container img {
        width: 30%; 
        max-width: 100%;
    }

    .site-content .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .site-content .container img {
        width: 100%; 
    }
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .custom-container,
input[type="checkbox"]:checked + .site-content .container {
    display: block; 
}
.site-content .btn {
    justify-content: center;
    background: #065da6;
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    border: 0;
    padding: 5 10em;
    transition: 0.5s;
}

.site-content .btn:hover {
    background: #ffffff;
    color: #065da6;
}

/* Media query para pantallas de hasta 768px de ancho */
@media (max-width: 768px) {
    .contenedor-video {
        border-top: 10px solid #ffffff;
        border-right: 15px solid #ffffff;
        border-bottom: 10px solid #ffffff;
        border-left: 15px solid #ffffff;
    }

}

/* Media query para pantallas aún más pequeñas, como teléfonos móviles */
@media (max-width: 480px) {
    .contenedor-video {
        border-top: 2px solid #ffffff;
        border-right: 1px solid #ffffff;
        border-bottom: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
    }

    .site-content .container {
        margin: 3vh 2vw;
    }

    .custom-container {
        margin: 3vh 2vw;
    }
}
