@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(#2b1055, #7597de);
}

header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

header .logo {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    list-style: none;
    margin-left: 20px;
}

header ul li a {
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}

header ul li a:hover,
header ul li a.active{
    background: #fff;
    color: #2b1055;
}

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

section::before{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1c0522, transparent);
    z-index: 1000;
}

section img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

section img#moon {
    mix-blend-mode: screen;
}

section img#mountains_front {
    z-index: 10;
}

#text {
    position: absolute;
    /* right: -350px; */
    color: #fff;
    white-space: nowrap;
    font-size: 6vw;
    transform: translateY(-50px);
    z-index: 9;
}

.divBtns{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#btn {
    display: inline-block;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 40px;
    background: #fff;
    color: #2b1055;
    font-size: 1.5em;
    z-index: 9;
    transform: translateY(120px);
}

#btn2 {
    display: inline-block;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 40px;
    background: #fff;
    color: #2b1055;
    font-size: 1.5em;
    z-index: 9;
    transform: translateY(120px);
}

#btn3 {
    display: inline-block;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 40px;
    background: #fff;
    color: #2b1055;
    font-size: 1.5em;
    z-index: 9;
}

.sec {
    position: relative;
    padding: 100px;
    background: #1c0522;
}

.sec h2 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;
}

.sec p {
    font-size: 1.2em;
    color: #fff;
}

.sec2 {
    position: relative;
    padding-left: 100px;
    background: #1c0522e1;
    height: 100vh;
}

.sec2 h2 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;
    transform: translateY(40px);
}

/* ///////////////////////////////// */

.loader {
    position: relative;
    margin-left: 150px;
    margin-top: 0px;
    transform: skewY(-15deg) translateY(50px);
    animation: animateColor 2.5s linear infinite;
}

@keyframes animateColor {

    0%{
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.loader::before{
    content: '';
    position: absolute;
    top: 300px;
    width: 300px;
    height: 200px;
    background: rgba(0,0,0,0.25);
    transform-origin: bottom;
    transform: skewX(45deg);
    filter: blur(20px);
}

.loader span {
    position: relative;
    width: 200px;
    height: 40px;
    display: block;
    background: #3e3f46;
    transition: 0.5s;
    z-index: var(--i);
    animation: animate 5s ease-in-out infinite;
    animation-delay: calc(-1s * var(--i));
}

@keyframes animate {
    0%, 100% {
        transform: translateX(-70px);
    }
    50% {
        transform: translateX(70px);
    }
}

.loader span:hover{
    background: #33a3ee;
    transition: 0s;
}

.loader span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: #2e3133;
    transform-origin: right;
    transform: skewY(45deg);
    transition: .5s;
}

.loader span:hover::before {
    background: #1f5378;
    transition: 0s;
}

.loader span::after{
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: red;
    transform-origin: bottom;
    transform: skewX(45deg);
    background: #35383e;
    transition: .5s;
}

.loader span:hover::after{
    background: #2982b9;
    transition: 0s;

}


