:root{
    --white: rgb(247, 247, 247);
    --azul: #81d0d7;
    --cinza: #4c474d;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
    background-color: var(--cinza);
}

header{
    text-align: center;
    padding: 10px 0;
    background-color: var(--azul);
    color: aliceblue;
}

header h1{
    padding-bottom: 5px;
}

main #game{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}
section#placar{
    width: 100%;
    margin: 10px 0;
    display: flex;
    flex-direction:row;
    justify-content: space-around;
    align-items: center;
}

main section div.enemy,
main section div.player{
    display: flex;
    justify-content: space-around;
    align-items: center;

    padding: 0 30px;
    color: aliceblue;
    border-left: 3px solid var(--azul);
    border-right: 3px solid var(--azul);
}

main section div.enemy span{
    padding-left: 30px;
    font-size: 20px;
}
main section div.player span{
    padding-right: 30px;
    font-size: 20px;
}

main section div.x h2{
    color: var(--white);
    font-size: 15px;
}

main .player-container,
main .enemy-container{
    width: 50%;
    height: 100%;
    margin-top: 10px;
}
main .player-container img,
main .enemy-container img{
    width: 120px;
    margin: 15px 0 ;  
    opacity: 0.4;
}

main .player-container img{
    cursor: pointer;
}

#modal{
    position: absolute;
    z-index: 9999;

    width: 100%;
    height: 100vh;
    background-color: #38383893;
    
    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--white);

    visibility: hidden;
    transform: translate(0.5s)
}

#modal h2{
    font-size: 60px;
}

#modal.active{
    visibility: visible;
}


@media screen and (max-width:400px) {
    
    header h1{
        font-size: 18px;
    }

    main section div.enemy,
    main section div.player{
        padding: 0 10px;

    }





}