* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}

#backToTop {
  display: inline-block;
  background-color: black;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  text-decoration: inherit;
  color: inherit;
  cursor: auto;
}
#backToTop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#backToTop:hover {
  cursor: pointer;
  background-color: #333;
}
#backToTop:active {
  background-color: #555;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
}
/* Constants */
.content {
  color: white;
  font-size: 1.2rem;
  border-bottom: 2rem;
}
.header-text {
  height: 50px;
  margin-bottom: 1rem;
}
.wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.pq__container {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Home */
.home-container {
  justify-content: flex-end;
}
.home-nft {
  height: 800px;
  position: absolute;
  bottom: 0;
  left: 150px;
  animation: move 1.5s ease-in 0.1s infinite alternate;
}
@keyframes move {
  0% {
    bottom: 0;
  }
  100% {
    bottom: -20px;
  }
}
.nav-wrapper {
  margin-bottom: 1rem;
}
.nav-items {
  list-style: none;
  display: flex;
}
.nav-link {
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  transition: 100ms ease-in-out;
}
.nav-item {
  position: relative;
  overflow: hidden;
}
.nav-item::before {
  content: " ";
  position: absolute;
  height: 3px;
  width: 70%;
  background-color: white;
  bottom: 10%;
  left: -100%;
  transition: 100ms ease-in-out;
}
.nav-link:hover {
  color: white;
  transform: translateY(-10px);
}
.nav-item:hover::before {
  left: 10px;
}
.logo {
  height: 270px;
  margin-bottom: 2rem;
}
.content-wrapper {
  width: 80%;
}
.mint-btn {
  border: 3px solid white;
  border-radius: 20px;
  padding: 24px;
  background-color: #e80618;
  transition: 100ms ease-in-out;
}
.btn-text {
  height: 30px;
}
.mint-btn:active {
  transform: scale(0.9);
}
.home-content{
  font-size: 1.2rem;
}

/* About */
.about-container {
  padding: 0rem 10rem;
  justify-content: flex-start;
}
.about-nft {
  height: 1110px;
  position: absolute;
  bottom: -250px;
  right: 300px;
  animation: about-move 1.5s ease-in 0.1s infinite alternate;
}
@keyframes about-move {
  0% {
    bottom: -220px;
  }
  100% {
    bottom: -250px;
  }
}

/* Story */
.story-container {
  padding: 0rem 10rem;
  justify-content: flex-end;
}
.story-nft {
  height: 900px;
  position: absolute;
  left: 200px;
  bottom: -100px;
  animation: story-move 1.5s ease-in 0.1s infinite alternate;
}
@keyframes story-move {
  0% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(3deg);
  }
}
.story-wrapper {
  align-items: flex-start;
}

/* Roadmap */
.roadmap-container {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 3rem;
}
.roadmap-wrapper {
  height: 100%;
  width: 100%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.roadmap-items {
  height: 100%;
  color: white;
  list-style: none;
  position: relative;
}
.roadmap-item {
  width: 50%;
  margin-bottom: 2rem;
  position: relative;
}
.roadmap-title {
  font-size: 1.5rem;
  color: red;
  font-weight: 700;
}
/* Dot */
.roadmap-item:nth-child(odd)::before {
  content: "";
  position: absolute;
  height: 30px;
  width: 30px;
  background-color: red;
  border: 6px solid yellow;
  border-radius: 50%;
  right: -17px;
  top: 15px;
}
.roadmap-item:nth-child(even)::before {
  content: "";
  position: absolute;
  height: 30px;
  width: 30px;
  background-color: red;
  border: 6px solid yellow;
  border-radius: 50%;
  left: -13px;
  top: 15px;
}
/* Line */
.roadmap-items::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 3px;
  background-color: white;
  left: 50%;
  top: 20px;
}
.roadmap-wrapper ul li:nth-child(odd) {
  float: left;
  clear: right;
  text-align: right;
  padding-right: 3rem;
}
.roadmap-wrapper ul li:nth-child(even) {
  float: right;
  clear: left;
  padding-left: 3rem;
}

/* Team */
.team-container{
  /* height: 100vh; */
  background-image: url('../images/team-background.png');
  background-size: cover;
  background-repeat: no-repeat;
  padding: 5.3rem 2rem;
}

.team-wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-wrapper{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.team-card{
  padding: 1rem;
  border-radius: 18px;
  border: 3px solid white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem;
  color: white;
}

.team-image{
  height: 200px;
  width: 200px;
}

.team-name{
  font-weight:700;
}

/* FAQ */
.faq-container{
  width: 100%;
}
.faq-wrapper {
  height: auto;
  width: 100%;
  background-image: url("../images/faq-background.png");
  background-color: #E80618;
  /* background-size: cover; */
  background-repeat: no-repeat;
  background-position: bottom center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 3rem;
}
.faq-header-wrapper{
  width: 70%;
  margin-bottom: 3rem;
  color: white;
}
.faq-header {
  color: white;
  font-size: 3rem;
  font-weight: 700;
}
.faqs {
  width: 70%;
}
/* Accordion */
input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
/* Accordion styles */
.faq-accordion-wrapper {
  width: 100%;
}
.tabs {
  width: 100%;
  overflow: hidden;
}
.tab {
  color: white;
  background-color: transparent;
  border: 3px solid white;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  border-radius: 50px;
}
.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem;
  font-weight: 700;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 0;
}
.tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: white;
  background: transparent;
  transition: all 0.35s;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
  border: 2px solid blue;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
}

/* Footer */
.footer{
  width: 70%;
  display: flex;
  align-items: flex-end;
  color: white;
}

.footer-left{
  width: 30%;
  
  display: flex;
  align-items: flex-end;
}

