* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

:root {
  --rose: #FF79DA;
  --violet: #9356DC;
  --vert-clair: #99E2D0;
}

@keyframes chargement-page {
  100% {
    opacity: 0;
    z-index: -10;
  }
}
@keyframes jump {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(0.5em);
  }
  75% {
    transform: translateY(-0.5em);
  }
  100% {
    transform: translateY(0);
  }
}

body, html {
  margin: 0;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

/********************************
*     Chargement de la page     *
********************************/
.chargement-page {
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  animation: chargement-page 0.01s;
  animation-delay: 1.75s;
  animation-fill-mode: forwards;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chargement-page__items {
  height: 1em;
  width: 1em;
  border-radius: 1em;
  animation: jump 1s;
  animation-iteration-count: 1;
}
.chargement-page__itemsContainer {
  display: flex;
  width: 5em;
  justify-content: space-between;
}
.chargement-page__items--one {
  background-color: var(--violet);
}
.chargement-page__items--two {
  background-color: var(--rose);
  animation-delay: 0.25s;
}
.chargement-page__items--three {
  background-color: var(--vert-clair);
  animation-delay: 0.5s;
}

/********************************
*             Header            *
********************************/
.header {
  padding: 1em 1em;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1000;
}
.header__logo {
  font-family: "Shrikhand", "cursive";
  margin: 0;
  text-align: center;
}

/********************************
*         Localisation          *
********************************/
.localisation {
  display: flex;
  justify-content: center;
  padding: 1.25em 1em;
  background-color: #f3f3f3;
  font-size: 1.2em;
  position: relative;
}
.localisation__icon {
  margin-right: 1em;
}
.localisation__texte {
  font-weight: 700;
  font-size: 1.2em;
  margin: 0;
}

/********************************
*           A Propos            *
********************************/
.a-propos {
  padding: 2em;
  text-align: center;
  background-color: #fafafa;
}
.a-propos__titre {
  margin: 0;
  font-size: 2.4em;
}
.a-propos__soustitre {
  font-weight: 300;
  margin: 2em 0;
  font-size: 1.2em;
}
.a-propos__boutton {
  border: 0;
  padding: 0.75em 1.5em;
  font-weight: 500;
  font-size: 1.1em;
  border-radius: 100px;
  color: white;
  background-color: #686868;
  background-image: linear-gradient(0deg, rgba(147, 86, 220, 0.9) 0%, rgba(255, 121, 218, 0.9) 100%);
  cursor: pointer;
  transition-duration: 0.25s;
  box-shadow: 0.25em 0.25em 10px rgba(0, 0, 0, 0.25);
}
.a-propos__boutton:hover {
  background-color: white;
  box-shadow: 0.25em 0.25em 10px rgba(0, 0, 0, 0.5);
}
.a-propos__boutton a {
  text-decoration: none;
  color: inherit;
}

/********************************
*        Fonctionnement         *
********************************/
.fonctionnement {
  padding: 2em 1em;
}
.fonctionnement__title {
  margin-bottom: 20px;
  font-size: 2.3em;
}
.fonctionnement__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: compteListe;
}
.fonctionnement__step {
  padding: 1.5em;
  margin: 1em 0 1em 0.75em;
  box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.125);
  border-radius: 1.25em;
  background-color: #f6f6f6;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.3em;
  font-weight: bold;
}
.fonctionnement__step:first-child {
  margin-top: 0;
}
.fonctionnement__step:last-child {
  margin-bottom: 0;
}
.fonctionnement__step::before {
  counter-increment: compteListe 1;
  content: counter(compteListe) " ";
  background: #9356DC;
  height: 1.5em;
  width: 1.5em;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: absolute;
  left: -0.75em;
  transition: 0.6s;
}
.fonctionnement__icon {
  margin-right: 1em;
  color: #7e7e7e;
}
.fonctionnement__step:hover .fonctionnement__icon {
  color: #9356DC;
}
li.fonctionnement__step:hover {
  background-color: rgb(244, 238, 254);
}

/********************************
*          Restaurants          *
********************************/
.restaurants {
  background-color: #f6f6f6;
  padding: 2em 1em;
}
.container {
  max-width: 1550px;
  margin: auto;
  position: relative;
}
.restaurants__titre {
  margin-bottom: 30px;
  font-size: 2em;
}
.cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 2em;
  row-gap: 2em;
}
.card {
  background-color: white;
  border-radius: 1em;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  transition: 0.2s;
}
.card__img {
  height: 12em;
  width: 100%;
  border: transparent solid 0px;
  border-radius: 1em 1em 0 0;
  box-shadow: none;
  object-fit: cover;
}
.card__badge {
  background-color: #99E2D0;
  color: #1b6150;
  padding: 0.5em;
  border-radius: 0.125em;
  position: absolute;
  top: 1em;
  right: 0.75em;
}
.card__like {
  background-color: white !important;
}
.card__footer {
  padding: 1em;
  position: relative;
  display: flex;
  align-items: center;
}
.card__content {
  flex: 1;
}
.card__titre {
  margin: 0;
  margin-bottom: 0.25em;
  font-size: 1.6em;
  font-weight: bold;
}
.card__subtitre {
  margin: 0;
  font-size: 1.5em;
}
.card__boutton {
  height: 2em;
  width: 2em;
  background-color: transparent;
  border: transparent 0px solid;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card:hover {
  -ms-transform: scale(1.019);
  -webkit-transform: scale(1.019);
  transform: scale(1.015);
}
.card:active {
  box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.25);
}
.like__boutton {
  position: relative;
  width: 32px;
  height: 32px;
}
.like__boutton i {
  position: absolute;
  transition: 0.5s;
}
.like__boutton .far {
  opacity: 1;
}
.like__boutton .fas {
  opacity: 0;
  background: linear-gradient(0deg, #9356DC 0%, #FF79DA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.like__boutton:hover .far {
  opacity: 0;
  transition: 0.5s;
}
.like__boutton:hover .fas {
  opacity: 1;
  transition: 0.5s;
}
.menu__like {
  transition-duration: 0.25s;
  background-color: #f6f6f6;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: lighten;
}

/********************************
*             Footer            *
********************************/
.footer {
  background-color: #353535;
}
.footer .container {
  display: flex;
  flex-direction: column;
  padding: 2em;
}
.footer__logo {
  color: white;
  font-family: "Shrikhand", "cursive";
  margin: 0;
  font-size: 1.4em;
  margin-bottom: 1em;
}
.footer__liste {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__liste--element {
  margin: 0.5em 0;
}
.footer__liste--element:first-child {
  margin-top: 0;
}
.footer__liste--element:last-child {
  margin-bottom: 0;
}
.footer__lien {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}
.footer__lien:hover {
  text-decoration: underline;
}
.footer__icon {
  width: 1.2em;
  margin-right: 0.5em;
}

@media (min-width: 64em) {
  .container {
    max-width: 90%;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .fonctionnement__steps {
    display: flex;
  }
  .fonctionnement__step {
    flex: 1;
    margin: 0;
    margin-left: 2em;
  }
  .fonctionnement__step:first-child {
    margin-left: 0.75em;
  }
}