body {
    background: radial-gradient(
        circle,
        rgba(0, 138, 255, 1) 0%,
        rgba(0, 138, 255, 1) 9%,
        rgba(0, 138, 255, 1) 16%,
        rgba(9, 9, 121, 1) 81%
    );
    overflow: hidden;
}
#root {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

canvas {
    border-radius: 15px;
    border: 2px solid black;
}
.navbar-container {
    display: flex;
    flex-direction: row;
}

.timer {
    background-color: darkblue;
    color: white;
    position: relative;
    bottom: 60px;
    left: 82px;
    border: 1px solid white;
    padding: 1px;
    width: 30px;
    height: 20px;
    border-radius: 5px;
}
.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
    animation: timerAnimation 15s linear infinite;
    transition-duration: 15s;
}
#root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 230px 230px;
    grid-template-rows: 50px 250px 250px 50px;
}

.canvas-container {
    place-self: center;
    grid-column: 1 / span 2;
    grid-row: 2 / span 2;
}

input,
button {
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}

input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: 1px solid #ccc;
    background-color: rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

input:disabled {
    background-color: black;
    color: #999;
    border: 1px solid #ddd;
}

input:focus {
    color: black;
    border-color: #4a90e2;
    background-color: #fff;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: rgba(0, 0, 0, 1);
}

/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #ffffff rgba(0, 0, 0, 0.1);
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    background: rgba(0, 0, 0, 0);
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
}

*::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
}
