/* montserrat-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('./font/montserrat-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

html{
    overflow-y: scroll;
}

body {
    font-family: Montserrat;
    background-color: lightblue;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 98vh; /*Footer am Seitenende*/
}

h1{
    color:rgb(51, 48, 98);
    text-align: center;
    font-size: 3em;
}

h3{
    font-size: 1.5em;
}

p{
    font-size: 1.5em;
}

section{
    max-width: 100ch;
    line-height: 2em;
}

.clickableImg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border: solid black;
    border-radius: 10px;
    max-width: 100%;
}

.clickableImg:hover{
    cursor: pointer;
}

.nobox{
    margin-left: 20px;
    margin-right: 20px;
}

.info{
    background-color: lightyellow;
    border: solid;
    border-radius: 10px;
    border-color: orange;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
}

.info h2{
    color: orange;
}

.quizBox{
    background-color: rgb(169, 206, 106);
    border: solid;
    border-radius: 10px;
    border-color: rgb(81, 114, 24);
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
}

.quizBox h2{
    color: rgb(81, 114, 24);
}

.quiz li{
    font-size: 1em;
}

.quiz,
.choices {
    list-style-type: none;
    padding: 0;
}

.choices li {
    margin-bottom: 5px;
    font-size: 1.5em;
}

.choices label {
    display: flex;
    align-items: center;
}
.choices label,
input[type="radio"] {
    cursor: pointer;
}
input[type="radio"] {
    margin-right: 20px;
}

.buttonQuiz{
    background-color: rgb(196, 209, 235);
}

.buttonQuiz:hover{
    background-color: rgb(51, 48, 98);
}

.buttonInfo{
    background-color: rgb(255, 255, 236);
    border-color:orange;
    color: orange;
}

.buttonInfo:hover{
    background-color: orange;
}

.size{
    font-size: 1.5em;
}

.menuBox{
    border: solid;
    border-color: rgb(51, 48, 98);
    border-radius: 15px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    transition: border-color 0.4s, box-shadow 0.4s;
}

.menuBox:hover{
    cursor: pointer;
    border-color: cornflowerblue;
    box-shadow: 3px 6px;
}

.menuBox h2{
    text-align: center;
    font-size: 1.75em;
}

summary{
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
}

.tipp{
    background-color: rgb(135, 171, 236);
    border: solid;
    border-radius: 10px;
    border-color:rgb(75, 70, 146);
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
}

.tipp summary{
    color:rgb(75, 70, 146);
    font-weight: bold;
}

.details_aufgabe{
    background-color: rgb(240, 157, 157);
    border: solid;
    border-radius: 10px;
    border-color:darkred;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
}

.details_aufgabe summary{
    color: darkred;
}

.details_info{
    background-color: rgb(255, 255, 236);
    border: solid;
    border-radius: 10px;
    border-color:orange;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
}

.details_info summary{
    color: orange;
}

.details_nobox{
    background-color: rgb(197, 221, 230);
    border: solid;
    border-radius: 10px;
    border-color:black;
    padding: 20px;
    margin-top: 10px;
}

li{
    font-size: 1.5em;
}

summary:hover{
    cursor: pointer;
}

.aufgabe{
    background-color: lightcoral;
    border: solid;
    border-radius: 10px;
    border-color: darkred;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
}

.aufgabe h2{
    color: darkred;
}

.hervorgehoben{
    color:red;
}

button{
    border: 2px solid rgb(51, 48, 98);
    border-radius: 5px;
    background-color: lightgreen;
    font-size: 1.5em;
    color:rgb(51, 48, 98);
    font-weight: bold;
    padding: 10px;
    transition-duration: 0.4s;
}

button:hover{
    background-color: rgb(51, 48, 98);
    color: white;
    cursor: pointer;
}

footer{
    margin-top: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    max-width: 100ch;
    width: 95%;
    text-align: center;
}

.right{
    display: flex;
    justify-content: right;
    margin-left: 20px;
    margin-right: 20px;
}

.hidden{
    display: none;
}

.optionswahl{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#download{
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 2;
    width: 30ch;
    object-fit: contain;
}

figure{
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
}

.buttonMenu{
    background-color: lightcoral;
}

.buttonMenu:hover{
    background-color: rgb(51, 48, 98);
}

.buttonMenu2{
    background-color: lightblue;
}

.buttonMenu2:hover{
    background-color: rgb(51, 48, 98);
}

.center{
    display:flex;
    flex-direction: column;
    align-items: center;
}

table, th, td{
    border: solid black thin;
    border-collapse: collapse;
    padding: 5px;
}

table{
    width: 100%;
    font-size: 1.5em;
    overflow-x: auto;
}

code{
    font-size: 1.3em;
}

.aufgabe hr{
    border: 1px solid darkred;
}

.aufgabenauswahl{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom: 15px;
}

.aufgabenoption{
    border: solid darkred;
    background-color: rgb(226, 93, 93);
    border-radius: 10px;
    width: 25%;
    text-align: center;
    transition: border-color 0.5s, box-shadow 0.5s;
}

.aufgabenoption h3{
    color: darkred;
}

.aufgabenoption:hover{
    cursor: pointer;
    border-color: red;
    box-shadow: 2.5px 5px;
}

.multipleButtons{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.buttonOptionswechsel{
    background-color: lightgray;
    color: darkgray;
    border-color: darkgray;
    width: 10ch;
    opacity: 0.7;
}

.buttonOptionswechsel:hover{
    background-color: darkred;
    border-color: darkred;
    color: white;
}

.buttonOptiongewaehlt{
    background-color: rgb(226, 93, 93);
    border-color: darkred;
    color: darkred;
    width: 10ch;
}

.buttonOptiongewaehlt:hover{
    cursor:unset;
    background-color: rgb(226, 93, 93);
    color:darkred;
}

.img_and_text{
    display:flex;
    flex-direction: row;
}

.alignSelect{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    line-height: 0em;
}

.buttonAufgabe{
    background-color: rgb(226, 93, 93);
    border-color: darkred;
    color: darkred;
}

.buttonAufgabe:hover{
    background-color: darkred;
    border-color: darkred;
    color: white;
}

select{
    border: solid;
    border-radius: 5px;
    border-color: grey;
    border-width: 2px;
    font-size: 1.25em;
    padding: 1ch;
    box-sizing: border-box;
}

@media screen and (max-width: 900px){
    .img_and_text{
        flex-direction: column;
    }
    .prep{
        display: none;
    }
    .img_for_text{
        min-width: none;
    }
}

@media screen and (max-width: 1100px) {
    table{
        font-size: 1.2em;
    }
    .alignSelect{
        flex-direction: column;
    }
    .showWhenSmall{
        display: unset;
    }
    .stackWhenSmall{
        display: table-row;
    }
}

.showWhenSmall {
    display: none;
}