.h1-Home {
    color: rgb(255, 255, 255);
    font-size: 3em;
}

.h2-Home {
    color: rgb(255, 255, 255);
    font-size: 3.5em;
}


.WhitePart-Home {
    position: relative;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1;
}

.ul-Home {
    padding-left: 20px;
}

.p4-Home {
    text-align: justify;
    color: #070707;
}

.p3-Home {
    font-size: 2em;
    color: rgb(0, 0, 0);
    text-align: center;
    animation: fade-in 5000ms 1;
}

.GreenPart-Home {
    position: relative;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1FB375;
    z-index: 1;
    padding: 5vh 0;
    text-align: center;
    margin-bottom: 5vh;
}

.text-GreenPart-Home {
    text-align: center;
    font-size: 2.5em;
    margin-right: 25vw;
    margin-left: 25vw;
    margin-top: 5vh;
    color: white;
    margin-bottom: 10vh;
    animation: slide-right 1s ease-out forwards;
    animation-delay: 1.3s;
    opacity: 0;
}

.message-Home { 
    margin-left: 19vw;
    margin-right: 40vw;
    margin-top: 15vw;
    margin-bottom: 15vw;
}

.divider2-Home {
    background-color: #0c6cf5;
}

.divider1-Home {
    background-color: #ff5794;
}

.divider-Home {
    width: 25%;
    height: 4px;
    margin: 0 auto;
    margin-bottom: 5vh;
}

.divider-Home2 {
    width: 15%;
    height: 4px;
    margin: 0 auto;
    margin-bottom: 5vh;
}

.top-Home {
    margin-top: 0vh;
}

.rectangle-Home {
    align-items: center;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1150px;
    height: auto;
    border-radius: 20px;
    z-index: 1;
    margin: 20px auto;
    text-align: left;
    margin-top: 10vh;
    flex-wrap: wrap;
}

.blue-rectangle-Home {
    background-color: #0C6CF5;
    padding: 0.5vh 0;
    text-align: center;
    border-radius: 35px;
    margin-left: 23vw;
    margin-right: 23vw;
    margin-bottom: 10vh;
    margin-top: 23vh;
    color: white;
}

.blue-rectangle-Home h3 {
    font-size: 2.8em;
    margin-bottom: 10vh;
    margin-top: 10vh;
    animation-name: fade-in;
    animation-duration: 5000ms;
    animation-iteration-count: 1;
}

.contact-button-Home {
    background-color: #FFD947;
    width: 18vw;
    height: 4vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: none;
    cursor: pointer;
    margin-bottom: 2vh;
    animation-name: fade-in;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
}

.polygon-Home {
    display: inline-block;
    padding: 10px 80px;
    background-color: #a8275a;
    margin-top: 12vh;
    margin-bottom: 12vh;
    color: white;
    border-radius: 3px;
    animation-name: fade-in;
    animation-duration: 3000ms;
    animation-delay: 0ms;
    animation-iteration-count: 1;
}

.colorWhite {
    color: white;
}

.box-Home {
    animation: slide-up 1s ease-out forwards;
    opacity: 0;
    border: none;
}

.box1-Home {
    animation-delay: 0.3s;
}

.box2-Home {
    animation-delay: 0.6s;
}

.box3-Home {
    animation-delay: 1s;
}

.box1:hover {
    transform: scale(1.5);
}

.rectangle-picture-Home {
    margin-top: 1vh;
    margin-bottom: 1vh;
    width: 470px;
    height: auto;
    border-radius: 20px;
    max-width: 100%;
}

.contact-button-Home:hover,
.polygon-Home:hover {
    transform: scale(1.1);
    color: white;
}

.contactText {
    text-decoration: none;
    color: #0C6CF5;
    font-size: 1.7em;
    margin: 0;
}

.service-container-Home {
    display: flex;
    justify-content: center;
    gap: 1.5vw;
    margin-top: 50px;
}

.service-box-Home {
    background-color: white;
    border-radius: 10px;
    width: 18%;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.service-box-Home:hover {
    box-shadow: 0px 4px 8px rgba(1, 1, 1, 2);
}

.service-box-Home .icon-Home {
    font-size: 2em;
    margin-bottom: 10px;
}

.service-box-Home p {
    font-size: 1.2em;
    color: #1FB375;
    font-weight: bold;
    margin: 0;
}

.Button-Home {
    padding: 10px 20px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8vh;
}

.Button-Home:hover {
    border-color: #00ce1b;
    color: #00ce1b;
    transform: scale(1.1);
}

.rect1-Home {
    background-color: #F1F7FD;
}

#rect2-Home {
    background-color: #fae5ec
}

.EnSavoirPlus-Home {
    text-align: center;
    margin-top: -10vh;
    margin-bottom: 15vh;
}

.special {
    margin-bottom: 100px
}

.parts-Home {
    flex: 1;
    display: flex;
}

.LeftPart-Home {
    padding: 20px;
}

.RightPart-Home {
    padding: 20px;
    flex-direction: column;
}

.table-Home {
    width: 100%;
    margin: 0 auto;
    padding: 5vh 0;
    margin-top: -7vh;
}

.td-Home {
    width: 50%;
    vertical-align: top;
    padding: 0 2vw;
    text-align: justify;
}

@media screen and (max-width: 768px) {

  .h1-Home {
    font-size: 3em;
  }

  .h2-Home {
    font-size: 2em;
  }

  .text-GreenPart-Home {
    font-size: 1.2em;
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .rectangle-Home {
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
  }

  .rectangle-picture-Home {
    width: 90vw;
    height: auto;
    margin-bottom: 3vh;
  }

  .contact-button-Home {
    width: 40vw;
    height: 10vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
  }

  .contactText {
    font-size: 1.2em;
        margin: 0;
}

  .service-container-Home {
    flex-direction: column;
    align-items: center;
    gap: 5vh;
  }

  .service-box-Home {
    width: 80%;
  }

  .polygon-Home {
    width: fit-content;
    padding: 10px 40px;
    font-size: 1em;
  }

  .blue-rectangle-Home {
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 10vh;
  }

  .blue-rectangle-Home h3 {
    font-size: 1.8em;
    margin-top: 5vh;
    margin-bottom: 5vh;
  }

  .message-Home {
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 10vw;
  }

  .table-Home {
    display: block;
  }

  .td-Home {
    display: block;
    width: 90%;
    margin: auto;
    padding: 2vh 5vw;
  }

  .Button-Home {
    margin-bottom: 50vh;
    font-size: 1em;
    padding: 8px 16px;
  }
}