body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
}

@media (max-width: 768px) {
    body {
        display: block;
        padding: 0 20px;
    }

    #app {
        margin: 0 auto; /* Center the app horizontally */
        padding-top: 20px; /* Add padding to create space at the top */
    }
}

#app {
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 600px;
}

#login {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#kachel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.kachel {
    width: 100%;
    min-height: 450px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kachel-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 10px;
}

h2 {
    margin: 0 0 10px;
}

.btn {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #0056b3;
}


.quellen {
    display: flex;
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

li {
    margin: 10px 0 10px 0;
}

#back-container {
    display: flex;
}
.back {
    user-select: none;
    padding: 10px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-left: auto
}


::backdrop {
    background-image: linear-gradient(
        45deg,
        magenta,
        rebeccapurple,
        dodgerblue,
        green
    );
    opacity: 0.75;
}

#title {
    text-transform: capitalize;
    font-size: 2em;
    font-weight: bold;
    color: #007bff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0;
}

.answer-card {
    padding: 10px;
    background: #e0e0e0;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 10px;
}

.answer-card::first-letter {
    text-transform: capitalize;
}

.answer-card:hover {
    background: #d0d0d0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #007bff;
    color: white;
}

th,
td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: center;
}

.answer {
    padding: 10px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 0;
}

.answer-notes {
    font-style: italic;
}

.answer-notes p {
    margin: 0;
}

#normen > h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: capitalize;
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0;
    border-top: 2px solid lightgray;
}

#normen > h3:first-of-type {
    border-top: none;
}

#normen > p {
    margin: 5px;
}

#normen > ul {
    margin: 5px;
}