*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background-image:url('img/fondo.png');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:white;
}

.overlay{
    background:rgba(0,0,0,0.75);
    min-height:100vh;
    padding:40px 20px;
}

header{
    text-align:center;
    margin-bottom:50px;
}

header h1{
    font-size:80px;
    color:#ffe600;
    text-shadow:4px 4px 10px black;
    margin-bottom:15px;
}

header p{
    font-size:22px;
    margin-bottom:30px;
}

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

.botones a{
    text-decoration:none;
    background:#ff9800;
    color:white;
    padding:15px 30px;
    border-radius:15px;
    font-size:18px;
    font-weight:bold;
    transition:0.3s;
}

.botones a:hover{
    background:#ff5722;
    transform:scale(1.05);
}

section{
    background:rgba(255,255,255,0.1);
    margin:40px auto;
    padding:30px;
    border-radius:20px;
    max-width:1200px;
    backdrop-filter:blur(5px);
}

section h2{
    color:#ffe600;
    margin-bottom:20px;
    font-size:35px;
    text-align:center;
}

section p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:15px;
}

.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:center;
}

.info-grid img{
    width:100%;
    max-width:350px;
    border-radius:20px;
    display:block;
    margin:auto;
}

.controles{
    background:rgba(0,0,0,0.4);
    padding:20px;
    border-radius:20px;
}

.control-item{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:20px;
}

.control-item img{
    width:80px;
}

.cards{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-top:30px;
}

.card{
    background:rgba(0,0,0,0.5);
    padding:20px;
    border-radius:20px;
    text-align:center;
    width:250px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:120px;
    margin-bottom:15px;
}

.nivel-img{
    width:90%;
    max-width:700px;
    border-radius:20px;
    display:block;
    margin:auto;
    margin-top:30px;
}

footer{
    text-align:center;
    padding:30px;
}

@media(max-width:900px){

    .info-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    header h1{
        font-size:50px;
    }

    .control-item{
        justify-content:center;
    }
}

.tecla{
    background:white;
    color:black;
    padding:15px 25px;
    border-radius:12px;
    font-weight:bold;
    font-size:20px;
    box-shadow:0 4px 10px rgba(0,0,0,0.5);
    min-width:70px;
    text-align:center;
}

.teclas-movimiento{
    display:flex;
    gap:10px;
}
img{
    image-rendering: pixelated;
}