* {
    border: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body {
    background-color: #8CC461;
    width: 80rem;
    text-align: center;
    height: 40rem;
    margin: 0;
    padding: 1.25rem;
}

/*Score board*/
.scoreBoard {
    border:0.18rem solid white;
    border-radius: 0.81rem;
    width: 50rem;
    height: 9.8rem;
    margin-top: 3.8rem;
    margin-left: 14rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.heading {
    /*border: 0.125rem solid black;*/
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    line-height: 100%;
    letter-spacing: 0.125rem;
    padding-top: 1rem;
    padding-right: 4rem;
}
.score {
    display: flex;
    gap: 1.875rem;
}
.computerScore {
    background-color: #FFFFFF;
    width: 18.75rem;
    height: 8rem;
    border-radius: 0.57rem;
    align-content: center;
    justify-content: space-around;
    margin-right: 0.0006rem;
}
.computer {
    width: 6.4rem;
    height: 1.25rem;
    color: #656565;
    font-family: Roboto;
    font-weight: 600;
    font-size: 1.06rem;
    line-height: 100%;
    letter-spacing: 10%;
    text-align: center;
    padding-left: 1.65rem;
}
.score1 {
    width: 3.82rem;
    height: 1rem;
    font-family: Roboto;
    font-weight: 700;
    font-size: 1.06rem;
    line-height: 100%;
    letter-spacing: 10%;
    color: #656565;
    padding-left: 2.6rem;
    padding-top: 0.18rem;
}
.zero1 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 4.25rem;
    line-height: 100%;
    letter-spacing: 0.18rem;
    text-align: center;
    color: #252525;
    padding-top: 0.44rem;
}
.yourScorediv {
    background-color: #FFFFFF;
    width: 18.75rem;
    height: 8rem;
    border-radius: 0.57rem;
    align-content: center;
    justify-content: space-around;
    margin-right: 0.0006rem;
}
.your {
    width: 6.44rem;
    height:1.25rem ;
    color: #656565;
    font-family: Roboto;
    font-weight: 600;
    font-size:1.06rem;
    line-height: 100%;
    letter-spacing: 10%;
    text-align: center;
    padding-left: 2.7rem;
}
.score2 {
    width: 3.9rem;
    height: 1rem;
    font-family: Roboto;
    font-weight: 700;
    font-size: 1.06rem;
    line-height: 100%;
    letter-spacing: 10%;
    color: #656565;
    padding-left: 2.85rem;
    padding-top: 0.18rem;
}
.zero2 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 4.25rem;
    line-height: 100%;
    letter-spacing: 0.125rem;
    color: #252525;
    padding-top: 0.44rem;
}
/* General Styling for Choice Boxes in win and lose html*/
.game {
   /* border:0.125rem solid black;*/
    height: 50rem;
    width: 35rem;
    margin-left: 13.5rem;
    margin-top: 3.75rem;
}
.line {
    position: absolute;
    border: 0.65rem solid #000000A3;
    height: 0.32rem;
    transform-origin: left;
    z-index: 1;
}
.line1 {
    top: 24.5rem;
    left: 38rem;
    width: 13.75rem;
    transform: rotate(0deg);
}
.line2 {
    top: 26.75rem;
    left: 39rem;
    width: 10rem;
    transform: rotate(60deg);
}
.line3 {
    top: 35rem;
    left: 49rem;
    width: 9.7rem;
    transform: rotate(-60deg);
}
.same {
    display: flex;
    gap: 9.4rem;   
}
.roc {
    width: 9.4rem;
    height: 9.4rem;
    align-items: center;
    justify-items: center;
    z-index: 2;
    padding-top: 1.875rem;
    padding-left: 0.5rem;
    background-color: #eaebf0;
    border: 1rem solid #0074B6;
    border-radius: 50%;
}
.roc img {
    width: 80%;
    height: 60%;
    top: 22rem;
    left: 25rem;
}
.sic {
    width: 9.4rem;
    height: 9.4rem;
    align-items: center;
    justify-items: center;
    padding-top: 1.875rem;
    z-index: 2;
    padding-left: 1rem;
    background-color: #e6e0e5;
    border: 1rem solid #BD00FF;
    border-radius: 50%;
}
.sic img {
    width: 60%;
    height: 60%;
    top: 20.32rem;
    left: 47rem;
    transform: rotate(-5.27 deg);
}
.pap {
    width: 9.4rem;
    height: 9.4rem;
    z-index: 2;
    position: absolute;
    align-items: center;
    justify-content: center;
    background-color: #dbdad7;
    border: 1rem solid #FFA943;
    border-radius: 50%;
    padding-top: 1.2rem;
    margin-left: 13rem;
    margin-top: 2.8rem;
}
.pap img {
    width: 70%;
    height: 70%;
     
    object-fit: contain;
}

