@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Sofia&display=swap');
/*Sofia*/
@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Sofia&display=swap');
/*Arsenal*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Sofia", serif; */
    font-family: "Arsenal", serif;
}

body {
    height: 100vh;
    background: conic-gradient(at top right, #0f172a, #1e1a78, #0f172a);
}

.e-card {
    margin: 20px auto;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
    position: relative;
    max-width: 440px;
    height: 530px;
    border-radius: 16px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 540px;
    height: 700px;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: -50%;
    margin-top: -70%;
    background: linear-gradient(744deg, #af40ff, #5b42f3 60%, #00ddeb);
}

.icon {
    width: 3em;
    margin-top: -1em;
    padding-bottom: 1em;
}

.infotop {
    text-align: center;
    font-size: 20px;
    position: absolute;
    top: 5.6em;
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.name {
    font-size: 14px;
    font-weight: 100;
    position: relative;
    top: 1em;
    text-transform: lowercase;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave {
    border-radius: 40%;
    animation: wave 3000ms infinite linear;
}

.wave {
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 4000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 5000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* separacion  */
.container {
    /* background: linear-gradient(#6051e0, #ad79b9); */
    padding-top: 20px;
}

.container .img {
    width: 140px;
    position: absolute;
    top: -60px;
    right: -90px;
    z-index: -1;

}

header {
    background-color: #6b5ae4;
    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;
}

header h1 {
    margin: 5px;
}


.inicio input {
    display: block;
    width: 200px;
    font-size: 16px;
    padding: 10px;
    border-radius: 50px;
    border: 0;
    text-align: center;
    margin: auto;
}

.btn {
    background-color: #66499e;
    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: #3f40ae;
    border-radius: 50%;
    border: 2px solid #ffe43a;
    z-index: 2;
}

.puntaje .puntos {
    background-color: #3f40ae;
    width: 90px;
    padding: 5px;
    border-radius: 0 30px 30px 0;
    margin-left: -5px;
    z-index: 0;
    font-size: 16px;

}

.jugador .nombre {
    background-color: #3f40ae;
    width: 90px;
    padding: 5px;
    border-radius: 30px 0px 0px 30px;
    margin-right: -5px;
    font-size: 16px;
}


/* PANTALLA DE PREGUNTAS */
.juego {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.icon2 {
    width: 3em;
    /* margin-top: -7em; */
    /* padding-bottom: 1em; */
    margin-bottom: 0;
}

.infotop2 {
    text-align: center;
    font-size: 20px;
    position: absolute;
    /* top: 5em; */
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.juego .pregunta {
    margin: 0;
    font-size: 20px;
}

.juego .opcion {
    display: block;
    width: 90%;
    margin: auto;
    border: 0;
    font-size: 16px;
    margin-bottom: 10px;
    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);
}

#siguiente {
    color: white;
    transition: 0.3s;
}

#siguiente:hover {
    color: rgb(59, 56, 56);
}
.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: 100px;
    margin: 20px auto;
}

.final .medalla .nombre {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.final img {
    display: block;
    width: 100px;
    margin: auto;
}

.final .puntaje-final {
    font-size: 50px;
    color: #fff;
    margin: 10px 0;
    display: inline-block;
}

.categorias {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.btn-leccion {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.categoria {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}

.categoria:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

h3 {
    font-size: 18px;
    /* margin: 10px 0; */
}


