* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul {
  margin: 0;
  padding: 0;
}
.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; */
} /*
.backend {
  flex-basis: 70%;
  border-radius: 10px;
  margin-bottom: 10px;
  margin-top: -30px;
  position: relative;
  overflow: hidden;
}
.backend img {
  width: 250px;
  height: 250px;
  background: url(../INSIDECAM.jpg);
  background-size: 100% 100%;
  shape-outside: cercle();
  margin: 25px 0 0 12px;
}*/
.premier {
  display: flex;
  /* padding-top: 123px; */
}
#le_titre {
  text-align: center;
  background-color: hsl(126, 51%, 48%);
  text-shadow: 0px 0px 8px orangered, 0px 0px 12px orangered,
    0px 0px 16px orangered;
  width: 100%;
  justify-content: center;
  margin: 0 auto;
  padding: 10px;
  color: hsl(60, 25%, 97%);
  font-weight: bold;
  font-size: 2rem;
  border-collapse: collapse;
}
.main {
  min-height: 25vh;
  width: 70%;
  background-color: aquamarine;
  background-position: center;
  overflow: hidden;
}
.tete {
  flex-basis: 40%;
  box-sizing: border-box;
  background: #fff3f3;
  border-radius: 15px;
  padding: 8px 10px;
  margin: 12px 15px;
  min-width: 47%;
}
.tete a {
  font-size: 13px;
  text-decoration: none;
}
.tete p {
  font-size: 10px;
}
.ajouter {
  padding: 3px 3px;
  width: 10%;
  text-align: center;
  font-size: 10px;
}
.ajouter a {
  font-size: 10px;
}
#logo {
  max-width: 30px;
  margin: 0 auto;
  border-radius: 30px;
}
.doux {
  margin-top: 5%;
  display: flex;
  justify-content: space-evenly;
}
/*
.fin{
    display: flex;
    min-height: 35vh;
    width: 100%;
    background-color: blueviolet;
    background-position: center;
    position: relative;

}
*/
.fin {
  background: palegreen;
  width: 90%;
  margin: auto;
  padding: 0 15px;
  text-align: center;
  padding-top: 5px;
}
.reportage {
  flex-basis: 70%;
  border-radius: 10px;
  margin-bottom: 10px;
  margin-top: -50px;
  position: relative;
  overflow: hidden;
}
.reportage img {
  width: 60%;
  display: block; /*
  object-fit: contain;*/
}
.affiche {
  border-radius: 25px;
  width: autofit;
  height: 200px;
  margin: 0 auto;
  justify-content: center;
}
.afficheA {
  border-radius: 25px;
  width: 100%;
  height: 300px;
  margin: 0 auto;
  justify-content: center;
}
.gros:hover img {
  scale: 110%;
}
.layeur {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}
.layeur:hover {
  background: hsla(0, 100%, 44%, 0.237);
}
.layeur h4 {
  width: 100%;
  font-weight: bold;
  color: #fff3af;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layeur p {
  width: 100%;
  font-weight: bold;
  color: #fff3af;
  font-size: 15px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layeur a {
  text-decoration: none;
}
.layeur:hover p {
  bottom: 30%;
  opacity: 1;
  background-color: hsla(0, 4%, 5%, 0.75);
  width: max-content;
}
.layeur:hover h4 {
  bottom: 49%;
  opacity: 1;
  background-color: hsla(4, 90%, 58%, 0.744);
  width: max-content;
}
.attente {
  position: relative;
  transform: translate(0%, 50%);
  text-align: center;
  top: 30%;
  bottom: 50%;
}
.classic {
  min-height: 25vh;
  width: 30%;
  position: relative;
  background-color: aqua;
}
.pied {
  min-height: 15vh;
  width: 100%;
  position: relative;
  background: #f44336;
  text-align: center;
  clear: both;
}
thead tr {
  background-color: midnightblue;
  color: #fff;
  text-align: center;
}
th:before,
td {
  padding: 6px 6px;
  counter-increment: case;
  content: counter;
} /* before , counter-increment, content ont permis de miniaturiser le tableau*/
.fixer tr {
  background-color: midnightblue;
  color: #fff;
  text-align: left;
}
.fixant tr,
td,
th {
  border: 1px solid #ddd;
}
.coule {
  color: white;
}
tbody tr,
td,
th {
  border: 1px solid #ddd;
  text-align: justify;
}
.zone_verte {
  background-color: green;
}
.point {
  background-color: cyan;
  font-weight: bold;
}
.fixeur {
  padding: 10px 70px;
  width: 150;
  background-color: green;
  color: #ffff;
}
.fixe-zem {
  padding: 10px 50px;
  width: 40%;
  margin: 0 auto;
  background-color: hsl(0, 78%, 47%);
  color: #ffff;
  text-align: center;
}
.fixeur-perdant {
  padding: 10px 70px;
  width: auto;
  background-color: rgb(58, 0, 128);
  color: #ffff;
  text-align: center;
}
.fixe {
  padding: 12px 70px;
  width: 150;
  background-color: rgb(23, 19, 85);
  color: #ffff;
}
.CAMER {
  padding: 12px 70px;
  width: 150;
  background-color: hsl(0, 72%, 35%);
  color: #ffff;
}
tbody tr :nth-child(even) {
  background-color: #f3f3f3;
}
caption {
  background-color: #fff3af;
  font-family: "Dancing Script";
  font-weight: bold;
}
.tableau a {
  text-decoration: none;
}
.form {
  position: relative;
  margin: 0 auto;
  background: rgb(83, 15, 148);
  width: 100%;
  height: 300px;
  border-radius: 3px;
  overflow: auto;
}
label {
  font-weight: bold;
  background-color: hsl(4, 88%, 67%);
  margin: none;
  font-size: 20px;
}
.form input {
  border: 1px solid rgba(80, 80, 80, 0.4);
  display: block;
  margin: 0 auto;
  width: 80%;
  height: 30px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 1px 1px 2px rgba(100, 100, 100, 0.3);
}
.form input[type="submit"] {
  background: rgb(197, 187, 206);
  width: 60%;
  color: rgb(255, 255, 255);
  border-radius: 2px;
  border: none;
  font-size: 17px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.form input[type="submit"]:hover {
  cursor: pointer;
  background-color: rgb(132, 117, 153);
}
.form input[name="text"] {
  background: rgb(244, 243, 246);
  width: 80%;
  height: 50px;
  color: rgb(19, 18, 18);
  border-radius: 2px;
} /*
::-webkit-scrollbar {
  width: 8px;
  height: 5px;
}*/
.form input[name="text"]:focus {
  background-color: #cbb32a;
}
#zone_texte {
  background-color: #fff3f3;
  font-size: 15px;
  height: 70px;
  overflow: auto;
}
label {
  text-transform: uppercase;
  font-size: 100%;
}
#score {
  font-weight: bold;
  background-color: aquamarine;
  font-family: sans-serif;
  width: 100px;
  width: 40%;
  text-align: center;
  margin: 15px 10px 10px 60px;
  font-size: 1.3em;
  animation: flash 1.5s infinite;
}
/*.actuel{ font-weight:bold ; animation: flash 1.5s infinite;

}*/
@keyframes flash {
  50% {
    color: red;
  }
}
#canvas {
  border: solid 3px black;
}
.prog {
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex;
}
.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 a:hover {
  background-color: hsl(62, 70%, 60%);
  padding: 10px;
}
.nav-links ul li::after {
  content: "";
  width: 100%;
  right: 2px;
  background: #f44336;
  display: block;
}
.tableau {
  background-color: #fff;
  margin-top: 10px;
  width: 100%;
}
.tableau1 {
  border-collapse: collapse;
  min-width: 70px;
  width: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  margin: 10px auto;
  border: 1px solid #ddd;
}
li {
  list-style-type: none;
}
.tableau th a {
  font-size: 12px;
}
/*
    .reportage{
        background: blue;
        width: fit-content;
        border-radius: 20px;
        margin: 8px 12px;
        padding: 8px 12px;
    }
    .affiche{
        width: 100%;
        border-radius: 15px;
    }
    .doux{
        display: flex;
    }
    .reportage h4{
        position: relative;
        top: 0%;
        padding: 8px 12px;
    }
    .layeur{
        background: transparent;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: 0.5s;
    }
    .layeur h4{
        font-size: 12px;
        font-weight: 500;
        color: fff;
        bottom: 0;
        left: 50%;
        transform: translate(-50%);
        
    }
    */
