/* PAGE ACCUEIL */

/*Police et style des balises*/

h1 {
  font-family: 'Tangerine', cursive;
  font-size: 4rem;
  text-align: center;
  animation: 2s anim-lineUp ease-out;
}

h2 {
  font-family: 'Roboto';
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  animation: 2s anim-lineUp ease-out;
}

p {
  font-family: 'Arial';
  font-size: 1.5rem;
  color: black;
  animation: 2s anim-lineUp ease-out;
}

ul li {
  font-family: 'Arial';
  font-size: 1.5rem;
  color: black;
  text-align: center;
  list-style-type: none;
  animation: 2s anim-lineUp ease-out;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color:rgb(191, 173, 110);
  transition: 0.5s;
}


/*Ligne de séparation*/

hr {
  color: black; 
  background-color: black; 
  width: 50%; 
  height: 2px;
  animation: 2s anim-lineUp ease-out;
}

/*Générateur d'animation des éléments a l'écran*/
@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(80%);
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

/*Barre de navigation présente sur toutes les pages*/
#navbar {
    grid-area: nav;
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
    background-color: #f3f3eb;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Antonio', sans-serif;
    min-height: 82px;
    box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.4);
}

#navbar a {
    text-decoration: none;
    padding: 14px 16px;
    font-size: 20px;
    color: black;
}

#navbar a:hover {
    color:rgb(191, 173, 110);
    transition: 0.5s;
}

/*Informations slider*/
/* Conteneur de diaporama */
.slideshow-container {
  margin: auto;
  height: 700px;
  width: 850px;
  position: relative;
  border: 4px solid rgba(191, 173, 110);
  border-radius: 5px;
  box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.4);
  margin-bottom: -25px;
  animation: 2s anim-lineUp ease-out;
}

/* Masquer les images par défaut */
.mySlides {
display: none;
}
.mySlides img {
  height: 700px;
  width: 850px;
}
/* Bouttons précédents et suivants */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
margin-top: -22px;
padding: 16px;
color: rgb(0, 0, 0);
font-weight: bold;
font-size: 32px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Positionnez le bouton "précédent" à gauche */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
/* Positionnez le bouton "suivant" à droite */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}

/* En survolant, ajoutez une couleur de fond noire avec un peu de transparence */
.prev:hover, .next:hover {
background-color: rgba(0, 0, 0, 0.8);
color: white;
}

/* Texte de la légende */
.text {
font-family: Arial, sans-serif;
color: black;
font-size: 34px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Texte numérique (1/2, 1/3, etc.) */
.numbertext {
color: black;
font-family: 'Arial';
font-size: 12px;
font-weight: bold;
padding: 8px 12px;
position: absolute;
top: 0;
}

/* Les points/puces/indicateurs */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
margin-bottom: 15px;
}

.active, .dot:hover {
background-color: #717171;
}

/* Animation de fondu */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@media only screen and (max-width: 800px) {
  .slideshow-container {
      height: 300px;
      width: 300px;
      margin-bottom: -15px;
  }

  .mySlides img {
      height: 300px;
      width: 300px;
  }
}

/*Pied de page présent sur toutes les pages*/
#footer {
    grid-area: footer;
    text-align: center;
    font-size: 20px;
    font-family: 'Antonio', sans-serif;
    background: rgb(191, 173, 110);
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.4);
}
#footer a {
    text-decoration: none;
    color: black;
    transition: color 0.2s;
}

#footer a:hover {
    color:rgb(255, 255, 255);
    transition: 0.5s;
}

#footer a + a {
    margin-left: 20px;
}

/*PAGE QUARTIER*/

p {
  text-align: center;
}

p img{
  height: 390px;
  width: 630px;
  border: 4px solid rgb(191, 173, 110);
  border-radius: 5px;
}