.center {
  margin-left: auto; 
  margin-right: auto;
}

body {
  background-image: url("unshinygif.gif");
  background-size: 760px;
  margin: 40px 0px 0px 0px;
  background-repeat: repeat;

} 

p {
  border-spacing: 0;
  /*border: 2px solid blue;*/
}

table {
  border-spacing: 0;
  /*border: 2px solid red;*/
}


th, td {
   /*border: 2px solid green;  Cet endroit te permet de voir les contours de tes cases donc fais y attention, mets 2px solid green quand tu veux les voir*/
}



@font-face {
  font-family: Adler;
  src: url(Adler.ttf);
}

@font-face {
     font-family: Caslon;
     src:url(CaslonAntique.ttf);
  }   

@font-face {
     font-family:Caslon;
     src:url(CaslonAntique-Bold.ttf);
     font-weight:bold;
  }   

@font-face {
     font-family:Caslon;
     src:url(CaslonAntique-Italic.ttf);
     font-style:italic;
  }   

@font-face {
     font-family:Caslon;
     src:url(CaslonAntique-BoldItalic.ttf);
     font-style:italic;
     font-weight:bold;
  } 



#nav {
  border-image-width: 10px;
  border-image-source: url("border2.png");
  font-family: "Adler";
}

#nav a {
  color: black;
}

#nav a:hover {
  background-color: black;
  color: white;
}

#nav a:active {
  color:red ;
}

#nav p::before {
  content:"∆ ";
}

.entete {
   border-image-slice: 108 116 121 118;
border-image-width: 20px;
border-image-repeat: stretch stretch;
border-image-source: url("border2.png"); /*Penser à remettre "border2.png"*/
border-image-outset: 4px;
border-color: #29282E;
border-style: solid; 
background-image: url("crop2.png");
background-repeat: repeat;
background-clip: content-box;
background-size: 800px auto;
}

.content {
   border-image-slice: 19 20 19 19;
  border-image-width: 5px 5px 5px 5px;
  border-image-outset: 3px 3px 3px 3px;
  border-image-repeat: round round; 
  border-image-source: url("ayudame1.png");
  background-color: rgba(255, 255, 243, 0.7);
  padding: 10px;
  font-size: 18px;
}

.contentblack {
   border-image-slice: 19 20 19 19;
  border-image-width: 5px 5px 5px 5px;
  border-image-outset: 3px 3px 3px 3px;
  border-image-repeat: round round; 
  border-image-source: url("ayudame1.png");
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 10px;
  font-size: 18px;
}

td .tdhid {
  border: none;
  background-color: rgba(0,0,0,0);
}

table .tdhid td {
  
  background-color: rgba(0,0,0,0);
}

#bordure-haut {
  border: 2px dashed black;
}


.prems {
  border-spacing: 15px;
  font-family: Caslon;
}

.petiteliste {
  padding: 5px 20px 20px 20px;
}

#spin{
  background-image: url("home/aqsd.png");
  position:absolute; 
  height: 120px; 
  top: 630px; 
  left: 611px; 
  background-size: 120px; 
  width: 120px; 
  z-index: 1
}

#spin:hover{
  background-image: url("home/aqsd2.gif");
  height: 170px;
  width: 170px;
  left: 590px;
  top: 600px;
  background-size: 170px;
  background-repeat: no-repeat;
}

#wxlpmnb {
  transition: 0.5s;
}

#wxlpmnb:hover{
  filter: contrast(200%);
}



/* POUR LA PAGE ARTISTES */

#artistemilieu {
  position: relative;
  top: -10px;
}

#artistemilieu td {
  padding: 10px;
  color: white;
}

.soustitre {
  font-size: 17px;
  margin-top: -30px;
}

.linkblack a {
  color: rgb(79, 195, 247);
}

.linkblack a:active {
  color: red;
}


.elementlongueur {
  width: 330px;
}

.bordureartiste {
  position: relative;
  color: white;
  font-size: 20px;
  padding: 20px;
  border-top: 10px double grey;
  border-bottom: 10px double grey;
  background: rgba(19,19,19,0.6);
}

.photocentre {
  max-width: 100%;
  position: relative;
  z-index: 1;
}


/* FIN DE LA PAGE ARTISTES */











/* ----------------- POUR "ABOUT ME" ----------------------- */

/* ---------- POUR LES ESCARGOTS ------------ */


#snailone {
  position: relative;
  height: 80px;
  width: 174px;
  animation-name: snailone, gelatine;
  animation-duration: 260s, 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  top:145px; left: -25px; transform: rotate(0deg);
  margin-bottom: -130px;

}

#snailtwo {
  position: relative;
  height: 80px;
  width: 174px;
  animation-name: snailtwo, gelatine;
  animation-duration: 260s, 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  top:145px; left: -25px; transform: rotate(0deg);
  margin-bottom: -110px;
}

#snailthree {
  position: relative;
  height: 80px;
  width: 174px;
  animation-name: snailthree, gelatine;
  animation-duration: 260s, 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  top:145px; left: -25px; transform: rotate(0deg);
  margin-bottom: -90px;
}

#snailfour {
  position: relative;
  height: 80px;
  width: 174px;
  animation-name: snailfour, gelatine;
  animation-duration: 260s, 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  top:145px; left: -25px; transform: rotate(0deg);
  margin-bottom: 60px;
}

