#news:before {
    transform: scaleX(1);
}

h1 {
    margin: 0;
}
.main-title {
    position: relative;
    font-size: min(10vw, 36px);
    max-font-size: 80px;
    color: var(--font-color);
    margin: 50px auto 50px auto;
}

.news-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.news {
    width: fit-content;
    position: relative;
    display: flex;
    flex-flow: column;
    color: var(--font-color);
    gap: 30px;
    margin:min(6vw, 30px);
}

.news-title {
    font-size: min(8vw, 26px);
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
}

.svg-container {
    width: min(48px, 8vw);
    height: min(48px, 8vw);
}

.file-icon {
    fill: var(--font-color);
}

.news-description {
    font-size: min(8vw, 22px);
}

.news-id, .news-amount, .news-amount-percent, .news-date {
    font-size: min(6vw, 18px);
}

.news-highlight {
    color: var(--divider-color);
    font-weight: 700;
}

@media screen and (max-width: 930px) {
    .news {
        width: 470px;
        gap: min(2vw,16px);
    }
}

@media screen and (max-width: 900px) {
    #newss:before {
        transform: scaleX(0);
    }
}
@media (max-width: 1024px) {
    .news {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .news {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.5rem;
    }
    
    .news-description {
        font-size: 1.1rem;
    }
    
    .news-id {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .news {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1.3rem;
    }
}

.news iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}
.news-container,
.news-image,
.divider-major,
.main-title {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
