@font-face {
    font-family: GuardiansRegular;
    src: url(../../assets/fonts/GuardiansRegular.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: GuardiansRegular;
}


section{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.help-text {
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    text-wrap: nowrap;
}

/* h2 WORD GALAXY */ 
section h2{
    color: transparent;
    font-weight: 900;
    font-size: 12vw;
    align-items: center;
    letter-spacing: 1rem;
    -webkit-text-stroke: 0.2px #fff;
    display: flex;
    margin-left: 20px;
    animation: galaxy 5s linear;
    position: relative;
}

/* KEYFRAME WORD APPEAR */
@keyframes galaxy {
    0%{
        /* font-size: 0vw; */
        transform: scale(0.1);
    }
    100%{
        /* font-size: 12vw; */
        transform: scale(1);
    }
}
/* STARS BACKGROUND */

section .star{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: animate 8s ease-in-out infinite,
               backgroundmove 16s linear infinite;         
}

section .star.star1{
    animation-delay: 0s;
    background: url(../../assets/images/stars/star1.png);
}
section .star.star2{
    animation-delay: -1s;
    background: url(../../assets/images/stars/star2.png);
}
section .star.star3{
    animation-delay: -3s;
    background: url(../../assets/images/stars/star3.png);
}
section .star.star4{
    animation-delay: -5s;
    background: url(../../assets/images/stars/star4.png);
}
section .star.star5{
    animation-delay: -7s;
    background: url(../../assets/images/stars/star5.png);
}
section .star.star6{
    animation-delay: -9s;
    background: url(../../assets/images/stars/star6.png);
}
section .star.star7{
    animation-delay: -10s;
    background: url(../../assets/images/stars/star7.png);
}
section .star.star8{
    animation-delay: -12s;
    background: url(../../assets/images/stars/star8.png);
}

/* KEYFRAMES STARS */
@keyframes animate {
    0%,20%,40%,60%,80%,100%{
        opacity: 0;
    }
    10%,30%,50%,70%,90%{
        opacity: 1;
    }
}

@keyframes backgroundmove {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(2);
    }
}
/* ORBIT OVALS */
span{
    display: flex;
    align-items: center;
}
#oval{
    width: 150px;
	height: 85px;
	border: 4px solid aqua;
	border-radius: 50%;
	position: relative;
    rotate: 45deg;
    /* opacity: 0; */
    animation: opacity 4s linear;
    }
#oval2{
    width: 150px;
	height: 85px;
	border: 4px solid aqua;
	border-radius: 50%;
	position: absolute;
    rotate: -45deg;
    /* opacity: 0; */
    animation: opacity 4s linear;
}

@keyframes opacity {
    0%, 80%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
/* ORBIT */
#orb{
    position: absolute;
	left: 50%;
	top: 50%;
	animation: move 3s linear infinite;
}
#orb2{
    position: absolute;
	left: 50%;
	top: 50%;
	animation: move 3s linear infinite ;
}
/* KEYFRAME ORB */
@keyframes move{
	0%,100%{
		transform: translate(25px, 0);
	}

	25%, 75%{
		transform: translate(0, 0);
	}
	50%{
		transform: translate(-25px, 0);
	}
}


/* ORBIT BALL */
p.orbit {
	margin: 0;
	width: 20px;
	height: 20px;
	margin: -50%;
	border-radius: 50%;
	background: aqua;
	animation: rotate 3s linear infinite;
}
@keyframes rotate{
	0%{
		transform:rotate(0deg) translate(44px, 0) ;
	}
	100%{
		transform:rotate(360deg) translate(44px, 0) ;
	}
}

@media screen and (max-width: 768px){
    section h2{
        font-size: 8vw;
        letter-spacing: 0.5rem;
    }
    span{
        margin: -2.5rem;
        scale: 0.5;
        padding: 0;
    }
}

@media screen and (min-width: 1200px) {
    section h2{
        font-size: 12vw;
    }
    span {
        margin-left: 1rem;
        margin-right: 2rem;
    }
    #oval{
        scale: 1.5;
        padding-top: 40px;
    }
    #oval2{
        scale: 1.5;
        padding-top: 40px;
    }
}