@font-face {
  font-family: Main;
  src: url(../fonts/Inter-Medium.woff2);
}
@font-face {
  font-family: Title;
  src: url(../fonts/Inter-SemiBold.woff2);
}
@font-face {
  font-family: Decor;
  src: url(../fonts/KaushanScript-Regular.woff2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: #fbfbfb;
  font-family: Main;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialased;
  text-rendering: optimizeLegibility;
}

body {
  background: #131313;
  box-shadow: inset 0px 0px 30px 9px rgba(42, 42, 42, 0.4);
}

.title {
  font-size: 45px;
  font-family: Title;
  letter-spacing: -2px;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transition: 0.5s;
  transform: translateY(20px);
}
.title.active {
  opacity: 1;
  transform: translateY(0px);
}

.title span {
  font-family: decor;
  letter-spacing: -3px;
}

.subtext {
  font-size: 16px;
  text-align: center;
  line-height: 1.3;
  z-index: 5;
}
#subtext-white {
  color: #fbfbfb;
}
#subtext-gray {
  color: #b8b8b8;
}

.text-success{
  color: #4bb543;
}

.title span {
  font-family: decor;
  letter-spacing: -2px;
}

.mainbutton {
  font-family: Title;
  color: #fbfbfb;
  outline: 1px solid #ffa600;
  border-radius: 30px;
  border: none;
  padding: 11px 35px;
  overflow: hidden;
  cursor: pointer;
  font-size: 16px;
  z-index: 5;
  position: relative;
  background: linear-gradient(to bottom, #fc8511, #ff0400);
}

.mainbutton::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(to top, #fc8511, #ff0400);
  transition: 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 5;
}
.logo img {
  height: 30px;
  width: 30px;
  transition: 0.3s;
}
#logo p {
  font-size: 18px;
  background: linear-gradient(to right, #fbfbfb, #fbfbfb, #fc8511, #ff0400);
  background-size: 300%;
  color: transparent;
  background-clip: text;
  transition: 0.4s;
  font-weight: bold;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0);
    animation-timing-function: ease-out;
  }
  50% {
    transform: rotate(5deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: rotate(-5deg);
    animation-timing-function: ease-in;
  }
  70% {
    transform: rotate(5deg);
    animation-timing-function: ease-in;
  }
}

.nav {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.hero {
  position: relative;
  height: fit-content;
  padding: 150px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.join-newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

input {
  font-size: 16px;
  padding: 11px 35px 11px 25px;
  outline: none;
  border: none;
  border-radius: 30px;
  background: transparent;
  color: #fbfbfb;
}
input::placeholder {
  color: #565656;
}

.newsletter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #1c1c1c;
  border-radius: 30px;
  outline: 1px solid #424242;
}

#users {
  font-size: 25px;
  letter-spacing: -1px;
}
/* #users span{
    color: #ff3d00;
} */

.user-joined {
  opacity: 1;
  transition: 0.8s;
}

.userlist {
  position: relative;
  padding: 20px 60px;
  background: #131313;
  border-radius: 50px;
  overflow: hidden;
}

.userlist-bg {
  padding: 1px;
  border-radius: 50px;
  background: linear-gradient(to right, #ff0400, #fc8511, #ff3d00, #ff0400);
  background-size: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bg 2s linear infinite;
}

@keyframes bg {
  100% {
    background-position: 200%;
  }
}

#r1,
#r2,
#r3,
#r4 {
  height: 40px;
  position: absolute;
  bottom: -45px;
  transform: rotate(-35deg);
}

#r1 {
  animation: rocket 3s infinite;
  left: 50px;
}
#r2 {
  animation: rocket 3s infinite;
  animation-delay: 0.5s;
  right: 20px;
}

#r3 {
  animation: rocket 3s infinite;
  animation-delay: 1.5s;
  right: 100px;
}

#r4 {
  animation: rocket 3s infinite;
  animation-delay: 1s;
  left: 130px;
}

@keyframes rocket {
  100% {
    transform: translateY(-200px) rotate(-35deg);
  }
}

.section-title {
  font-family: Title;
  color: #fbfbfb;
  font-size: 14px;

  border-radius: 30px;
  padding: 6px 25px;
  /* box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 15%); */
  outline: 1px solid #ff3d00;
  z-index: 5;
}

.footer {
  height: fit-content;
  /* background: #131313; */
  /* box-shadow: inset 0px 17px 46.8px 9px rgba(78, 78, 78, 0.4); */
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}
#footer-wrapper {
  padding: 0;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 100px;
  padding: 110px 0 35px 0;
  z-index: 5;
}

.main-footer-section {
  display: flex;
  justify-content: space-between;
}

.socials {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  z-index: 5;
}

.social {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 13px;
  transition: 0.2s;
  padding: 8px 0;
}
.social span {
  font-size: 16px;
  color: #dadada;
}

.social img {
  height: 16px;
}
.social-img {
  display: flex;
  background: #272727;
  height: 30px;
  width: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: 0.2s;
}

.social span {
  display: none;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 75px;
}

.terms-privacy {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-top: 15px;
}

.credit-copyright {
  display: flex;
  justify-content: center;
}
.credit-copyright p {
  font-size: 14px;
  color: #dadada;
}

.footer-fade {
  position: absolute;
  background: rgba(255, 0, 0, 0.83);
  width: 63%;
  max-width: 850px;
  height: 400px;
  bottom: -250px;
  left: 50%;
  border-radius: 100000px;
  transform: translateX(-50%);
  filter: blur(60px);
}
.footer-fade-2 {
  position: absolute;
  height: 120px;
  max-width: 635px;
  width: 48%;
  bottom: -40px;
  background: rgba(255, 195, 0, 0.8);
  border-radius: 100000px;
  filter: blur(45px);
  left: 50%;
  transform: translateX(-50%);
}

.footer-main {
  position: initial;
  left: 0;
  transform: none;
}
.main-footer-section {
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.wrapper {
  max-width: 1300px;
  width: 100%;
  margin: auto;
  padding: 55px 20px;
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

@media (min-width: 1023px) {
  .mainbutton:hover::before {
    opacity: 1;
  }
  .logo:hover.logo p,
  #logo:hover#logo p {
    background-position: 100%;
  }

  .logo:hover.logo img {
    animation: shake 0.5s forwards;
  }
  .social:hover {
    color: #afafaf;
  }
  .social:hover .social-img {
    transform: scale(1.1);
    background: #424242;
  }
}

@media (max-width: 550px) {
  .newsletter {
    flex-direction: column;
    background: transparent;
    outline: none;
    gap: 20px;
    width: 100%;
  }
  .title {
    font-size: 38px;
  }

  input {
    font-size: 16px;
    padding: 11px 20px;
    outline: none;
    border: none;
    border-radius: 30px;
    background: transparent;
    color: #fbfbfb;
    background: #1c1c1c;
    border-radius: 30px;
    outline: 1px solid #424242;
    width: 100%;
  }
}
