html {
    box-sizing: border-box;
    height: 100%;
    font-family: sans-serif;
    word-wrap: break-word;
    white-space: normal;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #8b868240;
    /* Helles Blau für den Hintergrund */
}

main {
    display: flex;
    justify-content: center;
    margin-bottom: 270vh;
}

nav {
    display: flex;
    justify-content: center;
    background-color: darkred;
    padding: 10px;
}

nav a {
    color: white !important;
    text-decoration: none;
    margin: 0 15px;
    padding: 10px;
    border-radius: 5px;
    background-color: #004A9F;
}

nav a:hover,
nav a.active {
    background-color: #000000;
}


h1 {
    font-size: 32pt;
    text-align: center;
    color: darkred;
    /* Dunkelroter Akzent */
}

h2 {
    font-size: 24pt;
    text-align: center;
    color: darkred;
    /* Dunkelroter Akzent */
}

h3 {
    text-align: center;
    color: darkred;
}

p,
label,
ul,
li {
    font-size: 14pt;
    color: #004A9F;
    /* FAU-Blau für Texte */
}

.hint {
    font-size: 12pt;
    color: darkred;
    /* Dunkelroter Akzent */
}

#container {
    border: 1px solid darkred;
    /* Dunkelroter Rahmen */
    padding: 10px;
    min-width: 25em;
    width: 100%;
    max-width: 500px;
    background-color: white;
    /* Weißer Hintergrund für Inhalte */
    word-wrap: break-word;
    white-space: normal;
}

#loginForm {
    display: flex;
    flex-direction: column;
}

#loginForm label,
button {
    margin-top: 15px;
    cursor: pointer;
}

#loginForm * {
    padding: 5px;
}

/* Buttons */
.button {
    padding: 5px;
    text-align: center;
    cursor: pointer;
    background-color: #004A9F;
    /* FAU-Blau für Buttons */
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 14px;
}

.logout_button {
    margin-top: 0px;
    float: right;
}

.button:hover {
    background-color: #00316E;
    /* Dunkleres Blau beim Hover */
}

/* Teacher, Student, Seminar */
.button_opt {
    padding: 15px;
    margin-left: 20px;
    font-size: 14pt;
    text-align: center;
    cursor: pointer;
    color: white;
    background-color: #dc3545;

}


/* Farben für Links */
a {
    color: #004A9F;
    /* FAU-Blau für Links */
    text-decoration: none;
}

a:hover {
    color: darkred;
    /* Dunkelroter Hover-Effekt */
}

a:visited {
    color: #800000;
    /* Dunkelrot für besuchte Links */
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 15vh;
    background-color: darkred;
    /* rot für den Footer */
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer img {
    width: 150px;
    padding: 0.5rem;
    background: white;
    border-radius: 3rem;
}

/* Responsives Design */
@media (max-width: 768px) {
    #container {
        width: 90%;
        min-width: 30%;
        max-width: 400px;
        margin-bottom: 5em;
        padding: 10px;
        align-items: center;
        margin: 1px;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 14pt;
    }

    footer {
        width: 100%;
        max-height: 3%;
    }

    footer img {
        width: 50%;
        align-items: center;
        padding: 0;
    }

    /*BA*/
    .tooltip {
        max-width: 100%;
    }

    /*end BA*/
}


select {
    width: 100%;
    padding: 6px;
    resize: vertical;
    border-radius: 4px;
    border: 1px grey solid;
}

select {
    width: 100%;
    padding: 6px;
    resize: vertical;
    border-radius: 4px;
    border: 1px grey solid;
}

input[type=text],
input[type=url],
select[type=select-register],
textarea {
    width: 100%;
    padding: 6px;
    resize: vertical;
    border-radius: 4px;
    border: 1px grey solid;
    margin-top: 6px;
}

/*input[type=text], */
input[type=url],
select[type=select-register],
textarea {
    width: 100%;
    padding: 6px;
    resize: vertical;
    border-radius: 4px;
    border: 1px grey solid;
    margin-top: 6px;
}

input[type=text-answer] {
    padding: 6px;
    resize: vertical;
    border-radius: 4px;
    border: 1px grey solid;
}

input[type=email-change],
input[type=password-change],
input[type=text].studentDataText,
select[type=selectedSeminar],
.pw_change,
.studentDataText {
    width: 97%;
    padding: 6px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px grey solid;
}




.col-25 {
    float: left;
    width: 100%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 96%;
    margin: 3px 6px 3px 3px;
}

.col-98 {
    float: left;
    width: 99%;
    width: 96%;
    margin: 3px 6px 3px 3px;
}

.col-98 {
    float: left;
    width: 99%;
    margin: 3px 6px 3px 3px;
}

.col-100 {
    float: left;
    width: 100%;
    margin: 3px 6px 3px 6px;
}

