body {
    font-family: 'Arial', sans-serif;
    background-image: url('fondo.png');
    background-size: 100% auto;
    background-position: top center;
	background-repeat: repeat-y;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

.titulo-juego {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5em;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 20px;
	animation: titilando 1.5s infinite;
}
.titulo-digital {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: deepskyblue;
    text-align: center;
    margin-bottom: 20px;
	animation: titilando 1.5s infinite;
}

.contenedor-juegos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.juego {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.juego img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.juego button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.juego button:hover {
    background-color: #0056b3;
}

.numero-cuadrado {
    width: 55px;
    height: 40px;
    border-radius: 10px; /* bordes redondeados */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right, #FF0080, #C71585, #8A2BE2); /* gradiente de fucsia a púrpura a azul */
    color: white; /* color del texto */
    font-weight: bold; /* negrita para el texto */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* sombra para dar profundidad */
    transition: transform 0.3s; /* transición suave para el efecto de hover */
}

.categoria {
    width: 90px;
    height: 40px;
    border-radius: 10px; /* bordes redondeados */
    display: flex;
    justify-content: center;
    align-items: center;
background-image: linear-gradient(to right, #34e89e, #0f3443, #2c3e50); /* gradiente de verde turquesa a azul marino a azul oscuro */
    color: white; /* color del texto */
    font-weight: bold; /* negrita para el texto */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* sombra para dar profundidad */
    transition: transform 0.3s; /* transición suave para el efecto de hover */
}

.numero-cuadrado:hover {
    transform: scale(1.1); /* efecto de agrandamiento al pasar el mouse */
}

@media (max-width: 768px) {
    .btn {
        padding: .375rem .75rem;
        font-size: .875rem;
    }
}


