*{
    margin:0px;
    padding:0px;
    box-sizing: border-box;
}
section{
    height: 100vh;
    background: rgb(39, 49, 68);
    font-family: sans-serif;
}
.score{
    height: 20vh;
    color: rgb(224, 224, 224);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.score h2{
    font-size: 30px;
}
.score p{
    text-align: center;
    padding: 10px;
    font-size: 25px;
    transition: opacity 0.5s ease 0.5s;
}
.intro{
    height: 50vh;
    color: rgb(224, 224, 224);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: opacity 0.5s ease;    
}
.intro h1{
    font-size: 50px;
}
.intro button, .match button{
    color: rgb(224, 224, 224);
    width: 150px;
    height: 50px;
    border: none;
    font-size: 20px;
    background-color: rgb(45, 117, 96);
    border-radius: 3px;
    cursor: pointer;
}
.match{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease 0.5s;
}
.winner{
    color: rgb(224, 224, 224);
    text-align: center;
    font-size: 50px; 
    min-height: 57px;   
}
.hands,
.options{
    display: flex;
    justify-content: space-around;
    align-items: center;    
}
.hands {
    margin: 25px;
}
.intro button:hover{
    color:rgb(45, 117, 96);
    background-color: rgb(224, 224, 224);
    font-weight: 600;
}
.options button:hover{
    color:rgb(45, 117, 96);
    background-color: rgb(224, 224, 224);
    font-weight: 600;
}
.player-hand{
    transform: rotateY(180deg);
}
div.fadeOut,
p.fadeOut {
    opacity: 0;
    pointer-events: none;
}
div.fadeIn,
p.fadeIn {
    opacity: 1;
    pointer-events: all;
}
p.restartFadeIn {
    transition: all 0.5s ease;
}
@keyframes shakePlayer {
     0% {
        transform: rotateY(180deg) translateY(0px);
     }
     15% {
        transform: rotateY(180deg) translateY(-50px);
     }
     25% {
        transform: rotateY(180deg) translateY(0px);
     }
     35% {
        transform: rotateY(180deg) translateY(-50px);
     }
     50% {
        transform: rotateY(180deg) translateY(0px);
     }
     65% {
        transform: rotateY(180deg) translateY(-50px);
     }
     75% {
        transform: rotateY(180deg) translateY(0px);
     }
     85% {
        transform: rotateY(180deg) translateY(-50px);
     }
     100% {
        transform: rotateY(180deg) translateY(0px);
     }     
}
@keyframes shakeComputer {
    0% {
       transform: translateY(0px);
    }
    15% {
       transform: translateY(-50px);
    }
    25% {
       transform: translateY(0px);
    }
    35% {
       transform: translateY(-50px);
    }
    50% {
       transform: translateY(0px);
    }
    65% {
       transform: translateY(-50px);
    }
    75% {
       transform: translateY(0px);
    }
    85% {
       transform: translateY(-50px);
    }
    100% {
       transform: translateY(0px);
    }     
}
@media screen and (max-width: 896px) {
    .intro h1{
        font-size: 30px;
    }
    .intro {
        min-height: 70vh;
    }
    .match {
        display:flex;
        flex-direction: column;               
    }
    .score {
        margin-bottom: 25px;
    }
    .score h2 {
        font-size: 20px;
    }
    .score p {
        font-size: 15px;
    }
    .winner {
        font-size:25px;
        display:flex;
        align-items: flex-end;
        justify-content: center;
        margin-top:30px;
    }
    .hands {
        height:35vh;
    }
    .hands img{
        width: 175px;
        height: 200px;
    }
    .options {
        
        width:90vw;
        align-self: center;
    }
    .options button {
        margin: 10px;
        
        
    }

}
