body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #212529;
  display: flex;
  align-items: center;
}

#image {
  width: 100%;
  height: 880px;
  background: linear-gradient(180deg, rgba(33, 37, 41, 0) 0%, #212529 100%),
    url('/images/background.jpg'), lightgray 50% / cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

#description {
  width: 35%;
  color: white;
}

.title {
  font-size: 78px;
  font-weight: bolder;
  width: 30%;
  color: white;
}

#title {
  margin-top: -5%;
  margin-left: 5%;
}

.icon-space {
  margin-right: 5px;
}

.custom-btn {
  border-radius: 8px;
  border: 4px solid #0a53be;
  background: rgba(10, 83, 190, 0.3);
  color: white;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.custom-btn:hover {
  background: rgba(10, 83, 190, 0.6);
  border: 4px solid #084298;
  transform: scale(1.05);
  color: white;
}

.btn-secondary.custom-hover,
.btn-dark.custom-hover {
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-secondary.custom-hover:hover,
.btn-dark.custom-hover:hover,
.btn-secondary.custom-hover:focus,
.btn-dark.custom-hover:focus {
  background-color: #343a40;
  border-color: #1d2124;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(52, 58, 64, 0.5);
}

#fonctionnalites {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #212529;
  color: white;
}

.block {
  display: flex;
  width: 75%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5%;
}

.block.reverse {
  flex-direction: row-reverse;
}

.block-text,
.block-image {
  width: 45%;
  margin: 10px;
}

.block,
.block.reverse {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.block-image {
  transition: transform 0.3s ease-in-out;
}

.block-image:hover {
  transform: scale(1.05);
}

.aos-animate {
  opacity: 1;
}

#add-to-discord {
  width: 100%;
  height: 200px;
  background-color: #0664c2;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#h3-add-to-discord {
  text-align: center;
  font-weight: bolder;
}

@media (max-width: 1000px) {
  .block {
    width: 90%;
  }

  .block,
  .block.reverse {
    flex-direction: column;
  }

  .block.reverse .block-text,
  .block.reverse .block-image {
    order: 1;
  }

  .block .block-text,
  .block .block-image {
    order: 2;
  }

  .block-text,
  .block-image {
    width: 100%;
    margin: 10px 0;
  }

  #title {
    margin-top: 0;
    margin-left: 0;
    align-items: center;
    text-align: center;
    padding: 0px 30px;
  }

  .title {
    font-size: 60px;
    margin-top: 80px;
  }

  .title,
  #description {
    width: auto;
  }

  .block-image:hover {
    transform: none;
  }

  .module-description {
    margin-top: 20px;
  }

  .block-btn .me-2 {
    margin: 0 !important;
  }

  .block-btn {
    margin: 0 auto !important;
    display: block !important;
  }

  .btn-fonction {
    margin-top: 20px;
  }
}
