
/* ---------------------------- CSS GENERAL (TOUTES PAGES CONFONDUES) ---------------------------- */

/* ----- STRUCTURE ----- */

html {
  height: 100%; 
  width: 100%; 
}

body {
  position: relative;
  height: 100%; 
  min-height: 100%;
  width: 100%; 
  margin: 0;  
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----- IMAGE DE FOND ----- */

.bg {
  position: fixed; 
  height: 100%; 
  width: 100%; 
  background-image: url("images/bg.jpg"); 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  background-size: cover; 
  background-position: center; 
  z-index: -1;
}


/* ----- PARAGRAPHES ----- */

p {
  margin: 0; 
}

/* -------------------------------------------- EN-TÊTE -------------------------------------------- */

#header {
  width: 100%; 
  height: 100px; 
  padding: 10px; 
  display: flex; 
  justify-content: center;
  box-sizing: border-box; 
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 100%); 
}

#header .headerwrap {
  width: 100%; 
  height: 100%;
  display: flex; 
  justify-content: center;
  text-align: center;
  letter-spacing: 2rem;
  font-size: 20px;
  text-shadow: #FC0 1px 0 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

#header .headerwrap .hover {
  padding: 10px;
  margin: 0;
  animation: skew 6s infinite;
  transform: skew(15deg);
  animation-direction: alternate;
} @keyframes skew { 
                  0% {transform: skewX(20deg);}
                  100% {transform: skewX(-20deg);}
                  }

#header .headerwrap .hover h1 { 
  transform-style: preserve-3d; 
  -webkit-transform-style: preserve-3d; 
  -ms-transform-style: preserve-3d; 
  -moz-transform-style: preserve-3d; 
  -o-transform-style: preserve-3d; 
  transition: transform 0.5s ease-in-out 0s; 
  -webkit-transition: transform 0.5s ease-in-out 0s; 
  -ms-transition: transform 0.5s ease-in-out 0s; 
  -moz-transition: transform 0.5s ease-in-out 0s; 
  -o-transition: transform 0.5s ease-in-out 0s;
  height: auto; 
  display: block; 
  margin: 0;
}

#header .headerwrap .hover:hover h1 { 
  transform: rotateY(180deg); 
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg); 
  -moz-transform: rotateY(180deg); 
  -o-transform: rotateY(180deg); 
}


/* -------------------------------------------- CORPS DE PAGE -------------------------------------------- */

article {
  width: 100%;
  min-height: calc(100% - 210px);
  margin-top: 5%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: baseline;
}

/* --------- NAVIGATION --------- */

.navwrap {
  width: 35%;
}

.navwrap nav {
  height: 100%; 
  width: 85%;
  align-items: flex-start;
}

.navwrap nav ul {
  display: flex;
  flex-direction : column; 
  list-style:none;
  padding: 0;
}

.navwrap nav p {
  width: 90%;
  letter-spacing: 0.2rem;
  font-size: 20px;
  color: white;
  font-style: italic;
  text-shadow: 0 0 2px #d60;
  background-color: rgba(0, 0, 0, 0.65);
  padding-left: 5%;
  margin-bottom: 2%;
}

.navwrap nav ul li {
  box-sizing: border-box;
  padding : 10px;
  margin-right : 10%;
  margin-bottom: 3%;
  margin-left: -5%;
  border-radius:12px 0 12px 0;
  background: rgba(255, 255, 255, 0.6);
  border:none;
  color:#555;
  font:bold 12px Verdana;
  box-shadow:1px 1px 3px #999;
  font-size: 15px;
  text-align: right;
}

.navwrap nav ul li:hover {
  transform: scale(1.05) translateX(5px);
}
}

.navwrap nav ul li a {
  text-decoration: none;
  color: linear-gradient(to right, blue, white);
}

/* --------- ZONE BLANCHE --------- */

article .accueilwrap {
  width: 65%;
  background-color: white;
  box-shadow: 5px -5px 20px 20px white;
  margin-right: 22%;
  margin-bottom: 10%;
  padding: 10px;
}

article .accueilwrap > div {
  
}

article .accueilwrap p {
  text-align: right;
}

/* DONT : TEXTE D'ACCUEIL */

article .accueilwrap .espadmin {
  background: 50% 100% / 50% 50% no-repeat
              radial-gradient(ellipse at bottom, #982457, transparent, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-family: "Source Sans Pro", sans-serif;
  animation: reveal 3000ms ease-in-out forwards 200ms,
             glow 2500ms linear infinite 2000ms;
} @keyframes reveal {
                      80%{letter-spacing: 8px;}
                      100% {background-size: 300% 300%;}
                    }
  @keyframes glow {
                    40% {text-shadow: 0 0 8px #982457;}
                  }

/* DONT : TABLEAU DES DONNEES */

article .accueilwrap > div .tableau table {
  width: 100%;
  margin-bottom: 5%;
}

article .accueilwrap > div .tableau table caption {
  background-image: url("images/1.jpg"); 
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px 0 50px 0;
  border-radius: 5px;
  margin-bottom: 5%;
  color: white;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-shadow: #000 1px 0 10px;
}

article .accueilwrap > div .tableau table th {
  background-color: grey;
  color : white;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.8rem;
  padding: 0.5rem;
}

article .accueilwrap > div .tableau table td {
  text-align: center;
  border: 1px dashed pink;
}

/* DONT : FORMULAIRES ET FEEDBACKS */

.formulaire_ajout {
  height: 80%;
  text-align: left;
  box-sizing: border-box;
  margin-bottom: 2%;
  padding: 15px;
  color: black;
  font-size: 20px;
}

.formulaire_ajout form fieldset > p {
  text-align: right;
}

.formulaire_ajout form fieldset > legend {
  font-weight: bold; 
}

.formulaire_ajout form fieldset > p:last-of-type {
  text-align: center;
}

.formulaire_ajout .button {
  background-color: black;
  border-radius: 5px;
  border: none;
  color: white;
  font-size: large;
  font-family: monospace;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-top: 20px;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.075);
    color: black;
}

.button:active {
    background-color: rgba(0, 0, 0, 0.175);
}

.feedback_ajout {
  text-align: center;
  margin-bottom: 5%;
}



/* -------------------------------------------- PIED DE PAGE -------------------------------------------- */

footer {
  position: fixed; 
  bottom: 0;
  left: 0;
  width: 100%; 
  height: auto; 
  padding: 10px; 
  box-sizing: border-box; 
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

footer .footer {
  color: #FFF; 
  text-align: center;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.2rem; 
}

footer a {
  text-decoration: underline dotted #FFF; 
  color: inherit; 
}

