*,
*::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --background: #ffffff;
    --text: #131313;
    --button-text: #ffffff;
    --button: #e93124;
    --button-100: #920a0a;
    --primary: #0a55e0;
    --primary-100: #e2f8ff;
    --primary-400: #61dafb;
    --primary-800: #0a61ae;
    --tertiaryColor: #ffffff;
    --fontColor: #161616;

    --base: #555;
    --base-100: #f1f1f1;
    --base-200: #e2e2e2;
    --base-400: #555;
    --base-800: #000;
    --yellow: #ffda4b;
    --yellow-100: #fffbe6;
    --yellow-400: #ffda4b;
    --yellow-800: #8b6f00;
    --blue: #0a55e0;
    --blue-100: #e2f8ff;
    --blue-400: #61dafb;
    --blue-800: #0a61ae;
    --click: rgb(28, 136, 28);
}

.darkmode {
    --background: #18181d;
    --text: #f5f5f5;
    --button: #6cc216;
    --button-100: #4d9109;
}

.container {
    max-width: 1440px;
    margin: auto;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;

    @media (max-width:768px) {
        padding-left: 30px;
        padding-right: 30px;
    }
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--background);
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 20px;
}

.privacy {
    margin: 25px;
    padding: 10px 0px;
    text-align: start;

    h2 {
        text-align: start;
    }
}

a {
    text-decoration: none;
    color: var(--tertiaryColor);

    &:hover {
        text-decoration: underline;
    }
}

title {
    text-decoration: none;
}

.theme {
    margin: 15px;
    border-radius: 15px;
    padding: 10px 10px;

    .icon {
        color: var(--yellow);
        width: 35px;
        height: auto;
    }

    .moon {
        display: none;

        &.switch {
            display: flex;

            .sun {
                display: none;
            }
        }
    }

    &:hover {
        border-radius: 15px;
        text-decoration: none;

        .sun {
            display: none;
        }

        .moon {
            color: white;
            display: inline;
        }
    }
}

.button {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--button);
    font-size: 20px;
    font-weight: bold;
    color: var(--button-text);
    border-radius: 10px;
    transition: ease 0.3s all;

    &:hover {
        text-decoration: none;
        background-color: var(--button-100);
    }

    &.white {
        background-color: white;
        color: var(--base-800);

        &:hover {
            color: var(--blue-800);
        }
    }

    &.black {
        background-color: black;
        color: white;

        &:hover {
            background-color: var(--blue-800);
            color: var(--base-100);
        }
    }
}

header {
    background-color: #000000;
    backdrop-filter: blur(1px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    /* max-width: 1440px; */
    margin: auto;
    padding: 0px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1;

    .logo-holder {
        display: flex;
        padding: 7px;
        align-items: center;
        font-weight: 500;
        color: var(--base-100);
        text-decoration: none;


        &:hover {
            color: var(--base-200);
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 25px;
            background-color: var(--base-800);
            height: 75px;
            width: 75px;
            margin-right: 20px;
            border-radius: 50%;
        }

        .logo-text {
            font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
            flex: 1;
            font-size: 35px;
            font-weight: 500;

            @media(max-width: 1080px) {
                font-size: 30px;
            }
        }
    }

    nav {
        display: flex;
        align-items: center;

        ul {
            display: flex;
            list-style-type: none;
            gap: 5px;

            li {
                display: inline-block;

                a {
                    display: inline-block;
                    padding: 10px 20px;
                    color: var(--base-100);

                    &:hover {
                        background-color: #e9e9e942;
                        border-radius: 10px;
                        text-decoration: none;
                    }
                }
            }
        }

        .mobile-toggle {
            display: none;

            color: var(--base-100);
            padding: 0px 10px;

            @media (max-width: 768px) {
                display: inline-block;
                position: absolute;
                top: 35px;
                right: 20px;
            }
        }
    }

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
    }

    @media (max-width: 768px) {
        flex-direction: column;
        align-items: center;

        nav {
            margin-top: 10px;
            width: 100%;

            ul {
                display: none;
                flex-direction: column;
                text-align: center;
                width: 100%;

                a {
                    width: 100%;
                }

                &.active {
                    display: flex;
                }
            }
        }
    }
}

