@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

* {
  padding: 0;
  border: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --purple: #9c27b0;
  --black: #000000;
  --white: #ffffff;
  --orange: #cc6e02;
}
body {
  overflow: hidden;
  font-family: 'Itim', cursive !important;
  box-sizing: border-box;
  /* background-color: var(--purple); */
}
.main-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.resultContainer {
  padding: 5% 0 5% 0;
}
.container {
  background-color: var(--white);
  height: 100%;
  width: 100%;
}
.main-heading {
  font-size: 580%;
  color: var(--white);
  margin: 0.3em;
}
#start {
  border-radius: 0.5rem;
  padding: 1em 1.5em;
  font-size: 120%;
  border: none;
  /* For everything that is supposed to be clicked the cursor shuld be pointer */
  cursor: pointer;
}
#hand {
  height: 330px;
  width: 330px;
  margin-bottom: 2em;
}

a {
  text-decoration: none;
  color: black;
}
.start-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 1em;
}
#title {
  height: 80px;
}
.sub-heading {
  font-size: 300%;
}
.rpsButton {
  background-color: var(--purple);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.button-img {
  width: 65%;
  cursor: pointer;
}

.buttons {
  display: flex;
  justify-content: center;
  width: 45%;
  gap: 5%;
  margin-top: 2%;
}

/* Current image display */

.imgtemp {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  width: 100%;
}
#userCurrentIcon {
  transform: rotateZ(90deg);
  position: relative;
  left: -180%;
}
.userAnim {
  animation: user 0.3s ease-in-out forwards;
}

#computerCurrentIcon {
  transform: rotate(-90deg);
  position: relative;
  right: -200%;
}
.compAnim {
  animation: comp 0.3s ease-in-out forwards;
}

@keyframes user {
  from {
    left: -180%;
  }
  to {
    left: 0%;
  }
}
@keyframes comp {
  from {
    right: -200%;
  }
  to {
    right: 0%;
  }
}

#result {
  font-size: 190%;
  color: var(--orange);
}
#player-score {
  font-size: 110%;
  color: rgb(30, 107, 208);
}

.sub-section {
  font-size: 220%;
}

.end-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

#endGameButton {
  margin: 2%;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  font-size: large;
  font-weight: 550;
  display: none;
  cursor: pointer;

  border: 2px solid black;
  font-family: 'Itim', cursive !important;
}
.currentImg {
  width: 85%;
  margin: 0;
}
.side-container {
  display: none;
}


/* choose.html design */
