/* Reset and base styles  */

@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@400;500;700&family=Russo+One&display=swap");
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    /*outline: none;*/
}

a:focus,
a:active {
    /* outline: none;*/
}


/* Links */

a,
a:link,
a:visited {
    /* color: inherit; */
    text-decoration: none;
    /* display: inline-block; */
}

a:hover {
    /* color: inherit; */
    text-decoration: none;
}


/* Common */

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}


/* Form */

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input::-ms-clear {
    display: none;
}

button,
input[type=submit] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

.burger {
    display: block;
    cursor: pointer;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    z-index: 10;
}

.burger input {
    display: none;
}

.burger path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.burger circle {
    fill: rgba(255, 255, 255, 0.2);
    opacity: 0.7;
    transition: 0.1s linear;
}

.burger .cross input:checked+svg .line--1,
.burger .cross input:checked+svg .line--3 {
    --length: 22.627416998;
}

.burger .cross input:checked+svg .line--2 {
    --length: 0;
}

.burger .debug {
    display: none;
}

.menu--3 .line--1,
.menu--3 .line--3 {
    --total-length: 126.38166809082031;
}

.menu--3 .line--2 {
    --total-length: 80;
}

.menu--3 input:checked+svg .line--1,
.menu--3 input:checked+svg .line--3 {
    --offset: -109.1770175568;
}

.back input:checked+svg .line--1,
.back input:checked+svg .line--3 {
    --length: 8.602325267;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Overpass";
    background-color: #171515;
    font-size: 24px;
    color: #FFFFFF;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (pointer: fine) {
    body::-webkit-scrollbar {
        width: 15px;
        z-index: 1;
    }
    body::-webkit-scrollbar-track {
        background: transparent;
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }
    body::-webkit-scrollbar-thumb {
        background: #505050;
        border-radius: 8px;
        border: 3px solid #101010;
    }
}

.none {
    display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    z-index: 7;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

header::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.09) 0%, rgba(0, 0, 0, 0.22) 100%);
}

.back_link {
    position: absolute;
    left: 34px;
    margin-top: 6px;
}

.about_link {
    color: #fff;
}

