body{
    font-family: 'ssf4', Courier, monospace;
    background: var(--cor-secondaria);
}
body::before{
    content: '';
    background-image: url('../img/Mortal-Kombat-11.gif');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
}

main{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cabecalho {
    z-index: 1;
    display: flex;
    justify-content: center;
}

.cabecalho .titulo{
    color: var(-cor-secundaria);
    text-transform: uppercase;
    font-size: 52px;
    line-height: 102px;
    -webkit-text-stroke: 2px var(--cor-titulo-forte);
}

.selecao-de-personagens{
    display: flex;
    align-items: center;
    justify-content: center;
}

.selecao-de-personagens .personagem-grande{
    align-items: center;
    width: 30%;
    height: 70vh;
    position: relative;
}

.selecao-de-personagens .personagem-grande img{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}

.selecao-de-personagens .personagem-grande .nome::before{
content: '';
height: 15px;
width: 100%;
position:absolute;
bottom: -5px;
left: 0;
}
.selecao-de-personagens .personagem-grande .nome h2{
color: var(-cor-secundaria);
font-family: 'command', sans-serif;
-webkit-text-stroke: 2px var(--cor-titulo-forte);
position: absolute;
bottom: 0;
width: 100%;
font-size: 27px;
}

.selecao-de-personagens .personagem-grande.personagem-jogador-1 .nome::before{
    background-color: var(--cor-azul-principal);
}

.selecao-de-personagens .personagem-grande.personagem-jogador-2 .nome::before{
    background-color: var( --cor-vermelha-principal);
}

.selecao-de-personagens  .lista-de-personagens{
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    justify-content: center;
    gap: 12px;
}

.selecao-de-personagens  .lista-de-personagens .personagem{
    border: 2px solid var(--cor-padrao);
    background-color: var(--cor-padrao);
    width: 19%;
    height: 100px;
    cursor: pointer;
    z-index: 2;
    border-radius: 5px;
    position: relative;
    transition: 0.15% ease-in-out;
}

.selecao-de-personagens  .lista-de-personagens .personagem img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.selecao-de-personagens  .lista-de-personagens .personagem.selecionado{
    border: 2px solid var(--cor-azul-media);
    animation: c-glowing-blue .3s ease-in-out infinite;
    animation-direction: alternate;
}

.selecao-de-personagens  .lista-de-personagens .personagem:hover{
    animation: c-glowing-blue .3s ease-in-out infinite;
    animation-direction:alternate;
    transform: scale(1.07);
    z-index: 2;
}

.selecao-de-personagens  .lista-de-personagens .personagem.jogador-2-selecionado{
    border: 2px solid var(--cor-vermelha-fraca);
    animation: c-glowing-red .3s ease-in-out infinite;
    animation-direction: alternate;
}

.selecao-de-personagens  .lista-de-personagens .personagem.jogador-2-selecionado:hover{
    animation: c-glowing-red .3s ease-in-out infinite;
    animation-direction: alternate;
}

.selecao-de-personagens .lista-de-personagens .personagem .tag{
/* display: none; */
font-family: 'Times New Roman', Times, serif;
position: absolute;
top: 5px;
left: 5px;
color: var(--cor-azul-media);
transition: opacity .3 ease-in-out;
animation: alternate;
animation: text-glowing-blue .3s ease-in-out infinite;
animation-direction: alternate;
} 
.selecao-de-personagens .lista-de-personagens .personagem.selecionado .tag{
    display: block;
    animation: text-glowing-blue .3s ease-in-out infinite;
    animation-direction: alternate;
}
.selecao-de-personagens .lista-de-personagens .personagem.jogador-2-selecionado .tag{
    display: block;
    animation: text-glowing-red .3s ease-in-out infinite;
    animation-direction: alternate;
}

.personagem-grande.personagem-jogador-1 img{
    width: 400px;
    height: 600px;
    margin-top: -1%;
}
.personagem-grande.personagem-jogador-2 img{
    width: 400px;
    height: 600px;
}