.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    cursor: default;
}

.timeline{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 10px;
}
.timeline-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 190px;

    position: relative; /* Ermöglicht absolute Positionierung der Linie */
    --diameter: 50px;
}
.timeline-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Verteilt den Inhalt */
    flex-grow: 1; /* Sorgt dafür, dass alle Boxen gleich hoch sind */

    text-align: center;
    border-radius: 10px;
    padding: 0 10px 10px 10px;

    /* Glass-Effect*/
    background: var(--glass_lightgreen);
    box-shadow: var(--glass_box_shadow);
    -webkit-backdrop-filter: blur(var(--glass_blur)); /* For Safari */
    backdrop-filter: blur(var(--glass_blur)); /* For modern browsers */
    border: var(--glass_lightgreen_border);
}

.timeline-content strong {
    color: #505354;
}

.timeline-container p {
    margin: 0;
}

.timeline-icon{
    height: var(--diameter);
    width: var(--diameter);
    border-radius: 50%;
    margin: 0 auto; /* Center horizontally*/

    color: white;
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center;
    font-size: calc(var(--diameter) / 2);

    position: relative; /* Erforderlich für absolute Positionierung des Icons */
    z-index: 1; /* Hebt das Icon über die Linie */

    /* Glass-Effect*/
    background: rgba(85, 83, 83, 0.7);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(var(--glass_blur)); /* For Safari */
    backdrop-filter: blur(var(--glass_blur)); /* For modern browsers */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-button-container {
    display: flex;
    justify-content: center;
    align-items: end;
    width: 100%;
    flex: 1;
    margin-top: 15px;
}

.timeline button{
    width: 100%;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s ease;

    /* Glass-Effect*/
    background: var(--glass_darkgreen);
    -webkit-backdrop-filter: blur(var(--glass_blur)); /* For Safari */
    backdrop-filter: blur(var(--glass_blur)); /* For modern browsers */
    border: var(--glass_darkgreen_border);
}

.timeline button:hover {
    background: var(--glass_darkgreen_button_hover);
}

.timeline-container hr{
    position: absolute; /* Positioniert die Linie absolut */
    top: calc(var(--diameter) / 2 - 1px); /* Zentriert die Linie vertikal */
    left: -5px;
    right: -5px;
    border: none;
    height: 2px; /* Höhe der Linie */
    background-color: #ccc; /* Farbe der Linie */
    z-index: 0; /* Legt die Linie hinter das Icon */
    margin: 0;
    
}

/* ----- INFO - container ------------------------ */
.info-title {
    width: 100%;
    text-align: center;
    margin: 0;
    margin-bottom: 15px;
    font-weight: bold;
    color: #383c3c;
}

.info-container {
    padding: 0;
    margin: 0;

    /*width: calc(100vw - 60px);*/
    width: 100%;
}

.info-content {
    border-radius: 10px;

    padding: 15px;

    /* Glas-Effekt*/
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stärkere Schatten für mehr Tiefe */
    -webkit-backdrop-filter: blur(3px) saturate(75%); /* Safari-Unterstützung */
    backdrop-filter: blur(3px) saturate(75%); /* Stärkerer Unschärfe- und Sättigungseffekt */
    border: 1px solid rgba(255, 255, 255, 0.4); /* Leichte Rahmen für Glas-Effekt */
}

.info-container-form {
    width: 100%;
    height: 100%;

    max-width: none;
    padding: 0;
    gap: 5px;

    /* unset Glas-Effekt*/
    background: transparent;
    box-shadow: none; /* Stärkere Schatten für mehr Tiefe */
    -webkit-backdrop-filter: unset; /* Safari-Unterstützung */
    backdrop-filter: unset; /* Stärkerer Unschärfe- und Sättigungseffekt */
    border: none; /* Leichte Rahmen für Glas-Effekt */
}

.info-button-container {
    display: flex;
    gap: 20px;
    margin: 0 15px 15px 15px;

    justify-content: end;
}

.info-button-container button{
    max-width: 150px;

    background-color: var(--glass_lightgreen);
}

.info-container-form textarea {
    line-height: 1.5;
    font-size: 1em;
}

/* ---- INFO-FILE-container -------------------------------- */
.info-files-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: fit-content;

    padding: 15px;

    border-radius: 10px;

    /* Glas-Effekt*/
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stärkere Schatten für mehr Tiefe */
    -webkit-backdrop-filter: blur(3px) saturate(75%); /* Safari-Unterstützung */
    backdrop-filter: blur(3px) saturate(75%); /* Stärkerer Unschärfe- und Sättigungseffekt */
    border: 1px solid rgba(255, 255, 255, 0.4); /* Leichte Rahmen für Glas-Effekt */
}

