﻿.news-block {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/background_vert.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
/*    padding-top: 2%;*/
    font-family: Arial, sans-serif;
    height: 100%;
    width: auto;
}

.news-block-display-flex-column {
    display: flex;
    flex-direction: column;
    /*    justify-content: center;*/
}

/*.news-block-display-flex-column-top {
    display: flex;
    flex-direction: column;*/
/*    justify-content: flex-start;*/
/*    align-content: flex-start;*/
/*}*/

.news-block-display-flex-row {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.news-header h2 {
    color: #ffffff;
    margin: 2% 0% 0% 5%;
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: bold;
    text-align: left;
}

.news-block-items {
    display: flex;
    flex-direction: column;
    width: auto;
}

.news-block-items-server {
    max-width: 700px;
    height: auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.news-items {
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-item {
    height: 340pt;
    width: 85%;
    border-radius: 20px;
    background-color: #18191e;
}

    .news-item.highlighted {
        background-color: #f0f8ff;
        padding: 12px;
        margin: 10px -12px;
        border-left: 4px solid #0066cc;
    }

.news-block-items-versions {
    /*    margin: 8% 5% 8% 0%;*/
}

.update-version {
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

.news-title {
    font-weight: bold;
    color: #ffffff;
}

.news-text {
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin-top: 5%;
}

.show-all {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    margin-top: 20px;
    cursor: pointer;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------*/
/*--------------------------------*/
/*--------------------------------*/

.news-block-items-grid {
    width: 100%;
    padding: 0 0 0 2%;
    margin: 0;
    display: grid;
    gap: 90px 40px;
    grid-template-columns: repeat(3, auto);
    /*    grid-auto-rows: min-content;*/
    /*    height: min-content;*/
}

.news-block-items-grid__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 350px;
    background-color: #16171c;
    border-radius: 30px;
}

.news-block-items__grid-image {
    height: 200px;
    border-radius: 30px;
    object-fit: cover;
}

.news-block-items-grid-text {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.news-block-items-grid-text__text {
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    text-align: left;
}

/*-------------Первый вариант----------------*/

.block-overlay {
    position: absolute;
    top: 0;
    /*    left: 0;*/
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 10px;
}

.tape-blocked {
    position: relative;
    overflow: hidden;
}

.blocking-tape {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%) rotate(0deg);
    background: repeating-linear-gradient( 45deg, #000 30px, #000 60px, #ffff00 60px, #ffff00 90px );
    padding: 20px 0;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-top: 3px solid #ff9900;
    border-bottom: 3px solid #ff9900;
    overflow: hidden;
}

.scroll-hidden {
    overflow: hidden;
}

.tape-message {
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 #000;
    white-space: nowrap;
    animation: scrollTape 30s linear infinite;
}

@keyframes scrollTape {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}
