.main-container {
    width: 80%;
    max-width: 1250px;
    margin: auto;
}

.main-container .button {
    margin-top: 50px;
}


/* Tagebuch-Popup */

#diary-alert-container {
    position: fixed;
    display: none;
    justify-content: center;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    z-index: 6;
}

#diary-alert-container .alert-text-container {
    max-width: 1250px;
    max-height: 85vh;
    gap: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

#diary-alert-container .alert-text-container h1 {
    margin-bottom: 10px;
}

#diary-alert-container .alert-text-container h2 {
    margin: 20px 0 10px 0;
}

#diary-alert-container .alert-text-container ul {
    margin-left: 40px;
}

#diary-alert-container .alert-text-container .button {
    margin-top: 25px;
}

.close-diary-alert-container {
    position: absolute;
    width: 100%;
    max-width: 1250px;
    height: 100%;
    pointer-events: none;
}

#close-diary-alert {
    position: relative;
    display: flex;
    justify-content: center;
    width: 50px;
    height: 50px;
    top: 15px;
    left: calc(100% - 15px);
    transform: translate(-100%);
    pointer-events: all;
    cursor: pointer;
    z-index: 7;
}

#close-diary-alert hr {
    width: 1px;
    height: 100%;
    border: 2px solid black;
}

#close-diary-alert hr:first-of-type {
    transform: rotate(45deg) translateY(-2.5px);
}

#close-diary-alert hr:last-of-type {
    transform: rotate(-45deg) translateY(-2.5px);
}
