* {
    padding: 0;
    margin: 0;
}

/* ---------------------------------------------------------- */
/* --------------------------Desktop------------------------- */
/* ---------------------------------------------------------- */

/* -------------------------------------Index------------------------------------ */
/* ---------------------Page Accueil-------------------- */
body {
    background-image: url(../img/cloudbg.gif);
    background-size: cover;
    font-family: 'Press Start 2P', cursive !important;
    margin: 0;
    width: 100%;
    height: 100vh;
}

/* ---------------------Page Accueil-------------------- */

.contentaccueil{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.shifumimg{
    width: 30%;
}

.cadre{
    height: 30%;
}

/* ---------------------Button-------------------- */

.timbutton{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.big-button {
    width: 30%;
}

.big-button:hover {
    width: 35%;
    transition: width 1s;
}

  /* -------------------------------------Page 1------------------------------------ */
  .imgchoix{
      width: 70%;
      padding-bottom: 5%;
  }

  .choice{
      font-size: 120%;
  }

  #page1{
      width: 100vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
  }

  .boutons{
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      height: 30%;
  }

  .would{
      display: flex;
      justify-content: center;
      align-items: center;
      padding-bottom: 5%;
  }

  .big-button2 {
    width: 50%;
}

.big-button2:hover {
    width: 60%;
    transition: width 1s;
}



/* -------------------------------------Page 2------------------------------------ */
/* ---------------------------Modal------------------------------- */
/* ---------------------------------------------------------- */
#tooltip{
    width: 20%;
    opacity: 100% !important;
    position: relative;
}

#anim{
    display: flex;
    justify-content: center;
    align-items: center;
}


#tooltip2{
    width: 20%;
    opacity: 100% !important;
    position: relative;
}

#anim2{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    0% { 
      transform: rotate(2deg);
    }
    50% {
     transform: rotate(-3deg);
    }
    70% {
      transform: rotate(3deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }
  
#anim:hover {
    animation: shake 500ms ease-in-out forwards;
}
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
#paper{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    0% { 
      transform: rotate(2deg);
    }
    50% {
     transform: rotate(-3deg);
    }
    70% {
      transform: rotate(3deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }
  
#paper:hover {
    animation: shake 500ms ease-in-out forwards;
}

#scissors{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    0% { 
      transform: rotate(2deg);
    }
    50% {
     transform: rotate(-3deg);
    }
    70% {
      transform: rotate(3deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }
  
#scissors:hover {
    animation: shake 500ms ease-in-out forwards;
}

#rock{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    0% { 
      transform: rotate(2deg);
    }
    50% {
     transform: rotate(-3deg);
    }
    70% {
      transform: rotate(3deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }
  
#rock:hover {
    animation: shake 500ms ease-in-out forwards;
}





#bouttonsign{
    display: flex;
    justify-content: center;
    align-items: center;
}

p{
    font-size: 30px;
}

span{
    font-size: 25px;
}

.bouttonsign{
    width: 80%;
    margin-top: 40%;
}

#content{
    height: 100vh;
    width: 100vw;
    text-align: center;
}

