@font-face {
    font-family: "SNPro-SemiBold";
    src: url(/fonts/SN_pro/SNPro-SemiBold.ttf);
}

@font-face {
    font-family: "SNPro-Black";
    src: url(/fonts/SN_pro/SNPro-Black.ttf);
}

@font-face {
    font-family: 'Courier New';
    src: url(/fonts/cour.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New';
    font-weight: 600;
    color: #fff;
    font-size: 21px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.wrapper {
    background: linear-gradient(180deg,rgba(186, 0, 56, 1) 0%, rgba(140, 0, 122, 1) 20%, rgba(85, 0, 145, 1) 45%, rgba(8, 10, 33, 1) 100%);
}

.wrapper_dark {
    background: linear-gradient(180deg,rgba(0, 71, 171, 1) 0%, rgba(28, 0, 92, 1) 40%, rgba(0, 0, 0, 1) 100%);
}

.wrapper_black {
    background: rgb(32, 32, 32);
}

.container {
    width: 80%;
    text-shadow: -2px 2px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

header {
    padding: 50px 0;
}

.logo {
    text-transform: uppercase;
    font-size: 30px;
    font-family: "SNPro-Black";
}

header nav {
    float: right;
    width: 250px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

header nav ul li {
    display: inline-block;
    font-family: "SNPro-SemiBold";
    font-size: 18px;
}

header nav ul li a {
    color: #fff;
}

header nav ul li.active::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: orange;
    border-radius: 10px;
}

header nav ul li:not(.active) a:hover {
    border-bottom: 5px solid orange;
}

.hero {
    padding-bottom: 100px;
}

.hero--info {
    width: 55%;
    padding-top: 70px;
    padding-bottom: 300px;
    z-index: 2;
    position: relative;
}

.hero--info h2 {
    color: orange;
    font-size: 35px;
    font-family: "SNPro-Black";
}

.hero--info h1 {
    font-size: 50px;
}

.hero--info p {
    line-height: 170%;
    margin: 30px 0;
}

.fedya_img {
    position: absolute;
    top: -50px;
    right: 0;
    height: 1000px;
    object-fit: contain;
}

.ofedya_img {
    position: absolute;
    top: 0;
    right: 0;
    height: 1000px;
    object-fit: contain;
}

.watch_img {
    position: absolute;
    top: 75px;
    right: 75px;
    height: 700px;
    object-fit: contain;
}

.text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 50px;
}

.indev_warn {
    position: relative;
    top: -50px;
    text-align: center;
    opacity: 0.5;
    font-size: 16px;
}

.btn_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 65px 0;
    font-family: "SNPro-Black";
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    border-radius: 20px;
    background: rgb(195, 28, 255);
    box-shadow: 0 5px 15px 0 rgb(246, 11, 183);
    transition: 0.5s;
}

.btn:hover {
    transform: translate(0,-3px);
    box-shadow: 0 20px 40px 0 rgb(246, 11, 183);
}

.btn_b {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    border-radius: 20px;
    background: rgb(28, 73, 255);
    box-shadow: 0 5px 15px 0 rgb(11, 183, 246);
    transition: 0.5s;
}

.btn_b:hover {
    transform: translate(0,-3px);
    box-shadow: 0 20px 40px 0 rgb(11, 183, 246);
}

.owlen_img {
    width: 65%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -200px;
}

/* slider */

.slider {
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-wrapper {
    position: relative;
    margin: 0 auto;
}

.slides {
    width: 65%;
    min-width: 300px;
    aspect-ratio: 4 / 3;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 20px;
    border: 2px solid violet;
    margin: 0 auto;
}

.slides::-webkit-scrollbar {
    display: none;    
}

.slides img {
    flex: 1 0 100%;
    scroll-snap-align: start;
}

.controls {
    display: flex;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    column-gap: 10px;
}

.controls a {
    width: 20px;
    height: 15px;
    background: darkmagenta;
    transition: .5s;
}

.controls a:hover {
    opacity: 0.5;
}

/* footer */

footer {
    background: #000;
    font-family: "SNPro-SemiBold";
    font-size: 15px;
    padding: 35px 0;
}

footer .blocks {
    display: flex;
    justify-content: flex-start;
    gap: 0 40px;
}

footer hr {
    margin: 30px 0;
}

.footer_end {
    text-align: center;
}

/* mobile optimization */

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .fedya_img {
        top: 250px;
        height: 700px;
    }

    .ofedya_img {
        top: 40px;
        height: 700px;
    }

    .watch_img {
        right: 0;
        width: 100%;
        object-fit: contain;
    }

    .hero--info {
        width: 100%;
        align-content: center;
    }

    .hero--info h2 {
        font-size: 25px;
    }

    .hero--info h1 {
        font-size: 35px;
    }

    .slides {
        width: 100%;
    }
}