body {
    font-family: sans-serif;
    display: grid;
    grid-template-rows: 1fr 5fr 3fr;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
#header{
    background-color: #000;
    color:#fff;
    height:100%;
    width: 100%;
}
.card-container {
    
    margin: 0px;
    padding: 10px;
    box-shadow: 0 2px 5px#000;
    background-color: rgb(83, 83, 219);
    perspective: 500px; /* Für den Flip-Effekt */
    width: 100%;
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: smaller;
}

.card {
    width: 300px;
    height: 200px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.card-front {
    background-color: #e0f7fa;
    color: #00838f;
}

.card-back {
    background-color: #b2ebf2;
    color: #006064;
    transform: rotateY(180deg);
}

.options-container {
    margin-top: 10px;
    padding: 15px;
    height:250px;
    width:90%;
    display: grid;
    grid-template-columns: 2fr 2fr;
    grid-template-rows: 2fr 2fr;
    align-content: center;
}

.option {
    padding: 10px;;
    border: 1px solid #ccc;
    cursor: pointer;
    background-color: #fff;
    align-content: center;
    text-align: center;
}

.option:hover {
    background-color: #dff;
}

.feedback {
    font-weight: bold;
}

.rating-container {
    margin-top: 20px;
    display: none;
}

.rating-button {
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
}

#counter{
    width: 350px;
    margin: auto;
    display: grid;
    grid-template-columns: 100px 100px 100px;
    grid-template-rows: 50px 25px;
    grid-template-areas:    "feedback feedback feedback"
                            "right wrong result";
    justify-items: center;
}
#feedbackContainer{
    width: 90%;
    grid-area: feedback;
    background-color: #dde;
    text-align: center;
    align-content: center;
    justify-content: center;
    box-shadow: 0 0 5px #888;
}
.counterBox{
    width: 50px;
    height:50px;
    text-align: center;
    font-size: smaller;
    align-content: center;
    justify-content: center;
    box-shadow: 0 0 5px #888;
    font-family: monospace;
    font-weight: bolder;
}
#right{
    background-color: #55ffaa;
    grid-area: right;
}
#wrong{
    background-color: #ff5555;
    grid-area: wrong;
}
#result{
    grid-area: result;
}
.resultGood{
    background-color: #99ff99;
}
.resultBad{
    background-color: #ff9999;
}


.footer{
    position: fixed;
    bottom: 0;
    background-color: lightblue;
    width: 100%;
    height:125px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.fab {
    font-size: 2em; /* Verdoppelt die Standardgröße */
    color: #333; /* Setzt die Farbe auf Dunkelgrau */
  }