html {
  scroll-behavior: smooth;
  width: 100vw;
}
body * {
  font-family: "Roboto", sans-serif;
}

main {
  margin-top: 220px;
}
#content {
  text-align: center;
  margin: 0 auto;
}
.line {
  display: flex;
  margin: 5px;
  align-items: center;
}

#methode {
  display: flex;
  margin: 150px 20px;
  justify-content: center;
}
#methode .container-cards {
  display: flex;
}
#methode .container-cards .card {
  width: 300px;
  margin: 15px;
}
#methode .container-cards .card img {
  border-radius: 30px;
  height: 240px;
  width: 300px;
  object-fit: cover;
}
#methode .container-cards .card .txt {
  margin-top: 8px;
  min-height: 100px;
  border-radius: 30px;
  padding: 15px 20px;
  position: relative;
}
#methode .container-cards .card-one .txt {
  background-color: rgba(255, 215, 0, 0.4);
}
#methode .container-cards .card-two .txt {
  background-color: rgba(255, 105, 180, 0.5);
}

#methode .container-cards .card .txt h3 {
  padding-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}
#methode .container-cards .card .txt img {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 7px;
  right: 20px;
}
#methode .container-cards .card .txt p {
}

#methode h2 {
  margin: 40px 22px;
  font-size: 59px;
  font-weight: 800;
  letter-spacing: 1.7px;
  line-height: normal;
}
#methode h2 .line-3 img {
  width: 100px;
  height: auto;
}

#methode h2 .line-1 img {
  width: 120px;
  height: 48px;
  object-fit: cover;
  border-radius: 50px;
  margin-left: 10px;
}

/* TESTIMONIALS */
#testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#testimonial .card-1,
#testimonial .card-2 {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#testimonial .card-1 p,
#testimonial .card-2 p {
  font-size: 1em;
  color: #333;
  margin: 15px;
}

#testimonial .author {
  display: flex;
  align-items: center;
}

#testimonial .author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

#testimonial .author p {
  font-size: 1em;
  color: #666;
}

/* CONTACT */
#contact {
  margin: 100px 20px;
}
#contact h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
  font-weight: bold;
  margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

form textarea {
  resize: vertical;
  height: 100px;
}

form button {
  background-color: rgba(149, 82, 255, 0.5);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
  background-color: #ff6347;
  transform: scale(1.05);
}

form button:active {
  background-color: #ff4500;
  transform: scale(0.95);
}
@media (max-width: 780px) {
  #methode {
    margin: 0;
    flex-direction: column-reverse;
  }
  #methode h2 {
    font-size: 40px;
  }
  #methode h2 img {
    display: none;
  }
  #methode .container-cards {
    flex-direction: column;
    align-items: center;
  }
  #testimonial {
    padding: 0;
  }
  #testimonial .card-1,
  #testimonial .card-2 {
    max-width: 290px;
  }
  #contact {
    margin: 100px 0;
  }
  #contact form {
    max-width: 80%;
  }
}