.info-file-delete-form {
    padding: 0;
    margin: 0;
    width: fit-content;
    min-width: 70px;
    box-sizing: border-box;

    /* unset Glas-Effekt*/
    background: none;
    box-shadow: none; /* Stärkere Schatten für mehr Tiefe */
    -webkit-backdrop-filter: unset; /* Safari-Unterstützung */
    backdrop-filter: unset; /* Stärkerer Unschärfe- und Sättigungseffekt */
    border: none; /* Leichte Rahmen für Glas-Effekt */
}

.info-file-delete-form button {
    background: var(--glass_lightgreen);
    height: 100%;
    box-sizing: border-box;
}

.info-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.info-files-list li {
    display: flex;
    gap: 20px;
    font-size: 1.05rem;
    align-items: stretch; /* makes all childes the same height */
}

.info-file-download {
    display: flex;
    align-items: center;

    color: black;
}

.info-file-download:hover,
.info-file-download:focus {
    background: var(--glass_lightgreen_button_hover);
}

.info-file-download i {
    font-size: 1.5rem;
    margin-right: 10px;
}

#info-file-upload-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9998;

    /* Glas-Effekt*/
    background: rgba(255, 255, 255, 0.1);
    box-shadow: unset; /* Stärkere Schatten für mehr Tiefe */
    -webkit-backdrop-filter: blur(10px) saturate(75%); /* Safari-Unterstützung */
    backdrop-filter: blur(10px) saturate(75%); /* Stärkerer Unschärfe- und Sättigungseffekt */
    border: unset; /* Leichte Rahmen für Glas-Effekt */
}

.hidden{
    display: none;
}

.visible{
    display: block;
}

#info-file-upload-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.info-file-upload-button-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.info-file-upload-button-container button {
    width: fit-content;
}

.info-file-delete-form button {
    font-size: 1.3em;
    text-shadow: none;
}


#info-file-add-button, #info-file-login-button {
    display: inline-flex;  /* Verwende inline-flex, damit es als Block-Element angezeigt wird */
    justify-content: center; /* Zentriert den Inhalt */
    align-items: center;  /* Zentriert den Inhalt auch vertikal */
    width: 1.2em;  /* Setze eine feste Breite */
    height: 1.2em;  /* Setze eine feste Höhe */
    border-radius: 50%;  /* Macht das Label rund */
    color: white;  /* Setzt die Textfarbe auf weiß */
    font-size: 3em;  /* Passt die Schriftgröße an */
    cursor: pointer;  /* Zeigt den Pointer-Cursor an, wenn man über das Label fährt */
    font-weight: bold;  /* Macht das Pluszeichen fett */
    text-align: center;  /* Zentriert den Text innerhalb des Labels */
    text-shadow: none;

    /* Glass-Effect */
    background: var(--glass_darkgreen);
    box-shadow: var(--glass_box_shadow);
    -webkit-backdrop-filter: blur(var(--glass_blur)); /* For Safari */
    backdrop-filter: blur(var(--glass_blur)); /* For modern browsers */
    border: var(--glass_darkgreen_border);
}

#info-file-login-button{
    font-size: 1.5em;
    padding: 30px;
}

#info-file-add-button:hover, #info-file-login-button:hover {
    background: var(--glass_darkgreen_button_hover);
}

.field-container {
    flex: 1; /* Take up remaining space */
    display: flex; /* Ensure field container uses flex properties */
    flex-direction: column; /* Stack errors and inputs vertically */
}


.required-fields-mark {
    font-size: 1.2em;
    color: red;
    margin-left: 5px;
}

.drag-drop-container {
    border: 2px dashed #ccc;
    padding: 10px;
    color: white;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;

    border-radius: 10px;
}

.drag-drop-container:hover {
    background: var(--glass_lightgreen_button_hover);
    border: var(--glass_lightgreen_border);
    border-width: 2px;
}

.drag-drop-container i {
    font-size: 24px;
}

#upload-info-file-drop-text {
    margin-bottom: 0;
}

.drag-over {
    border-style: outset;
    border-color: var(--darkgreen);
    background-color: rgba(255, 255, 255, 0.7);
}


.errorlist {
    color: white;
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    border-radius: 4px;
    background-color: orangered;
    text-align: center;
}

.errorlist li:not(:first-child) {
    margin-top: 5px;
}

.errorlist li:first-child {
    padding-top: 5px;
}

.errorlist li:last-child {
    padding-bottom: 5px;
}

.form-group label {
    white-space: nowrap;
}