@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Racing+Sans+One&display=swap");

* {
    font-family: "Quicksand", sans-serif;
}

:root {
    --my-font: "Racing Sans One", cursive;
    --yellow-color: #f1ff7e;
    --white-color: #fff;
    --bg-color: #080a0e;
    --transition: all 0.3s ease-in-out;
}

html,
body {
    scroll-behavior: smooth;
    background: #000;
}

section {
    padding: 5rem 1rem;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: #050011ea;
    z-index: 9999;
    transition: opacity .7s ease-out;
    opacity: 1;
}
#preloader.hidden {
    opacity: 0;
    pointer-events: none; }
#preloader img{
    width: 150px;
    height: 150px;
}


.navbar.scrolled {
    background-color: #000;
    position: fixed;
    max-width: 91.33%;
    top: 10px;
    margin: auto;
    z-index: 999;
    transition: var(--transition);
}

.mobile-menu li:hover a i {
    color: rgb(247, 247, 0);
}

.hero {
    height: 100vh;
    height: 100dvh;
    padding-bottom: 0;
}

.content .top h1 {
    font-family: var(--my-font);
    font-size: 10rem;
}

.next_btn {
    position: absolute;
    bottom: 50px;
    left: 20px;
    opacity: 0;
    transition: var(--transition);
    padding: 1rem 2rem;
    height: 50px;
    background: rgba(255, 255, 255, 0.11) !important;
    color: white;
    border: 1px solid var(--yellow-color);

    &:hover {
        background: rgb(255, 255, 255) !important;
        color: black !important;
    }
}

.hero:hover .next_btn {
    opacity: 1;
}

.buttons {
    margin-top: 1rem;
    width: max-content;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    background: var(--yellow-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);

    img {
        transform: rotate(45deg);
        transition: var(--transition);
    }
}

.buttons:hover {
    animation: buttonHover 1s ease forwards;

    img {
        transform: rotate(230deg);
    }
}

