html,
body {
    font-size: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

/* ==============================================
Général
=================================================*/

@font-face {
    font-family: "supermarioworld";
    src: url(../font/SuperMarioWorld.ttf);
}

@-webkit-keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

/**
 * ----------------------------------------
 * animation rotate-vert-center
 * ----------------------------------------
 */
 @-webkit-keyframes rotate-vert-center {
    0% {
      -webkit-transform: rotateY(0);
              transform: rotateY(0);
    }
    100% {
      -webkit-transform: rotateY(360deg);
              transform: rotateY(360deg);
    }
  }
  @keyframes rotate-vert-center {
    0% {
      -webkit-transform: rotateY(0);
              transform: rotateY(0);
    }
    100% {
      -webkit-transform: rotateY(360deg);
              transform: rotateY(360deg);
    }
  }
  

body {
    background-color: #000;
    color: #fff;
    font-family: "supermarioworld", Arial, serif;
    letter-spacing: 0.2rem;
    overflow-y: hidden;
}


/* ==============================================
Choix de l'arme
=================================================*/

.containerChooseWeapon {
    display: flex;
    justify-content: space-around;
    letter-spacing: 0.5rem;
    padding: 1.5rem 0rem 2rem 0rem;
}


.rockHand,
.paperHand,
.scissorsHand,
.standOnCoin {
    padding: 0.2rem;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}

.rockHand img,
.paperHand img,
.scissorsHand img,
.standOnCoin img {
    display: block;
    margin: 0rem auto;
}

.standOnCoin {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 5px solid #000;
    border-bottom: 5px solid #000;
    padding: 0.2rem;
}

#yellowCoin1,
#yellowCoin2 {
    display: none;
    margin-bottom: 0.5rem;
}

.weaponSelectedStyle {
    border-top: 3px solid rgb(249, 161, 76);
    border-bottom: 3px solid rgb(249, 161, 76);
    transform: scale(1.2);
}


.button-53 {
    background-color: rgb(239, 62, 36);
    box-sizing: border-box;
    color: #000000;
    display: flex;
    letter-spacing: 1rem;
    font-family: "supermarioworld", Arial, serif;
    font-size: 2rem;
    justify-content: center;
    padding: .75rem 1.65rem;
    text-align: center;
    width: 100%;
    position: relative;
    top: 2rem;
}

.button-53:focus {
    outline: 0;
}

.button-53:after {
    content: '';
    position: absolute;
    border: 3px solid rgb(249, 161, 76);
    bottom: 6px;
    left: 6px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.button-53:hover:after {
    bottom: 2px;
    left: 2px;
}

.pulsate-fwd {
    -webkit-animation: pulsate-fwd 1.5s ease-in-out infinite both;
    animation: pulsate-fwd 1.5s ease-in-out infinite both
}


/* ==============================================
Zone de compteurs
=================================================*/

.containerResults {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
}


/* ==============================================
Zone de combat
=================================================*/

.containerFight {
    position: relative;
    top: -4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
}

.centerSpace {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 2rem;
}

.containerFight img {
    display: block;
}

#marioStanding {
    margin: 0 auto;
    position: relative;
    left: 0;
}

#marioSelectedWeapon {
    display: none;
    position: absolute;
    bottom: 12rem;
}

#bowserSelectedWeapon {
    display: none;
    position: absolute;
    bottom: 12rem;
    right: 2rem;
}

.displayWinner {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    position: relative;
    top: 2rem;
}

.displayWinner p {
    margin: auto 1rem;
    font-size: 2rem;
    color: rgb(239, 62, 36);
}

.rotate-vert-center {
	-webkit-animation: rotate-vert-center 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: rotate-vert-center 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}


/* ============================================================
 Affichage des scores finaux
================================================================*/

.displayWinOrLoose {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    /* centrage : à 50%/50% du parent référent */
    transform: translate(-50%, -50%);
    /* centrage :décalage de 50% de sa propre taille */
    z-index: 1;
    height: 87%;
    width: 87%;
    background-color: #000;
    border: dashed 15px rgb(239, 62, 36);
    font-family: "supermarioworld", Arial, serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
}

.displayFinalWinner {
    padding: 2rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.finalScores {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.superPlayer {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.superPlayer img {
    display: block;
    height: 50px;
    width: auto;
    margin: auto 2rem;
}


.button-54 {
    background-color: rgb(239, 62, 36);
    box-sizing: border-box;
    color: #000000;
    letter-spacing: 1rem;
    font-family: "supermarioworld", Arial, serif;
    font-size: 2rem;
    padding: .75rem 1.65rem;
    text-align: center;
    width: 20rem;
    height: 8rem;
    transform: rotate(10deg);
    position: relative;
    top: 8rem;
}

.button-54:focus {
    outline: 0;
}

.button-54:after {
    content: '';
    position: absolute;
    border: 3px solid rgb(249, 161, 76);
    bottom: 6px;
    left: 6px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.button-54:hover:after {
    bottom: 2px;
    left: 2px;
}