body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #282c34;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
}

#menu, #highscore, #nameInput, #escMenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3b3f47;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 300px;
    text-align: center;
}

#menu h1 {
    margin-bottom: 20px;
    font-size: 36px;
    color: #ff6b6b;
    text-shadow: 2px 2px #000000;
}

button {
    margin: 10px 0;
    padding: 15px;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #dc3545;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

button:active {
    background-color: #bd2130;
    transform: translateY(0);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.5);
}

#gameArea {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #1e2229;
    border: 2px solid #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#target {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.1s ease;
    box-shadow: 0 0 15px #ff6b6b;
}

#target:active {
    transform: scale(0.9);
}

#score, #timer {
    position: absolute;
    top: 10px;
    font-size: 24px;
    color: #ffffff;
    text-shadow: 1px 1px #000000;
}

#score {
    right: 10px;
}

#timer {
    left: 10px;
}

#escMenu {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: #3b3f47;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#menuButton, #fullscreenButton {
    position: absolute;
    bottom: 10px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #dc3545;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

#menuButton {
    right: 10px;
}

#fullscreenButton {
    left: 10px;
}

#menuButton:hover, #fullscreenButton:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

#menuButton:active, #fullscreenButton:active {
    background-color: #bd2130;
    transform: translateY(0);
}

#menuButton:focus, #fullscreenButton:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.5);
}
