/* --- Allgemeine Angaben --- */

@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Bold.ttf') format('truetype');
    src: url('fonts/Ubuntu-BoldItalic.ttf') format('truetype');
    src: url('fonts/Ubuntu-Italic.ttf') format('truetype');
    src: url('fonts/Ubuntu-Light.ttf') format('truetype');
    src: url('fonts/Ubuntu-LightItalic.ttf') format('truetype');
    src: url('fonts/Ubuntu-Medium.ttf') format('truetype');
    src: url('fonts/Ubuntu-MediumItalic.ttf') format('truetype');
    src: url('fonts/Ubuntu-Regular.ttf') format('truetype');
}

html, body {
    font-family: 'Ubuntu', 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    /*overflow-x: hidden;*/
}

#header-container {
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right: 2em;
    padding-top: 1em;
}


/* Stil für den Login-Button */
.login-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-right: 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.login-btn:hover {
    background-color: #0056b3;
}

/* Stil für das Dropdown-Menü */
/* Stil für das Dropdown-Menü */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dropdown-icon {
    width: 30px; /* Größe des Icons */
    height: auto;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 0;
    top: 100%;
    transform: translateX(0); /* Verschiebt das Menü nach links */
}

.dropdown-content a {
    padding: 8px 12px;
    display: block;
    text-align: center;
}

.dropdown-content a img {
    width: 25px; /* Größe der Sprachflaggen */
    height: auto;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* -- Footer -- */

#footer-container {
    background-color: whitesmoke;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.footer_child {
    width: 200px;
    text-align: center;
}

footer img {
    max-width: 40px;
    padding: 5px;
}

/* -- Rest nach Footer und Header -- */

main {
    background-color: grey;
    min-height: calc(100vh - 50px);
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.workspace {
    height: 80vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.workspace img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.workspace button {
    background-color: white;
    color: black;
    margin-top: 5vh;
    font-size: large;
    width: 11em;
    height: 3em;
    border-radius: 24px;
    border: none;
    transition: background-color 0.3s ease;
}

.workspace button:hover {
    background-color: lightgray;
    color: black;
}

.disclaimer {
    color: white;
    max-width: 500px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.disclaimer button {
    background-color: white;
    color: black;
    margin-top: 5vh;
    font-size: large;
    width: 11em;
    height: 3em;
    border-radius: 24px;
    border: none;
    transition: background-color 0.3s ease;
}

.disclaimer button:hover {
    background-color: lightgray;
    color: black;
}

.quiz-container{
    color: white;
    height: 80vh;
    width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz-container input {
    margin-top: 10px;
    background-color: grey;
    color: white;
    width: 100%;
    min-height: 3em;
    height: auto;
    border-radius: 24px;
    border: none;
    transition: background-color 0.3s ease;
    white-space: pre-wrap
}

.quiz-container input:hover {
    background-color: lightgray;
    color: black;
}

.legal {
    color: white;
    max-width: 500px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Inhalt oben ausrichten */
    align-items: flex-start; /* Inhalt am Anfang ausrichten */
    overflow: auto;
    max-height: 70vh;
}

.legal button {
    background-color: white;
    color: black;
    margin-top: 5vh;
    font-size: large;
    width: 11em;
    height: 3em;
    border-radius: 24px;
    border: none;
    transition: background-color 0.3s ease;
}

.legal button:hover {
    background-color: lightgray;
    color: black;
}

/* --- Smartphone --- */
@media (max-width: 800px) {
    .quiz-container{
        width: 90%;
    }
}

/* --- Desktop und Tabletversion --- */
@media (min-width: 801px){
    
}