body {
    margin: 0;
    padding: 0;
    background-color: #0f172a;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 22px;
}

#header_section {
    margin-top: 0;
    height: 10vh;
    text-align: center;
    background-color: #1e293b;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
}

#header_section button {
    border: none;
    background-color: #0f172a;
    font-size: x-large;
    color: white;
    padding: 7px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 
        background-color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.25s ease;
}

#header_section button:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

#header_section button:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
    background-color: #172033;
}


#player1_section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb;
    color: white;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    font-size: large;
}

#player2_section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dc2626;
    color: white;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 1000;
    font-size: large;
}

#game_section {
  position: absolute;
  top: calc(50% + 40px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: block;
}

#rock-paper-scissors {
    position: relative;
    background-color: #1e293b;
    width: 75vw;
    max-width: 550px;
    min-width: 350px;
    height: 75vw;
    max-height: 550px;
    min-height: 350px;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05), 0 0 20px rgba(0, 0, 0, 0.6);
}

.choice {
    position: absolute;
    width: 37%;
    height: 37%;
    border-radius: 50%;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(62, 63, 64, 0.6);
}

.choice:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  background-color: #2563eb;
}

#inner_rock {
    top: 27%;
    left: 50%;
}

#inner_paper {
    top: 63%;
    left: 30%;
}

#inner_scissors {
    top: 63%;
    left: 70%;
}


#result_section {
    display: none;
    position: fixed;
    width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 22px;
    z-index: 1000;
}


#result_text {
    background-color: #1e293b;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}





@media (min-width: 768px) {
    h1 {
        font-size: xx-large;
    }

    #player1_section {
        position: fixed;
        height: 90vh;
        width: 100px;
        border-radius: 0 25px 25px 0;
        writing-mode: sideways-lr;
        font-size: x-large;
    }

    #player2_section {
        top: calc(0 + 10vh);
        right: 0;
        left: auto;
        bottom: auto;
        width: 100px;
        height: 90vh;
        border-radius: 25px 0 0 25px;
        writing-mode: sideways-rl;
        font-size: x-large;
    }
}