.aboutSection {
    background: var(--bg-color);
    color: white;

    .about_tittle {
        h1 {
            font-family: var(--my-font);
            background: linear-gradient(to right, #4acfee, #2c53f9, #f953f9, #4acfee);
            -webkit-background-clip: text;
            background-clip: text;
            background-size: 200%;
            -webkit-text-fill-color: transparent;
            animation: animate 5s linear infinite;
        }

        p {
            font-family: var(--my-font);
            font-weight: 400;
        }
    }
}

@keyframes animate {
    0% {
        background-position: 200%;
    }
}

.about_img {
    width: 250px;
    height: 400px;
    border-radius: 10px;
    top: 100px;
    animation: takefull linear both;
    animation-timeline: view();
    animation-range: 30% 40%;
    z-index: 50;
    background-image: url(img/about.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* .about_img:in-view {
    width: 80%; 
    height: 200px; 
  } */

@keyframes takefull {
    to {
        width: 100%;
        height: 70vh;
        height: 70dvh;
    }
}

.about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.colorbox {
    width: 0px;
    animation: color linear both;
    animation-timeline: view();
    animation-range: 30% 40%;
    margin: auto;
    height: 25px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.6px);
    -webkit-backdrop-filter: blur(8.6px);
}

@keyframes color {
    to {
        width: 320px;

        opacity: 1;

        color: white;
    }
}

.popup {
    animation: move both;
    animation-timeline: view(70% 5%);
}

.right-move {
    animation: rightmove both;
    animation-timeline: view(70% 5%);
}

.left-move {
    animation: leftmove both;
    animation-timeline: view(70% 5%);
}

@keyframes move {
    from {
        opacity: 0;
        transform: translateY(200px) scale(0.3);
    }

    to {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes rightmove {
    from {
        transform: translateX(-200px) scale(0.3);
    }

    to {
        opacity: 1;
        transform: translateX(0px) scale(1);
    }
}

@keyframes leftmove {
    from {
        transform: translateX(200px) scale(0.3);
    }

    to {
        opacity: 1;
        transform: translateX(0px) scale(1);
    }
}

.dis {
    background: #5724ff;
}

.storySection {
    background: var(--bg-color);
    color: white;

    .story_tittle {
        h1 {
            font-family: var(--my-font);
            background: linear-gradient(to right, #4acfee, #2c53f9, #f953f9, #4acfee);
            -webkit-background-clip: text;
            background-clip: text;
            background-size: 200%;
            -webkit-text-fill-color: transparent;
            animation: animate 5s linear infinite;
        }

        p {
            font-family: var(--my-font);
            font-weight: 400;
        }
    }
}

@keyframes buttonHover {
    0% {
        border-radius: 30px;
    }

    50% {
        border-radius: 8px;
        transform: skew(15deg);
        padding: 0.5rem 1rem;
    }

    100% {
        border-radius: 8px;
        transform: skew(15deg);
        padding: 0.5rem 1.5rem;
    }
}

.bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;

    h2 {
        font-size: 10rem;
        font-family: var(--my-font);
        color: var(--white-color);
    }
}

.card {
    position: relative;
    width: 100%;
    height: 40vh;
    height: 40dvh;
    overflow: hidden;
    border: 1px solid #ffffff18;
    border-radius: 7px;

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

    .buttons {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding: 8px 15px;
        font-size: 12px;
        background: rgb(19, 19, 19);
        color: white;
        opacity: 0;
    }

    &:hover .buttons {
        opacity: 1;
    }
}

.zigma {
    height: 83vh !important;
    grid-row: span 2 !important;

    p {
        color: var(--yellow-color) !important;
    }
}

.content {
    position: absolute;
    left: 0;
    padding: 15px;
    transition: var(--transition);

    h1 {
        font-family: var(--my-font);
        color: var(--white-color);
        font-size: 2rem;
        text-transform: uppercase;
    }

    p {
        color: #d7d7d7;
        opacity: 0.8;
        font-size: 0.8rem;
        width: 300px;
    }
}

.sotry_image {
    width: 320px;
    height: 60vh;
    overflow: hidden;
    border-radius: 8px;
    transition: 1s ease;
    animation: fly 5s infinite;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 10s ease-out;
    }
}

@keyframes fly {
    0% {
        transform: translateY(-20px) skew(-5deg);
    }

    50% {
        transform: translateY(20px) skew(5deg);
    }

    100% {
        transform: translateY(-20px) skew(-5deg);
    }
}

.sotry_image:hover {
    animation-play-state: paused;
    width: 100%;

    img {
        transform: scale(1.9);
    }
}

.read {
    h1 div {
        margin: auto;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    h1 {
        text-align: center;
    }

    span {
        font-family: var(--my-font);
    }
}

.hoverImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-block;
    background: rgb(0, 0, 0);
    overflow: hidden;
    transition: var(--transition);
    z-index: -1;
    animation: colorChnage 3s infinite;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        z-index: 10;
        transition: 1s ease;
    }
}

@keyframes colorChnage {
    0% {
        background: #151b25;
    }

    30% {
        background: #5724ff;
    }

    60% {
        background: orangered;
    }

    100% {
        background: #151b25;
    }
}

.hoverImage:hover {
    width: 150px;
    height: 150px;
    top: -150%;
    left: -150%;
    z-index: 100000;

    img {
        opacity: 1;
        z-index: 20;
    }
}

.hoverImagebox {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.updateLeft {
    h1 {
        font-family: var(--my-font);
    }
}

.contactimg {
    animation: shape 3s infinite;
    clip-path: polygon(21% 40%, 86% 40%, 65% 80%, 0% 70%);

    img {
        margin-top: -315px;
    }
}

@keyframes shape {

    0%,
    100% {
        clip-path: polygon(21% 40%, 86% 40%, 65% 80%, 0% 70%);
    }

    25% {
        clip-path: polygon(25% 40%, 80% 40%, 70% 85%, 5% 75%);
    }

    50% {
        clip-path: polygon(30% 40%, 75% 40%, 60% 90%, 10% 65%);
    }

    75% {
        clip-path: polygon(18% 40%, 88% 40%, 68% 78%, 3% 72%);
    }
}

.contact_content {
    h1 {
        font-family: var(--my-font);
    }
}

.bg1 {
    clip-path: polygon(53% -1%,
            91% 17%,
            73% 59%,
            77% 85%,
            32% 91%,
            5% 36%,
            18% 12%);
    animation: bg1a 3s infinite;
}

@keyframes bg1a {

    0%,
    100% {
        clip-path: polygon(53% -1%,
                91% 17%,
                73% 59%,
                77% 85%,
                32% 91%,
                5% 36%,
                18% 12%);
    }

    25% {
        clip-path: polygon(50% 0%,
                88% 20%,
                70% 55%,
                80% 80%,
                35% 88%,
                8% 38%,
                20% 15%);
    }

    50% {
        clip-path: polygon(55% 2%,
                85% 15%,
                75% 62%,
                74% 83%,
                30% 85%,
                3% 33%,
                15% 10%);
    }

    75% {
        clip-path: polygon(52% -3%,
                92% 18%,
                78% 58%,
                76% 82%,
                33% 90%,
                6% 35%,
                19% 14%);
    }
}

.bg2 {
    clip-path: polygon(20% 0%, 79% 0, 100% 100%, 0% 100%);
    animation: bg2a 3s infinite;
}

@keyframes bg2a {

    0%,
    100% {
        clip-path: polygon(20% 0%, 79% 0, 100% 100%, 0% 100%);
    }

    25% {
        clip-path: polygon(10% 20%, 74% 0, 100% 100%, 0% 100%);
    }

    50% {
        clip-path: polygon(22% 0%, 76% 20%, 100% 100%, 0% 100%);
    }

    75% {
        clip-path: polygon(18% 0%, 80% 10%, 100% 100%, 0% 100%);
    }
}

.footer {
    background: #5724ff;
}

@media screen and (min-width: 0px) and (max-width: 640px) {
    .scrolled {
        bottom: 20px !important;
        top: auto !important;
    }

    .nav-links .main-menu {
        display: none !important;
    }

    .navbar {
        padding: 0.65rem 2rem !important;
    }

    .content .top {
        h1 {
            font-size: 4rem;
            margin-top: 3rem;
        }

        p {
            font-size: 0.9rem;
        }

        .buttons {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
        }
    }

    .bottom {
        right: 0px;

        h2 {
            font-size: 4rem;
        }
    }

    .next_btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        left: 0;
        bottom: 80px;
    }

    .updateRight {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 80px;
    }

    .updateRight .newsBox:nth-child(1) {
        position: relative;
        right: -40px;
    }

    .updateRight .newsBox:nth-child(2) {
        position: relative;
        right: 40px;
    }
}

@media screen and (min-width: 640px) and (max-width: 768px) {
    .content .top {
        h1 {
            font-size: 5rem;
            margin-top: 3rem;
        }

        p {
            font-size: 1.2rem;
        }

        .buttons {
            margin-top: 2rem;
            padding: 0.7rem 1.2rem;
            font-size: 1.2rem;
        }
    }

    .bottom {
        right: 0px;

        h2 {
            font-size: 5rem;
        }
    }

    .next_btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        left: 0;
        bottom: 80px;
    }

    .zigma {
        height: 83vh !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .content .top {
        h1 {
            font-size: 7rem;
            margin-top: 3rem;
        }

        p {
            font-size: 0.9rem;
        }

        .buttons {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
        }
    }

    .bottom {
        right: 0px;

        h2 {
            font-size: 7rem;
        }
    }

    .next_btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        left: 0;
        bottom: 80px;
    }

    .contactimg {
        animation: shape 5s infinite;
        clip-path: polygon(21% 40%, 86% 40%, 65% 80%, 0% 100%);

        img {
            margin-top: -395px;
        }
    }

    @keyframes shape {

        0%,
        100% {
            clip-path: polygon(21% 40%, 86% 40%, 65% 100%, 0% 100%);
        }

        25% {
            clip-path: polygon(25% 40%, 100% 40%, 70% 85%, 5% 105%);
        }

        50% {
            clip-path: polygon(30% 40%, 75% 40%, 60% 90%, 10% 65%);
        }

        75% {
            clip-path: polygon(18% 40%, 88% 40%, 68% 78%, 3% 72%);
        }
    }
}

@media screen and (min-width: 993px) and (max-width: 5000px) {
    .contactimg {
        animation: shape 5s infinite;
        clip-path: polygon(21% 40%, 86% 40%, 65% 80%, 0% 100%);

        img {
            margin-top: -395px;
        }
    }
}