* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.grand {
  font-size: 1.3em;
}
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
.header {
  min-height: 10vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(CMR.jpeg);
  background-position: center;
  background-size: cover;
  /* position: fixed;
    opacity: 0.5;
    padding: auto; */
}

.titre {
  display: flex;
  padding: 2% 2%;
  justify-content: space-between; /*espace entre les elements*/
  align-items: center;
}
nav img {
  width: 60px;
  border-radius: 15px;
}
.nav-links {
  flex: 1; /* on ramene l'element eloigne tout pres*/
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: blanchedalmond;
  text-decoration: none;
  font-size: 15px;
}
.nav-links ul li::after {
  content: "";
  width: 100%;
  right: 2px;
  background: #f44336;
  display: block;
}
.rapport {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  padding: 35px;
  background: magenta;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
.rapport_D {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 600px;
  padding: 35px;
  background: magenta;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
.image {
  width: 200px;
  height: 200px;
  background: url(image/NNOMO.jpg);
  background-size: 100% 100%;
  border-radius: 50%;
  float: left;
  shape-outside: cercle();
  margin: 30px;
}
.image_d {
  width: 200px;
  height: 200px;
  background: url(image/ESSAM.jpg);
  background-size: 100% 100%;
  border-radius: 50%;
  float: left;
  shape-outside: cercle();
  margin: 30px;
}
.alignement {
  position: fixed;
  top: -1%;
  left: 5%;
  text-align: center;
  border: solid 3px cyan;
  width: 500px;
}
h4 {
  text-align: center;
}
#photo {
  margin-right: auto;
  width: 300px;
  max-width: 250px;
  border: #666 3px solid;
  border-radius: 25px;
  float: left;
}
.diapo {
  border-radius: 22px;
  width: 100%;
}
.animation-haut {
  position: relative;
  animation: animerHaut 0.4s;
}
@keyframes animerHaut {
  from {
    top: -100px;
    opacity: 0;
  }
  to {
    top: 0px;
    opacity: 1;
  }
}
.animation-gauche {
  position: relative;
  animation: animerGauche 0.4s;
}
@keyframes animerGauche {
  from {
    left: -300px;
    opacity: 0;
  }
  to {
    left: 0px;
    opacity: 1;
  }
}
.animation-basGauche {
  position: relative;
  animation: animerBasGauche 0.4s;
}
@keyframes animerBasGauche {
  from {
    bottom: -300px;
    left: -300px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    left: 0px;
    opacity: 1;
  }
}
.temoignage {
  width: 200px;
  border: 3px solid #669933;
  float: right;
  shape-outside: cercle();
  font-size: 12px;
  justify-content: center;
  padding: 2px 5px;
  text-align: justify;
}
.temoignage h3 {
  margin: auto 5px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.temoignage hr {
  width: 50%;
  margin: 0 45px;
}
.temoignage p {
  margin: 0 45px;
  font-size: 12px;
}
.seule {
  width: 230px;
  border-radius: 20%;
  position: fixed;
  top: 8%;
  left: 10%;
}
.souligne {
  text-decoration: underline;
}
.entete_db {
  border: solid 9px #345;
}
.zone_texte {
  border: solid 5px green;
  min-height: 350px;
  margin: 0 0 15px 0;
  padding: 0 10px;
  text-align: justify;
  font-size: 15px;
}
.zone_texte h1 {
  letter-spacing: 0.15px;
  font-weight: 800;
}
.trait {
  border-bottom: 1px solid #888989;
  margin: 10px 400px;
}
.titre_lion {
  text-align: center;
}
.image_lion {
  width: 200px;
  height: 200px;
  background: url(image/KarichmaM.jpg);
  background-size: 100% 100%;
  border-radius: 50%;
  float: left;
  shape-outside: cercle();
  margin: 15px;
}
.image_lionne {
  width: 200px;
  height: 200px;
  background: url(image/finale.jpg);
  background-size: 100% 100%;
  float: left;
  shape-outside: cercle();
  margin: 15px;
}
.image_finale {
  width: 200px;
  height: 200px;
  background: url(image/champion.jpg);
  background-size: 100% 100%;
  float: left;
  shape-outside: cercle();
  margin: 15px;
}
.image_KWA {
  width: 200px;
  height: 200px;
  background: url(image/Attaque.jpg);
  background-size: 100% 100%;
  float: left;
  shape-outside: cercle();
  margin: 15px;
}
.image_block {
  width: 200px;
  height: 200px;
  background: url(image/block.jpg);
  background-size: 100% 100%;
  float: right;
  shape-outside: cercle();
  margin: 15px;
}
.image_bas {
  width: 200px;
  height: 200px;
  background: url(image/BAS.jpg);
  background-size: 100% 100%;
  float: right;
  shape-outside: cercle();
  margin: 15px;
}
td {
  padding: 8px 12px;
  counter-increment: case;
  content: counter;
  border: 1px solid #ddd;
}
#footer {
  background-color: #669933;
  text-align: center;
  clear: both;
}
#contenir {
  border: solid 7px #9ac;
}

/**************************************************************/

@media all and (max-device-width: 480px) {
  .grand {
    font-size: 1em;
  }
  td {
    border: 1px solid #ddd;
    font-size: x-small;
  }
  td {
    padding: 4px 8px;
    counter-increment: case;
    content: counter;
    font-size: x-small;
  }
  .image_lion {
    width: 90px;
    height: 80px;
    background: url(image/KarichmaM.jpg);
    background-size: 100% 100%;
    border-radius: 50%;
    float: left;
    shape-outside: cercle();
    margin: 30px;
  }
  .image_lionne {
    width: 100px;
    height: 100px;
    background: url(image/finale.jpg);
    background-size: 100% 100%;
    float: left;
    shape-outside: cercle();
    margin: 30px;
  }
  .image_finale {
    width: 150px;
    height: 130px;
    background: url(image/champion.jpg);
    background-size: 100% 100%;
    float: left;
    shape-outside: cercle();
    margin: 30px;
  }
  .image_KWA {
    width: 150px;
    height: 130px;
    background: url(image/Attaque.jpg);
    background-size: 100% 100%;
    float: left;
    shape-outside: cercle();
    margin: 30px;
  }
  .image_block {
    width: 150px;
    height: 130px;
    background: url(image/block.jpg);
    background-size: 100% 100%;
    float: right;
    shape-outside: cercle();
    margin: 30px;
  }
  .image_bas {
    width: 150px;
    height: 130px;
    background: url(image/BAS.jpg);
    background-size: 100% 100%;
    float: right;
    shape-outside: cercle();
    margin: 30px;
  }
  h4 {
    text-align: center;
  }
  body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }
  .construire {
    display: flex;
  }
  .rapport {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background: cyan;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  }
  .rapport_D {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -30%);
    width: 300px;
    padding: 20px;
    background: cyan;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  }
  .image {
    width: 80px;
    height: 70px;
    background: url(image/NNOMO.jpg);
    background-size: 100% 100%;
    border-radius: 50%;
    float: left;
    shape-outside: cercle();
    margin: 30px;
  }
  .alignement {
    position: absolute;
    top: -1%;
    left: 27%;
    text-align: center;
    border: solid 3px cyan;
    width: 200px;
    padding: 8px 15px;
  }
  .image_anne {
    width: 200px;
  }
  .seule {
    width: 50%;
    position: relative;
    top: 44%;
  }
}
