body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1.8rem;
    padding: 1rem;
    max-width: 1850px;
    margin: 0 auto;
    zoom: 100%;
}

.centered {
    text-align: center;
}

table.centered {
    margin: auto;
}

header {
    padding: 0.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

h1, h2 {
    margin: 0.25rem;
}

footer {
    text-align: center;
}

header nav {
    margin-top: 1rem;
}

header nav a {
    margin: 0 0.5rem;
}

main {
    padding: 2rem 0;
}

.pure-button {
    font-size: 1.5rem;
}

.game-select {
    width: 30%;
    margin-bottom: 2rem;
    background-color: #e0edff;
    border-radius: 20px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.game-card {
    margin: 1rem;
    text-align: center;
}

.game-card a {
    width: 75%;
    text-align: center;
    border-radius: 7px;
    font-size: 1.6rem;
    line-height: 2rem;
    padding: 1.25rem 0;
}

.game-container {
    text-align: center;
}

#button-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.number-button {
    font-size: 2.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    line-height: 3rem;
}

.fixed-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f4f4f4;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

table {
    margin-bottom: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.modal-content {
    background-color: #eeeeee;
    margin: 15% auto;
    padding: 20px;
    border: 3px solid #cccccc;
    border-radius: 20px;
    width: 100px;
    height: 100px;
    text-align: center;
}

.modal.correct .modal-content {
    border: 3px solid #8ec790;
    background-color: #d1e4d2;
}

.modal.incorrect .modal-content {
    border: 3px solid #c78e8e;
    background-color: #e4d1d1;
}

#feedback-icon {
    font-size: 80px;
    line-height: 100px;
}

#feedback-icon.correct::before {
    content: '✓';
    color: green;
}

#feedback-icon.incorrect::before {
    content: '✗';
    color: red;
}


/* Anpassungen für Touchscreens */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .pure-button {
        padding: 0.5em 1em;
    }

    .number {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .number-button {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

}