@keyframes snailone {
  0% {top: 145px; left: -25px; transform: rotate(0deg);} /*bas gauche*/
  12.1% {top: 145px; left: 140px; transform: rotate(0deg);}
  21.1% {top: 105px; left: 175px; transform: rotate(-90deg);} /*bas droite*/
  40% {top: -115px; left: 175px; transform: rotate(-90deg);}
  50% {top: -145px; left: 125px; transform: rotate(-180deg);} /*haut droite*/
  62.1% {top: -145px; left: -45px; transform: rotate(-180deg);}
  71.1% {top: -95px; left: -75px; transform: rotate(-270deg);} /*haut gauche*/
  90% {top: 125px; left: -75px; transform: rotate(-270deg);}
  100% {top: 145px; left: -25px; transform: rotate(-360deg);} /*bas gauche*/
}

@keyframes snailtwo {
  0% {top: -95px; left: -75px; transform: rotate(-270deg);} /*haut gauche*/
  17.9% {top: 125px; left: -75px; transform: rotate(-270deg);}
  26.9% {top: 145px; left: -25px; transform: rotate(-360deg);} /*bas gauche*/
  40% {top: 145px; left: 140px; transform: rotate(-360deg);}
  50% {top: 105px; left: 175px; transform: rotate(-450deg);} /*bas droite*/
  66.9% {top: -115px; left: 175px; transform: rotate(-450deg);}
  76.9% {top: -145px; left: 125px; transform: rotate(-540deg);} /*haut droite*/
  91% {top: -145px; left: -45px; transform: rotate(-540deg);}
  100% {top: -95px; left: -75px; transform: rotate(-630deg);} /*haut gauche*/
}

@keyframes snailthree {
  0% {top: -145px; left: 125px; transform: rotate(-180deg);} /*haut droite*/
  12.1% {top: -145px; left: -45px; transform: rotate(-180deg);}
  21.1% {top: -95px; left: -75px; transform: rotate(-270deg);} /*haut gauche*/
  40% {top: 125px; left: -75px; transform: rotate(-270deg);}
  50% {top: 145px; left: -25px; transform: rotate(-360deg);} /*bas gauche*/
  62.1% {top: 145px; left: 140px; transform: rotate(-360deg);}
  71.1% {top: 105px; left: 175px; transform: rotate(-450deg);} /*bas droite*/
  90% {top: -115px; left: 175px; transform: rotate(-450deg);}
  100% {top: -145px; left: 125px; transform: rotate(-540deg);} /*haut droite*/
}

@keyframes snailfour {
  0% {top: 105px; left: 175px; transform: rotate(-90deg);} /*bas droite*/
  12.1% {top: -115px; left: 175px; transform: rotate(-90deg);}
  21.1% {top: -145px; left: 125px; transform: rotate(-180deg);} /*haut droite*/
  40% {top: -145px; left: -45px; transform: rotate(-180deg);}
  50% {top: -95px; left: -75px; transform: rotate(-270deg);} /*haut gauche*/
  62.1% {top: 125px; left: -75px; transform: rotate(-270deg);}
  71.1% {top: 145px; left: -25px; transform: rotate(-360deg);} /*bas gauche*/
  90% {top: 145px; left: 140px; transform: rotate(-360deg);}
  100% {top: 105px; left: 175px; transform: rotate(-450deg);} /*bas droite*/

}

@keyframes gelatine {
  from, to { width:174px; height: 80px; }
  25% { width:160px; height: 84px; }
  50% { width:181px; height: 78px; }
  75% { width:170px; height: 82px; }
}

.photo {
  display: inline-block;
  text-align: center;
  position: relative;
  z-index: 1; 
  transition: transform 0.5s;
  animation: photozout 0.5s forwards;
  height: 120px;
  display: inline-block;
}

.photo img {
  height: 120px;
}

.photo span {
  display: none;
  position: absolute;
  background-color: black;
  font-size: 12px;
  text-align: left;
}

.photo:hover span {
  display: block;
}


.photo:hover {
  transform: scale(2, 2);
  transition: transform 0.5s;
  animation: photozin 0.5s forwards;
}

@keyframes photozin {
  from {z-index: 1;}
  to {z-index: 8;}
}

@keyframes photozout {
  from {z-index: 8;}
  to {z-index: 1;}
}

/* --------- FIN DES ESCARGOT ----------- */



.eltaime, .elthate {
  margin: 12px 10px 0px auto;
}

.eltaime::before {
  content: url("aboutme/icons/heart.png");
}

.elthate::before {
  content: url("aboutme/icons/evil.png");
}


#socials {
  margin-top: -25px;
  margin-bottom: -15px;
}

.stats {
  height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#quizres {
  width: 660px; height: 100px;
  display: grid;
  grid-template-columns: auto auto auto;
  margin-left: 35px;
}

#quizres p {
  margin-bottom: 0px;
  margin-top: 0px;
  font-size: 20px;
}


#twilight::after {
  content: url(aboutme/icons/twilight.png);
}

#poseidon::after {
  content: url(aboutme/icons/poseidon.png);
}

#ghosttype::after {
  content: url(aboutme/icons/ghost.png);
}