body {
    background-color: black;
    color: white;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overscroll-behavior: none;
}


.good {
    background-color: #73956f;
    padding: 5px;
    border-radius: 3px;
    text-align: center;
}

.bad {
    padding: 5px;
    background-color: #F24236;
    border-radius: 3px;
    text-align: center;
    text-decoration: line-through;
}

#guess {
    text-align: center;
    padding: 5px;
    width: calc(100% - 30px);
    margin: 15px;
    font-size: 30px;
    background-color: #333;
    color: white;
}

#guesses {
    margin: 10px;
    width: calc(100% - 20px);

    display: flex;
    flex-direction: column-reverse;
}

#guesses p {
    margin: 10px 5px;
    font-size: 30px;
}

#view-rules {
    display: block;
    text-align: right;
    padding-top: 10px;
    width: calc(100% - 20px);
    font-size: 25px;
}

#modal-popup {
    visibility: hidden;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border: 25px solid rgba(12, 12, 12, 0.5);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    max-width: 500px;
    background-color: #333;
    z-index: 999;
    padding: 15px;
    overflow: scroll;
}

#modal-popup button {
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    padding: 0px 15px;
}

#modal-popup a {
    color: white;
}

#modal-popup a:visited {
    color: white;
}

#rules-view h1 {
    font-size: 45px;
    text-align: center;
    margin-top: 0;
}

#final-score div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100% - 45px);
}

#final-score h1 {
    font-size: 35px;
}