h1 {
  font-size: 128px;
  margin: 0;
  color: $texte;
}

.accueil {
  position: relative;
  text-shadow: 2px 2px 4px $noir;

  img {
    display: block;
    width: 100%;
    height: 1080px;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    filter: brightness(0.3);
  }

  div {
    position: absolute;
    top: 25%;
    left: 15%;
    /* z-index: 999; */
    display: flex;
    gap: .75rem;
    flex-direction: column;
    align-items: center;

    div {
      position: relative;
      left: 0;

      a {
        width: 215px;
        height: 50px;
        background-color: rgba($color: $noir, $alpha: 0.65);
        border: solid 3px $texte;
        border-radius: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {
          background-color: $bouton;
          border-color: $bouton;
        }

/*         &:first-child {
          margin-bottom: 0.75rem;
        } */
      }
    }
  }
}

/* Section - menu */
.menu-accueil {
  /* position: relative; */

  .background-image {
    position: absolute;
    z-index: -1;
    filter: brightness(0.1);

 /*    img {
      display: block;
    } */
  }

  h2 {
    margin: 0;
    padding: 1rem 0 3rem 0;
    text-align: center;
    color: $texte;
  }

  article {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem 0;

    a {
      position: relative;
      border: 3px solid $bouton;
/*       display: block;
      text-decoration: none;
      color: $texte; */
      overflow: hidden;

      &:hover {
        img {
          transform: scale(1.3);
          transition-duration: 0.2s;
          transition-timing-function: ease-in;
        }
      }

      img {
        width: 270px;
        height: 140px;
        filter: brightness(.6);
      }

      span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-shadow: 2px 2px 4px $noir;
      }
    }
  }
}

/* Section - a propos */
.a-propos {
  background-color: $noir;
  padding: 3rem 2.5rem;
  color: $texte;
  text-align: center;

  div {
    background-color: rgba($color: $gris, $alpha: 0.3);
    padding: 4rem 2.5rem;
    border-radius: 8px 40px;
    h2,
    p {
      text-shadow: 2px 2px 4px $noir;
    }
    p {
      padding-top: 2rem;
      line-height: 1.5rem;
    }
  }
}

/* Section - rendez-vous */
.rendez-vous {
  background-image: url("../../medias/section/rdv-gourmets-image.jpg");
  background-position: center;
  background-size: cover;
  background-color: $noir;
  padding: 3rem 2.5rem;
  color: $texte;
  text-align: center;
  filter: brightness(0.8);

  div {
    background-color: rgba($color: $noir, $alpha: 0.7);
    padding: 4rem 2.5rem;
    border-radius: 40px 8px;
    filter: brightness(1.2);

    h2,
    p {
      text-shadow: 2px 2px 4px $noir;
    }
    p {
      padding-top: 2rem;
      line-height: 1.5rem;
    }
  }
}

/* Section - infolettre et commentaire */
.contact {
  display: flex;
  flex-direction: column;
  background-color: $noir;
  text-align: center;
  padding: 1rem;
  color: $texte;

  .infolettre {
    border-bottom: 3px solid $bouton;
    padding-bottom: 3rem;
    margin-bottom: 1.75rem;

    p {
      font-size: 0.75rem;
    }

    h2 {
      padding-top: 2rem;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding-top: 3rem;

      input {
        height: 36px;
      }

      input[type="submit"] {
        background-color: $bouton;
        color: $texte;
        height: 50px;
        border: none;

        &:hover {
          background-color: $bleu;
        }
      }
    }
  }

  .commentaire {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    .message {
      margin-top: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;

      p {
        strong {
          font-size: 1.3rem;

          &:hover {
            color: $bouton;
            cursor: pointer;
          }
        }
      }
    }

    .note {
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
      img {
        width: 6rem;
      }
    }

    .pagination {
      input {
        margin: 0 0.1rem;

        &:checked {
          border-color: $texte;
          background-color: $noir;
        }
      }
    }
  }
}

/* Mettre un filtre pour obscurcir le background image */
.renseignement {
  background-image: url("../../medias/section/guirlande.jpg");
  background-position: center;
  background-size: cover;
  background-color: $noir;
  padding: 3rem 2.5rem;
  color: $texte;
  text-align: center;

  div {
    background-color: rgba($color: $noir, $alpha: 0.6);
    padding: 4rem 2.5rem;
    border-radius: 40px 8px;

    h2,
    p {
      text-shadow: 2px 2px 4px $noir;
    }
    p {
      padding-top: 2rem;
      line-height: 1.5rem;
    }
  }
}
