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

html{
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(
    134.34% 134.34% at 50% 0%,
    #1f3757 0%,
    #131537 100%
  );
  background-repeat: no-repeat;
}

.parent-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 2rem 2rem 2rem 2rem ;
}


.scoreboard {
  width: 75rem;
  height: 15rem;
  border-radius: 1.5rem;
  border: .1rem solid white;
  display: flex;
  margin-top: 3rem;
}

.title {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
}

.title img{
  margin-left: 1.4rem;
  width: 17rem;
}

.score-container{
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
}

.score {
  width: 14rem;
  height: 12.5rem;
  background-color: white;
  border-radius: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 0.8rem;
}

.score h1 {
  color: #565468;
  font-size: 5.6rem;
}

.score p {
  color: #2a45c2;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.9rem;
  letter-spacing: .5rem;
  text-align: left;
}


.hands {
  background-image: url("./Assets/triangle.png");
  background-position: center;
  background-repeat: no-repeat;
  visibility: visible;
  opacity: 1;
  position: relative;
  width: 47.6rem ;
  height: 43.0rem;
  margin-top: 5rem;
  display: flex;
  z-index: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.hands img {
  width: 20rem;
  height: 20rem;
  display: block;
}

.hands .paper {
  margin-right: 1.5rem;
}

.hands .scissors {
  margin-right: 1.5rem;
}

.hands .hand {
  cursor: pointer;
  transition: all 0.25s;
}
.hands .hand:hover {
  transform: translate3d(0rem, -.8rem, 0rem);
}

  .contest {
    display: none;
    margin-top: 5rem;
    width: 90rem;
  }
  
  .contest img {
    width: 27.5rem;
    height: 27.5rem;
  }
  
  .contest > div {
    flex: 1;
  }
  
  .contest h1 {
    color: white;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    text-align: center;
  }
  
  .contest .newGame {
    font-size: larger;
    font-weight: 700;
    color: hsl(229, 25%, 31%);
    background-color: white;
    padding: 1.2rem 2.4rem;
    border-radius: .6rem;
    cursor: pointer;
    transition: all 0.15s;
  }
  
  .newGame:hover {
    background: rgb(218, 218, 218);
    transform: translate3d(0rem, -.2rem, 0rem);
  }
  
  .contest .handImageContainer {
    display: flex;
    justify-content: center;
  }
  
  .referee {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .referee h1 {
    font-size: 4.5rem;
    color: white;
  }
  
  .computerhand {
    display: flex;
    flex-direction: column;
  } 

  .main{
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  @media (max-width: 998px) {
    html{
      font-size: 55%;
    }

  }

  @media (max-width: 768px){
    html{
      font-size: 45%;
    }
    .hands{
      width: 49rem ;
      height: 47.0rem;
    }

    .hands .paper{
      margin-right: 3rem;
    }

    .hands .scissors{
      margin-left: 3rem;
    }

  }

  @media (max-width: 548px){
    html{
      font-size: 35%;
    }

    .hands{
      width: 70rem ;
      height: 57rem;
    }

    .hands .paper{
      margin-right: 10rem;
    }

    .hands .scissors{
      margin-left: 10rem;
    }

    .hands .rock{
      margin-top: 10rem;
    }
  }

  @media (max-width: 448px){
    html{
      font-size: 30%;
    }

    .hands{
      width: 75rem ;
      height: 65rem;
    }

    .hands .paper{
      margin-right: 12rem;
    }

    .hands .scissors{
      margin-left: 12rem;
    }

    .hands .rock{
      margin-top: 10rem;
    }

    .hand img{
      width: 24.2rem;
      height: 24.2rem;
    }
  }

  @media (max-width: 378px){
    html{
      font-size: 25%;
    }

    .hands{
      width: 66rem ;
      height: 55rem;
      /* background: red; */
    }

    .hand img{
      width: 25rem;
      height: 25rem;
    }
    .hands .paper{
      margin-right: 15rem;
    }

    .hands .scissors{
      margin-left: 15rem;
    }

    .hands .rock{
      margin-top: 15rem;
    }
  }
