/* générique*/

body {
  margin: 0;
  padding: 0;
}

header {
  background: linear-gradient(to right, #ffd700, #8b5e3c);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
span {
  animation: color-change 5s infinite;
}
@keyframes color-change {
  0% {
    color: white;
  }

  25% {
    color: #ffd700;
  }
  50% {
    color: #a18012;
  }
  75% {
    color: #4d3e0d;
  }
  100% {
    color: white;
  }
}

.logo {
  height: 50px;
  margin-left: 20px;
  border-radius: 50%;
  transition-duration: 0.2s;
}
.logo:hover {
  opacity: 0.6;
  transition: 0.3s;
  transform: translateX(10px);
}

.title {
  color: white;
  font-size: 40px;
  margin: 0;
  font-family: sans-serif;
  letter-spacing: 0.1rem;
  padding-left: 10rem;
  padding-top: 0.2rem;
}

.header-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header-links li {
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 17px;
}

.header-links a {
  color: white;
  text-decoration: none;
  font-family: "roboto", sans-serif;
}

.header-links :hover {
  background: #8b5e3c96;
  transform: translateY(-2px);
  transition: 0.2s;
  opacity: 0.8;
}

.header-links :active {
  background-color: #8b5e3c;
  opacity: 0.8;
}

/*contenu*/

.content {
  background: linear-gradient(
    to bottom right,
    #fae268,
    goldenrod,
    rgb(95, 73, 17),
    rgb(66, 49, 6)
  );
  /*background: linear-gradient (to bottom right, #fae268, rgba(218, 165, 32, 0.945) );*/
  padding: 20px;
  min-height: 100vh;
}

.text-center {
  max-width: 600px; /* Limite la largeur à 600px */
  margin: 0 auto; /* Centre horizontalement */
  text-align: center; /* Aligne le texte au centre */
  padding-top: 3rem;
}

p {
  font-family: "roboto", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #191f25;
}

.bouton-center {
  max-width: 600px; /* Limite la largeur à 600px */
  margin: 0 auto; /* Centre horizontalement */
  text-align: center; /* Aligne le texte au centre */
  padding-top: 1rem;
  border-top: 1rem gray;
}

button {
  margin-left: 1rem;
  margin-right: 1rem;
  text-decoration: none;
  border-radius: 50%;
  border: 1.5px solid black;
  height: 3.5rem;
  width: 6.3rem;
  background-color: rgb(146, 108, 10);
}

button:hover {
  background-color: #fae268;
  transition: 0.2;
  color: #191f25;
  cursor: pointer;
  font-weight: 700;
}

button {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.568);
  /*color: #28323b;*/
  font-size: 1.2rem;
  font-family: "roboto", sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 400;
}

/*footer*/

footer {
  background: linear-gradient(to right, #8b5e3c, #000000);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.copyright {
  margin: 0;
}

.twitter-link {
  color: rgba(0, 255, 255, 0.877);
  text-decoration: none;
  font-family: "anton", sans-serif;
  transition: transform 1s ease-in-out;
}

.twitter-link:hover {
  transform: scale(1.5);
  animation: grow-shrink 1.5s ease-in-out infinite;
}

@keyframes grow-shrink {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

/*tableau*/

table {
  width: 95%;
  border-collapse: collapse;

  margin-top: 3rem;
  margin-bottom: 3rem;
}

td {
  padding-left: 0;
  border: 1px solid rgba(51, 51, 51, 0.712);
  padding: 10px;
  height: 2.5rem;
  font-family: "roboto", sans-serif;
}

.left-col {
  width: 80%;
}

.right-col {
  width: 10%;
  color: #191f25c9;
}

.content-article {
  background: linear-gradient(
    to bottom right,
    #fae268,
    goldenrod,
    rgb(95, 73, 17),
    rgb(66, 49, 6)
  );
  /*background: linear-gradient (to bottom right, #fae268, rgba(218, 165, 32, 0.945) );*/
  padding: 20px;
  padding-left: 0px;
  min-height: 100vh;
}

.tableau-links a {
  color: #8f1705;
}

.tableau-links a:hover {
  color: #8f17058e;
}

/* actualité */

#animation {
  display: inline-block;
  animation: rise 1s ease-in-out infinite;
  color: #4d3e0d;
  font-size: 1.1rem;
  opacity: 0.8;
}

@keyframes rise {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.animation span:nth-child(odd) {
  animation-delay: 0.5s;
}

/* les articles */

.content-taille {
  background: linear-gradient(
    to bottom right,
    #fae268,
    goldenrod,
    rgb(95, 73, 17),
    rgb(66, 49, 6)
  );
  /*background: linear-gradient (to bottom right, #fae268, rgba(218, 165, 32, 0.945) );*/
  padding: 20px;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-article-div {
  width: 90%;
  height: auto;
  background: linear-gradient(
    to bottom,
    #ffffff,
    rgba(255, 255, 255, 0.685),
    rgba(255, 255, 255, 0.425),
    rgba(255, 255, 255, 0.301)
  );
  padding: 1rem;
  border-radius: 4%;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.content-article-div-p {
  overflow: hidden;
  width: 100%;
  height: auto;
  display: block;
/*text-align: center;*/
text-indent: 10px;
padding-bottom: 0.5rem;
}

.titre-article {
  text-align: center;
  padding-bottom: 3.2rem;
  text-decoration-style: solid ;
  text-decoration-line: underline ;
  text-decoration-color: rgba(114, 85, 4, 0.651) ;
  color: #81660b;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 22px;

}


.time {
  text-align: right;
  color: rgba(85, 81, 81, 0.836);
  font-size: 15px;
  font-style: italic;
  font-family: 'Courier New', Courier, monospace;
}

.time-modif {
  text-align: right;
  color: rgba(94, 4, 4, 0.836);
  font-size: 15px;
  font-style: italic;
  font-family: 'Courier New', Courier, monospace;
}

}

.lien-article {
  color: rgb(45, 68, 2);
}

.lien-article:hover {
 color: rgba(189, 196, 180, 0.671);
}
