* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: "Commissioner";
    src: url(/fonts/Commissioner-Regular.woff2);
}

html,
body {
    scroll-behavior: smooth;
    position: relative;
    width: 100vw;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*background-image: url('/img/logo_2023.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: contain;*/
    scrollbar-color: var(--dark-gray) var(--dark-turquoise);
}

body {
    /*		overflow-x: hidden;*/
    background-color: var(--highlight);
    font-family: "Commissioner", sans-serif;
}

.global {
    width: 100vw;
    height: 100%;
    overflow-x: hidden;
    transition: 0.6s;
    position: relative;
    overflow-x: hidden;
}

.sect_bas {
    height: auto;
    padding-bottom: 133px;
    /* background-color: var(--highlight); */
}

.no_border_bottom {
    border-style: none;
}

.sect_bas-min {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
}

.sect_bas-min svg {
    margin-left: 10px;
}

h2 {
    font-size: 36px;
    color: var(--text-turquoise);
    padding-left: 157px;
    line-height: 44px;
    text-indent: 11vw;
    font-weight: 500;
    text-transform: uppercase;
}

.marg {
    margin-top: 32px;
}
.marg_min {
    margin-top: 13px;
}

.min_text {
    font-size: 12px;
    color: var(--turquoise);
    text-transform: uppercase;
}

.marg_top60 {
    margin-top: 60px;
    padding-bottom: 13px;
}

.marg_bot60 {
    margin-bottom: 60px;
}

.news {
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.news_item {
    /* display: none; */
    justify-content: start;
    flex-direction: column;
    width: clamp(200px, 20vw, 300px);
    margin-bottom: 40px;
}

.news_img,
.news_img_cont {
    height: clamp(200px, 20vw, 300px);
    object-fit: cover;
    filter: brightness(84%);
    transition: all 1s;
}

.news_img {
    background-color: var(--bg-turquoise);
    max-width: 100%;
}

.news_img_cont {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.news_text {
    width: 100%;
    height: auto;
    color: var(--black);
}

.news_text_prolog {
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--turquoise);
    margin-bottom: 10px;
}

.kabinet {
    position: absolute;
    bottom: -120px;
    left: 30px;
    width: 8vw;
    height: auto;
    transition: all 0.6s;
    z-index: 100;
}

.kabinet:hover {
    cursor: pointer;
    box-shadow: inset 0 0 60px var(--whitesmoke), inset 20px 0 80px #ffa200,
        inset -20px 0 80px #e95821, inset 20px 0 300px #ffa200,
        inset -20px 0 300px #e95821, 0 0 50px var(--white), -10px 0 80px #ffa200,
        10px 0 80px #e95821;
    transition: all 0.6s;
}

.text_kabinet {
    color: var(--black);
    text-shadow: 0 0 20px #ce6218, 0 0 40px #ce6218, 2px 2px 2px #ce6218;
    position: absolute;
    bottom: -170px;
    left: 25px;
    width: 10vw;
    height: auto;
    font-size: 12px;
    text-align: center;
    transition: all 0.6s;
    opacity: 0;
}

.select_news {
    display: flex;
    width: 40vw;
    height: 30px;
    justify-content: flex-start;
    gap: 40px;
    margin: 60px 100px;
}

.select_news_items {
    min-width: 30px;
    height: 100%;
    border: var(--dark-turquoise) solid 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: none; */
    border-radius: 50%;
    color: var(--black);
}

.point,
.point_start {
    font-size: 32px;
    white-space: nowrap;
    color: var(--black);
}

.mail {
    width: 80px;
    height: auto;
    position: fixed;
    right: 10px;
    top: 70vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.scale-up-center {
    animation: scale-up-center 0.6s ease-in both;
}

.scale-out-center {
    animation: scale-out-center 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.background_ornament {
    position: absolute;
    left: 0;
    width: 100vw;
    height: 300px;
    background: url("/img/orn_2.svg") repeat-x;
    z-index: -1;
}

.hidden {
    display: none;
}

.news_item_active {
    background-color: var(--dark-turquoise);
}

.object_fit_contain {
    object-fit: contain;
}

@keyframes scale-up-center {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes scale-out-center {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 1;
    }
}

.dat {
    font-size: 12px;
    margin: 20px 0 10px 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: rgba(59, 177, 209, 0.8);
}

.overflow-multiply {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

@media (hover: hover) and (pointer: fine) {
    .news_img:hover {
        transform: scale(1.1);
        transition: all 1s;
        filter: brightness(100%);
    }
    .news_text_prolog:hover {
        text-decoration: underline;
    }
}

@media only screen and (max-width: 820px) and (min-width: 700px) {
    .news_item {
        width: 35vw;
    }
}

@media only screen and (max-width: 700px) {
    .select_news {
        margin: 60px 20px;
        gap: 30px;
    }
}

@media only screen and (max-width: 600px) {
    .select_news {
        margin: 60px 0;
        gap: 15px;
    }
}

@media only screen and (max-width: 610px) {
    .news_item {
        width: 100vw;
        margin-bottom: 20px;
    }

    .news_img,
    .news_img_cont {
        height: 300px;
    }

    h2 {
        padding-left: 0;
        text-align: center;
        text-indent: 0;
    }
}

@media only screen and (max-width: 400px) {
    .select_news {
        width: 80vw;
        flex-wrap: wrap;
    }
}

@media only screen and (min-width: 1900px) {
    .news_img,
    .news_img_cont {
        height: calc(300px * var(--scale));
    }

    .news_item {
        width: calc(295px * var(--scale));
        margin-bottom: calc(25px * var(--scale));
    }

    .dat {
        margin: calc(10px * var(--scale)) calc(30px * var(--scale));
        font-size: calc(12px * var(--scale));
        line-height: calc(15px * var(--scale));
    }

    .news_text_prolog {
        line-height: calc(20px * var(--scale));
        font-size: calc(16px * var(--scale));
    }

    .news_text svg {
        transform-origin: top left;
        transform: scale(var(--scale));
    }

    .select_news {
        font-size: calc(16px * var(--scale));
        height: calc(30px * var(--scale));
    }

    .select_news_items {
        min-width: calc(30px * var(--scale));
    }

    .point,
    .point_start {
        font-size: calc(32px * var(--scale));
    }
}

@media (prefers-color-scheme: dark) {
    .background_ornament {
        background: url("/img/dark_orn_2.svg") repeat-x;
    }
}

.background_ornament_top {
    top: 15%;
    background-position-x: 240px;
}

.background_ornament_bottom {
    top: 42%;
    background-position-x: -160px;
}
