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



*{

    padding: 0;

    margin: 0;

    font-family: 'Poppins', sans-serif;

    box-sizing: border-box;

    scroll-behavior: smooth;

}



body{

    min-height: 100vh;

    background: linear-gradient(#2b1055, #7597de);



}

nav{

  display: flex;

  height: 80px;

  width: 100%;

  background: #1b1b1b;

  align-items: center;

  justify-content: space-between;

  padding: 0 50px 0 100px;

  flex-wrap: wrap;

}

nav .logo{

  color: #fff;

  font-size: 35px;

  font-weight: 600;

}

nav ul{

  display: flex;

  flex-wrap: wrap;

  list-style: none;

}

nav ul li{

  margin: 0 5px;

}

nav ul li a{

  color: #f2f2f2;

  text-decoration: none;

  font-size: 18px;

  font-weight: 500;

  padding: 8px 15px;

  border-radius: 5px;

  letter-spacing: 1px;

  transition: all 0.3s ease;

}

nav ul li a.active,

nav ul li a:hover{

  color: #111;

  background: #fff;

}

nav .menu-btn i{

  color: #fff;

  font-size: 22px;

  cursor: pointer;

  display: none;

}

input[type="checkbox"]{

  display: none;

}

@media (max-width: 1000px){

    nav{

    padding: 0 40px 0 50px;

  }

}

@media (max-width: 920px) {

    nav .menu-btn i{

    display: block;

  }

  #click:checked ~ .menu-btn i:before{

    content: "\f00d";

  }

  nav ul{

    position: fixed;

    top: 80px;

    left: -100%;

    background: #111;

    height: 100vh;

    width: 100%;

    text-align: center;

    display: block;

    transition: all 0.3s ease;

  }

  #click:checked ~ ul{

    left: 0;

  }

  nav ul li{

    width: 100%; 

    margin: 40px 0;

  }

  nav ul li a{

    width: 100%;

    margin-left: -100%;

    display: block;

    font-size: 20px;

    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  }

  #click:checked ~ ul li a{

    margin-left: 0px;

  }

  nav ul li a.active,

  nav ul li a:hover{

    background: none;

    color: cyan;

  }

}

section{

    position: relative;

    width: 100%;

    height: 100vh;

    padding: 100px;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}

/* for adding downside img fade  */

section::before{

    content: '';

    position: absolute;

    bottom: 0;

    width: 100%;

    height: 100px;

    background: linear-gradient(to top, #1c0522, transparent);

    z-index: 15;

}



section img{

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    pointer-events: none;

    overflow: hidden;

}

  

section img#moon{

    mix-blend-mode: screen;

}



section img#mountains_front {

    z-index: 10;

}



#text{

    position: absolute;

    color: #fff;

    white-space: nowrap;

    font-size: 7vw;

    z-index: 9;

    right: -35px;

}



#btn{

    text-decoration: none;

    display: inline-block;

    padding: 8px 30px;

    border-radius: 40px;

    background: #fff;

    color: #2b1055;

    font-size: 1.5em;

    z-index: 9;

    transform: translateY(100px);

}



.sec{

    position: relative;

    padding: 100px;

    background: #1c0522;

}



.sec h2{

    font-size: 3.5em;

    margin-bottom: 10px; 

    color: #fff;

}



.andromeda{

    font-size: 1.2em; 

    color: #fff;

    text-align: left;

}