* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    /* margin-top: 20px; */
}

.scoreboard {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

.grid-container {
    margin-top: 20px;
    position: relative;
    width: 600px;
    height: 400px;
    margin: 20px auto;
    background: #333;
}

.left-paddle, .right-paddle, .ball {
    position: absolute;
    background-color: #fff;
}

.left-paddle, .right-paddle {
    width: 10px;
    height: 80px;
}

.left-paddle {
    left: 0;
}

.right-paddle {
    right: 0;
}

.ball {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.hidden {
    display: none;
}

.popup {
    display: none; /* Versteckt das Popup standardmäßig */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.popup-content {
    background-color: #424242;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    animation: popIn 0.3s;
}
button{
    font-size: 1.5rem;
    background-color: #f44336;
    color: white;
    padding: 14px 15px;
    margin-top: 20px;
    /* margin: 8px 0; */
    border: none;
    cursor: pointer;
    width: 40%;
    border-radius: 5px;

}

#help{
    color: #fff;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

@media screen and (max-width: 610px) {
    *{
        overflow: hidden;
    }
    .popup{
        display: flex;
    }
}
@media screen and (min-width: 610px) {
    .popup{
        display: none;
    }
}
