body {
  background-color: #f8f0dd;
  color: #e788a3;
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
  margin: auto 40px;
  padding: 30px;
}

h1 {
  text-align: center;
  color: #49306b;
  margin: 40px auto;
  line-height: 45px;
}

h4 {
  text-align: center;
  font-weight: 200;
  font-size: 12px;
}

.select {
  font-style: italic;
  font-size: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
  width: 70%;
  margin: 0 auto;
}

#rock,
#paper,
#scissors {
  font-family: "press Start 2P", system-ui;
  font-size: 10px;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 50px;
  border: 2px solid #f8f0dd;
  background-color: #c9b9df;
  color: #49306b;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  cursor: pointer;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: solid, 50px, #6d597a;
    background-color: #f1bbcb;
    z-index: -1;
    transition: all 0.3s ease-in-out;
    border: 0;
    box-shadow: 0px 0px 0px, #6d597a;
    top: 0.5rem;
    left: 0.5rem;
  }

  &:hover {
    background-color: #f1bbcb;
    border: 0;
    &::after {
      background-color: #6d597a;
      box-shadow: none;
    }
  }
}

.img-rock,
.img-paper,
.img-scissors {
  width: 110px;
  height: 110px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.scores {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.user-score,
.comp-score {
  background-color: #f1bbcb;
  border-radius: 20px;
  padding-left: 20px;
  padding-right: 20px;
  color: #f8f0dd;
}

#results {
  margin-top: 110px;
  font-size: 14px;
}

#computer-choice {
  text-transform: uppercase;
  color: #6d597a;
}

#result-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#result-box {
  background: #f8f0dd;
  padding: 40px 45px 30px 45px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  border: 7px solid #f1bbcb;
  text-align: center;
  color: #49306b;
  font-family: "Press Start 2P", system-ui;
  font-size: 16px;
}

.popup-close-btn {
  margin-top: 30px;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: #f1bbcb;
  color: #49306b;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  cursor: pointer;
}

.footer {
  font-size: 8px;
  text-align: center;
  margin-top: 50px;
}

.press-start-2p-regular {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
}



/* MEDIA QUERIES */

@media screen and (max-width: 2000px) {
  body {
    margin-left: 250px;
    margin-right: 250px;
  }
}

@media screen and (max-width: 1200px) {
  body {
    margin-left: 100px;
    margin-right: 100px;
  }
}

@media screen and (max-width: 992px) {
  .buttons {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  body {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media screen and (max-width: 560px) {
  body {
    margin-left: 30px;
    margin-right: 30px;
  }

  h1 {
    font-size: 28px;
  }

  .select {
    font-style: italic;
    font-size: 9px;
    margin-top: 70px;
    margin-bottom: 30px;
  }

  .buttons {
    column-gap: 20px;
  }

  #results {
    margin-top: 70px;
    font-size: 14px;
  }

  .user-score,
  .comp-score {
    font-size: 14px;
  }
}