nav a.active {
    background-color: #ffffff2d;
    border-radius: 10px;
    pointer-events: none;
    color: rgb(255, 255, 255);
    cursor: default;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-vid {
    width: 100%;
    height: 100%;
    position: relative;

}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;

    @media(max-widht: 320px) {
        object-fit: cover;
    }
}

.hero-info {
    /* z-index: 1; */
    position: absolute;
    top: 80px;
    left: 20px;
    right: 0px;

    @media(max-width: 1024px) {
        margin-top: 10%;
    }
}

.hero-info h1 {
    color: #e0e0e0;
    font-size: 120;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-top: 30px;
    margin-bottom: 5px;
}

.hero-info p {
    font-size: 15px;
    color: white;
    max-width: 500px;
}

.elements3 {
    position: absolute;
    bottom: 15%;
    right: 8%;
    display: flex;
}

.video-btn {
    position: absolute;
    bottom: 8%;
    right: 8%;
    display: flex;
}

.scroller {
    flex-direction: column;
    color: rgba(255, 255, 255, 0.336);
    opacity: 85%;
    position: absolute;
    bottom: 2%;
    right: 50%;
    text-align: center;
}

h1 {
    font-size: 55px;
    line-height: 1;
    margin-bottom: 10px;

    small {
        display: block;
        font-weight: 100;
    }
}

.aboutinfo {
    display: flex;
    font-size: 17px;

    @media (max-width: 1024px) {
        flex-direction: column;
    }

    .about-text {
        flex: 1;
        /* background-color: var(--blue-100); */
        border-radius: 30px;
        padding: 25px 30px;
        display: flex;
        flex-direction: column;

        span {
            @media (max-width:768px) {
                display: none;
            }
        }

        h1 {
            font-size: 35px;
        }

        .call-to-action {
            margin-top: 20px;
            margin-bottom: 5px;

            a {
                margin-right: 10px;
                margin-bottom: 10px;
            }
        }

        .social-links {
            display: flex;

            a {
                background-color: var(--base-200);
                color: var(--base-800);
                width: 45px;
                height: 45px;
                padding: 10px;
                margin: 0px 2px;
                border-radius: 50%;
                box-sizing: border-box;
                flex-shrink: 0;
                /* place-items: center; */
                box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

                &:hover {
                    background-color: var(--accent-color);
                    color: var(--base-100);
                    text-decoration: none;
                }
            }
        }
    }

    /* .about-art {
        flex: 0.5;
        background-color: var(--yellow-400);
        padding: 30px;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
            max-width: 100%;
        }
    } */
}

