body {
  background-color: #00777d;
  margin: 0px;
  padding: 0px;
}

header {
  padding: 15px;
}

footer {
  background-color: #EDECE4;
  padding-top: 10px;
  padding-bottom: 10px;
  bottom: 0px;
  width:100%;
  position:absolute;
}

.logo {
  width: 22%;
}

.drapeauf {
  margin-top: 30px;
  margin-right: 100px;
  float: right;
  width: 3%;
}

.drapeauru {
  margin-top: 30px;
  margin-right: 30px;
  float: right;
  width: 3%;
}

.titre {
  position: absolute;
  top: 40px;
  background-color: #EDECE4;
  margin-left: 30%;
  width: 750px;
  padding-top: 25px;
  padding-bottom: 25px;
  text-align: center;
  border: 2px #000000 solid;
  font-family: Roboto;
}

.ML {
  position: relative;
  background-color: #000000;
  padding: 10px;
  float: right;
  margin-right: 100px;
}

.MLtext {
  text-decoration: none;
  color: #EDECE4;
}

.flechedroite {
  text-decoration: none;
  color: #FFD400;
  margin-top: 5%;
  float: right;
  font-size: 200px;
  padding-right: 20px;
}

.flechedroite:hover{
  color: #F6E58E;
}

.flechegauche:hover{
  color: #F6E58E;
}

.flechegauche {
  text-decoration: none;
  color: #FFD400;
  margin-top: 5%;
  float: left;
  font-size: 200px;
  padding-left: 20px;
}
.flechedroite2 {
  display: none;
}
.flechegauche2 {
  display: none;
}

.mentionlegales {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0; right: 0;
  bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 77, 77, .7);
  transition: all .4s;
}

.mentionlegales:target {
  visibility: visible;
  opacity: 1;
}

.mentionlegales_content {
  border-radius: 4px;
  position: relative;
  width: 1050px;
  max-width: 90%;
  background: white;
  padding: 1.5em 2em;
}

.mentionlegales_close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: grey;
  text-decoration: none;
}

.ML_P {
  line-height: 90%;
}

.ML_H3 {
  line-height: 10%;
}

.contenu {
  font-family: Roboto;
  color: white;
  font-size: 140%;
  padding-left: 350px;
  padding-right: 350px;
  text-align: center;
  line-height: 175%;
  padding-top: 35px;
}

.portvisiteurs {
  width: 50%;
  border: 2px #000000 solid;
}

.marchandise {
  width: 40%;
  border: 2px #000000 solid;
}

.cotes {
  width: 40%;
  border: 2px #000000 solid;
}

.main {
  display: block;
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 20px;
}

/* Hiding the initial checkbox */
input[type="checkbox"] {
  visibility: hidden;
}
/* Creating a custom checkbox based on demand */
.w3docs {
  position: absolute;
  top: 0;
  height: 25px;
  width: 25px;
  background-color: black;
  margin-left: 450px;
}
/* Specify the background color to be shown when hovering over checkbox */
.main:hover input ~ .w3docs {
  background-color: gray;
}
/* Specify the background color to be shown when checkbox is active */
.main input:active ~ .w3docs {
  background-color: white;
}
/* Specify the background color to be shown when checkbox is checked */
.main input:checked ~ .w3docs {
  background-color: lightgreen;
}

/* Checkmark to be shown in checkbox */
/* It is not be shown when not checked */
.w3docs:after {
  content: "";
  position: absolute;
  display: none;
}