.navigation {
    position: fixed;
    transform: translateX(-150%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    height: 100vh;
    width: 100%;
    z-index: 5;
    transition: all 0.3s linear;
}

.navigation.active {
    transform: translateX(0%);
}

.header_container {
    display: flex;
    flex-direction: column;
    row-gap: 38px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.header_links {
    list-style: none;
    height: inherit;
}

.header_link {
    display: flex;
    align-items: center;
    height: inherit;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    line-height: 160%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.logo a {
    font-size: 28px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    color: #fff;
}

.inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.inner::after {
    content: "";
    position: absolute;
    inset: 0 0;
    background: url("/public/chtz/images/main.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -2;
}

.inner::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.17) 100%);
}

.container {
    margin: 0 auto;
    max-width: 1060px;
}

.container.mix {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.inner_block {
    text-align: center;
    margin-top: 34vh;
}

.main_title {
    font-family: "Overpass";
    font-style: normal;
    font-weight: 700;
    font-size: 68px;
    line-height: 102px;
    color: #FFFFFF;
}

.main_text {
    max-width: 540px;
    margin: 0 auto;
    font-family: "Overpass";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: rgba(231, 231, 231, 0.87);
    padding: 14px 0;
}

.content_btn {
    text-align: center;
    white-space: nowrap;
    background-color: #fff;
    color: #393939;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.01em;
    display: inline-block;
    padding: 16px 32px;
    transition: opacity 0.2s ease-in-out;
    border: 1px solid #fff;
    text-decoration: none;
    opacity: 1;
}

.content_btn:hover {
    opacity: 0.7;
}

.main-cards {
    margin-top: 60px;
    gap: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.cards {
    margin-top: 60px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cards:hover>.card:not(:hover) {
    /* filter: brightness(0.8) saturate(1) contrast(1.2) blur(10px); */
}

.card {
    min-width: 300px;
    height: 250px;
    display: flex;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    justify-content: center;
    align-items: center;
    flex: 1 1 0;
    flex-direction: column;
    border-radius: 15px;
    transition: all 0.3s linear;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
}

.card {
    background-position: center center;
    background-size: cover;
}

.card::after {
    content: "";
    position: absolute;
    inset: -3px;
    background-color: rgba(1, 0, 0, 0.56);
    z-index: 3;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 2px 30px 30px rgba(0, 0, 0, 0.5);
}

.sub_title {
    z-index: 4;
    text-align: center;
    padding-bottom: 10px;
}

.text {
    color: #fff;
}

.led {
    position: relative;
    z-index: 4;
    padding-bottom: 70px;
}

.info_title {
    margin-bottom: 30px;
}

.info_text {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-family: "Overpass";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 30px;
}

.info_text span {
    display: inline-block;
    cursor: pointer;
}

.chapter_title {
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 700;
    padding-top: 170px;
}

.description {
    font-size: 20px;
}

.card_min {
    min-width: 200px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
}

.card_min a {
    position: absolute;
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: -webkit-fill-available;
    transition: transform 0.3s linear, box-shadow 0.3s linear;
    z-index: 2;
}

.card_min a::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.2901960784);
    z-index: 1;
}

.card_min a:hover {
    transform: scale(1.05);
    box-shadow: 2px 30px 30px rgba(0, 0, 0, 0.5);
}

.sub_title {
    font-size: 20px;
    position: absolute;
    color: #fff;
}

.card_picture {
    height: inherit;
    width: -webkit-fill-available;
    -o-object-fit: cover;
    object-fit: cover;
}

.back_element {
    position: absolute;
    width: inherit;
    height: inherit;
    inset: 0;
    z-index: -1;
    animation: spin 240s linear infinite;
    background-size: 240px;
    backface-visibility: visible;
    background-image: url('/public/chtz/images/space.svg');
}

.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.15s ease-out;
}


/* overlay animate in */

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}


/* overlay animate out */

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}


/* content at start */

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: all 0.5s ease-out;
}


/* content animate it */

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}


/* content animate out */

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.chronic_items {
    display: flex;
    flex-direction: column;
    row-gap: 167px;
    padding-bottom: 120px;
}

.chronic_item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    -moz-column-gap: 120px;
    column-gap: 120px;
}

.chronic_date {
    text-align: center;
    font-weight: 500;
    font-size: 64px;
    line-height: 77px;
    min-width: 142px;
    color: #FFFFFF;
    position: relative;
    font-family: "Overpass";
}

.chronic_date::after:not(last-child) {
    content: "";
    position: absolute;
    display: inline-block;
    width: 2px;
    height: 100px;
    text-align: center;
    top: 106px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
}

.chronic_date:last-child::after {
    content: "";
    height: 30px;
}

.chronic_date::after:last-child {
    content: "";
    display: none;
}

.chronic_text {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    width: 100%;
    color: #FFFFFF;
    font-family: "Overpass";
}

.chronic_text a {
    color: #ddd;
    border-bottom: 1px solid #ddd;
}

.chronic {
    background-color: rgba(44, 41, 41, 0.4705882353);
    width: 100%;
    padding-top: 180px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.chronic::after {
    content: "";
    position: absolute;
    background-image: url(../img/header-lines.png);
    inset: 0 0;
    width: 500%;
    opacity: 0.6;
    height: 500%;
    animation: lines 350s infinite linear;
    z-index: -1;
}

.poup_disc {
    font-size: 16px;
    margin-top: 8px;
    line-height: 24px;
}

@keyframes lines {
    25% {
        transform: translate(-25%, -25%);
    }
    100% {
        transform: translate(0%, 0%);
    }
}

.mfp-title p {
    line-height: 24px;
    font-size: 16px;
    margin-top: 8px;
}