.loops {
    padding-top: 8rem;
}

.infos {
    text-align: center;
}

.infos h3 {
    font-size: 2rem;
}

.infos p {
    font-size: 1rem;
}

.bdd {
    display: flex;
    justify-content: center;
}

.bdd img {
    background-color: white;
}

.pages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 3rem;
  }

  .pages img {
    width: 30%;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s;
  }

  .pages img:hover {
    transform: scale(1.03);
  }

  .image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }

  .image-overlay.active {
    display: flex;
  }

  .image-overlay::after {
    content: '✖';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }