@font-face {
    font-family: "Klavika";
    src: url(../assets/fonts/Klavika-Basic-Bold.woff2);
    font-display: swap;
}

@font-face {
    font-family: "Anta";
    src: url(../assets/fonts/Anta-Regular.woff2);
    font-display: swap;
}

@font-face {
    font-family: "Unbounded";
    src: url(../assets/fonts/Unbounded-Regular.woff2);
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    left: 0;
    right: 0;
    /* overflow-x: hidden; */

}

body {
    /* overflow-x: hidden; */
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style-type: none;

}

/* ============Анимация============ */

@media (min-width:768px) {
    .scroll-fade-up {
        opacity: 0;
        -webkit-transform: translateY(30px);
        -ms-transform: translateY(30px);
        transform: translateY(30px);
        -webkit-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;
    }

    .scroll-fade-up.active {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;
    }

}

@media (max-width:767px) {
    .scroll-fade-up:lang(en) {
        opacity: 0;
        -webkit-transform: translateY(30px);
        -ms-transform: translateY(30px);
        transform: translateY(30px);
        -webkit-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;
    }

    .scroll-fade-up.active:lang(en) {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;
    }

    .scroll-fade-up:lang(ru) {
        opacity: 0;
        -webkit-transform: translateX(-50px);
        -ms-transform: translateX(-50px);
        transform: translateX(-50px);
        -webkit-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;
    }

    .scroll-fade-up:lang(ru).active {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        -webkit-transition: all 0.75s ease;
        -o-transition: all 0.75s ease;
        transition: all 0.75s ease;
    }

}

.scroll-slide-left {
    opacity: 0;
    -webkit-transform: translateX(-50px);
    -ms-transform: translateX(-50px);
    transform: translateX(-50px);
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.scroll-slide-left.active {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.scroll-slide-right {
    position: relative;
    opacity: 0;
    -webkit-transform: translateX(-50px);
    -ms-transform: translateX(-50px);
    transform: translateX(-50px);
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

@media (min-width: 767px) {
    .scroll-slide-right {
        -webkit-transform: translateX(50px);
        -ms-transform: translateX(50px);
        transform: translateX(50px);
        -webkit-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }
}

.scroll-slide-right.active {
    position: relative;
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}


.slide-inBig {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.slide-inBig.active {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.slide-inBig:hover {
    color: #979393;
}




/*-------- INTRO --------*/

.intro {
    min-height: 100svh;
    display: flex;
    flex-wrap: wrap;
    color: #000000;
    background-color: #000000;
    position: relative;
    /* overflow-x: hidden; */
}

.intro_left {
    min-width: 50%;
    display: block;
    background-color: #D7D7D7;
    flex: 1 1 250px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}



.intro_left-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 70%;
    height: 100%;
    margin: 0 auto;
}

@media (min-width:1650px) {
    .intro_left-items {
        max-width: 45%;
    }
}

.left_items-upper {
    width: 100%;
    display: flex;
    flex-direction: column;

}

.left_items-upper h2 {
    font-family: 'Unbounded';
    font-size: 26px;
    font-weight: 400;
    max-width: 235px;
    height: auto;
    padding-bottom: 5px;
    position: relative;
    text-align: center;

    opacity: 0;
    transform: translateX(-30%);
    transition: all 0.55s ease;
}

.left_items-upper h1 {
    font-family: 'Anta';
    font-size: 42px;
    font-weight: 600;
    margin-top: 15px;
    opacity: 0;
    transform: translateX(-30%);
    transition: all 0.55s ease;
}

.left_items-upper h2::after {
    content: '';
    width: 100%;
    height: 3px;
    background-image: linear-gradient(to right,
            #FF0000,
            #42FF00,
            #2400FF);
    position: absolute;
    left: 0;
    bottom: 0;
}

.left_items-upper p {
    font-size: 22px;
    font-weight: 500;
    color: #7a7a7a;

    opacity: 0;
    transform: translateX(-30%);
    transition: all 0.45s ease;
}



.links {
    width: 100%;
    display: flex;
    justify-content: left;
    gap: 21px;
    margin-top: 57px;
}

@media (max-width: 767px) {
    .intro_left {
        min-width: 100%;
        position: absolute;
        bottom: 0;
        background-color: #0000008f;
        z-index: 5;
        clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
        padding-bottom: 20px;
    }

    .intro_left-items {
        color: aliceblue;
        flex-direction: row-reverse;
        gap: 20px;
        max-width: 85%;
    }

    @media (max-width: 300px) {
        .intro_left-items {
            flex-direction: column;
        }
    }

    .left_items-upper {
        justify-content: flex-end;
        margin-right: auto;
        margin-bottom: 25px;
    }

    .left_items-upper h2 {
        font-size: 24px;
        transform: translateX(30%);
    }

    .left_items-upper h1 {
        font-size: 34px;
        transform: translateX(30%);
    }

    @media (max-width: 767px) {
        .left_items-upper h1 {
            font-size: 26px;
        }
    }

    .intro_left-items p {
        display: none;
    }

    .links {
        width: auto;
        flex-direction: column;
        margin-left: auto;
        margin-right: 25px;
    }
}

.links li {
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.45s ease;

    opacity: 0;
    transform: scale(0);
}

@media (min-width: 767px) {
    .links li {
        width: 61px;
        height: 56px;
        background-color: #C4C4C4;
        box-shadow: 3px 5px 5px #393838;
    }

}



.links li:hover {
    background-color: #979393;
}

.links li:active {
    transform: scale(0.7);
}

.links li img {
    max-width: 35px;
    max-height: 35px;
    object-fit: cover;
    margin-bottom: -3px;
}

@media (max-width: 767px) {
    .links li {
        width: 51px;
        height: 51px;
        background-color: #C4C4C4;
        border-radius: 50%;
        box-shadow: 3px 5px 5px #393838;
    }

    .links li a {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .links li img {
        max-width: 31px;
        max-height: 31px;

    }
}

.intro_right {
    min-width: 50%;
    background-color: #000000;
    flex: 1 1 250px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;

    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    overflow-x: hidden;
    aspect-ratio: 4 / 5;
    max-height: 100svh;

}

.intro_right img {
    width: 100%;
    height: 85%;
    max-width: 420px;

    object-fit: contain;
    object-position: center bottom;
    /* display: none; */
    opacity: 0;
    transition: opacity 2.35s ease;
    display: block;
}




@media (max-width: 767px) {
    .intro_right img {
        max-width: 420px;
        width: 100%;
        height: auto;
        max-height: 100%;

        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);

        object-fit: contain;
        object-position: center top;



    }
}


/*--- для айпад устройств: ---*/
@media (max-width: 1024px) and (min-height: 600px) {
    .intro_right img {
        width: 100%;
        max-height: 92%;
    }
}