main {
  display: flex;
  justify-content: center;
  height: auto;
}

section {
  box-sizing: content-box;
  padding-top: 10px;
  padding-bottom: 100px;
  max-width: 800px;
}

.scrolled {
  overflow: scroll;
  /* Utilisation de dvh (Dynamic Viewport Height) qui s'ajuste dynamiquement */
  height: calc(100dvh - 114px);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Fallback pour les navigateurs qui ne supportent pas dvh */
@supports not (height: 100dvh) {
  .scrolled {
    height: calc(100vh - 114px);
  }
}

.scrolled::-webkit-scrollbar {
  display: none;
}

.content {
  color: #000;
  line-height: 1.6;
}

.content p {
  font-family: 'Inter', sans-serif;
}

/* Override the global list-style: none for content lists */
.content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.content ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: dodgerblue;
  border-radius: 50%;
}

h1 {
  color: dodgerblue;
  margin-bottom: 30px;
  font-size: 2.5em;
  border-bottom: 2px solid dodgerblue;
  padding-bottom: 10px;
}

h2 {
  color: dodgerblue;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
}

p {
  margin-bottom: 15px;
}

.pb {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}

@media screen and (max-width: 768px) {
 .content {
    margin: 10px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }
  
  /* Ajustement spécifique pour les petits écrans */
  .scrolled {
    /* On utilise svh pour les petits écrans */
    height: calc(100svh - 114px);
  }
}

@media screen and (min-width: 1021px) {
  /* Pour les grands écrans, on peut utiliser lvh */
  .scrolled {
    height: calc(100lvh - 114px);
  }
}

@media screen and (max-width: 1020px) {
  main {
    background-position: center;
  }
}