/* General Styling for Choice Boxes in win and lose html*/
.choice-display {
    /* border: 0.125rem solid black;*/
    height: 26rem;
    width: 46rem;
    margin-left: 15rem;
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.45rem;
}
.choice-container {
    text-align: center;
}
.choice-box {
    margin-top: 0.65rem;
    padding: 1.25rem;
    border: 0.125rem solid #ccc;
    border-radius: 0.5rem;
    width: 6.25rem;
    height: 6.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.found {
    margin-bottom: 3.125rem;
    font-family: Roboto;
    position: relative;
    z-index: 15;
    font-weight: 600;
    font-size: 1.06rem;
    line-height: 100%;
    letter-spacing: 0.125rem;
    color: #FFFFFF;
}
#player-choice.rock,
#computer-choice.rock {
    width: 9.4rem !important;
    height: 9.4rem !important;
    align-items: center !important;
    justify-items: center;
    z-index: 2;
    padding-top: 1.875rem;
   /* padding-left: 0.5rem;*/
    background-color: #eaebf0;
    border:  1rem solid #0074B6;
    border-radius: 50%;
}
#player-choice.rock img,
#computer-choice.rock img {
    width: 80%;
    height: 60%;
    top: 22rem;
    left: 31rem;
}
#player-choice.paper,
#computer-choice.paper {
    width: 9.4rem;
    height: 9.4rem;
    z-index: 2;
    align-items: center;
    justify-content: center;
    background-color: #dbdad7;
    border: 1rem solid #FFA943;
   /* padding-left: 6px;*/
    padding-top: 1.57rem;
    border-radius: 50%;
    left: 58%;
    top: 80%;

}
#player-choice.paper img,
#computer-choice.paper img {
    width: 80%;
    height: 80%;
    top: 22rem;
    left: 47rem;
}
#player-choice.scissors,
#computer-choice.scissors {
    width: 9.4rem;
    height: 9.4rem;
    align-items: center;
    justify-items: center;
    padding-top: 1.875rem;
    position: relative;
    z-index: 5;
   /* padding-left: 0.93rem;*/
    background-color: #e6e0e5;
    border: 1rem solid #BD00FF;
    border-radius: 50%;
}
#player-choice.scissors img,
#computer-choice.scissors img {
    width: 60%;
    height: 70%;
    top: 22rem;
    left: 47rem;
    transform: rotate(-5.27 deg);
}
/* Result display style for win and lose*/
.result-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;   
    margin: 0;   
    padding: 0;
}
.result-text h5 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.44rem !important;
    line-height: 100% !important;
    letter-spacing:0.18rem !important;
    text-align: center !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    padding: 0.125rem !important;
    padding: 0.65rem;
    margin-bottom: 0;
}
.result-text h6 {
    font-family: Roboto;
    font-weight: 800;
    font-size: 1.57rem;
    line-height: 100%;
    letter-spacing: 0.125rem;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    /* Remove margin */
    padding: 0.65rem;
    /* Remove padding */
}
/* Styling for the modal box */
  .rules-popup {
    position: fixed;
    bottom: 4.375rem;
    right: 1.25rem;
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.32rem 0.93rem rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 16.25rem;
  }  
  .rules-popup.hidden {
    display: none;
  }  
  .rules-content h2 {
    margin-top: 0;
    font-size: 1.25rem;
  }  
  .rules-content ul {
    padding-left: 1.25rem;
    margin: 0.65rem 0;
  }
  #rules-popup {
    display: none;
    /* You can also include styles like position, background, padding, etc. */
}
.popup-title {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
}
.rules-list {
    list-style-type: square;
    padding-left: 1.2rem;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
}
.rules-list li {
    margin-bottom: 0.75rem;
    text-align: left;
}
.hidden {
    display: none;
}
.popup {
    width: 18.75rem;
    height: 24rem;
    background: #004429;
    border-radius: 0.81rem;
    border: 0.44rem solid white;
    padding: 1.25rem 1.25rem 1.875rem 1.875rem;
    position: fixed;
    bottom: 5rem;
    right: 1.875rem;
    box-shadow: 0 0 0.65rem rgba(0, 0, 0, 0.2);
    z-index: 100;
}
.close-btn {
    position: absolute;
    top: -1.25rem;
    right: -1.25rem;
    background-color: red;
    color: white;
    font-size: 1.625rem;
    font-weight: bold;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border:  0.18rem solid white;
    cursor: pointer;
} 
  /* Button Container */
  .button-container {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
  }
  .play-again {
    font-family: Roboto;
    font-weight: 600;
    font-size: 0.93rem;
    line-height: 100%;
    letter-spacing: 10%;
    background-color: #FFFFFF;
    color: #6B6B6B;
    border: none;
    padding: 0.65rem 1.25rem;
    cursor: pointer;
    width: 10.9rem;
    height: 2.75rem;
    border-radius: 0.57rem;
    margin-top: 0.65rem;
    margin-bottom: 0;
}
.next-btn {
    font-family: Roboto;
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    width: 7.44rem;
    height: 2.5rem;
    position: fixed;
    bottom:1.25rem;
    right: 9.4rem;
    background-color: transparent;
    border: 0.125rem solid #FFFFFF;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}  
.rules-btn {
    font-family: Roboto;
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    width: 7.44rem;
    height: 2.5rem;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background-color: transparent;
    border: 0.125rem solid #FFFFFF;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.highlight-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-ring .circle {
    position: absolute;
    border-radius: 50%;
    background-color: #32CD32;
    z-index: 0;
}

.highlight-ring .circle:nth-child(1) {
    width: 12.5rem;
    height: 12.5rem;
    background: #3B6720;
}

.highlight-ring .circle:nth-child(2) {
    width: 16.25rem;
    height: 16.25rem;
    background: #1DA82BC9;
}

.highlight-ring .circle:nth-child(3) {
    width: 20rem;
    height: 20rem;
    background: #2E9A2563;
}


/* Result display style for win and lose*/
.result-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.result-text h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 2.4rem; /* Responsive sizing */
    line-height: 1;
    letter-spacing: 0.2rem;
    text-align: center;
    color: #FFFFFF;
    box-sizing: border-box;
}

