#menuToggle {
  display: block;
  position: relative;
  top: 38%;
  left: 20px;
  width: 90%;
  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}



#menuToggle a {
  text-decoration: none;
  color: #0000008c;
  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: black;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/*
  * Just a quick hamburger
  */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #1e88e5;
  border-radius: 3px;

  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* 
  * Transform all the slices of hamburger
  * into a crossmark.
  */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
  * But let's hide the middle one.
  */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
  * Ohyeah and the last one should go the other direction
  */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
  * Make this absolute positioned
  * at the top left of the screen
  */
#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-bottom: 20px;
  padding-top: 125px;
  background: #ffffff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu li {
  padding: 10px 0;
  font-size: 22px;
}

/*
  * And let's slide it in from the left
  */
#menuToggle input:checked ~ ul {
  transform: none;
}

nav[role] {
  display: none;
}
/*responsive*/
@media (min-width: 2000px) {
  h1 {
    font-size: 600%;
  }
  li {
    font-size: 300%;
  }
  #navbar-nom {
    font-size: 243%;
  }
  #liens-realisations {
    font-size: 200%;
  }
  #liens-contact {
    font-size: 200%;
  }
  .photos-logo {
    width: 48px;
  }
  h2 {
    font-size: 850%;
    margin-top: 3%;
  }
  h3 {
    font-size: 600%;
    margin-top: 4%;
  }
  #paragraphe-propos {
    font-size: 300%;
    line-height: 140%;
    margin-top: 3%;
  }
  span {
    font-size: 100%;
  }
  #paragraphe-section2 {
    font-size: 300%;
  }
  .texte-sous-image {
    font-size: 200%;
  }
  #h3-contact {
    margin-top: 2%;
  }
  .texte-contact {
    font-size: 300%;
  }
  form {
    width: 100%;
    height: 60vh;
    padding-top: 2%;
  }
  #nom {
    padding: 1%;
  }
  #email {
    padding: 1%;
  }
  #sujet {
    padding: 1%;
  }
  .texte-contact {
    padding: 10% 0 3% 0;
    line-height: 130%;
  }
  #pargraphe-formulaire {
    padding-top: 0%;
    margin-top: 3%;
  }
  input[type="submit"] {
    font-size: 170%;
  }
  textarea {
    padding: 1%;
    font-size: 170%;
    border: 1px solid gray;
  }
  input {
    font-size: 120%;
    border: 1px solid gray;
  }
  .texte-chevron {
    font-size: 200%;
  }
  ion-icon {
    font-size: 64px;
  }
  .texte-footer {
    font-size: 180%;
  }
}
@media (max-width: 1250px) {
  #section-2 {
    margin-top: 8%;
  }
}

@media (max-width: 900px) {
  nav[role] {
    display: block;
    z-index: 101;
    height: 10 vh;
  }
  #menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  #menu > li {
    text-align: center;
  }
  nav > ul {
    display: none;
  }
  #navbar-nom {
    display: none;
  }
  body > nav,
  nav {
    display: none;
  }
  #section-2 {
    margin-top: 20%;
    margin-bottom: 10%;
  }
  #paragraphe-formulaire {
    display: flex;
    flex-direction: column;
  }
  .icones-1 {
    display: flex;
  }
  #div1 {
    background-size: cover;
    background-position: center;
    height: 20vh;
    width: 80%;
    margin: auto;
  }
  #div2 {
    background-size: cover;
    background-position: left;
    height: 20vh;
    width: 80%;
    margin: auto;
  }
  #div3 {
    background-size: cover;
    background-position: center;
    height: 20vh;
    width: 80%;
    margin-bottom: 10%;
    margin: auto;
  }
  .div1-2 {
    margin-bottom: 2%;
  }
  #div-images {
    margin-top: 15%;
  }

  .texte-sous-image {
    width: 80%;
    margin: auto;
  }
  .texte-sous-image-2 {
    height: 2.5vh;
    margin-bottom: 70%;
  }
}
@media (max-width: 869px) {
  #section-2 {
    margin-bottom: 50%;
  }
}

@media (max-width: 769px) {
  nav {
    height: 10vh;
  }
  #section-2 {
    margin-top: 12%;
  }
  .photos-logo {
    width: 25px;
  }
}

