* {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  user-select: none;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.main {
  background: linear-gradient(#e66465, #9198e5);
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100vh;
}

.header {
  width: 100%;
  text-align: center;
  padding-top: 50px;
  > h4 {
    font-size: 30px;
    word-spacing: 30px;
    font-weight: 500;
  }
}

.interface {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  margin: 50px 20px;
}

.user,
.computer {
  width: 40%;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.542);
  border-radius: 10px;
  text-align: center;
  position: relative;
  > .head h4 {
    font-size: 26px;
    font-weight: 400;
  }
}

.rock-paper-scissor {
  margin: 50px 80px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.rock,
.paper,
.scissor {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px groove black;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.29);
  cursor: pointer;
}
.rock:hover,
.paper:hover,
.scissor:hover {
  background-color: rgba(255, 255, 255, 0.744);
  transition: 0.2s ease-in-out;
}

.winner {
  width: 100%;
  text-align: center;
  font-size: 30px;
  transition: 0.3s all;
  animation: fadeInUp 0.4s;
}

@keyframes fadeInUp {
  0% {
    transform: translate(0px, 100px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}

.user-score {
  position: absolute;
  bottom: 100px;
  left: 276px;
  font-size: 21px;
}

.win-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: aliceblue;
  height: 200px;
  width: 400px;
  border-radius: 10px;
  text-align: center;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  > h4 {
    font-size: 30px;
  }
  > span {
    font-size: 16px;
  }
  > button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: greenyellow;
    border: 1px solid gray;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
  }
}

.overlay {
  background-color: rgba(0, 0, 0, 0.532);
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
}

.hidden {
  display: none;
}
@media only screen and (max-width: 600px) {
  body {
    overflow: hidden;
  }
  .mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .main {
    display: none;
  }
}
