*, ::before, ::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(rgb(255, 255, 255), rgb(163, 163, 163));
    background-size: cover;
    background-repeat: no-repeat;
    height: 420vh;
}

.container-grille{
  height: 12vh;
  width: 100%;
  display: grid;
  grid-template-columns: 100px 1fr 380px;
  background-color: #011439;
}

.tab2{
    height: 20vh;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.logo-site{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh;
  grid-column: 2;
  }
  
.logo{
    width: 70px;
}

.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 50;
    top: 0;
    left: -250px;
    background-color: rgb(214, 214, 214);
    padding-top: 60px;
    transition: left 0.5s ease;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: black;
    display: block;
    transition: 0.3s;
  }
  
.sidenav a:hover {
    color: red;
  }
  
.sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  /* Active class */
  .sidenav.active {
    left: 0;
  }
  
  /* Close btn */
  .sidenav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
  }
  
  /* Icône burger */
  .burger-icon span {
    display: block;
    width: 35px;
    height: 3px;
    background-color: white;
    border-radius: 10px;
    margin: 6px;
  }

.elections{
  width: 110px;
  height: 40px;
  background-color: #f87171;
  color: white;
  font-size: x-large;
  border: none;
  border-radius: 10px;
}

.position-menu{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 11vh;
}

.rechercher{
  grid-column: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 380px;
  }
  
  #search{
    display: block;
    border-radius: 50px;
    border: 1px solid black;
    border: none;
    width: 300px;
    height: 40px;
    padding: 10px;
  }

.tab3{
  height: 10vh;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
}

#texte-page{
  color: #011439;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  text-align: center;
}

.tab4{
  height: 5vh;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
}

.categorie1{
  color: black;
  display: flex;
  align-items: center;
  height: 5vh;
  margin: 5px;
  font-size: x-large;
}

.categorie1::before{
  content: "•";
  color: red;
}

.tab5{
  height: 55vh;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

  .position-flash, .position-local, .position-ctr, .position-cap{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
  }

#flash{
  width: 600px;
}

.actu{
  font-size: small;
  grid-column: 2;
}

#design-boutton{
  width: 30px;
  border-radius: 50px;
}

.position-button{
  display: inline-block;
}

.date{
  float: right;
  font-size: small;
  color: grey;
}

.tab6{
  height: 5vh;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
  display: grid;
}

.categorie2{
  color: black;
  display: flex;
  align-items: center;
  height: 5vh;
  margin: 5px;
  font-size: x-large;
}

.tab7{
  height: 30vh;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  padding: 0;
}

#local{
  width: 600px;
}

.tab8{
  height: 5vh;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
  display: grid;
}

.categorie3{
  color: black;
  display: flex;
  align-items: center;
  height: 5vh;
  margin: 5px;
  font-size: x-large;
}

.tab9{
  height: 55vh;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  padding: 0;
}

#CTR{
  width: 600px;
}

.tab10{
  height: 5vh;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
  display: grid;
}

.categorie4{
  color: black;
  display: flex;
  align-items: center;
  height: 5vh;
  margin: 5px;
  font-size: x-large;
}

.tab11{
  height: 55vh;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  padding: 0;
}

#cap{
  width: 300px;
}

.tab12{
  height: 5vh;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
  display: grid;
}

.categorie5{
  color: black;
  display: flex;
  align-items: center;
  height: 5vh;
  margin: 5px;
  font-size: x-large;
}

.tab13{
  height: 53vh;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  padding: 0;
}

#gt{
  width: 300px;
}

.tab14{
  height: 40vh;
  width: 100%;
  grid-template-columns: repeat(5, 1fr);
  display: grid;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  background-color: #011439;
}

.position-douanes{
  justify-content: center;
  align-items: center;
  display: flex;
}

#info-snd{
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  font-size: large;
}

#info{
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  font-size: large;
}

#info-sncd{
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  font-size: large;
  white-space: nowrap;
}

.reseau-sociaux{
  justify-content: space-between;
  margin: 20%;
  align-items: center;
  display: flex;
}

#instagram, #facebook, #twitter, #mail{
  display: block;
  border-radius: 5px;
  width: 30px;
}

.nom-domaine{
  color: #2EFF00;
  text-align: center;
}