@media (max-width: 750px) {
  #section-2 {
    margin-top: 30%;
  }
}
/*tel sarah iphone 12*/
@media (max-width: 600px) {
  #section-2 {
    margin-top: 60%;
    margin-bottom: 150%;
  }
  .photos-logo {
    width: 27px;
  }
  #div-images {
    margin-top: 15%;
  }
  #paragraphe-formulaire {
    display: flex;
    flex-direction: column;
  }
  .texte-sous-image {
    height: 300%;
  }
  #div1 {
    background-size: cover;
    background-position: center;
    height: 20vh;
    width: 80%;
    margin: auto;
  }
  #div2 {
    background-size: cover;
    background-position: left;
    height: 20vh;
    width: 80%;
    margin: auto;
  }
  #div3 {
    background-size: cover;
    background-position: center;
    height: 20vh;
    width: 80%;
    margin: auto;
  }
}
/*Samsung j6*/
@media (max-width: 492px) {
  #section-2 {
    padding-top: 5%;
  }
  h1 {
    padding-bottom: 15%;
  }
  h2 {
    font-size: 3.8em;
  }
  h3 {
    font-size: 3.5em;
    width: 90%;
  }
  h4 {
    font-size: 3em;
    padding-bottom: 1%;
    padding-top: 3%;
  }
  #paragraphe-propos-other-pages {
    font-family: "bebas neue", sans-serif;
    font-size: 1.7rem;
    color: #000000b5;
    letter-spacing: 1px;
    word-spacing: 1px;
    line-height: 40px;
    margin-top: 2%;
  }
  #paragraphe-propos {
    width: 91%;
    padding: 0 10px 0 8%;
  }
  .texte-sous-image {
    height: 290%;
  }
  #section-2 {
    margin-bottom: 232%;
  }
  footer {
    padding-top: 5%;
  }
  .texte-footer-other-links {
    padding-bottom: 2%;
  }
  .header-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    content: url("home-picture-mobile.png");
  }
  #div1 {
    height: 20vh;
    width: 245px;
  }
  #div2 {
    height: 20vh;
    width: 245px;
  }
  #div3 {
    height: 20vh;
    width: 245px;
  }
  .div1-2 {
    margin-bottom: -10%;
  }
  .texte-sous-image-2 {
    margin-top: 10%;
  }
  h1 {
    margin-top: 8%;
  }
  .texte-footer {
    display: none;
  }
  #boutonenvoyer {
    width: 50%;
  }
  #liens-realisations {
    margin: 0 0 11.5% 0;
  }
  #paragraphe-section2 {
    margin-bottom: 20%;
  }
  form {
    margin: auto;
  }
  #nom {
    margin: auto;
  }
  #email {
    margin: auto;
  }
  #sujet {
    margin: auto;
  }
  textarea {
    margin: auto;
  }
  nav {
    padding-bottom: 10px;
  }
}
@media (max-width: 472px) {
  #section-2 {
    margin-top: 90%;
  }
  form {
    margin: auto;
    width: 100%;
  }
  nav {
    padding-bottom: 10px;
  }
  #nom {
    margin: auto;
  }
  #email {
    margin: auto;
  }
  #sujet {
    margin: auto;
  }
  textarea {
    margin: auto;
  }
}
@media (max-width: 426px) {
  .photos-logo {
    width: 29px;
    margin: 5px 30px 0 0;
  }
  #nom {
    margin: auto;
  }
  #email {
    margin: auto;
  }
  #sujet {
    margin: auto;
  }
  textarea {
    margin: auto;
  }
}

@media (max-width: 411px) {
  #section-2 {
    margin-top: 100%;
  }
  #nom {
    margin: auto;
  }
  #email {
    margin: auto;
  }
  #sujet {
    margin: auto;
  }
  textarea {
    margin: auto;
  }
}
@media (max-width: 391px) {
  nav {
    height: 7.5vh;
  }
  #section-2 {
    margin-top: 120%;
  }
}
@media (max-width: 376px) {
  #section-2 {
    padding-top: 70%;
  }
  h3 {
    font-size: 400%;
  }
  form {
    width: 100%;
  }
  #nom {
    margin: auto;
  }
  #email {
    margin: auto;
  }
  #sujet {
    margin: auto;
  }
  textarea {
    margin: auto;
  }
}
/*iphone4*/
@media (max-width: 321px) {
  #section-2 {
    padding-top: 180%;
  }

  .texte-sous-image {
    height: 350%;
  }
  .sect-4 {
    padding-top: 55%;
  }
  .photos-logo {
    height: 80%;
    width: 25px;
    margin-right: 20px;
  }
  nav {
    height: 12vh;
  }
  #nom {
    margin: auto;
  }
  #email {
    margin: auto;
  }
  #sujet {
    margin: auto;
  }
  textarea {
    margin: auto;
  }
}
/*tel sarah paysage*/

@media (max-height: 361px) {
  #section-2 {
    margin-top: 135%;
    margin-bottom: 130%;
  }
  nav {
    height: 19vh;
  }
  h1 {
    padding-bottom: 20%;
    border: 2px solid orange;
  }
  .photos-logo {
    height: 30px;
    width: 28px;
    margin-right: 20px;
  }
  #liens-contact {
    margin-bottom: 30px;
  }
  .texte-sous-image {
    height: 550%;
  }
}

/*mon telephone paysage*/
@media (max-height: 310px) {
  h1 {
    padding-bottom: 20%;
  }
  .photos-logo {
    height: 30px;
    width: 28px;
    margin-right: 20px;
    border: 2px solid red;
  }
  nav {
    height: 19.5vh;
  }
  #liens-contact {
    margin-bottom: 30px;
  }
  #section-2 {
    margin-top: 50%;
    margin-bottom: 70%;
  }
  input[type="submit"] {
    margin: auto;
    width: 100px;
  }
  .texte-sous-image {
    height: 550%;
    margin-top: 35%;
  }
  .texte-footer {
    display: none;
  }
  #div1 {
    height: 40vh;
  }
  #div2 {
    height: 40vh;
  }
  #div3 {
    height: 40vh;
  }
  #liens-contact {
    margin-bottom: 100px;
  }
  #liens-realisations {
    margin-top: 10px;
  }
}
/*iphone 4 paysage*/
@media (max-height: 300px) {
  #section-2 {
    margin-top: 90%;
    margin-bottom: 90%;
  }
  h1 {
    margin-bottom: 20px;
  }
}