.footer-right{
  width: 70%;
}

.footer-content{
  width: 80%;
  font-weight: 300;
  font-size: 12px;
  margin: 3rem 0rem;
}

.footer-copyright, .join-community{
  font-size: 1rem;
  font-weight: 700;
}


@media screen and (max-width: 1560px) {
  /* Constants */
  .content {
    font-size: 1rem;
  }
  .header-text {
    height: 40px;
  }

  /* Home */
  .home-nft {
    height: 580px;
    left: 10%;
  }
  .logo {
    height: 180px;
  }
  .mint-btn {
    padding: 18px;
  }
  .btn-text {
    height: 25px;
  }

  /* About */
  .about-nft {
    height: 800px;
    right: 200px;
  }

  /* Story */
  .story-container {
    padding: 0rem 7rem;
  }
  .story-nft {
    height: 700px;
  }
}

@media screen and (max-width: 1200px) {
  /* Constants */
  .content {
    font-size: 0.9rem;
  }
  .header-text {
    height: 30px;
  }
  .nav-link {
    font-size: 1rem;
  }

  /* Home */
  .home-nft {
    height: 500px;
    left: 10%;
  }
  .logo {
    height: 170px;
    margin-bottom: 1rem;
  }
  .mint-btn {
    padding: 14px;
  }
  .btn-text {
    height: 25px;
  }

  /* About */
  .about-container {
    padding: 0rem 3rem;
  }
  .about-nft {
    height: 780px;
    right: 60px;
  }

  /* Story */
  .story-container {
    padding: 0rem 2rem;
  }
  .story-nft {
    height: 670px;
    left: 100px;
  }
}

@media screen and (max-width: 968px) {
  /* Constants */
  .nav-items {
    width: 80%;
  }
  .nav-link {
    font-size: 0.9rem;
  }

  /* Home */
  .home-wrapper {
    z-index: 12;
  }
  .home-nft {
    height: 480px;
    left: 20px;
    bottom: 50%;
  }
  @keyframes move {
    0% {
      bottom: 10%;
    }
    100% {
      bottom: 15%;
    }
  }

  /* About */
  .about-nft {
    height: 600px;
  }
  @keyframes about-move {
    0% {
      bottom: 10%;
    }
    100% {
      bottom: 15%;
    }
  }

  /* Story */
  .story-nft {
    left: 60px;
  }
}

@media screen and (max-width: 878px) {
  /* Home */
  .home-nft {
    top: 30%;
    animation: move 1.5s ease-in 0.1s infinite alternate;
  }
  @keyframes move {
    0% {
      top: 30%;
    }
    100% {
      top: 32%;
    }
  }

  /* About */
  .about-nft{
    top: 20%;
    animation: about-move 1.5s ease-in 0.1s infinite alternate;
  }
  @keyframes about-move {
    0% {
      top: 20%;
    }
    100% {
      top: 22%;
    }
  }

  /* Story */
  .story-nft {
    top: 20%;
    animation: story-move 1.5s ease-in 0.1s infinite alternate;
  }
  @keyframes story-move {
    0% {
      transform: rotate(-3deg);
    }
    100% {
      transform: rotate(3deg);
    }
  }
  /* Roadmap */
  .roadmap-wrapper {
    width: 100%;
    padding: 1.8rem;
  } 
  .roadmap-item {
    width: 85%;
  }
  .roadmap-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }
  .roadmap-item:nth-child(odd)::before {
    left: -17%;
  }
  .roadmap-item:nth-child(even)::before {
    left: -17%;
  }
  .roadmap-wrapper ul li:nth-child(odd) {
    float: left;
    clear: left;
    text-align: left;
    padding-right: 0rem;
  }
  .roadmap-wrapper ul li:nth-child(even) {
    float: left;
    clear: left;
    padding-left: 0rem;
  }
  .roadmap-items::before {
    left: 15px;
  }

  /* FAQ */
  .Faq .faq-header {
    font-size: 2rem;
  }
  .tab-label {
    padding: 8px;
    font-size: 1.1rem;
  }
  .tab {
    border-radius: 15px;
  }
  .tab-content {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px){
  .wrapper {
    width: 63%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  /* Home */
  .home-nft {
    left: -70px;
  }
  /* About */
  .about-nft{
    right: -40px;
  }
  /* Story */
  .story-nft {
    left: -60px;
  }
  
  /* FAQ */
  .faq-wrapper{
    padding: 5rem 1rem;
  }
  .faq-header-wrapper{
    width: 85%;
    margin-bottom: 3rem;
    color: white;
  }
  .faqs {
    width: 80%;
  }
  .faq-content {
    padding: 1rem;
  }
  .tab-label {
    padding: 8px;
    font-size: 1rem;
  }
  .tab-content {
    font-size: 1rem;
  }
}


@media screen and (max-width: 500px){
  .wrapper {
    width: 90%;
  }
  .home-nft, .about-nft, .story-nft{
    display: none;
  }

  .logo {
    height: 120px;
    margin-bottom: 2rem;
  }
  .content-wrapper {
    width: 70%;
  }
  .mint-btn {
    border: 3px solid white;
    border-radius: 20px;
    padding: 18px;
    background-color: #e80618;
    transition: 100ms ease-in-out;
  }
  .btn-text {
    height: 20px;
  }

  /* Story */
  .story-container {
    height: 115vh;
    padding: 2rem;
    justify-content: flex-end;
  }

  .footer{
    width: 90%;
  }

  .footer-right{
    width: 100%;
  }
  
  .footer-content{
    width: 100%;
    font-weight: 300;
    font-size: 12px;
    margin: 3rem 0rem;
  }
}
