main {
  color: white;
}

#pre-main {
  color: #1E1E1E;
  width: 100%;
  height: auto;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.details-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  gap: 2rem;
  width: 100%;
  height: auto;
}

.details {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90vw;
  max-width: 600px;
  min-height: 500px;
  padding: 1.5rem;
  color: #1E1E1E;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.details-img {
  width: 100%;
  max-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.details-img img {
  width: auto;
  max-height: 250px;
  object-fit: contain;
}

.details-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.details-text h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
}

.details-text p {
  margin: 0;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 500px) {
  .details {
    min-height: auto;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .details-img img {
    max-height: 150px;
  }

  .numbers p {
    font-size: 1.5rem;
  }

  .details-text h4 {
    font-size: 1rem;
  }

  .details-text p {
    font-size: 0.9rem;
  }
}

@media (min-width: 600px) {
  .details-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .details {
    width: 45vw;
    min-width: 200px;
    max-width: 350px;
  }

  .details-img {
    max-height: 230px;
  }
}

@media (min-width: 1024px) {
  #pre-main {
    height: 50vw;
  }

  .details-container {
    justify-content: space-evenly;
  }

  .details {
    width: 25vw;
    min-width: 250px;
    max-width: 350px;
    height: 30vw;
  }

  .details-img {
    max-height: 250px;
  }

  .details-text h4 {
    font-size: 1.2rem;
  }
}

.numbers {
  position: absolute;
  font-size: 3rem;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 3rem;
  color: #1E1E1E;
  font-weight: 600;
}

#main-page {
  position: relative;
  width: 100%;
  height: 100%;
}

#main-page img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.specific-text {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 10% 2rem 2rem;
  max-width: 50%;
  z-index: 1;
  color: white;
}

.specific-text h1 {
  font-size: 2.8vw;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.specific-text p {
  font-size: 1.1rem;
}

.specific-text ul {
  margin: 1.5rem 0;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.buttonOne,
.buttonTwo {
  display: inline-block;
  padding: 1.3rem 1.5rem;
  min-width: 220px;
  border-radius: 25px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in;
  font-size: 1.2rem;
}

.buttonOne {
  background-color: #27b35a;
  color: white;
  border: 2px solid #27b35a;
}

.buttonOne:hover {
  background-color: white;
  color: #27b35a;
  border: 2px solid white;
}

.buttonTwo {
  background-color: white;
  color: #27b35a;
  border: none;
}

.buttonTwo:hover {
  background-color: #27b35a;
  color: white;
}

#next-main {
  background-color: #1E1E1E;
  height: 40vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail-video {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  width: 80%;
  height: 100%;
}

.detail-video video{
  width: 100%;
  height: 100%;
}

.specifics {
  text-align: center;
  margin: 5rem 0;
}

.specifics p {
  color: #1E1E1E;
  font-size: 5rem;
  font-weight: 500;
}

#priceN {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.price {
  text-align: center;
  margin-bottom: 8rem;
  color: #1E1E1E;
}

.price p {
  margin-bottom: 3rem;
}

.price-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 100%;
}

.price-card {
  border-radius: 25px;
  width: 400px;
  height: 600px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-title {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  height: 200px;
  color: #ffffff;
}

.price-title h3 {
  font-size: 2rem;
  padding: 0.5rem;
  margin: 0;
}

.price-title p {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

#price-one {
  background: linear-gradient(60deg, #339040, #42ba52);
}

.price-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #444;
}

.price-list ul li {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.btn-price {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
  padding-bottom: 2rem;
}

.btn-price a {
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #2e7d32;
  background-color: #2e7d32;
  color: white;
  border-radius: 25px;
  padding: 1rem 3rem;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.btn-price a:hover {
  background-color: white;
  color: #2e7d32;
}

.produits-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 100%;
}

.produits-images img {
  width: 250px;
}

span {
  font-weight: bold;
}

@media (min-width: 1201px) {
  .real-price {
    font-size: 5rem;
  }
}

@media (min-width: 769px) {
  #main-page img {
    height: 100vh;
  }
}

@media (max-width: 768px) {
  .specific-text {
    position: static;
    transform: none;
    max-width: 100%;
    padding: 2rem 1rem;
    background-color: #1E1E1E;
    border-radius: 0;
  }

  #main-page img {
    height: auto;
  }

  .specific-text h1 {
    font-size: 1.8rem;
  }

  .buttons-container {
    justify-content: center;
  }

  .buttonOne,
  .buttonTwo {
    min-width: 160px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .specifics p {
    font-size: 3rem;
  }

  #next-main{
    height: 450px;
  }
}

@media (max-width: 480px) {
  .specific-text p,
  .specific-text ul,
  .buttonOne,
  .buttonTwo {
    font-size: smaller;
  }

  .price p{
    font-size: smaller;
  }

  #next-main{
    height: 350px;
  }

  .detail-video {
    width: 100%;
    height: 100%;
  }

  .price-card{
    margin: 0 1rem;
  }
}
