:root {
  --bleu-océan: #0077cc;
  --fond: #f2f2f2;
  --vert-fougere: #0b8457;
  --gris-texte: #333;
  --blanc: #fff;
  --lava: #cf1020;
}
html {
  font-size: 16px;
}

body {
  background: var(--fond);
  font-family: "Inter", sans-serif;
  color: var(--gris-texte);
  margin: 0;
  padding: 1.2em;
}

p strong {
  color: var(--vert-fougere);
}
p strong:hover {
  color: var(--lava);
}
h2 {
  text-align: center;
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--vert-fougere);
}

h2 a {
  text-decoration: none;
  color: var(--vert-fougere);
}
h2 a:hover {
  color: var(--lava);
  text-shadow: 0.2rem 0.2rem 2rem var(--lava);
}

h3 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  text-align: left;
  color: var(--vert-fougere);
}

.site_title {
  text-align: center;
  width: 100%;
  font-family: "Pacifico", cursive;
  font-size: 2.5rem;
  margin: 0;
}

.site_title a {
  text-decoration: none;
  color: var(--vert-fougere);
}
.site_title a:hover {
  text-decoration: none;
  color: var(--vert-fougere);
  text-shadow: 0.2rem 0.2rem 2rem var(--lava);
}

#bouton_plus a {
  text-decoration: underline;
  font-weight: bold;
  color: var(--vert-fougere);
}
#bouton_plus a:hover {
  color: var(--lava);
}
.propos_site {
  background-color: var(--blanc);
  display: inline-block;
  padding: 1.1rem;
  margin: 1.2rem 0rem 1.2rem 0rem;
  border-radius: 0.5rem;
  box-shadow: 0.6rem 0.4rem 1.2rem var(--vert-fougere);
}
.propos_site {
  white-space: nowrap;
  font-weight: bold;
}
.propos_site:hover {
  color: var(--lava);
}
.propos_site:hover {
  box-shadow: 0.6rem 0.4rem 1.2rem var(--lava);
}

footer {
  border-top: 0.2rem solid var(--vert-fougere);
}

footer a {
  color: var(--vert-fougere);
  text-decoration: none;
}
footer a:hover {
  color: var(--lava);
}
.nouveaux-sites {
  background-color: var(--blanc);
  border-radius: 0.5rem;
  padding: 1.1rem;
  margin: 1.2rem 0rem 1.5rem 0rem;
  box-shadow: 0.6rem 0.4rem 1.2rem var(--vert-fougere);
}

.nouveaux-sites:hover {
  box-shadow: 0.6rem 0.4rem 1.2rem var(--lava);
}

.nouveaux-sites ul {
  list-style: none;
  padding-left: 0.7rem;
}

.nouveaux-sites li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.nouveaux-sites a {
  color: var(--vert-fougere);
  font-weight: bold;
  text-decoration: none;
}

.nouveaux-sites a:hover {
  color: var(--lava);
  text-decoration: none;
}

.categories {
  margin-bottom: 1.5rem;
}

.category {
  background-color: var(--blanc);
  padding: 1.1rem;
  margin: 1.2rem 0rem 1.2rem 0rem;
  border-radius: 0.5rem;
  box-shadow: 0.6rem 0.4rem 1.2rem var(--vert-fougere); /* 2px 5px */
}
.category:hover {
  box-shadow: 0.6rem 0.4rem 1.2rem var(--lava); /* 2px 5px */
}
.category ul {
  list-style: none;
  padding-left: 0.7rem;
}
.category li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.category li a {
  color: var(--vert-fougere);
  font-weight: bold;
  text-decoration: none;
}

.category a:hover {
  text-decoration: none;
  color: var(--lava);
}

.category a:focus {
  outline: 0.125rem solid var(--vert-fougere);
  outline-offset: 0.005rem;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 1.2rem 0;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: flex;
  flex-wrap: wrap; /*permet d'aller à la ligne */
  gap: 0.5rem;
  justify-content: center;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-block;
  background-color: var(--vert-fougere);
  color: var(--blanc);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  white-space: nowrap; /*empêche les retours à la ligne dans les boutons */
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.main-nav a:hover {
  background-color: var(--lava);
  color: var(--blanc);
}
.seo-top-sites {
  background-color: var(--blanc);
  border-radius: 0.5rem;
  padding: 1.1rem;
  margin: 1.5rem 0rem;
  box-shadow: 0.6rem 0.4rem 1.2rem var(--vert-fougere);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gris-texte);
}

.seo-top-sites:hover {
  box-shadow: 0.6rem 0.4rem 1.2rem var(--lava);
}

.seo-top-sites h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--vert-fougere);
  margin-bottom: 1rem;
}

.seo-top-sites ul {
  padding-left: 1.2rem;
  list-style-type: none;
}

.seo-top-sites li {
  margin-bottom: 0.6rem;
}

.seo-top-sites a {
  color: var(--vert-fougere);
  font-weight: bold;
  text-decoration: none;
}

.seo-top-sites a:hover {
  color: var(--lava);
  text-decoration: underline;
}
