/* -----------Global----------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* -----------Container----------- */
.container {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background-image: url("./imgs/bg.jpg");
  background-position: center center;
  background-size: cover;
  padding: 0 8%;
}

/* -----Overlay----- */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(80, 79, 79, 0.8);
}

/* -----Logo----- */
.logo {
  position: relative;
  font-size: 2.6rem;
  font-weight: 600;
  color: #000000;
  padding: 20px 0;
  z-index: 10;
}

.logo span {
  color: #e0dede;
}

/* -----Content----- */
.content {
  height: fit-content;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  color: #000000;
  margin-top: 50px;
  z-index: 10;
  margin-right: 40px;
}

/* Title */
.content p {
  font-size: 1.8rem;
  font-weight: 500;
}

.content p:first-child {
  font-size: 2rem;
  margin-bottom: 20px;
}

.content p:first-child span {
  color: #e0dede;
}

.content h1 {
  font-size: 3.5rem;
  font-weight: 600;
}

.content h1 span {
  color: #e0dede;
}

/* Contact info */
.contact-info {
  height: 200px;
  background-color: #f5f1f1;
  padding: 15px;
  width: max-content;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.contact-info > div {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contact-info > div > i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #630b0b;
}

/* Social Icons */
.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  text-decoration: none;
  color: #e0dede;
  cursor: pointer;
  font-size: 2.5rem;
  transition: all 0.3s ease-in;
  margin-right: 10px;
}

.content a:hover {
  color: #000000;
}

/* Counter */
.launch-time {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  padding: 20px 0;
}

.launch-time div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 120px;
  padding: 10px;
  background-color: #8a8989;
  margin-right: 10px;
  border-radius: 10px;
}

.launch-time div:nth-child(1) {
  background-color: #fac8c8;
}

.launch-time div:nth-child(2) {
  background-color: #cefac8;
}

.launch-time div:nth-child(3) {
  background-color: #bdbcf8;
}

.launch-time div:nth-child(4) {
  background-color: #eef5b4;
}

.launch-time div p {
  font-size: 2.5rem;
}

.launch-time div span {
  font-size: 1.2rem;
  font-weight: 600;
}

/* -----Rocket----- */
.rocket {
  width: 350px;
  position: absolute;
  right: 10%;
  bottom: 0;
  animation: rocket 4s linear infinite;
}

@keyframes rocket {
  0% {
    bottom: 0%;
    opacity: 0;
  }

  100% {
    bottom: 105%;
    opacity: 1;
  }
}

/* -----Credits----- */
.credits {
  position: absolute;
  z-index: 10;
  right: 10px;
  bottom: 10px;
  color: #000000;
  font-size: 1rem;
}

/* -----------Responsiveness----------- */
@media (max-width: 660px) {
  /* Logo */
  .logo {
    font-size: 2rem;
  }

  /* Content */
  .content {
    margin-top: 30px;
  }

  .content p {
    font-size: 1.5rem;
  }

  .content p:first-child {
    font-size: 1.5rem;
  }

  .content h1 {
    font-size: 2rem;
  }

  /* Contact info */
  .contact-info {
    font-size: 0.8rem;
  }

  .contact-info > div > i {
    font-size: 1rem;
  }

  /* Social icons */
  .social-icons a {
    font-size: 1.8rem;
  }

  /* Counter */
  .launch-time div {
    width: 70px;
  }

  .launch-time div p {
    font-size: 1.2rem;
  }

  .launch-time div span {
    font-size: 0.8rem;
  }

  /* Rocket */
  .rocket {
    width: 200px;
  }
}
