@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background-image: url(../IMG/starsbg.jpg);
  background-size: cover;
  font-family: "Poppins", sans-serif;
}

.paralax {
  position: relative;
  width: 100%;
  height: 180vh;
  padding: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.paralax::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #c4c2c3, transparent);
  z-index: 1000;
}

.paralax img {
  position: absolute;
  /* absolute biar kegabung */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#text {
  position: absolute;
  font-size: 4.8em;
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 6px 6px 20px grey;
  bottom: 100px;
}

.paralax img#meteorid {
  z-index: 100;
}

#button {
  position: absolute;
  font-size: 1em;
  color: rgb(0, 0, 0);
  background: linear-gradient(to right, #74bec1, #8d5cb9);
  padding: 10px 50px;
  border-radius: 20px;
  text-decoration: none;
  transform: translateY(100px);
  bottom: 100px;
  z-index: 2000;
}
#button:hover {
  background: linear-gradient(to right, #8d5cb9, #74bec1);
}
.description {
  position: relative;
  padding: 10em;
  background-color: #c4c2c3;
  overflow: hidden;
}
.description p {
  font-size: 1.1em;
  text-align: justify;
}
/*  Unsplash, Pexels, atau Pixabay, freepik */
.fade-up {
  opacity: 0;
  transform: translateY(150%);
  /* jika tidak mau efek putar hapus saja rotate -180deg */
  /* transition: opacity 1s ease-in, transform 1s ease-in; */
  transition: 1s;
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, #c172eb, #5f89e1);
  margin: 2rem;
  border-radius: 35px;
  box-shadow: 7px 7px 7px rgb(83, 73, 73);
}
.fade-up:hover {
  background: linear-gradient(to bottom, #5f89e1, #c172eb);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-100%);
  /* transition: opacity 1s ease-in, transform 1s ease-in; */
  transition: 2s;

  /* margin-left: 5rem; */
  border-radius: 5%;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(100%);
  /* transition: opacity 1s ease-in, transform 1s ease-in; */
  transition: 2s;
}
@media (max-width: 480px) {
  .description {
    position: relative;
    padding: 1rem;
    background-color: #c4c2c3;
    overflow: hidden;
  }
}
