@font-face {
  font-family: nunito;
  src: url("Nunito.ttf") format("opentype");
}

:root {
  --yellow: #fada5e;
  --orange: #fd9100;
  --back: #212121;
  --footer: #131313;
  --ghost: #3d3d3d;
}

html {
  scroll-behavior: smooth;
  background-color: var(--back);
  font-family: nunito;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

.bolding {
  font-weight: bold;
}

.ghost-card {
  padding: 1rem;
  background-color: var(--ghost);
  border-radius: 10px;
  transition: 0.3s ease;
  border: solid var(--ghost) 2px;
  margin-bottom: 1.5rem;
}

.ghost-card:hover {
  border-radius: 10px;
  border-color: var(--yellow);
}

.ghost-card img {
  color: var(--yellow);
  fill: var(--yellow);
}

.ghost-title {
  text-align: left;
  font-size: 2rem;
  color: var(--yellow);
  font-weight: bold;
}

.ghost-text {
  text-align: left;
  font-size: 1.5rem;
  color: white;
}

.highlight {
  color: var(--yellow);
}

body {
  margin: 0;
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

body::-webkit-scrollbar {
  display: none;
}

h1 {
  margin: 0;
}

.b-section {
  width: 100%;
  background-color: var(--back);
  color: var(--yellow);
}

.y-section {
  width: 100%;
  background-color: var(--yellow);
  color: var(--back);
}

.f-section {
  width: 100%;
  background-color: var(--footer);
  color: var(--yellow);
}

.title {
  color:white;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.about-title {
  font-weight: bold;
  font-size: 2.5rem;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.about-container {
  padding-left: 15%;
  padding-right: 15%;
}

.y-title {
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
  color: var(--yellow);
  font-size: 2.5rem;
  font-weight: bold;
}

.b-title {
  text-align: center;
  color: var(--back);
  font-size: 2.5rem;
  font-weight: bold;
}

.goal-desc {
  color: var(--yellow);
  text-align: center;
  font-size: 1.5rem;
  padding-bottom: 5rem;
}

.about-desc {
  color: var(--ghost);
  text-align: center;
  font-size: 1.5rem;
  padding-bottom: 5rem;
}

.img-title {
  text-align: center;
}

.main-title {
  font-weight: bold;
  font-size: 2.5rem;
}

.main-subtitle {
  font-size: 1.5rem;
}

.add-div {
  margin : 4rem 2.5rem 1.5rem 2.5rem;
}

.add-div-bottom {
  margin : 0rem 2.5rem 1.5rem 2.5rem;
}

.join-btn {
  margin: 1rem;
  display: inline-block;
  padding: 1rem 2rem 1rem 2rem;
  background-color: var(--back);
  color: var(--yellow);
  text-decoration: none;
  border-radius: 5px;
  border: solid 2px var(--yellow);
  transition: 0.3s ease;
}

.join-btn:hover {
  background-color: var(--yellow);
  color: var(--back);
}

.join-btn svg {
  vertical-align: middle;
  margin-right: 10px;
}

.join-btn span {
  vertical-align: middle; /* Aligne le texte verticalement */
}

.add-btn {
  display: inline-block;
  padding: 1rem 2rem 1rem 2rem;
  background-color: var(--yellow);
  color: var(--back);
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s ease;
}

.add-btn:hover {
  background-color: #677bc4;
  color: var(--back);
}

.add-btn svg {
  vertical-align: middle;
  margin-right: 10px;
}

.add-btn span {
  vertical-align: middle; /* Aligne le texte verticalement */
}

.brand-img {
  margin-top: 5rem;
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 600px;
}

.container {
  margin-right: 0.2rem;
  margin-left: 0.2rem;
  text-align: center;
}

.container-list {
  padding-right: 20%;
  padding-left: 20%;
}

.main-image {
  height: 400px;
  animation: pulse 8s infinite linear;
  z-index: 2;
}

.vertical-cmd {
  align-items: center;
  margin: auto;
}

.grid-container-cmd {
  display: grid;
  grid-template-columns: 15% 85%;
  align-items: center;
  gap: 10px;
  border-radius: 1rem;
}

.grid-container {
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  gap: 10px;
  border-radius: 1rem;
  transform: -100px;
}

.appear {
  transform: 0;
}

.grid-container-reversed {
  margin-bottom: 8rem;
  display: grid;
  grid-template-columns: 70% 30%;
  align-items: center;
  gap: 10px;
  border-radius: 1rem;
}

.grid-item-cmd {
  text-align: center;
}

.grid-item {
  text-align: center;
}

.grid-item svg {
  fill: #fada5e; /* Apply fill color to SVG */
}

.grid-item p {
  margin-top: 10px; /* Adjust spacing between SVG and text */
}

.ele-list {
  height: 3rem;
}

.thingz-title {
  font-size: 2rem;
  font-weight: bold;
}

.thingz-item {
  color: white;
  font-size: 1.3rem;
}

.footer-title {
  padding: 1rem 2rem;
}

.copyright {
  padding-bottom: 2rem;
}

#scroll-top {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 500;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--ghost);
  color: var(--yellow);
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#scroll-top{
  font-size: 2rem;
}


@keyframes rotate-coin {
  0% {
      transform: perspective(1000px) rotateY(0deg);
  }
  25% {
      transform: perspective(1000px) rotateY(90deg);
  }
  50% {
      transform: perspective(1000px) rotateY(180deg);
  }
  75% {
    transform: perspective(1000px) rotateY(270deg);
  }
  100% {
    transform: perspective(1000px) rotateY(360deg);
  }
}

@keyframes rotate {
  0% {
      transform: perspective(1000px) rotateZ(0deg);
  }
  25% {
      transform: perspective(1000px) rotateZ(90deg);
  }
  50% {
      transform: perspective(1000px) rotateZ(180deg);
  }
  75% {
    transform: perspective(1000px) rotateZ(270deg);
  }
  100% {
    transform: perspective(1000px) rotateZ(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.95);
  }
  25% {
    transform: scale(0.97);
  }
  50%, 55% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.97);
  }
}

@keyframes fadeInAnimation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

.img-home {
  height: 150px;
}

.stats {
  margin-bottom: 5rem;
}

.grid-stats {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  align-items: center;
  gap: 10px;
  border-radius: 1rem;
}

.grid-stats-item {
  text-align: center;
}

.info-blob {
  margin: 1rem;
  background-color: var(--yellow);
  border-radius: 10px;
  color: var(--back);
  align-items: center;
}

.blob-title {
  padding-top: 1.5rem;
  font-size: 4rem;
  font-weight: bold;
}

.blob-dsc {
  padding-bottom: 1.5rem;
  font-size: 2rem;
}

.container-stat {
  padding-right: 10%;
  padding-left: 10%;
}

.more-img {
  padding: 6px;
  height: 40px;
  transition: 0.2s ease-in-out;
}

.more-img:hover {
  height: 50px;
  padding: 1px;
}

.more-btn {
  margin: 0.2rem;
}

.more-btn span {
  display: block;
  transform: rotate(-45deg);
}

@media (max-width: 500px) {
  .main-image {
    height: 250px;
  }

  .about-desc{
    font-size: 1.2rem;
  }

  .goal-desc{
    font-size: 1.2rem;
  }

  #scroll-top {
    font-size: 15px;
    padding: 15px;
    bottom: 20px;
    right: 20px;
  }
}


