*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#0f1720;

    background-image:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
                     url("../assets/juego/fondo-menu.jpg");

    background-size:cover;

    background-position:center;

}

.menu{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.panel{

    width:500px;

    background:rgba(12,25,45,.92);

    border:3px solid #ff8c00;

    border-radius:15px;

    padding:40px;

    text-align:center;

    box-shadow:0 0 35px rgba(0,0,0,.5);

}

.panel h1{

    color:#ff8c00;

    font-size:42px;

    margin-bottom:10px;

}

.panel h2{

    color:white;

    font-size:20px;

    font-weight:normal;

    margin-bottom:35px;

}

.panel button{

    width:100%;

    margin:10px 0;

    padding:16px;

    border:none;

    border-radius:10px;

    background:#0B3D91;

    color:white;

    font-size:20px;

    cursor:pointer;

    transition:.25s;

}

.panel button:hover{

    background:#ff8c00;

    transform:scale(1.03);

}

.panel p{

    margin-top:30px;

    color:#cfcfcf;

    font-size:14px;

}

/*=========================
 NIVEL 1
=========================*/

#hud{

    width:1280px;

    height:60px;

    background:#0B3D91;

    color:white;

    display:flex;

    justify-content:space-around;

    align-items:center;

    font-size:20px;

    font-weight:bold;

}

#mapa{

    width:1280px;

    height:660px;

    position:relative;

    overflow:hidden;

    background:#8bc34a;

    border:5px solid #1d1d1d;

}

/* Suelo temporal */

#mapa::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);

    background-size:40px 40px;

}

#personaje{

    width:40px;

    height:40px;

    background:#ff8c00;

    position:absolute;

    left:80px;

    top:80px;

    border-radius:6px;

    z-index:10;

}

/*=========================
ESCENARIO CONSTRUCCIÓN
=========================*/

#caseta{

    position:absolute;

    left:40px;

    top:40px;

    width:180px;

    height:120px;

    background:#b97a57;

    border:4px solid #5d4037;

}

#materiales{

    position:absolute;

    left:300px;

    top:480px;

    width:180px;

    height:120px;

    background:#d4af37;

}

#andamio{

    position:absolute;

    right:180px;

    top:60px;

    width:120px;

    height:220px;

    background:#9e9e9e;

    border:4px solid #616161;

}

#excavacion{

    position:absolute;

    right:120px;

    bottom:70px;

    width:220px;

    height:140px;

    background:#6d4c41;

    border:5px dashed #ffeb3b;

}

#tablero{

    position:absolute;

    left:520px;

    top:170px;

    width:90px;

    height:110px;

    background:#263238;

    border:3px solid orange;
}

/*==========================
ESCENARIO
==========================*/

#caseta{

    position:absolute;

    left:40px;

    top:40px;

    width:220px;

    height:140px;

    background:#9c6b3f;

    border:4px solid #5a3a1f;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;

}

#materiales{

    position:absolute;

    left:80px;

    bottom:70px;

    width:250px;

    height:120px;

    background:#d7b44c;

    color:#222;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;

}

#andamio{

    position:absolute;

    right:100px;

    top:40px;

    width:120px;

    height:260px;

    background:#9c9c9c;

    border:4px solid #666;

    color:black;

    display:flex;

    justify-content:center;

    align-items:center;

    writing-mode:vertical-rl;

    font-weight:bold;

}

#excavacion{

    position:absolute;

    right:120px;

    bottom:60px;

    width:260px;

    height:150px;

    background:#6b4327;

    border:6px dashed yellow;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;

}

#tablero{

    position:absolute;

    left:540px;

    top:200px;

    width:90px;

    height:120px;

    background:#1d1d1d;

    border:4px solid orange;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    font-size:12px;

}