﻿:root {
    --dark: #0e0e12;
    --bg-dark: #15161a;
    --blue-dark: #0e1334;
    --blue-light: #181e2f;
    --purple: #3131a7;
    --light-green: #217057;
    --green: #0d5f5a;
    --white: #fff;
    --text: #a1a1a3;
}



body {
    margin: 0;
    padding: 0;
    /*font-family: 'Tomorrow', sans-serif;*/
    height: 100vh;
    background-image: linear-gradient(to top, #2e1753, #1f1746, #131537, #0d1028, #050819);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}



.nav-brand {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-brand:hover {
        color: var(--text);
    }

    .nav-brand::after,
    .nav-brand::before {
        content: '';
        display: block;
        position: absolute;
        width: 10%;
        height: 20%;
        border: 2px solid;
        transition: all 0.6s ease;
        border-radius: 2px;
    }

    .nav-brand::after {
        bottom: 0;
        right: 0;
        border-top-color: transparent;
        border-left-color: transparent;
        border-bottom-color: #FFF;
        border-right-color: #FFF;
    }

    .nav-brand::before {
        top: 0;
        left: 0;
        border-bottom-color: transparent;
        border-right-color: transparent;
        border-top-color: #FFF;
        border-left-color: #FFF;
    }

    .nav-brand:hover:after,
    .nav-brand:hover:before {
        width: 100%;
        height: 100%;
    }




.logo-container {
    position: absolute;
    top: 10%;
    left: 5%;
}

    .logo-container img {
        max-width: 150px;
    }

.text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    text-align: center;
}

h1 {
    font-size: 50px;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    right: 0;
    animation: starTwinkle 3s infinite linear;
}

.astronaut img {
    width: 100px;
    position: absolute;
    top: 55%;
    animation: astronautFly 10s infinite linear;
}

@keyframes astronautFly {
    0% {
        left: -100px;
    }

    25% {
        top: 50%;
        transform: rotate(30deg);
    }

    50% {
        transform: rotate(45deg);
        top: 55%;
    }

    75% {
        top: 60%;
        transform: rotate(30deg);
    }

    100% {
        left: 110%;
        transform: rotate(45deg);
    }
}

@keyframes starTwinkle {
    0% {
        background: rgba(255,255,255,0.4);
    }

    25% {
        background: rgba(255,255,255,0.8);
    }

    50% {
        background: rgba(255,255,255,1);
    }

    75% {
        background: rgba(255,255,255,0.8);
    }

    100% {
        background: rgba(255,255,255,0.4);
    }
}





@media (max-width: 600px) {

    .logo-container {
        top: 5%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .text {
        top: 20%;
    }

    .astronaut img {
        top: 60%;
    }


    @keyframes astronautFly {
        0% {
            left: -100px;
        }

        25% {
            top: 55%;
            transform: rotate(30deg);
        }

        50% {
            transform: rotate(45deg);
            top: 60%;
        }

        75% {
            top: 75%;
            transform: rotate(30deg);
        }

        100% {
            left: 90%;
            transform: rotate(45deg);
        }
    }
}