/*
	Auteur: Luca Meirino
	Description: page css paperRex
    Date de la dernière version: 8.01.2025
*/

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #1f0000;
  color: #ffffff;
  line-height: 45px;
}

/*Style d'en-tête*/
header {
  background-color: #1f0000;
  display: flex;
  height: 230px;
  justify-content: space-around;
}

header img {
  width: 50%;
}

/*Retour au menu*/
#Retour {
  font-weight: bold;
  font-style: italic;
}

/*barre nav--------------------------------------------------------------------barre nav--------------------------------------------------------------barre nav-----------------------------------------*/

/* Style du conteneur de navigation */
nav {
  background-color: #1f0000;
  padding: 10px 0;
}

/* Style des éléments de la liste de navigation */
nav ul {
  display: flex;
  justify-content: space-around; /* Disposer les éléments de manière équitable sur la page */
  list-style-type: none;
}

nav li {
  margin: 0 20px; /* Espacement entre les éléments */
  border: solid white;
  border-width: 2px;
  border-radius: 10px;
  padding: 25px;
}

/* Style des liens */
nav a {
  text-decoration: none; /* Supprimer le soulignement */
  color: white; /* Couleur du texte */
  font-size: 22px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 12px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
}

/* Effet de survol (hover) */
nav a:hover {
  background-color: #8f0000; /* Couleur de fond au survol */
  transform: translateY(-5px); /* Légère remontée du bouton */
}

/* Effet au focus (pour l'accessibilité) */
nav a:focus {
  outline: none;
  background-color: #777;
}

nav a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/*main--------------------------------------------------------------------main--------------------------------------------------------------main-----------------------------------------*/

main h1 {
  text-align: center;
  font-size: 65px;
  margin-top: 35px;
  font-style: italic;
}

main ul {
margin-left:30%;
}

/*pied de page--------------------------------------------------------------------pied de page--------------------------------------------------------------pied de page-----------------------------------------*/

footer {
    margin-top: 20px;
    font-size: small;
    font-style: italic;
    text-align: center;
  }
  
  hr {
    margin-left: 10%;
    margin-right: 10%;
  }
  