/* Stili Font Waldorf */
@font-face {
    font-family: 'Antropos';
    src: url('http://www.fraternalux.it/fonts/antropos.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baarzeitgeist';
    src: url('http://www.fraternalux.it/fonts/baarzeitgeist.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.txt-content {
    font-family: 'Antropos', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.txt-content em, .txt-content i {
    font-family: 'Baarzeitgeist', serif;
    font-style: italic;
}

/* Stagioni */

.season-date-container {
    position: fixed;
    z-index: 1000;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    transition: all 1s ease;
    text-align: center;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.season-date-container.top-right {
    top: 10px;
    right: 10px;
    left: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    padding: 5px 10px;
}

.season-date-container.aligned-with-navbar {
    top: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    background-color: transparent; /* Cambiato da rgba(0, 0, 0, 0.5) a transparent */
}

.season-date-container.aligned-with-navbar .season,
.season-date-container.aligned-with-navbar .full-date {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.season {
    font-family: 'Antropos', sans-serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.full-date {
    font-family: 'Antropos', sans-serif;
    font-size: 24px;
}

.season-date-container.top-right .season,
.season-date-container.aligned-with-navbar .season {
    font-size: 24px;
    margin-bottom: 0;
    margin-right: 10px;
}

.season-date-container.top-right .full-date,
.season-date-container.aligned-with-navbar .full-date {
    font-size: 14px;
}

.aforisma-container {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    text-align: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    max-height: 40vh;
    overflow: hidden;
}

.aforisma-container.fade-up {
    animation: fadeUpAnimation 8s forwards;
}

@keyframes fadeUpAnimation {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -30%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
}

.aforisma-text, .aforisma-source {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
}

.aforisma-text {
    font-family: 'Baarzeitgeist', serif;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.aforisma-source {
    font-family: 'Antropos', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .season-date-container {
        top: 10%;
    }

    .season-date-container.aligned-with-navbar {
        top: 0;
        right: 60px;
        width: auto;
        justify-content: flex-end;
    }

    .season {
        font-size: 36px;
    }

    .full-date {
        font-size: 18px;
    }

    .aforisma-container {
        top: 10%;
        max-height: 35vh;
    }

/* stile testo per l'aforisma */
.aforisma-text {
    font-family: 'Baarzeitgeist', serif;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

    .aforisma-source {
        font-size: 14px;
    }
}