@media (max-width: 1200px){
  .section-2-container{
    grid-template-columns: 1fr 1fr;
  }
  .collab-container{
    width: 95%;
  }
  .contact-logo{
    margin-top: 0px;
  }
  .tarif-container{
    width: 1100px;
  }
}
@media (max-width: 1100px){
    .form-container{
      width: 800px;
    }   
    .contact-logo{
      margin-top: 0px;
    }
    .tarif-container{
      width: 600px;
      margin-top: 150px;
      display: flex;
      flex-direction: column;
      column-gap: 20px;
      row-gap: 20px;
      align-items: center;
    }
    .tarifs{
      height: 100%;
      width: 100%;
      background-color: rgb(255, 255, 255);
      border-radius: 15px;
      box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
      color: #013349;
      padding: 20px;
    }
    .tarifs-up{
      position: relative;
      top: 0px;
      height: fit-content;
      width: 100%;
      background-color: rgb(255, 255, 255);
      border-top: solid #5BE9B9 20px;
      border-bottom: solid #5BE9B9 20px; 
    }
  }

@media (max-width: 1000px){
.grid-container{
  grid-template-columns: 1fr 1fr;
  }
  .section-2-container{
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .collab-container{
    grid-template-columns: 1fr;
    gap: 20px;
    height: 200px;
    justify-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .collab-info{
    width: 70%;
  }
  .logo-footer-container{
  margin-top: 150px;
  }
  h4{
    width: 80%;
  }
  .hero-footer-img{
    width: 700px;
  }
  .form-container{
    width: 800px;
  }
  .contact-logo{
    margin-top: 0px;
  }
  .tarif-container{
    width: 500px;
  }
  
}
@media (max-width: 850px){
  .form-container{
    width: 600px;
    margin-bottom: 100px;
  }
  .contact-logo{
    margin-top: 0px;
  }
}

@media (max-width: 700px){
  .header-link{
    display: none;
  }
  .grid-container{
  grid-template-columns: 1fr;
  }
  .slider-wrapper{
    width: 500px;
  }
  .avis{
    font-size: 20px;
  }
  .section-1-container{
    width: 90%;
    flex-direction: column;
    border: solid 1px rgb(209, 209, 209);
    align-items: center;
  }
  .section-right{
    border-left: none;
    border-top: solid 1px rgb(209, 209, 209);
  }
  .hero-footer-img{
    width: 500px;
  }
  .form-container{
    width: 500px;
  } 
  .contact-logo{
    margin-top: 0px;
  }
  .tarif-container{
    width: 400px;
  }
}
@media (max-width: 500px){

  .slider-wrapper{
    width: 300px;
  }
  .hero-footer-img{
    width: 350px;
  }
  .tarif-container{
    width: 400px;
  }
}

@media (max-width: 550px){
  .header-button{
    font-size: 16px;
  }
  h2{
    font-size: 20px;
  }
  .info-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    column-gap: 20px;
    margin-top: 30px;
    align-items: center;
  }
  label {
    font-size: 22px;
    color: rgb(70, 70, 70);
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
  }
  label[for="message"] {
    width: 65%;
  }
  textarea {
    padding-left: 10px;
    width: 80%;
    resize: none;
    border: none;
    border-radius: 5px;
    outline: none;
    margin-bottom: 20px;
    font-size: 17px;
    color: rgb(62, 62, 62);
    border: solid 1px rgb(197, 197, 197);
  }
  .message{
    align-items: center;
  }
  .form-container{
    width: 380px;
  }

  .collab-container{
    height: 220px;
    top: -100px;
  }
  input {
    width: 80%;
  }
  .info{
    width: 80%;
  }
  #btn-up{
    bottom: 70px;
    right: 60px;
    background-color: rgba(109, 109, 109, 0.229);
  }

  .collab-title{
    font-size: 30px;
    font-weight: 800;
    margin: 0;
    padding: 0;
  }
  .collab-info{
    font-size: 18px;
    padding: 0;
    margin: 0;
    width: 80%;
  }
  .section-title {
    font-size: 30px;
  }
  .tarif-container{
    width: 320px;
  }
  
}