.col-100 {
    float: left;
    width: 100%;
    margin: 3px 6px 3px 6px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}


.notice {
    font-size: 12px;
    color: #004A9F;
}

/* #noticeBox {
    max-width: 400px;
    margin: auto;
    text-align: center;
    padding: 20px;
    display: block;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #f9f2f4;
    display: block;
} */

#noticeBox {
    max-width: 400px;
    text-align: center;
    padding: 20px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #f9f2f4;
    margin-bottom: 10em;
    margin-left: auto;
    margin-right: auto;
}

/* Login */
#forgot-password {
    text-align: center;
}

/* Für Fehlernachrichten */
.error-message,
#error-message {
    color: darkred;
    font-weight: bold;
    display: none;
    /* muss in der js.Datei zum Auftauchen mit style.display = "block" verändert werden */
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
}

/*Seminar Box */
#seminarContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 100px;
    padding: 5px;
    border-radius: 8px;
}

.box {
    border: 1px solid black;
    border-radius: 5px;
    padding: 20px;
    background-color: white;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

#seminarContainer .action-buttons {
    margin-top: 20px;
    text-align: center;
}

/* Coordinator */
/* Modal-Container */
.modal {
    display: none;
    /* Standard: Versteckt */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Halbtransparentes Schwarz */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    text-align: center;
}

/* Schließen-Button von Modal-Container */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.active {
    display: block;
}

.hidden {
    display: none;
}

#password-requirements {
    margin-top: 1em;
    /* Fügt Abstand über der Textbox hinzu */
    padding: 2%;
}

#password-requirements ul {
    margin-top: 0;
    padding-left: 6%;
}

Coordinator #create-account-div,
input[type=email],
input[type=password] {
    padding: 6px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px grey solid;
    padding: 6px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px grey solid;
}

#create-account-div label {
    display: block;
    margin-top: 10px;
}

#timeList {
    margin: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f8ff;
    /* Açık mavi arka plan */
}

#account-list-div {
    margin-top: 0em;
    /* Fügt Abstand über der Textbox hinzu */
    padding: 0%;
}

#account-list-div ul {
    margin-top: 0;
    padding-left: 2%;
}

#account-list-div li {
    margin-bottom: 0em;
    /* Fügt Abstand zwischen den Listeneinträgen hinzu */
}

.delete-button {
    text-align: center;
    cursor: pointer;
    display: block;
    margin-bottom: 1em;
    margin-top: 2%;
}

/*BA*/
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 280%;
    max-width: 45vw;
    /*ensure the box stays inside the window*/
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    text-align: left;
    overflow: auto;

    /*position of tooltip*/
    position: absolute;
    bottom: -100%;
    left: 170%;
    margin-left: -60px;
    transform: translateY(50%);
    z-index: 1000;

    /*fade in*/
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltiptext li,
.tooltiptext_small li,
.infotext li {
    font-size: 12pt;
    color: #004A9F;
    text-align: left;
}

.tooltiptext ul,
.tooltiptext_small ul {
    list-style: disc;
    text-align: left;
}

.tooltip .tooltiptext_small {
    visibility: hidden;
    background-color: #fff;
    padding: 10px;
    margin: 5px auto;
    border-radius: 10px;
    width: 300px;
    max-width: 100vw;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    text-align: center;
    overflow: auto;
    color: #004A9F;

    /*position of tooltip*/
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -160px;

    /*fade in*/
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext_small {
    visibility: visible;
    opacity: 1;
}


/*information for transparency*/
#information {
    display: flex;
    flex-direction: column;
    gap: 10px;

    position: absolute;
    min-width: 25em;
    width: 100%;
    max-width: 500px;
    transform: translateY(180px);
}

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

#info_button,
#example_button,
#contact_button {
    position: relative;

    /*button design*/
    padding: 5px;
    text-align: center;
    cursor: pointer;
    color: #004A9F;
    /* FAU-blue for buttons */
    background-color: white;
    border: solid;
    border-color: #004A9F;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 12pt;
    width: 100%;
}

.infotext_head {
    color: #004A9F;
    font-size: 14pt;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    border: solid;
    border-radius: 5px;
}

.infotext {
    color: #004A9F;
    font-size: 12pt;
}

.infotext_head p {
    margin: 0;
}

.infotext ul,
.infotext ol {
    margin: 5px;
}

.red {
    color: darkred;
}

#example_text table,
th,
td {
    border: 1px solid #004A9F;
    border-collapse: collapse;
    font-size: 10pt;
    text-align: center;
    font-weight: normal;
    padding: 5px;
}

#example_text tr:hover {
    background-color: white;
    cursor: default;
}

#contact_text a {
    text-decoration: underline;
}
/*end BA*/