/* Display checkmark when checked */
.main input:checked ~ .w3docs:after {
  display: block;
}
/* Styling the checkmark using webkit */
/* Rotated the rectangle by 45 degree and showing only two border to make it look like a tickmark */
.main .w3docs:after {
  left: 8px;
  bottom: 5px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.main {
  display: block;
  position: relative;
  padding-left: 90px;
  margin-bottom: 30px;
  cursor: pointer;
  font-size: 40px;
}

/* Hiding the initial checkbox */
input[type="checkbox"] {
  visibility: hidden;
}
/* Creating a custom checkbox based on demand */
.w3docs {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 50px;
  background-color: black;
}
/* Specify the background color to be shown when hovering over checkbox */
.main:hover input ~ .w3docs {
  background-color: gray;
}
/* Specify the background color to be shown when checkbox is active */
.main input:active ~ .w3docs {
  background-color: white;
}
/* Specify the background color to be shown when checkbox is checked */
.main input:checked ~ .w3docs {
  background-color: lightgreen;
}
/* Checkmark to be shown in checkbox */
/* It is not be shown when not checked */
.w3docs:after {
  content: "";
  position: absolute;
  display: none;
}
/* Display checkmark when checked */
.main input:checked ~ .w3docs:after {
  display: block;
}
/* Styling the checkmark using webkit */
/* Rotated the rectangle by 45 degree and showing only two border to make it look like a tickmark */
.main .w3docs:after {
  left: 16px;
  bottom: 10px;
  width: 12px;
  height: 24px;
  border: solid white;
  border-width: 0 8px 8px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.logo2 {
  display: none;
}

ul {
  display: none;
  list-style: none;
}

li {
  display: inline-block;
  border-radius: 10%;
  font-size: 25px;
  padding: 10px;
}

li:hover {
  background-color: #FFD400;
  border: 3px #000000 solid;
  font-weight: bold;
}

a {
  text-decoration: none;
}

#icon-menu {
  content: url("../img/hamburger-button-icon-9.png");
  visibility: hidden;
  width: 60px;
  height: 50px;
  background-color: #00777d;
}

nav {
  display: none;
}

@media only screen 
and (max-device-width: 414px) 
and (max-device-height: 767px) {

  .cotes {
    width: 70%;
    border: 2px #000000 solid;
  }

  .w3docs {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    background-color: black;
    margin-left: 230px;
  }

  .portvisiteurs {
    width: 80%;
    border: 2px #000000 solid;
  }

  nav {
    display: block;
    padding: 10px;
  }

  #logoo {
    padding-top: 200px;
    margin: 20px;
    float: left;
    width: 20px;
  }
  .logo {
    display: none;
  }

  .logo2 {
    padding-top: 20px;
    display: block;
    width: 50%;
    margin: auto;
  }

  .titre {
    position: relative;
    display: block;
    margin: auto;
    margin-top: 50px;
    max-width: 100%;
    min-width: 90%;
    font-size: 90%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: roboto;
  }
  .flechedroite {
    display: none;
  }
  .flechegauche {
    display: none;
  }

  .flechedroite2 {
    display: block;
    text-decoration: none;
    color: #FFD400;
    margin-top: 20%;
    float: right;
    font-size: 200px;
    padding-right: 20px;
  }

  .flechegauche2 {
    display: block;
    text-decoration: none;
    color: #FFD400;
    margin-top: 20%;
    float: left;
    font-size: 200px;
    padding-left: 20px;
  }

  .contenu p {
    text-align: justify;
  }
  .contenu {
    font-size: 175%;
    padding-left: 100px;
    padding-right: 100px;
    margin-top: 100px;
  }

  .portvisiteurs {
    min-height: 90%;
    min-width: 90%;
    margin-top: 80px;
  }

  footer {
    height: 15px;
    position: absolute;
  }

  .ML {
    position: relative;
    bottom: 5px;
    padding: 10px;
    margin-right: 10px;
    height: 5px;
    width: 150px;
    padding-left: 10px;
  }

  .MLtext {
    position: relative;
    bottom: 5px;
    display: block;
    text-align: center;
    font-size: 90%;
  }

  .drapeauf {
    width: 7%;
    height: 7%;
    border-radius: 2px #000000;
    margin-right: 50px;
  }

  .drapeauru {
    width: 7%;
    height: 7%;
    border-radius: 2px #000000;
  }

  #icon-menu {
    visibility: visible;
    position: relative;
    top: 30px;
  }

  nav ul, nav:active ul {
    display: none;
    position: absolute;
    z-index: 10;
    padding: 20px;
    background: #EDECE4;
    border: 2px #000000 solid;
    left: 25px;
    top: 100px;
    width: 25%;
  }

  nav:hover ul {
    display: block;
  }

  nav li {
    text-align: center;
    width: 100%;
    padding: 15px 0;
    margin: 0;
  }
}
