body {
  background-color: #1a1a1a;
  font-size: 16px;
    margin: 0;
        font-family: 'Lalezar', sans-serif;

}

nav a {
    color: white;
    text-decoration: none;
    font-size: xxx-large; /*Liam m'a aidé pour cette commande*/
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    /*barre horizontale sous la nave*/
    border-bottom: 15px solid rgb(255, 255, 255);

        flex-wrap: wrap; /* passe à la ligne si trop petit */
    gap: 10px;
    padding: 10px;
}

nav a {
    margin: 0 25px;
}

nav p{
  color: #e8001c;
font-size: xxx-large;
}

nav p:hover{
        color: #ffffff;
font-size: xxx-large;
scale: calc(1.02);
transition: 0.6s;
}

.logo {
    margin-top: 15px;
    height: 100px;
    width: auto;
    /* ne dépasse jamais l'écran */
        max-width: 100%; 

}

.mascotte {
        margin-top: 15px;

    height: 150px;
    width: auto;
}

h1 {
  color: #e8001c;
  padding-left: 18px;
  padding-bottom: 15px;
  /*met tout en majuscule*/
    text-transform: uppercase;
      /*ajouter une genre de marge â gauche*/
  border-left: 4px solid #e8001c;

}

h2 {
  color: #e8001c;
    /*met tout en majuscule*/
  text-transform: uppercase;
  margin-top: 40px;
  /*ajouter une genre de marge â gauche*/
  border-left: 4px solid #e8001c;
  padding-left: 18px;
}

h3 {
  font-size: 1rem;
    color: #e8001c;
  /*ajouter une genre de marge â gauche*/
  border-left: 4px solid #e8001c;
  margin-top: 20px;
  text-decoration: none;
  padding-left: 10px;
}

p {
  margin-bottom: 10px;
  color: #ddd;
    padding-left: 10px;

}

ul {
  color: #ddd;
}

li {
  margin-bottom: 5px;
}

a {
  color: #3f52ff;
  text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Règles OpQuast */
.regle {
    color: rgb(223, 255, 78);
  background-color: #464646;
  border-left: 4px solid #e8001c;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.regle strong {
    /* pour l'avoir sur une autre ligne*/
  display: block;
  margin-bottom: 6px;
  color: #f0f0f0;
}

.regle img {
  display: block;
  margin-top: 10px;
  width: 35%;
}

/*Tableau */
th {
  background-color: #e8001c;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
      /*met tout en majuscule*/
  text-transform: uppercase;
}

td {
  padding: 9px 14px;
  /*mini barre de séparation*/
  border-bottom: 1px solid #333;
  color: #ddd;
}

tr:hover td {
  background-color: #2a2a2a;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
            flex-wrap: wrap; /* passe à la ligne si trop petit */
            margin: 2%;

}


.barre {
    border-bottom: 15px solid rgb(255, 255, 255);
    margin-bottom: 2%;
}

footer a {
    font-size: xxx-large; /*Liam m'a aidé pour cette commande*/
        color: white;
        text-decoration: none;
}

footer a:hover{
        text-decoration: none;
}



footer p{
    color: white;
    font-size: 25px;
}