@media (max-width: 1300px) {

  .blob-title {
    font-size: 3rem;
  }
  
  .blob-dsc {
    font-size: 1.5rem;
  }

}


@media (max-width: 1030px) {

  .add-div {
    margin-bottom: 0;
  }

  .grid-container {
    margin-bottom: 1rem;
  }

  .grid-container-reversed {
    margin-bottom: 1rem;
  }

  .info-blob {
    margin: 0.2rem;
  }

  .brand-img {
    height: auto;
    margin-bottom: 1rem;
  }

  .title {
    padding-bottom: 0;
    padding-top: 1rem;
  }

  .grid-stats {
    grid-template-columns: 50% 50%;
  }

  .info-blob {
    margin-left: 0;
    margin-right: 0;
  }

  .img-home {
    width: 100px;
  }

  .container-list {
    padding-right: 5%;
    padding-left: 5%;
  }

  .container-stat {
    padding-right: 2%;
    padding-left: 2%;
  }

  .thingz-title {
    font-size: 1.5rem;
  }
  
  .thingz-item {
    font-size: 0.9rem;
  }

  .about-container {
    padding-right: 5%;
    padding-left: 5%;
  }

  .responsive-img {
    display: none;
  }

  .ghost-title {
    font-size: 1.5rem;
  }
  
  .ghost-text {
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .blob-title {
    font-size: 2rem;
  }
  
  .blob-dsc {
    font-size: 1rem;
  }

  .grid-stats {
    gap: 3px;
  }
}