﻿@font-face {
    font-family: 'Roboto_Local';
    src: url(../Font_Family/Arvo/Arvo-Regular.ttf);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Roboto_Local';
    line-height: 1.5;
}


html {
    font-size: 14px;
}

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;
}

.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);
        }
    }
}
