canvas {
    border: 6px solid blueviolet;
}

.header {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: xx-large;
    color: blueviolet;
}

#gameOverModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalContent {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: #aee3cd;
    padding: 20px;
    border-radius: 10px;
    border: 6px solid blueviolet;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#gameOverModal button {
    background-color: blueviolet;
    font-family: 'Pixelify Sans', sans-serif;
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#playerName {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border: 6px solid blueviolet;
    border-radius: 5px;
    outline: none;
    font-family: 'Pixelify Sans', sans-serif;
}


/* highscore-api-connection style */

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    font-family: Rockwell, 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', 'Sitka Small', serif;
    font-weight: normal;
}
.title {
    position: absolute;
    top: 8px;
    left: 8px;
    color: #54585a;
}
.credits {
    position: absolute;
    bottom: 8px;
    right: 8px;
}
.credits a {
    color: #54585a;
}
.container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;

}
.player {
    font-size: 32px;
}
.score {
    font-size: 72px;
}
.send-button {
    background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
    height: 4rem;
    padding: 0 1.6rem;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
    transition: all .5s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.send-button:hover {
    box-shadow: rgba(80, 63, 205, 0.5) 0 1px 30px;
    transition-duration: .1s;
}
.response-preview {
    background: rgba(30, 32, 44, .95);
    padding: 20px;
    font-size: 14px;
    line-height: 24px;
    min-width: 350px;
    text-align: left;
    border-radius: 14px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 8px 0px, rgba(0, 0, 0, 0.24) 0px 4px 8px 0px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 8px 0px, rgba(0, 0, 0, 0.24) 0px 4px 8px 0px;
    color: #b8cdd1;
}


