/* STYLE - SECTION */

#home {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  gap: 20px;
}

/* STYLE - CONTENT */

content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  max-width: 520px;
  height: 100%;
  transition: 0.4s;
  opacity: 0;
}

content div {
  position: relative;
  width: 100%;
}

content div img {
  width: 100%;
}

content span {
  display: block;
  font-size: 18px;
  color: white;
  text-align: center;
  font-family: "Poppins";
}

content div:nth-child(1) span {
  display: block;
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  font-family: "monte-stella";
  color: rgba(9, 6, 32, 1);
}

content button {
  all: unset;
  display: block;
  cursor: pointer;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid var(--degrade, rgba(0, 0, 0, 0.2));
  background: linear-gradient(180deg, #d6d7d7 0%, #fcfdfd 100%);
  transition: 0.4s;
  font-weight: bolder;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1;
  font-family: "Poppins Black";
  font-size: 16px;
  margin: 0 auto;
}

content button:hover {
  opacity: 0.7;
}

.aviao {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  animation: aviao 1s infinite alternate linear;
  width: 150px;
}

@keyframes aviao {
  0% {
    top: 45%;
  }

  100% {
    top: 55%;
  }
}

optin {
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background: #000000e0;
  position: absolute;
  width: 800px;
  gap: 20px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  opacity: 0;
  transition: 0.4s;
  z-index: -1;
}

optin label {
  font-family: "Poppins";
  font-size: 12px;
  color: white;
}

@media screen and (max-width: 800px) {
  content {
    max-width: 400px;
    gap: 25px;
  }

  content div:nth-child(1) span {
    font-size: 24px;
  }

  content img {
    width: 100%;
  }

  content span {
    font-size: 16px;
  }

  content button {
    font-size: 14px;
    padding: 15px;
  }

  .aviao {
    max-width: 110px;
  }

  #home {
    padding-top: 60px;
  }

  optin {
    width: 350px;
    top: -98px;
  }

  optin label {
    font-size: 10px;
  }
}
