/* Reset básico */
body {
    font-family: Arial, sans-serif;
    background: #8b8b96;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Contenedor principal */
.container {
    max-width: 800px;
    margin: 10px auto;
    background: rgb(210, 213, 186);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Títulos */
h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    color: #555;
}

/* Contenedor de modos */
.modes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Estilo de cada modo */
.mode {
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Títulos de cada modo */
.mode h2 {
    font-size: 1.5rem;
}

/* Botones */
.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
    font-weight: bold;
    color: white;
}

/* Colores diferenciados */
.random {
    background: #f44336;
}
.random:hover {
    background: #c62828;
}

.minimax {
    background: #2196f3;
}
.minimax:hover {
    background: #1976d2;
}

.qlearning {
    background: #4caf50;
}
.qlearning:hover {
    background: #2e7d32;
}

/* Diseño responsivo */
@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}