.block {
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
}

.block-news {
    background: linear-gradient(134deg, #6098f5, #a245b5);
}

.news-div {
    padding: 10px;
    background: rgb(255 255 255 / 20%);
    border-radius: 10px;
    margin: 5px;
    position: relative;
    transition: 0.2s ease-in-out;
    height: 90%;
}

.news-div img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
    transition: 0.2s ease-in-out;
}

.news-image-div {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.news-title {
    font-weight: bold;
    font-size: 20px;
    color: white;
    margin-top: 10px;
}

.news-div-go {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 2;
}

.news-button-go {
    color: white;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    background: rgba(10, 10, 10, 0.7);
    cursor: pointer;
}

.news {
    width: 20%;
    position: relative;
}

.news:hover .news-div {
    -webkit-filter: brightness(80%) grayscale(70%);
    transition: 0.2s ease-in-out;
}

.news:hover .news-div img {
    scale: 1.2;
    transition: 0.2s ease-in-out;
}

.news:hover .news-div-go {
    display: block;
}

.news:hover .news-hint-go {
    font-size: 20px;
    transition: 0.2s ease-in-out;
}

.news-hint-go {
    font-size: 20px;
    color: white;
    transition: 0.2s ease-in-out;
}

.news-div-go:hover .news-hint-go {
    margin-right: 10px;
    transition: 0.2s ease-in-out;
}

.label-block-news {
    display: flex;
    justify-content: space-between;
    margin: 5px 5px 20px;
}

.label-news {
    font-weight: bold;
    font-size: 30px;
    color: white;
}

.button-all-news {
    background: none;
    color: white;
    padding: 5px;
    border: 2px solid;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.button-all-news div {
    color: white;
    font-weight: bold;
}

.button-all-news:hover {
    padding: 0 10px 0 10px;
    transition: 0.2s ease-in-out;
}

.last-news {
    display: flex;
    flex-wrap: wrap;
}


.additional_news {
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    box-shadow: 0 8px 30px 8px rgb(0 0 0 / 10%);
    height: 300px;
    margin-bottom: 20px;
}

.additional_news_image {
    border-radius: 10px;
    width: 600px;
    height: 100%;
}

.additional_news_image img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    height: 100%;
}

.additional_news_text {
    width: 40%;
}

.additional_news_title {
    font-weight: bold;
    font-size: 40px;
    text-transform: uppercase;
    word-break: break-all;
}

.additional_news_intro {
    font-size: 20px;
    color: #6a6a6a;
    word-break: break-all;
}

.additional_news_button {
    display: flex;
    background: linear-gradient(45deg, #829cf7, #4e5dfd);
    width: 40%;
    padding: 10px;
    border-radius: 10px;
    margin-top: 40px;
    justify-content: space-between;
    align-items: end;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.additional_news_button .btn_hint {
    color: white;
}

.additional_news_button:hover {
    width: 45%;
    transition: 0.2s ease-in-out;
    filter: drop-shadow(2px 1px 10px #00000059);
}

.home_block_color_1 {
    background: linear-gradient(45deg, #ff4747, #e87070);
}

.home_block_color_2 {
    background: linear-gradient(45deg, #4b47ff, #7b70e8);
}

.home_block_color_3 {
    background: linear-gradient(45deg, #3edb6a, #5dc998);
}

.home_block_color_4 {
    background: linear-gradient(45deg, #b347ff, #a770e8);
}

.home_block_color_5 {
    background: linear-gradient(45deg, #ffbf42, #e8be70);
}

.home_block_color_0 {
    background: linear-gradient(45deg, #42d1ff, #70e8e8);
}

.home_block_color_6 {
    background: linear-gradient(45deg, #3a6eff, #70e8e8)
}

.home_block_color_7 {
    background: linear-gradient(45deg, #ef47ff, #fc7bea)
}

.home_block_color_8 {
    background: linear-gradient(45deg, #4bff47, #78d84d);
}

.home_block_color_9 {
    background: linear-gradient(45deg, #ffbf42, #e8be70);
}

.home_block {
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.home_block_element {
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: calc(100% / 4);
    margin-bottom: 20px;
}

.home_block_element img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.home_block_element_title {
    font-size: 20px;
    color: white;
    font-weight: bold;
    padding-left: 10px;
}

.home_block_element_button {
    width: 24px;
    display: inherit;
    background: rgb(255 255 255 / 61%);
    border-radius: 50%;
    padding: 5px;
    margin-left: auto;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.home_block_element_button:hover {
    width: 30px;
    border-radius: 50px;
    background: rgb(255 255 255 / 71%);
    transition: 0.2s ease-in-out;
}


@media (max-width: 1000px) {

    .additional_news {
        display: block;

    }

    .additional_news_image {
        width: auto;
        height: 40%;
    }

    .additional_news_text {
        width: auto;
    }

    .additional_news_title {
        font-size: 25px;
    }

    .additional_news_intro {
        font-size: 18px;
    }

    .additional_news_button {
        width: auto;
    }

    .additional_news_button:hover {
        width: auto;
    }

    .last-news {
        display: block;
    }

    .news {
        margin-top: 20px;
        width: auto;
    }

    .label-block-news {
        display: block;
    }

    .button-all-news {
        margin-top: 15px;
    }

    .home_block {
        display: block;
    }

    .home_block_element {
        width: auto;
    }
}