body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    /*center the content of the page */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

#tel{
  display : none;
}
nav {
  display: flex;
  flex-direction: row ;
  justify-content: center;
  height: 80px;
  width : auto;
}

input {
  display: none;
}
nav a {
  margin: 0 2rem;
  text-decoration: none;
  color : grey;
  font-size: 1.5rem;
  font-weight: bold;
}

nav li {
  list-style: none;

}

/* row align element of the menu */
ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  margin-top: 2rem;
}





#Img1Inner {
    width: 80%;
    height: 50%;
    object-fit: cover;
    
  }


  h1 {
  
    margin-top: 2rem;
    width: 80%;
  }
  
  #sub {
    width: 80%;
  }
  
  #Img2 {
    display: flex;
    width : 49%;
    height : 100%;
  }
  
  #Img2Inner {
    width: 90%;
    height: 90%;
    object-fit: cover;
  }
  
  .intro {
    justify-content: center;
    align-items: center;
    margin-left: 2rem;
    width: 100%;
  }
  
  span {
    font-weight: bold;
    color: #0000ff;
    text-decoration: underline;
  }
  
  #Text2 {
    margin-top: 2rem;
    width: 80%;
  }
  



@media (max-width: 900px) {

    body {
      width : 90%;
      margin-left:auto;
      margin-right:auto;
    }
   
  
    #Img1Inner {
      width: 100%;
    }
  
    h1 {
      width: 100%;
    }
  
    #sub {
      width: 100%;
    }
  
    #Img2 {
      width: 100%;
      display : flex;
      flex-direction: column;
    }
  
  
    #Text2 {
      width: 100%;
      margin-top : 0;
    }
  
    .intro {
      margin-left: 0rem;
    }
    
#tel{
  display : flex;
  position: fixed;
  height: 30px;
  width: 30px;
  top: 50px;
  left: 10px;
  z-index: 1;
}
  
  /*gestion menu */
  
    ul {
      width : 0%;
      list-style-type: none;
    }
    
    
    #menuToggle {
      display: flex;
      flex-direction: column;
      /* at the left of the screen */
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 1;
      -webkit-user-select: none;
      user-select: none;
    }
    
    #menuToggle input
    {
      display: flex;
      width: 100%;
      position: fixed;
      cursor: pointer;
      opacity: 0;
      z-index: 2;
    }
    
    #menuToggle span
    {
      display: flex;
      width: 29px;
      height: 2px;
      margin-bottom: 5px;
      position: relative;
      background: #000000;
      border-radius: 3px;
      z-index: 1;
      transform-origin: 5px 0px;
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }
    
    #menuToggle span:first-child
    {
      transform-origin: 0% 0%;
    }
    
    #menuToggle span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }
    
    #menuToggle input:checked ~ span
    {
      opacity: 1;
      transform: rotate(45deg) translate(-3px, -1px);
      background: #36383F;
    }
    #menuToggle input:checked ~ span:nth-last-child(3)
    {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    
    #menuToggle input:checked ~ span:nth-last-child(2)
    {
      transform: rotate(-45deg) translate(0, -1px);
    }
    
    #menuiu
    {
      display: flex;
      flex-direction: column;
      position: absolute;
      width: 180px;
      height: 400px;
      box-shadow: 0 0 10px #85888C;
      margin: -50px 0 0 -50px;
      padding: 50px;
      padding-top: 125px;
      background-color: #F5F6FA;
      -webkit-font-smoothing: antialiased;
      transform-origin: 0% 0%;
      transform: translate(-100%, 0);
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    
    #menu li
    {
      padding: 10px 0;
      transition-delay: 2s;
    }
    
    #menuToggle input:checked ~ ul
    {
      transform: none;
    }
  }