/* ========================================================================== 
   site.css - socle commun minimal
   Utilise par les pages avec un CSS dedie : admin, weekend, trombinoscope.
   Breakpoints retenus : mobile <= 800px, desktop >= 801px
   ========================================================================== */

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

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: sans-serif;
  width: 100%;
  line-height: 1.5;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: rgb(11, 163, 223);
  text-shadow: 2px 2px 1px rgb(4, 0, 43);
}

h1 {
  text-align: center;
  color: rgb(224, 224, 224);
  font-size: 2em;
  margin: 20px;
}

h2 {
  text-align: center;
  color: rgb(11, 163, 223);
  font-size: 2em;
  margin: 20px;
}

h3 {
  text-align: center;
  color: rgb(224, 224, 224);
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 5px;
}

h4 {
  color: yellow;
  font-size: 1em;
  margin-top: 15px;
}

h5 {
  color: rgb(224, 224, 224);
  text-decoration: underline;
  font-size: 1em;
  margin-top: 5px;
}

.main_nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  color: rgb(11, 163, 223);
  height: 100px;
  width: 100%;
}

.main_nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

.main_nav ul li {
  margin-left: 15px;
  margin-right: 15px;
  font-size: 2em;
  text-align: center;
}

.main_block {
  text-align: justify;
  text-justify: inter-word;
  border-radius: 10px;
  align-items: center;
  background: rgb(4, 0, 43);
  color: rgb(224, 224, 224);
  padding: 30px;
  margin-bottom: 30px;
  width: 85%;
  box-shadow: 5px 4px 7px 1px rgb(82, 82, 82);
}

.main_block .imggrosplan {
  width: 100%;
}

.main_block .imgsuivicomp {
  height: 20px;
  width: 20px;
  margin-left: 5px;
  margin-right: 5px;
}

.main_block .main_block_aligncenter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.main_block .main_block_aligncenter .trombicontainer {
  width: 200px;
  font-size: 0.8em;
  margin-bottom: 10px;
}

.main_block .main_block_aligncenter .trombicontainer .imgtrombi {
  width: 200px;
  height: 200px;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #0077b6;
}

.div_img {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.div_img img {
  width: 30%;
}

.video_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}

.video_container .video {
  width: 50vw;
  height: 30vw;
  padding: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 30px;
  background: rgb(224, 224, 224);
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: inset 3px 7px 5px rgba(0, 0, 0, 0.521);
}

footer .licence {
  font-size: 0.8em;
  color: rgb(138, 138, 138);
}

.secret {
  color: rgb(224, 224, 224);
  font-weight: normal;
  cursor: auto;
}

@media screen and (max-width: 800px) {
  body {
    width: 100vw;
  }

  a {
    text-shadow: 1px 1px 1px rgb(4, 0, 43);
  }

  h2 {
    font-size: 1em;
  }

  h3 {
    font-size: 1.2em;
  }

  .main_nav {
    height: 80px;
    width: 100vw;
  }

  .main_nav ul li {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 1em;
  }

  .main_block {
    padding: 20px;
  }

  .main_block .main_block_aligncenter .trombicontainer {
    width: 120px;
  }

  .main_block .main_block_aligncenter .trombicontainer .imgtrombi {
    width: 120px;
    height: 120px;
    border: 1px solid #0077b6;
  }

  .div_img img {
    width: 100%;
    box-shadow: 2px 2px 2px 1px rgb(0, 0, 0);
    margin-bottom: 10px;
  }

  .video_container .video {
    width: 80vw;
    height: 50vw;
  }

  footer p,
  footer .licence {
    font-size: 0.6em;
  }
}