@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');


* {
    padding: 0;
    margin: 0;
    font-family: "Varela Round", sans-serif;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

body {
    background-image: url('/recursos/vector/ui/watercolor-4116932.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

#app {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#premios-actuales:hover {
    background-color: #fb9d31;
}

#premios-actuales {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 5;
    background-color: #fbc531;
}

#mensaje {
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(15, 15, 15, 0.9) 0.1%, rgba(15, 15, 15, 0.9) 90.1%);
    z-index: 99;
    text-transform: uppercase;
    letter-spacing: 2rem;
    font-size: 24rem;
    color: #113053;
    font-weight: 700;
}

#mensaje>span {
    animation: respuesta 1s linear;
}

@keyframes respuesta {
    0% {
        opacity: 1;
    }

    15% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    70%,
    100% {
        opacity: 1;
    }
}

#cargando {
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(97, 186, 255, 1) 0%, rgba(166, 239, 253, 1) 90.1%);
    z-index: 99;
    text-transform: uppercase;
    letter-spacing: 2rem;
    font-size: 6rem;
    font-weight: bolder;
    color: #12192c;
    font-weight: 700;
}

#premio {
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(174.2deg, rgba(255, 244, 228, 1) 7.1%, rgba(240, 246, 238, 1) 67.4%);
    z-index: 99;
    text-transform: uppercase;
    letter-spacing: .5rem;
    font-size: 4rem;
    font-weight: bolder;
    color: #12192c;
}

.text-center {
    text-align: center;
}

#cargando img {
    height: 32rem;
    width: auto;
}

.lista-trofeos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 2rem;
    letter-spacing: 0;
    margin: 3rem 0;
}

.lista-trofeos .premio {
    height: 8rem;
    width: 8rem;
}

.trofeo-obtenido {
    padding: 2rem;
}

.trofeo-obtenido h6 {
    margin-bottom: 0;
}

.trofeo-obtenido span {
    font-size: 14px;
}

.premio {
    height: 18rem;
    width: 18rem;
    object-fit: contain;
    animation: premio 2s linear infinite;
}

@keyframes premio {
    0% {
        transform: rotateY(0deg);
    }

    40%,
    60% {
        transform: rotateY(180deg);
    }
}


#cargando.mostrar,
#premio.mostrar {
    display: flex;
}

.boton {
    height: 6rem;
    width: 6rem;
    border-radius: 100%;
    border: none;
    cursor: pointer;
    font-size: 3rem;
    color: #fff;
}

.btn-1 {
    background-color: #3742fa;
}

.btn-2 {
    background-color: #2ed573;
}


#start {
    padding: 3rem 6rem;
    font-size: 4rem;
    border-radius: 48px;
    text-transform: uppercase;
    font-weight: 700;
    background-color: #4cd137;
    color: #fff;
    border: none;
    transition: all 120ms linear;
}

@media (max-width:768px) {
    #start {
        padding: 2rem 2rem;
        font-size: 2rem;
    }
}


#start:hover {
    cursor: pointer;
    scale: 1.05;
}

.titulo-niveles {
    font-size: 8rem;
    text-align: center;
    text-shadow: -10px 10px 15px #fff;
}

@media (max-width:768px) {
    .titulo-niveles {
        font-size: 5rem;
    }
}

#niveles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

#niveles>.casilla {
    margin: 1rem;
    width: 9rem;
    height: 12rem;
    border-radius: 8px;
    background-color: #3674cb;
    display: grid;
    justify-content: center;
    text-align: center;
    transition: all 120ms linear
}

#niveles>.casilla:hover {
    cursor: pointer;
    transform: rotate(5deg);
}

#niveles>.casilla>.estrellas {
    display: flex;
    align-items: center;
    justify-content: center;
}

#niveles>.casilla>.estrellas>img {
    height: 1.5rem;
    width: 1.5rem;
}

.inhabil {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .2;
    filter: grayscale(100%);
}

#niveles>.casilla>.estrellas>img:not(.puntuacion) {
    opacity: .4;
}

#niveles>.casilla>.estrellas>img:not(:last-of-type) {
    margin-right: 10px;
}

#niveles>.casilla>.numero {
    color: #fff;
    font-size: 6rem;
}

#desafio>.texto-pregunta {
    font-weight: bolder;
    text-shadow: -10px 10px 15px #fff;
    margin-top: 15rem;
}

.pregunta {
    color: #000;
    font-size: 8rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width:768px) {
    .pregunta {
        font-size: 4rem;
    }
}

.respuestas {
    margin-top: 4rem;
    width: 100%;
    color: #000;
    font-size: 6rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media (max-width:768px) {
    .respuestas {
        margin-top: 5rem;
        font-size: 4rem;
    }
}

.respuestas>div {
    margin-inline: 2rem;
    position: relative;
}

@media (max-width:768px) {
    .respuestas>div {
        margin-bottom: 10px;
    }
}

.respuestas>div {
    background-color: #1c3338;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 120ms linear;
    overflow: hidden;
}

.respuestas>div::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 12px;
    width: 100%;
    background-color: #46e810;
}

.respuestas>div:hover {
    cursor: pointer;
    transform: translateY(-20px);
    background-color: #46e810;
}

.respuestas>div.respuestaIncorrecta {
    display: none;
}


.respuestas>.fraccionado>.fraccion,
.respuestas>.fraccionado>.operador {
    font-size: 6rem;
    color: #fff;
}

@media(max-width:768px) {

    .respuestas>.fraccionado>.fraccion,
    .respuestas>.fraccionado>.operador {
        font-size: 4rem;
        color: #fff;
    }
}


.respuestas>.fraccionado>.fraccion>.linea-divisora {
    background: #fff;
    height: .5rem;
}

.fraccionado {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
}

.fraccionado>.fraccion>.linea-divisora {
    background: #000;
    width: 100%;
    height: 1rem;
}

.fraccionado>.fraccion,
.fraccionado>.operador {
    color: #000;
    font-size: 10rem;
    text-align: center;
}

@media(max-width:768px) {

    .fraccionado>.fraccion,
    .fraccionado>.operador {
        color: #000;
        font-size: 4rem;
        text-align: center;
    }
}

.fraccionado>.operador {
    padding: 1rem 4rem !important;
}

#tiempo {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 24px;
    background-color: rgb(214, 214, 214);
    display: grid;
}

#barra {
    position: absolute;
    z-index: 2;
    background-color: greenyellow;
    height: 100%;
    width: 100%;
}

#puntaje {
    position: absolute;
    z-index: 3;
    height: 100%;
    display: grid;
    width: 100%;
    grid-template-columns: 20% 30% 50%;
}

#puntaje>.estrellas {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#puntaje>.estrellas:nth-child(2) {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

#puntaje>.estrellas>img {
    height: .75rem;
    width: .75rem;
    object-fit: contain;
    margin: 0 .25rem;
    filter: drop-shadow(0px 0px 1px #000);
}

#consejo {
    text-align: center;
    color: #fff;
    font-size: 3rem;
    background-color: #000a;
    padding: 1rem 2rem;
    border-radius: 8px;
}

@media (max-width:768px) {
    #consejo {
        text-align: center;
        color: #fff;
        font-size: 1.5rem;
        background-color: #000a;
        padding: 1rem 1rem;
        margin: 0 10px 0 10px;

    }
}

#estrellas-actuales {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: bold;
    width: 18rem;
}

#segundos {
    position: fixed;
    top: 7rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: bold;
    width: 18rem;
}

.boton-volver {
    position: fixed;
    bottom: 3rem;
    right: 2rem;
}