.alignement{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coin{
    width: 10%;
}

.imgjouer{
    width: 30%;
}

.cercle{
    padding-top: 20px;
    display: flex;
    justify-content: center;
    margin-left: 0 !important;
}

.lignerondphone{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.formerond{
	height: 300px; 
	width: 300px; 
	background-color: #318e36;
	border: none;
	border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formerond2{
    height: 300px; 
	width: 300px; 
	background-color: #318e36ab;
    border-color: #000000;
    border: dashed 5px;
	border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pourcentage{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    font-size: 30px;
}

.pourcent{
    padding-top: 2%;
    padding-bottom: 40%;
}

.winrate{
    padding-top: 30%;
}

.espacesign{
    margin-left: 15px;
    margin-right: 15px;
}

.signposition{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

/* ----------------------Resultat-------------------- */
.leresultat{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h2{
    font-size: 100px !important;
}

#resultat{
    display: none;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.playagain{
    width: 40%;
}

#playagain{
    margin-top: 5%;
}














/* -------------------------------------------------------- */
/* --------------------------Phone------------------------- */
/* -------------------------------------------------------- */
@media screen and (max-width:768px){
    .formerond{
        height: 150px; 
        width: 150px; 
	    background-color: #318e36;
        border: none;
        border-radius: 50%;
    }


/* ---------------------Page Accueil-------------------- */

  .contentaccueil{
    padding: 40%;
}

.shifumimg{
    width: 50%;
}

/* ---------------------Button-------------------- */

.timbutton{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.big-button {
    width: 60%;
    padding-top: 20%;
}
/* -------------------------------------Page 1------------------------------------ */
  .imgchoix{
    width: 80%;
    padding: 0%;
}

.choice{
    font-size: 130%;
}

.container-fluid{
    text-align: center;
}

.boutons{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.would{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5%;
}

.big-button2 {
  width: 70%;
}

#friend, #computer{
    padding-top: 10%;
}

/* -------------------------------------Page 2------------------------------------ */
.coin{
    width: 15%;
}

h2{
    font-size: 50px !important;
    text-align: center;
}

#content{
    height: 100vh;
    width: 100vw;
    padding-top: 2vh;
    padding-bottom: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

p{
    font-size: 15px;
}

span{
    font-size: 20px;
}

.lignerondphone{
    padding-top: 3vh;
    padding-bottom: 3vh;
    text-align: center;
}

#bouttonsign{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bouttonsign{
    width: 80%;
    margin-top: 10%;
}

.signposition{
    padding-top: 2%;
}

.sign{
    width: 25%;
    margin-top: 0%;
}

.imgjouer{
    width: 40%;
}

p{
    padding: 0;
    margin-bottom: 0;
}

.cercle{
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.formerond{
	height: 150px; 
	width: 150px; 
	background-color: #318e36;
	border: none;
	border-radius: 50%;
}
.formerond2{
    height: 150px; 
	width: 150px; 
	background-color: #318e36ab;
	border-radius: 50%;
}

/* ----------------------Resultat-------------------- */
.leresultat{
    width: 100vw;
    height: 100vh;
    font-weight: 300;
    font-size: 40px;
}

#playagain{
    margin-top: 10%;
}

.playagain{
    width: 80%;
}

.pourcent{
    padding-top: 2%;
    padding-bottom: 5%;
}


#paper{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    0% { 
      transform: rotate(2deg);
    }
    50% {
     transform: rotate(-3deg);
    }
    70% {
      transform: rotate(3deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }
  
#paper:hover {
    animation: shake 500ms ease-in-out forwards;
}

#scissors{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    0% { 
      transform: rotate(2deg);
    }
    50% {
     transform: rotate(-3deg);
    }
    70% {
      transform: rotate(3deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }
  
#scissors:hover {
    animation: shake 500ms ease-in-out forwards;
}

#rock{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  @keyframes shake {
    10%{
        transform: none;
    }
  }
  
#rock:hover {
    animation: none;
}


}

/* -------------------------------------------------------- */
/* --------------------------Ipad------------------------- */
/* -------------------------------------------------------- */
@media screen and (min-width:768px) and (max-width:992px){

    .bouttonsign{
        width: 70%;
        margin-top: 10%;
    }

    .sign{
        width: 25%;
        padding-top: 5%;
    }

    h2{
        font-size: 50px !important;
        text-align: center;
    }

    .formerond{
        height: 300px; 
        width: 300px; 
        background-color: #318e36;
        border: none;
        border-radius: 50%;
    }
    .formerond2{
        height: 300px; 
        width: 300px; 
        background-color: #318e36ab;
        border-radius: 50%;
    }

    #content{
        padding-top: 2vh;
        padding-bottom: 2vh;
    }

    .coin{
        width: 20%;
    }

    .pourcent{
        padding-top: 2%;
        padding-bottom: 2%;
    }

}