@font-face {   /* Importando fontes */
    font-family: Determination;
    src: url('../scr/determination.otf')
}

html{   /* Primeiras definições */
    box-sizing: border-box;
    height: 100%;
}

*, *::before, *::after{
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    user-select: none; /* Desativa a seleção de texto do usuário */
}

body {
    align-items: center;
    display: flex;
    height: inherit;
    justify-content: center;
    background: #000;
    text-align: center;
    min-height: 100vh;
}

main {   /* Conteúdo */
    display: inline-block;
    position: relative;
}

footer {
    display: inline-block;
    position: absolute;
    bottom: 5px;
    font-family: Determination;
    font-size: 1em;
    color: white;
}

a, a:visited{   color: #ff8015; }
a:hover{    color: #FFFF00; }

#table-act-text{    /* Área de texto caixa com borda branca */
    border: solid 5px;
    padding: 7%;
    border-color: #fff;
    font-family: Determination;
    color: white;
    font-size: 3em;
    height: auto;
    width: 20em;    
}

/* Para JS, efeito piscante */
.character-text-js{ margin-left: 5px; }

.character-text-js:after{
 content: '|';
 margin-left: 5px;
 opacity: 1;
 animation: pisca .7s infinite;
}

@keyframes pisca{ /* Animação aplicada ao content referente a classe *.titulo-principal* resultando num efeito de cursor piscando. */
    0%, 100%{   opacity: 1; }
    50%{    opacity: 0; }
}

 /* Sans e Papyrus */
.character{   width: 25%; }

.character-text{
    margin: 0 auto; 
    background: white;
    font-family: Determination;
    color: #222222;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    font-size: 1.5em;
    line-height: 1.4em;  
    border-radius: 15px;
    width: 25%;
    height: auto;
    padding: 20px;
    position: absolute;
    bottom: 75%;
    left: 83%;
    transform: translate(-63%, 20%);
    margin-top: 30px;
}
.character-text:after{ /*Triangulo*/
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    /*Faz seta "apontar para baixo. Definir o valor como 'top' fará ela "apontar para cima" */
    /*Aqui entra a cor da "aba" do balão */
    border-right: 40px solid white;
    bottom: 30%; /*localização. Experimente alterar para 'bottom'*/
    left: -13%;
}

.table-menu-img{
    margin: 25px 0 0;
    width: 219px;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-left: 1%;
}

/* Botão menu - bottom */
#fight-img{background-image: url(../img/fight.png);}
#fight-img:hover{background-image: url(../img/fighthover.png);}

#act-img{background-image: url(../img/act.png);}
#act-img:hover{background-image: url(../img/acthover.png);}

#item-img{background-image: url(../img/item.png);}
#item-img:hover{background-image: url(../img/itemhover.png);}

#mercy-img{background-image: url(../img/mercy.png);}
#mercy-img:hover{background-image: url(../img/mercyhover.png);}