@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@100;200;300;400;500;600;700;800&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed';
}
body{
    height: 100vh;
    background: rgb(179,179,179);
    background: linear-gradient(0deg, rgba(179,179,179,1) 0%, rgba(255,255,255,1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}


/********************* MENÚ - BOTONERA ******************/

nav{
    display:grid;
    grid-template-columns: 1fr auto;
     align-items: center;
     background: #ed1c24;
     font-family: sans-serif;
     position:fixed;
     top:0;
     width:100%;
     }
 
 nav .logo{
     font-size: 24px;
     font-weight:black;
     }
 
 nav .barnav{
     display:grid;
     grid-template-columns: repeat(4,auto);
     margin-right: 30px;
     }
 
 nav .barnav div{
     padding: 10px 20px;
     }
 
 nav .barnav div:hover{
     cursor: pointer;
     background:#c41218;
     }


/********************* TERMINA MENÚ - BOTONERA ******************/


/********************* CRÉDITOS ******************/
footer {
    color: white;
    height: 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer h6{
    font-size: 0.8em;
    padding-bottom: 7px;
    color: #000000 !important;
    text-align: center;
}

footer p{
    font-size: 0.8em;
    padding-bottom: 7px;
    color: #000000 !important;
    text-align: center;
}

/********************* TERMINA CRÉDITOS ******************/









.container{
    width: 500px;
    background: rgb(120,14,18);
    background: linear-gradient(0deg, rgba(120,14,18,1) 0%, rgba(237,28,36,1) 100%);
    height: 80%;
    padding: 20px;
    position: relative;
}
.container .img{
    width: 140px;
    position: absolute;
    top: -60px;
    right: -90px;
    z-index: -1;

}
header{
    background-color: #2a2929;
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 3px 3px 5px #2a2929;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inicio{
    text-align: center;
    padding-top: 80px;
    color: #fff;
    font-size: 20px;
}
.inicio input{
    display: block;
    width: 200px;
    margin: 10px auto;
    font-size: 16px;
    padding: 10px;
    border-radius: 50px;
    border: 0;
    text-align: center;
    margin-top: 30px;
}
.btn{
    background-color: #ed1c24;
    color: #fff;
    border: 0;
    padding: 10px;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    transition: .3s;
}
.btn:hover{
    background-color: #2a2929;
}

.puntaje, .jugador{
    display: flex;
    align-items: center;
}
.puntaje img, .jugador img{
    width: 40px;
    background-color: #ed1c24;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 2;
}
.puntaje .puntos{
    background-color: #ed1c24;
    width: 90px;
    padding: 5px;
    border-radius: 0 30px 30px 0;
    margin-left: -5px;
    z-index: 0;
    font-size: 16px;

}

.jugador .nombre{
    background-color: #ed1c24;
    width: 90px;
    padding: 5px;
    border-radius: 30px 0px 0px 30px;
    margin-right: -5px;
    font-size: 16px;
}
/* SECCION MENU DEL JUEGO */
.menu{
    margin-top: 30px;
    color: #fff;
    text-align: center;
}

.menu strong{
    margin-top: 30px;
    color: #ffe43a;
    text-align: center;
}

.categorias{
    margin-top: 50px;
    display: grid;
    grid-template-columns: 170px;
    gap:40px;
    justify-content: space-evenly;

}
.categoria{
    background-color: #2a2929;
    width: 170px;
    height: 90px;
    border-radius: 15px;
    color: #fff;
    position: relative;
    display: flex;
    align-items: end;
    padding: 20px;
    justify-content: center;
    cursor: pointer;
    

}
.categoria .foto-categoria{
    width: 80px;
    position: absolute;
    left: 50%;
    top: -35px;
    transform: translateX(-50%);
    transition: .3s;
}
.categoria:hover{
    box-shadow: 0px 0px 15px #ffe43a;
}
.categoria:hover .foto-categoria{
    scale: 1.2;
}

/* PANTALLA DE PREGUNTAS */
.juego{
    color: #fff;
    margin-top: 30px;
    text-align: center;
}
.juego .pregunta{
    margin: 10px 0 30px 0;
    font-size: 20px;
}
.juego .opcion{
    display: block;
    width: 90%;
    margin: auto;
    border: 0;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
}
.correcta{
    background-color: rgba(56, 255, 202,1);
}
.incorrecta{
    background-color: rgba(255, 56, 56, 1);
}
.no-events{
    pointer-events: none;
}

.efecto{
    animation: 1s zoom;
    
}
@keyframes zoom {
    0%{
        transform: scale(1);
        color: #fff;
        font-weight: bold;
    }
    40%{
        transform: scale(1.3);
        color: #ffe43a;
    }
    60%{
        transform: scale(1.3);
        color: #ffe43a;
    }  
    100%{
        transform: scale(1);
        color: #fff;
        font-weight: normal;
    }
}

.desabilitada{
    filter: grayscale(.9) opacity(.7);
}

/* SECCION FINAL */
.final{
    margin-top: 30px;
    text-align: center;
    color: #fff;
}
.final .medalla{
    position: relative;
    width: 0px;
}
.final .medalla .nombre{
    width: 0px;
    color: transparent;
}
.final img{
    display: block;
    width: 100px;
    margin: auto;
}
.final .puntaje-final{
    font-size: 40px;
    color: #fff;
    margin: 5px 0;
    display: inline-block;
}
.final h2{
    font-size: 0px;
    color: #fff;
    margin: 5px 0;
    display: inline-block;
}

.final strong{
    color: yellow;
}