@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  src: local("Pacifico Regular"), local("Pacifico-Regular"),
    url(https://fonts.gstatic.com/s/pacifico/v12/FwZY7-Qmy14u9lezJ-6H6MmBp0u-.woff2)
      format("woff2");
  font-display: swap;
}
/*---------------------------- RESPONSIVE------------------------------------------------------------*/
/*---------------------------- RESPONSIVE------------------------------------------------------------*/

@media all and (max-device-width: 480px) {
  * {
    margin: 0;
    padding: 0;
  }
  .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: relative;
  }
  .premier {
    display: flex;
    flex-direction: column;
  }
  #le_titre {
    text-align: center;
    background-color: hsl(126, 51%, 48%);
    width: 100%;
    color: hsl(60, 25%, 97%);
    font-weight: bold;
    font-size: 1.2rem;
    border-collapse: collapse;
  }
  .affiche {
    border-radius: 25px;
    width: 150px;
    height: 100px;
  }
  .afficheA {
    border-radius: 25px;
    width: 100%;
    margin: 0 auto;
  }
  .gros:hover img {
    scale: 110%;
  }
  .reportage {
    flex-basis: 70%;
    border-radius: 10px;
    margin-bottom: 0;
    margin-top: -25px;
    position: relative;
    overflow: hidden;
  }
  .backend img {
    width: 50%;
    height: 50%;
    background: url(../INSIDECAM.jpg);
    background-size: 100% 100%;
    shape-outside: cercle();
    margin: 35px 0 0 20%;
  }
  .main {
    min-height: 0;
    width: 100%;
    background-color: aquamarine;
    background-position: center;
    overflow: hidden;
  }
  .classic {
    min-height: 0;
    width: 100%;
    margin: auto;
  }
  .prog {
    width: 100%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .tete {
    flex-basis: 40%;
    width: 100%;
    box-sizing: border-box;
    background: #fff3f3;
    border-radius: 15px;
    padding: 0;
    margin: 5px 0;
    min-width: max-content;
  }
  .fin {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 10px;
  }
  .layeur {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
  }
  .layeur:hover {
    background: rgba(226, 0, 0, 0.7);
  }
  .layeur h4 {
    width: 100%;
    font-weight: 500;
    color: #fff3af;
    font-size: 13px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
  }
  .layeur p {
    width: 100%;
    font-weight: 500;
    color: #fff3af;
    font-size: 10px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
  }
  .layeur:hover p {
    bottom: 30%;
    opacity: 1;
  }
  .layeur:hover h4 {
    bottom: 49%;
    opacity: 1;
  }
  .layeur a {
    text-decoration: none;
  }
  .ajouter {
    width: 10%;
    margin: 0;
    padding: 0;
  }
  .ajouter a {
    font-size: 9px;
    margin: 0;
  }
  .ajouter p {
    font-size: 8px;
    font-weight: bold;
  }
  .tableau {
    width: 100%;
  }
  .tableau th a {
    font-size: 12px;
  }
  .fixe {
    padding: 10px 50px;
    width: 150;
    text-align: center;
    background-color: rgb(23, 19, 85);
    color: #ffff;
  }
  .CAMER {
    padding: 10px 50px;
    width: 150;
    text-align: center;
    background-color: hsl(0, 72%, 35%);
    color: #ffff;
  }
  #score {
    font-weight: bold;
    background-color: aquamarine;
    width: 70px;
    text-align: center;
    font-size: 1.2em;
    width: 30%;
    animation: flash 1.5s infinite;
  }
  .form {
    position: relative;
    background: rgb(83, 15, 148);
    width: 100%;
    height: 150px;
    margin: 0 auto;
    border-radius: 3px;
    overflow: auto;
  }
  .form input {
    border: 1px solid rgba(80, 80, 80, 0.4);
    display: flex;
    margin: 0 auto;
    width: 40%;
    border-radius: 2px;
    text-align: center;
    box-shadow: 1px 1px 2px rgba(100, 100, 100, 0.3);
  }
  .form input[type="submit"] {
    background: rgb(197, 187, 206);
    width: 40%;
    color: rgb(255, 255, 255);
    border-radius: 2px;
    border: none;
    font-size: 17px;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
      sans-serif;
  }
  .form input[type="submit"]:hover {
    cursor: pointer;
  }
  .form input[name="text"] {
    background: rgb(244, 243, 246);
    width: 50%;
    height: 50px;
    color: rgb(19, 18, 18);
    border-radius: 2px;
  }
  #zone_texte {
    background-color: #fff3f3;
    font-size: 15px;
    width: 350px;
    height: 50px;
    overflow: auto;
    margin: 3px auto;
  }
  #logo {
    max-width: 20px;
    margin: 0 auto;
    border-radius: 30px;
  }
  /*
        .fin{
            visibility: visible;
            flex-direction: column;
        
        }
        .reportage{
            width: 300px;
            background: transparent;
        }
        .doux{
            display: flex;
            width: 100%;
        }
        .affiche{
            width: 100%;
        }
        .layeur{
            background: transparent;
            height: 100%;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            transition: 0.5s;
        }
        .layeur h4{
            font-size: 12px;
            font-weight: 500;
            color: fff;
            bottom: 0;
            left: 50%;
            transform: translate(-50%);
            
        }
        */
}
