/*
*================================
*            HEADER
*================================
*/
@font-face {
  font-family: "Always In My Heart";
  src: url('Always In My Heart.ttf');
}
html{
  height: 100%;
}
body {
  background-color: #C2DFA2;
  margin: 0;
  top: 0;
  padding-bottom: 30px;
}
.small-logo {
  width: 200px;
  transform: rotate(360deg);
  margin: 20px 20px 20px 20px;
}
.big-logo {
  width: 500px;
}
#logo {
  transition: all 2s ease-in-out;
  position: absolute;
  visibility: hidden;
  max-width: 100%;
}
#title {
  margin: 0;
  transition: all 2s 1s ease-in-out;
}
#header {
  visibility: hidden;
  margin-left: 250px;
  transition: all 3s ease-in-out;
  background-color: #C2DFA2;
}
nav {
  display: flex;
  margin-top: 10px;
  justify-content: space-between;
  font-family: "Always In My Heart";
  font-size: 3em;
}
nav h1 a {
  text-decoration: none;
}
nav ul{
  display: flex;
  margin-top: 10px;
  list-style: none;
}
nav a{
  padding-right: 0.7em;
  color: black;
  font-weight: bold;
}
nav img{
  height: 1em;
  vertical-align: middle;
}
@media (min-width: 1109px){
  nav {
    margin-top: 60px;
  }
  nav:last-child {
    margin-right: 50px;
  }
}
@media (max-width: 1109px){
  nav{
    flex-flow: column wrap;
  }
}
@media (max-width: 793px) {
  nav ul{
    flex-flow: column wrap;
  }
}
@media (max-width: 595px) {
  #header{
    margin: 150px 0 0 0;
  }
}
/*
*================================
*            BACKGROUND
*================================
*/
#background{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#loader {
  text-align: center;
}
#loader span{
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: -280px 40px 54px -34px;
  animation: loader 10s infinite linear;
  background: url('Pomme_rouge.png');
  background-size: contain;
  background-repeat: no-repeat;

}
#loader span:nth-child(5n+5) {
  animation-delay: 1.3s;
}
#loader span:nth-child(3n+2) {
  animation-delay: 1.5s;
}
#loader span:nth-child(2n+5) {
  animation-delay: 1.7s;
}

#loader span:nth-child(3n+10) {
  animation-delay: 2.7s;
}
#loader span:nth-child(7n+2) {
  animation-delay: 3.5s;
}
#loader span:nth-child(4n+5) {
  animation-delay: 5.5s;
}
#loader span:nth-child(3n+7) {
  animation-delay: 8s;
}
@keyframes loader {
  0% {
    width: 80px;
    height: 80px;
    opacity: 1;
    transform: translate(0, 0px) rotateZ(0deg);
  }
  75% {
    width: 80px;
    height: 80px;
    opacity: 1;
    transform: translate(0, 80vh) rotateZ(270deg);
  }
  100% {
    width: 80px;
    height: 80px;
    opacity: 0;
    transform: translate(0, 100vh) rotateZ(360deg);
  }
}
/*
*================================
*              PAGES
*================================
*/
section {
  display: none;
  transition: all 0.3s ease-in-out;
  background-color: #C2DFA2;
}
section p {
  text-align: justify;
  padding: 10px;
  font-size: 1.5em;
}
h2 {
  font-family: "Always In My Heart";
  font-size: 2em;
}
.social {
  font-size: 1.5em;
}
.social img {
  height: 1.5em;
  vertical-align: middle;
}
.social svg {
  vertical-align: middle;
}
.img-home {
  max-width: 95%;
  margin: auto;
  display: block;
}
@media (min-width: 1000px) {
  section {
    width: 1000px;
    margin: auto;
  }
  h2{
    font-size: 2.5em;
  }
}
/*
*================================
*          TROMBINOSCOPE
*================================
*/
.pole-title {
  font-family: "Always In My Heart";
  display: flex;
  justify-content: space-around;
  font-size: 1.5em;
  flex-wrap: wrap;
}
.pole-title a{
  text-decoration: none;
  color: black;
  margin: 0 5px;
}

.pole {
  display: flex;
  justify-content: space-around;
  width: 90%;
  margin-left: 2.5%;
  border: 2px solid black;
  padding: 6px;
  display: none;
  flex-wrap: wrap;
}
#bureau {
  display: flex;
}
.pole img{
  width: 100%;
}
.pole img.img-profile{
  max-width: 100%;
  box-shadow: 3px 3px 3px 3px rgba(50, 50, 50, 0.6);
}
.pipoteur {
  width: 30%;
  text-align: center;
}
.pipoteur span{
  width: 100%;
  font-family: "Always In My Heart";
  font-size: 1.5em;
}
#ev .pipoteur:nth-child(2), #campagne .pipoteur:nth-child(2){
  break-after: always;
}
@media (min-width: 1000px) {
  .pole-title {
    font-size: 2em;
  }
  .pole-title a {
    margin: 0 25px;
  }
}
