/* #region // GENERAL */
html {
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    height: 100%;
    width: 100%;
    margin: 0;

    background-position: left center;
    background-size: cover;

    overflow-y: auto !important;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

body.news-open {
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 100vh !important;
}

/* #endregion */

/* #region // TIMER */
.container {
    display: inline-block;

    font-family: monospace;
    font-size: 60px;

    margin-top: 35px;
    padding: 20px 40px;

    border-radius: 20px;

    color: hsl(0, 0%, 90%);
    background-color: hsla(0, 0%, 0%, 0.5);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    transition: font-size 1s;
}

/* #endregion */

/* #region // LOGO */
#countdown-logo-re9 {
    height: 200px;
    transition: height 0.5s ease;
}

#countdown-logo-rev {
    height: 200px;
    transition: height 0.5s ease;
}

.container:hover {
    font-size: 65px;

    transition: font-size 1s;
}

.timers-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    gap: 100px;

    transition: opacity 0.5s ease-in-out;
}

.timers-wrapper.hide-timer {
    opacity: 0;
    pointer-events: none;
}

.timer-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* #endregion */

/* #region // NEWS HISTORY */
.scroll-down-wrapper {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: opacity 0.5s ease;
}

.scroll-down-wrapper.hide {
    opacity: 0;
    pointer-events: none;
}

.scroll-down-btn {
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down-btn:hover {
    opacity: 1;
    transform: translateY(5px);
}

.news-section {
    display: none;
    opacity: 0;
    height: auto !important;
    transition: opacity 0.5s ease-in-out;
    min-height: 100vh;
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-family: 'Oswald', sans-serif;
    text-align: center;
}

.news-section.show {
    opacity: 1;
}

.scroll-up-btn {
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.scroll-up-btn:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* PADRÃO DOS CARDS DE NOTÍCIAS */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.news-item {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    /* Fundo translúcido elegante */
    border-radius: 10px;
    padding: 20px;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.news-image {
    width: 200px;
    height: 120px;
    object-fit: cover;
    /* Garante que a imagem preencha a caixa sem distorcer */
    border-radius: 8px;
    flex-shrink: 0;
    /* Impede que a imagem encolha muito se o texto for grande */
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-date {
    font-weight: 700;
    /* Data em negrito */
    font-size: 1.1rem;
    color: #f0f0f0;
}

.news-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
}

/* Responsividade para Celulares */
@media (max-width: 600px) {
    .news-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .news-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* #endregion */