@import url('https://fonts.googleapis.com/css?family=Poiret+One|Source+Sans+Pro');

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

html, body {
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  color: #ecf0f1;
  overflow: hidden;
}

.main {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-family: 'Poiret One', cursive;
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.sub-title {
  border-top: 0.1rem solid #fff;
  padding: 1rem 4rem;
  text-align: center;
}

.stars, .stars2, .stars3 {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

/* Basic star styling */
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  /* 
    We can still keep twinkle or other animations
    but the main falling animation is "fall"
  */
  animation-name: fall, twinkle;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite;
}

/* Falling animation:
   Here, we start at transform: translateY(-10vh) which
   effectively puts the star *just above* the top of the screen
   (since its absolute position is top=0).
*/
@keyframes fall {
  0% {
    transform: translateY(-10vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}

/* Optional twinkle animation to give a subtle brightness flicker */
@keyframes twinkle {
  0%, 100% {
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  }
  50% {
    box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.4);
  }
}