.result-text h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.125rem;
    text-align: center;
    color: #FFFFFF;
    box-sizing: border-box;
}


/*Styles for hurray page*/


.cup {
    position: absolute;
    width: 13vw;
    max-width: 12.5rem;
    aspect-ratio: 1/1;
    top: 27vh;
    left: 47rem;
    transform: translateX(-50%);
}
.star1,
.star2,
.star3,
.star4,
.star5,
.star6,
.star7,
.star9 {
    position: absolute;
}

.star1 {
    width: 8vw;
    max-width: 7.19rem;
    aspect-ratio: 1/1;
    top: 12rem;
    left: 30rem;
}

.star2 {
    width: 7vw;
    max-width: 6.44rem;
    aspect-ratio: 1/1;
    top: 5rem;
    left: 52rem;
}

.star3 {
    width: 3vw;
    max-width: 2rem;
    aspect-ratio: 1/1;
    top: 10vh;
    left: 42rem;
}

.star4 {
    width: 3vw;
    max-width: 2rem;
    aspect-ratio: 1/1;
    top: 17vh;
    left: 48rem;
}

.star5 {
    width: 3vw;
    max-width: 2rem;
    aspect-ratio: 1/1;
    top: 47vh;
    left: 35rem;
}

.star6 {
    width: 10vw;
    max-width: 8.12rem;
    aspect-ratio: 1/1;
    top: 37vh;
    left: 56rem;
}

.star7 {
    width: 3vw;
    max-width: 2rem;
    aspect-ratio: 1/1;
    top: 27vh;
    left: 57rem;
}

.star9 {
    width: 5vw;
    max-width: 4.25rem;
    aspect-ratio: 1/1;
    top: 19vh;
    left: 35rem;
}

.hurray-display {
    position: absolute;
    top: 63vh;
    left: 47rem;
    transform: translateX(-50%);
    text-align: center;
}

.result-text h1 {
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 6vw;
    line-height: 100%;
    letter-spacing: 0.5vw;
    color: #FFFFFF;
}

.result-text h2 {
    padding-top: 1vw;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 3vw;
    line-height: 100%;
    letter-spacing: 0.3vw;
    color: #FFFFFF;
}