@media screen and (max-width: 831px){
  body{
    height: 560vh;
}

  .tab5{
    height: 135vh;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    display: grid;
  }

  .tab7{
    height: 80vh;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    display: grid;
  }

  .tab9, .tab11, .tab13{
    height: 80vh;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    display: grid;
  }

  .tab14{
    position: absolute;
    bottom: -500vh;
  }

  .actu{
    text-align: center;
  }

  .position-flash, .position-local, .position-ctr, .position-cap, .position-gt{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  #flash, #local, #CTR, #cap, #gt{
    width: 200px;
  }
  
  .categorie1, .categorie2, .categorie3, .categorie4, .categorie5{
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 492px){
  body{
    height: 590vh;
}

  .tab5{
    height: 180vh;
    grid-template-rows: 45vh 1fr 115vh;
  }

  .tab7{
    height: 100vh;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    display: grid;
  }

  .tab9, .tab11, .tab13{
    height: 80vh;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    display: grid;
  }

  .position-flash, .position-local, .position-ctr, .position-cap, .position-gt{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    width: 100%;
  }

  #flash, #local, #CTR, #cap, #gt{
    width: 200px;
  }
  .tab14{
    position:absolute;
    bottom: -530vh;
  }

  #search{
    width: 200px;
  }
  .rechercher{
    width: 200px;
    }
  .container-grille{
    grid-template-columns: 100px 1fr 220px;
  }
}

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

  body{
    height: 700vh;
}
    .tab5{
    height: 180vh;
    }

    .tab7{
      height: 115vh;
      width: 100%;
      grid-template-columns: repeat(1, 1fr);
      grid-template-rows: repeat(2, 1fr);
      display: grid;
    }
  
    .tab9, .tab11, .tab13{
      height: 105vh;
      width: 100%;
      grid-template-columns: repeat(1, 1fr);
      grid-template-rows: repeat(2, 1fr);
      display: grid;
    }

    .tab14{
      position: absolute;
      bottom: -620vh;
      height: 55vh;
    }

    .position-flash, .position-local, .position-ctr, .position-cap, .position-gt{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    width: 100%;
  }

  #flash, #local, #CTR, #cap, #gt{
    width: 200px;
  }

  #texte-page{
    font-size: large;
  }

  #search{
    display: block;
    border-radius: 50px;
    border: 1px solid black;
    border: none;
    width: 150px;
    height: 40px;
    position: relative;
  }

  #instagram, #twitter, #facebook, #mail{
    width: 20px;
  }
}

@media screen and (min-width: 832px){
  .tab5{
    height: 118vh;
    }

  .tab7, .tab9, .tab11, .tab13{
    height: 50vh;
  }

    .position-flash, .position-local, .position-ctr, .position-cap, .position-gt{
      display: flex;
      justify-content: center;
      align-items: center;
      height: 50vh;
    }

    #flash, #local, #CTR, #cap, #gt{
      width: 350px;
    }
}

@media screen and (max-width: 1100px){
  .tab14{
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    align-items: center;
    justify-content: center;
  }

  .reseau-sociaux{
    grid-column: 3;
  }
  #info-sncd{
    grid-row: 2;
    grid-column: 2;
    font-size: small;
  }
  .position-douanes{
    grid-row: 2;
  }
  #info{
    grid-row: 1;
    grid-column: 3;
    font-size: small;
  }
  #info-snd{
    grid-row: 1;
    grid-column: 2;
    font-size: small;
  }
  .reseau-sociaux{
    margin: 10%;
    align-items: center;
    display: flex;
  }
  .nom-domaine{
    grid-column: 1;
    grid-row: 1;
    text-align: center;
  }
}

@media screen and (max-width: 512px){
  .reseau-sociaux{
    grid-row: 2;
    grid-column: 1;
    display: list-item;
    display: grid;
    align-items: center;
    justify-content: center;
  }
  .douanes{
    width: 50px;
  }
  .position-douanes{
    grid-row: 1;
    grid-column: 1;
  }
  .nom-domaine{
    grid-column: 3;
    grid-row: 2;
    font-size: small;
  }
}

@media(max-height:438px){
  .container-grille{
    height: 16vh;
  }
  .tab2{
    height: 15vh;
  }
  .position-menu{
    height: 16vh;
  }
  }

@media(min-height:630px){
  .tab5{
    height: 150vh;
  }
}