.tech {
    @media (max-width:1440px) {
        border-radius: 0px;
    }

    .marquee {
        background-color: var(--base-100);
        border-radius: 15px;
        padding: 10px 0px;
        height: 60px;
        overflow: hidden;
        position: relative;
        align-items: center;
        justify-content: center;

        .track {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            white-space: nowrap;
            will-change: transform;
            animation: marquee 40s linear infinite;
        }

        ul {
            font-size: 15px;
            list-style-type: none;

            li {
                background-color: var(--base-200);
                border-radius: 10px;
                display: inline-block;
                padding: 10px 20px;
            }
        }
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

h2 {
    /* font-size: 40; */
    line-height: 1;
    margin-bottom: 10px;
    text-align: center;
    color: var(--base-800);
    /* padding: 15px; */

    small {
        display: block;
        font-weight: 100;
        font-size: 0.5em;
        color: var(--base);
    }

    @media (max-width:1024px) {
        font-size: 48px;
    }
}

.games {
    .game-list {
        display: flex;
        gap: 30px;
        justify-content: center;
        margin-bottom: 30px;

        @media(max-width:1024px) {
            flex-wrap: wrap;
        }

        article {
            background-color: var(--base-100);
            padding: 25px;
            border-radius: 30px;
            width: 300px;
            transition: 300ms ease;

            a {
                color: #000;
                text-decoration: none;
            }

            h3 {
                margin-top: 10px;
                margin-bottom: 10px;
            }

            div {
                font-weight: 600;
                margin-bottom: 5px;
                color: var(--base-800);
            }

            p {
                margin-bottom: 10px;
                overflow-wrap: break-word;
                white-space: normal;
            }

            figure {
                width: 100%;
                overflow: hidden;
                position: relative;
                border-radius: 15px;
            }

            &:hover {
                transform: scale(1.02);
                background-color: var(--base-200);
            }
        }
    }
}

.stats-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 0px;

    .stats {
        border-radius: 15px;
        padding: 10px 25px;
        display: flex;

        ol {
            list-style-type: none;

            li {

                font-size: 35px;
                font-weight: bold;
                display: inline-block;
                background-color: var(--base-100);
                padding: 10px 20px;
                border-radius: 10px;
                margin-bottom: 15px;
                text-align: center;
            }
        }
    }
}

.services {

    .services-holder {
        display: flex;
        align-items: center;
        padding: 10px;
        gap: 20px;


        .services-list {
            display: flex;
            padding: 0px;
            border-radius: 15px;
            flex-wrap: wrap;
            justify-content: center;


            .cards {
                background-color: var(--base-100);
                width: 18em;
                height: 10em;
                display: flex;
                border-radius: 10px;
                flex-direction: column;
                text-align: center;
                justify-content: center;
                padding: 25px 25px;
                margin: 10px;
                transition: 300ms ease;

                &:hover {
                    transform: scale(1.02);
                    background-color: var(--accent-color);

                    svg {
                        color: white;
                    }

                    color: white;

                    h4 {
                        cursor: default;
                    }

                    p {
                        cursor: default;
                    }
                }

                svg {
                    /* color: var(--accent-color); */
                    padding: 15px;
                }

                p {
                    font-size: .75em;
                }
            }
        }

        @media (max-width:1024px) {
            flex-direction: column;
            justify-content: center;
        }
    }
}

.founders {
    flex-direction: column;
    justify-content: center;
    font-size: 15px;
    padding-bottom: 25px;

    .founder-list {
        display: flex;
        gap: 30px;
        justify-content: center;

        @media(max-width:1024px) {
            flex-wrap: wrap;
        }
    }

    article {
        display: flex;
        flex-direction: column;
        background-color: var(--base-100);
        width: 350px;
        padding: 25px;
        border-radius: 30px;

        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: 300ms ease;

        img {
            -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
            width: 225px;
            height: auto;
            border-radius: 25px;
            margin-bottom: 15px;
            transition: 200ms ease;
        }

        &:hover {
            background-color: var(--base-200);

            img {
                -webkit-filter: grayscale(0%);
                filter: grayscale(0%);
                transform: scale(1.02);
            }
        }
    }
}

.contact {
    max-width: 1200px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 125px;
    display: flex;
    padding: 30px 30px;
    border-radius: 25px 25px;
    background-color: var(--base-200);
    justify-content: center;
    gap: 10px;

    @media (max-width:1440px) {
        flex-direction: column;

    }

    .contact-left {
        flex: 1;
        flex-direction: column;
        padding: 25px;
        border-radius: 25px;
        /* background-color: var(--base-100);
        box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.1); */

        h2 {
            padding: 0px;
            text-align: start;
            line-height: 1.2;
        }

        small {
            color: #000;
        }

        p {
            margin-top: 15px;
            font-size: 15px;
            text-wrap: 1;
            line-height: 1.2;
        }

        .con-info {
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            padding: 25px;

            li {
                list-style: none;
                padding: 5px;
            }

            svg {
                margin: 0px 15px;
            }
        }
    }

    .contact-right {
        background-color: var(--base-100);
        box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.1);
        border-radius: 25px;
        padding: 25px;
        display: flex;
        text-align: center;

        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        input {
            background-color: #ffffff;
            width: 100%;
            padding: 15px 10px;
            border-radius: 10px;
            border-style: none;
            white-space: nowrap;
            overflow-x: auto;

            @media (max-width: 1440px) {
                width: 80%;
            }
        }

        ::placeholder {
            font-family: Arial, Helvetica, sans-serif;
        }

        textarea {
            background-color: #ffffff;

            width: 100%;
            padding: 15px 10px;
            border-radius: 10px;
            border-style: none;
            resize: none;
            overflow: auto;
        }
    }
}

.footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: var(--base-100);
    padding: 25px 150px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1;
    font-size: 15px;

    .admin {
        color: var(--base-400);

        &:hover {
            text-decoration: none;
            cursor: text;
        }
    }

    .up-btn {
        position: absolute;
        right: 30px;
        bottom: 10px;
        color: #e0e0e0;
        background-color: var(--button);
        width: 50px;
        height: 50px;
        border-radius: 25px;
        padding: 12px 10px;
        text-align: center;

        &:hover {
            background-color: var(--button-100);
        }
    }
}

.float {
    width: 1440px;
    display: flex;
    background-color: var(--background);
    position: fixed;
    justify-content: space-between;
    border-radius: 25px;
    padding: 20px 25px;
    bottom: 10%;
    left: 13%;
    z-index: 2;
    box-shadow: 0px 0px 3px var(--base-400);
}

.about-section {
    color: var(--base-100);
    position: relative;

    .about-info h1 {
        color: #e0e0e0;
        font-size: 120;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
        font-weight: 500;
        font-style: normal;
        margin-top: 30px;
        margin-bottom: 5px;
    }

    .about-info {
        margin-top: 30px;
        z-index: 1;
        position: absolute;
        top: 10%;
        left: 2%;
    }

    .about-info p {
        max-width: 400px;
    }
}

.R-portfolio {
    padding: 50px;
    margin: auto;
    margin-top: 150px;
    display: flex;
    flex-direction: row;

    .R-info {
        width: 500px;

        h1 {
            font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
            font-weight: 500;
        }
    }
}

.description {
    margin: 50px;
    padding: 25px;
    display: flex;

    .screenshots {
        margin: auto;
        gap: 50px;
        padding: 25px;
        flex: 1;

        img {
            width: 250px;
        }
    }

    .text-info {
        flex: 1;
    }
}

.kickstarter-button {
    margin-top: 10px;
    display: flex;
    position: relative;

    p {
        position: absolute;
        top: 18px;
        left: 75px;
        text-align: center;
        color: white;

        &:hover {
            cursor: default;
        }
    }

    a {
        background-color: var(--accent-color);
        color: white;
        width: 200px;
        height: 64px;
        padding: 0px 10px;
        /* margin: 0px 2px; */
        border-radius: 50px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
        transition: ease 200ms;

        svg {
            margin: 10px;
            width: 2em;
        }

        &:hover {
            background-color: #027250;
            text-decoration: none;
        }
    }
}

.cta {
    display: flex;
    justify-content: center;
    text-align: center;
}

.under-construction {
    display: flex;
    padding: 25px 30px;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.adminpage {
    padding: 5px 5px;
    flex-direction: column;
    text-align: center;

    .button {
        margin: 5px;
    }

    a {
        &:hover {
            text-decoration: none;
        }
    }
}

.privacypage {
    margin: 2rem auto;
    max-width: 1440px;
    padding: 2rem;
    line-height: 1.6;

    h3 {
        font-weight: 600;
        margin: 1.5rem 0 .75rem;
        text-align: start;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .ppheader {
        padding: 1.5rem;
        background-color: var(--base-200);
        text-align: center;
        border-radius: 8px 8px 0 0;
        color: var(--white);
    }

    .ppdate {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        color: var(--text-muted);
        border-bottom: 1px solid var(--base-200);
    }

    section {
        padding: 1rem 1.5rem;
    }

    p {
        margin-bottom: 1rem;
    }

    ul {
        margin: 1rem 0 1.5rem;
        padding-left: 1.2rem;

        li {
            padding-left: 0.25rem;
            margin-bottom: 0.6rem;
            list-style: disc;
        }
    }
}