/* ===========================
   JOGO BÍBLICO
   Tema Emoções
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{

    background:linear-gradient(-45deg,
    #4A90E2,
    #6C5CE7,
    #00CEC9,
    #FDCB6E);

    background-size:400% 400%;

    animation:fundo 15s ease infinite;

    color:#FFF;

    height:100vh;

    overflow:hidden;

}

@keyframes fundo{

0%{background-position:0% 50%;}
50%{background-position:100% 50%;}
100%{background-position:0% 50%;}

}

.container{

    width:100%;
    height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

}

.categoria{

    font-size:28px;

    background:#ffffff22;

    padding:12px 40px;

    border-radius:50px;

    backdrop-filter:blur(10px);

    margin-bottom:50px;

    font-weight:bold;

    letter-spacing:2px;

}

.letras{

    display:flex;

    gap:15px;

    margin-bottom:50px;

}

.letra{

    width:80px;

    height:90px;

    background:white;

    border-radius:15px;

    color:#222;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:52px;

    font-weight:bold;

    box-shadow:0 10px 20px rgba(0,0,0,.3);

    transition:.4s;

}

.vazia{

    color:transparent;

}

.revelada{

    animation:revela .6s;

}

@keyframes revela{

0%{

transform:scale(.2) rotateY(0deg);

opacity:0;

}

60%{

transform:scale(1.2) rotateY(180deg);

}

100%{

transform:scale(1);

opacity:1;

}

}

.usadas{

    margin-top:20px;

    font-size:26px;

    letter-spacing:10px;

}

.erro{

    position:fixed;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:220px;

    color:#ff0000;

    font-weight:bold;

    opacity:0;

    pointer-events:none;

    transition:.3s;

    text-shadow:0 0 40px red;

}

.erro.show{

    opacity:1;

    animation:treme .5s;

}

@keyframes treme{

0%{transform:scale(1);}
25%{transform:scale(1.2);}
50%{transform:scale(.9);}
75%{transform:scale(1.15);}
100%{transform:scale(1);}

}

.placar{

    position:absolute;

    bottom:40px;

    display:flex;

    gap:80px;

    font-size:30px;

    font-weight:bold;

}

.time{

    background:#ffffff22;

    padding:20px 40px;

    border-radius:20px;

}

.cronometro{

    position:absolute;

    top:30px;

    right:40px;

    font-size:42px;

    font-weight:bold;

}

.vitoria{

    position:fixed;

    inset:0;

    background:#00000099;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:90px;

    color:#FFD700;

    font-weight:bold;

    opacity:0;

    pointer-events:none;

    transition:.5s;

}

.vitoria.show{

    opacity:1;

}

.confete{

    position:fixed;

    width:15px;

    height:15px;

    border-radius:50%;

    animation:cair 4s linear forwards;

}

@keyframes cair{

0%{

transform:translateY(-100px);

}

100%{

transform:translateY(120vh) rotate(720deg);

}

}