@font-face {
    font-family: 'act_of_rejectionregular';
    src: url('https://www.marouze.com/GAMES/ROCK_PAPER/act_of_rejection-webfont.woff2') format('woff2'),
         url('https://www.marouze.com/GAMES/ROCK_PAPER/act_of_rejection-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: act_of_rejectionregular;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

#game {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#player-choice, #computer-choice {
    width: 300px;
    height: 300px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#player-choice img, #computer-choice img {
    max-width: 100%;
    max-height: 100%;
}




#choose {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

h1 {
  font-family: act_of_rejectionregular;
  text-align: center;
  font-size: 50px;
}

h2 {
  font-family: act_of_rejectionregular;
  text-align: center;
  font-size: 28px;
}

table{
  width: 50vw;
}
.your_choice {
  text-align: center;
  font-family: act_of_rejectionregular;
}

.cpu_choice {
  text-align: center;
  font-family: act_of_rejectionregular;
}

#result-overlay {
    font-family: act_of_rejectionregular;
    text-align: center;
    position: absolute;
margin-top:50px;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: none; /* Initially hidden */
}

.choice-image {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.choice-image:hover, .choice-image.selected {
    opacity: 1;
}


/* CHOIX ORDINATEUR GIF ROTATION */
.rotate-180 {
    transform: rotate(180deg);
}

#result {
    font-size: 30px;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
        
    header{
        margin: 0px;
    }

    #result-overlay {
    font-family: act_of_rejectionregular;
    text-align: center;
    position: absolute;
    top: 250;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: none; /* Initially hidden */
    z-index: 9;
}
    
    #choose {
        width: 50vw;
    }

#choose img {
width: 120px;
height: 120px;
}

    #player-choice, #computer-choice {
        width: 200px;
        height: 200px;
        margin: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    
    table{
        width: 100vw;
    }
    .your_choice {
  text-align: left;
  font-family: act_of_rejectionregular;
}

.cpu_choice {
  text-align: right;
  font-family: act_of_rejectionregular;
}

  #result-overlay {
    font-family: act_of_rejectionregular;
    text-align: center;
    position: absolute;
margin-top:20px;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: none; /* Initially hidden */
}

}
