@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Shrikhand&display=swap");
.loader {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: loader 2s forwards;
}
.loader__spinner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid #eee;
  border-left: 5px solid var(--main-color);
  z-index: 1000;
  animation: tourner ease 1.5s infinite;
}

@keyframes tourner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes loader {
  from {
    visibility: visible;
  }
  to {
    visibility: hidden;
  }
}
@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-page__image {
  width: 100%;
  height: 17.1875rem;
  object-fit: cover;
}
.menu-page__menu {
  transform: translateY(-3.4375rem);
  width: 100%;
  background-color: var(--background-color);
  border-radius: 40px 40px 0 0;
  padding: 2.5rem 3.46%;
  margin-bottom: -3.4375rem;
}
.menu-page__menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.875rem;
  padding-right: 8%;
  padding-left: 0.8%;
  position: relative;
}
.menu-page__menu__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: apparition 0.5s linear forwards;
}
.menu-page__menu__info--title {
  font-size: var(--menu-section-title-size);
  font-weight: var(--menu-section-title-weight);
}
.menu-page__menu__info--title::after {
  content: "";
  margin-top: 0.4375rem;
  display: block;
  width: 2.5rem;
  height: 0.1875rem;
  background-color: #99E2D0;
}
@media screen and (min-width: 1024px) {
  .menu-page {
    background-color: white;
  }
  .menu-page__image {
    height: 21.4375rem;
  }
  .menu-page__menu {
    width: 73.264%;
    padding: 2.5rem 14.58%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -3.4375rem;
  }
  .menu-page__menu__header {
    justify-content: center;
    padding: 0;
    gap: 5.19%;
  }
}

.reservation {
  padding: 2.4375rem 6.6844% 3.5625rem 9.09%;
  text-align: center;
}
.reservation__title {
  margin: 0 14.43% 1.125rem 8.556%;
}
.reservation__description {
  margin-bottom: 1.75rem;
  color: var(--grey);
}

.fonctionnalite {
  padding: 3rem 5.3333%;
  background-color: white;
}

.restaurants__section {
  margin: 3.0625rem 5.3333%;
}
.restaurants__list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

@media screen and (min-width: 1024px) {
  .home .reservation {
    padding: 1.875rem 27.6%;
  }
  .home .reservation__title {
    font-size: 2.5rem;
    margin: 0 0 1.875rem 0;
  }
  .home .reservation__description {
    margin-bottom: 1.875rem;
  }
  .fonctionnalite {
    padding: 3.125rem 12.5%;
  }
  .fonctionnalite__containeur {
    display: flex;
    gap: 2.3%;
  }
  .restaurants__section {
    margin: 1.875rem 12.5%;
  }
  .restaurants__list {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.heart {
  width: 1.375rem;
  height: 1.3125rem;
  position: relative;
}
.heart__checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 3;
  margin: 0;
}
.heart__checkbox:checked + .heart__fill {
  opacity: 1;
}
.heart__checkbox:checked + .heart__fill + .heart__outilne {
  opacity: 0;
}
@media screen and (min-width: 1024px) {
  .heart__checkbox:hover + .heart__fill {
    opacity: 1;
  }
  .heart__checkbox:hover + .heart__fill + .heart__outilne {
    opacity: 0;
  }
}
.heart i {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.375rem;
}
.heart__outline {
  color: black;
  opacity: 1;
  transition: opacity 300ms ease-in-out;
  z-index: 0;
}
.heart__fill {
  background: linear-gradient(183deg, #9356DC -30%, #FF79DA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
  z-index: 1;
}

.menu-page__menu__info__card {
  min-width: 93.066%;
  height: 69px;
  background-color: white;
  padding: 0;
  border-radius: 15.04px;
  display: flex;
  box-shadow: 0 4.01px 15.04px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: apparition 0.5s linear forwards;
}
.menu-page__menu__info__card__fin {
  display: flex;
  justify-content: flex-start;
  width: min-content;
  flex: 0 0 0;
  margin-left: 1.25rem;
  margin-right: -59px;
  transition: margin-right 0.5s ease;
}
.menu-page__menu__info__card__fin__prix {
  margin: 0 0.9375rem 0.9375rem 0;
  font-size: var(--plat-description-size);
  font-weight: 900;
  color: #353535;
  align-self: flex-end;
}
.menu-page__menu__info__card__fin__check {
  min-width: 59px;
  background-color: var(--green);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.menu-page__menu__info__card__fin__check .fa-circle-check {
  color: white;
  font-size: 20px;
  transform: rotate(0deg);
  transition: transform 0.5s ease;
}
.menu-page__menu__info__card__plats {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  z-index: 1;
  margin: 0.9375rem 0 0.9375rem 0.9375rem;
  overflow: hidden;
}
.menu-page__menu__info__card__plats--nom {
  margin-bottom: 0.3125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.menu-page__menu__info__card__plats--description {
  font-size: var(--plat-description-size);
  font-weight: var(--plat-description-weight);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.menu-page__menu__info__card__checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 3;
  margin: 0;
}
.menu-page__menu__info__card__checkbox:checked ~ .menu-page__menu__info__card__fin {
  margin-right: 0;
}
.menu-page__menu__info__card__checkbox:checked ~ .menu-page__menu__info__card__fin ~ .menu-page__menu__info__card__check .fa-circle-check {
  transform: rotate(360deg);
}
@media screen and (min-width: 1024px) {
  .menu-page__menu__info__card {
    min-width: 60.1%;
  }
  .menu-page__menu__info__card:hover .menu-page__menu__info__card__fin {
    margin-right: 0;
  }
  .menu-page__menu__info__card:hover .menu-page__menu__info__card__fin .menu-page__menu__info__card__fin__check .fa-circle-check {
    transform: rotate(360deg);
  }
}

@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-page__menu__info:nth-of-type(1) {
  animation-delay: 1400ms;
}

.menu-page__menu__info:nth-of-type(1) .menu-page__menu__info__card:nth-child(2) {
  animation-delay: 1800ms;
}

.menu-page__menu__info:nth-of-type(1) .menu-page__menu__info__card:nth-child(3) {
  animation-delay: 2200ms;
}

.menu-page__menu__info:nth-of-type(1) .menu-page__menu__info__card:nth-child(4) {
  animation-delay: 2600ms;
}

.menu-page__menu__info:nth-of-type(1) .menu-page__menu__info__card:nth-child(5) {
  animation-delay: 3000ms;
}

.menu-page__menu__info:nth-of-type(1) .menu-page__menu__info__card:nth-child(6) {
  animation-delay: 3400ms;
}

.menu-page__menu__info:nth-of-type(2) {
  animation-delay: 2800ms;
}

.menu-page__menu__info:nth-of-type(2) .menu-page__menu__info__card:nth-child(2) {
  animation-delay: 2800ms;
}

.menu-page__menu__info:nth-of-type(2) .menu-page__menu__info__card:nth-child(3) {
  animation-delay: 3200ms;
}

.menu-page__menu__info:nth-of-type(2) .menu-page__menu__info__card:nth-child(4) {
  animation-delay: 3600ms;
}

.menu-page__menu__info:nth-of-type(2) .menu-page__menu__info__card:nth-child(5) {
  animation-delay: 4000ms;
}

.menu-page__menu__info:nth-of-type(2) .menu-page__menu__info__card:nth-child(6) {
  animation-delay: 4400ms;
}

.menu-page__menu__info:nth-of-type(3) {
  animation-delay: 4200ms;
}

.menu-page__menu__info:nth-of-type(3) .menu-page__menu__info__card:nth-child(2) {
  animation-delay: 3800ms;
}

.menu-page__menu__info:nth-of-type(3) .menu-page__menu__info__card:nth-child(3) {
  animation-delay: 4200ms;
}

.menu-page__menu__info:nth-of-type(3) .menu-page__menu__info__card:nth-child(4) {
  animation-delay: 4600ms;
}

.menu-page__menu__info:nth-of-type(3) .menu-page__menu__info__card:nth-child(5) {
  animation-delay: 5000ms;
}

.menu-page__menu__info:nth-of-type(3) .menu-page__menu__info__card:nth-child(6) {
  animation-delay: 5400ms;
}

.restaurant__list__card {
  position: relative;
  background-color: #ffffff;
  min-width: 100%;
  height: 15.6875rem;
  border-radius: 15px;
  margin-left: -0.8%;
  overflow: hidden;
}
@media screen and (min-width: 1024px) {
  .restaurant__list__card {
    min-width: 45.37%;
    margin-left: 0;
  }
}
.restaurant__list__card > .heart {
  position: absolute;
  bottom: 2.0625rem;
  right: 1.5625rem;
}
.restaurant__list__card__image {
  width: 100%;
  height: 10.875rem;
  position: relative;
}
.restaurant__list__card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 69%;
}
.restaurant__list__card__image__badge {
  position: absolute;
  top: 0.8125rem;
  right: 1rem;
  background-color: var(--green);
  color: var(--green-font);
  padding: 0.4375rem 0.5625rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.restaurant__list__card__description {
  width: 100%;
  padding: 1rem 0.8125rem;
}
.restaurant__list__card__description__text {
  display: flex;
  flex-direction: column;
}
.restaurant__list__card__description__text h3 {
  margin-bottom: 0.3125rem;
}
.restaurant__list__card__description__text p {
  font-size: var(--card-description-size);
  font-weight: var(--card-description-weight);
  color: var(--grey-tin2);
}

.fonctionnalite__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 20.155625rem;
  min-width: 100%;
  height: 4.52375rem;
  margin: 0 0 1.5625rem 0.75rem;
  padding-left: 1.625rem;
  background-color: var(--background-color);
  border-radius: 20px;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 1024px) {
  .fonctionnalite__step {
    min-width: 31.81%;
    margin: 0;
  }
}
.fonctionnalite__step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -0.75rem;
  top: 51%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--main-color);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}
.fonctionnalite__step__icon {
  color: var(--grey-tin4);
  font-size: 1.2rem;
}
.fonctionnalite__step__icon--purple {
  color: var(--main-color);
}
.fonctionnalite__step__text {
  font-size: var(--boutonText-size);
  font-weight: var(--boutonText-weight);
}

.button {
  z-index: 1;
  display: block;
  position: relative;
  width: fit-content;
  margin: auto;
  background: var(--button-gradient);
  color: white;
  cursor: pointer;
  padding: 0.8125rem 1.1720625rem;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  border: none;
}
.button--restaurants {
  width: 11.625rem;
  height: 3.125rem;
}
.button__text {
  font-size: var(--boutonText-size);
  font-weight: var(--boutonText-weight);
  position: relative;
  display: inline-block;
  transition: transform 315ms 305ms linear;
  z-index: 3;
}
.button::before {
  border-radius: 25px;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
  content: "";
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  transition: all 300ms ease-out;
}
.button:hover::before {
  opacity: 0.15;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.35);
}
.button:hover .button__text {
  transform: translate(0.05rem, 0.1rem);
}

.footer {
  background-color: var(--grey);
  padding: 1.375rem 1.5625rem;
  color: white;
}
.footer--title {
  margin-bottom: 1.125rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}
.footer__links__link {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  font-weight: 500;
}
.footer__links__link__normal {
  font-weight: 400;
}
.footer__links__link--icon {
  font-size: 0.8125rem;
}
@media screen and (min-width: 1024px) {
  .footer {
    height: 7.125rem;
    padding: 1.875rem 1.5625rem;
    display: flex;
    flex-flow: row-reverse;
    align-items: flex-end;
  }
  .footer--title {
    margin: 0 2.77vw 0 6.18vw;
  }
  .footer__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5625rem;
  }
  .footer__links__link__normal--legal {
    margin: 0 0.486vw 0 2.36vw;
  }
}

.RestaurantAppBar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 3.9375rem;
  background-color: white;
}
.RestaurantAppBar__logo {
  width: 12.3125rem;
  height: 2.25rem;
}
.RestaurantAppBar__back {
  position: absolute;
  left: 1.0625rem;
  top: 1.0625rem;
}
.RestaurantAppBar__back--icon {
  font-size: 1.7rem;
  color: var(--grey);
}
@media screen and (min-width: 1024px) {
  .RestaurantAppBar {
    height: 6rem;
  }
  .RestaurantAppBar__logo {
    width: 12.5rem;
    height: 2.1375rem;
  }
  .RestaurantAppBar__back {
    position: absolute;
    left: 1.0625rem;
    top: 2.0625rem;
  }
  .RestaurantAppBar__back--icon {
    font-size: 1.3rem;
    color: var(--grey);
  }
}

.HomeAppBar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.HomeAppBar__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  height: 3.9375rem;
}
.HomeAppBar__header__logo {
  width: 12.3125rem;
  height: 2.25rem;
}
@media screen and (min-width: 1024px) {
  .HomeAppBar__header {
    height: 6rem;
  }
  .HomeAppBar__header__logo {
    width: 12.5rem;
    height: 2.1375rem;
  }
}
.HomeAppBar__location {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--grey2);
  height: 3.125rem;
  color: var(--grey);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.HomeAppBar__location--icon {
  margin-right: 1.0625rem;
  font-size: 1rem;
}
.HomeAppBar__location--text {
  font-size: var(--boutonText-size);
  font-weight: var(--boutonText-weight);
}

/*Design System*/
:root {
  /*Colors*/
  --main-color: #9356DC;
  --secondary-color: #FF79DA;
  --tertiary-color: #99E2D0;
  --background-color: #F6F6F6;
  --green: #99E2D0;
  --green-font: #008766;
  --grey: #353535;
  --grey2: #EAEAEA;
  --button-gradient: linear-gradient(-183deg, #FF79DA -30%, #9356DC 100%);
  --primary2: #F5EDFF;
  --grey-tin4: #7E7E7E;
  /*Text config*/
  /*Fonts*/
  --body-font: "Roboto", sans-serif;
  --restaurant-title-font: "Shrikhand", sans-serif;
  /*Font Sizes*/
  --home-title-size: 1.5rem;
  --restaurant-title-size: 1.75rem;
  --body-size: 1.125rem;
  --boutonText-size: 1rem;
  --title-2-size: 1.125rem;
  --card-description-size: 1.0625rem;
  --plat-description-size: 0.94rem;
  --paragraph-size: 1.125rem;
  --menu-section-title-size: 1rem;
  /*Font Weights*/
  --home-title-weight: 700;
  --restaurant-title-weight: 400;
  --body-weight: 300;
  --boutonText-weight: 500;
  --title-2-weight: 500;
  --card-description-weight: 300;
  --plat-description-weight: 300;
  --paragraph-weight: 300;
  --menu-section-title-weight: 300;
}

/*Global Styles*/
*, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--body-size);
  background-color: var(--background-color);
  color: #000000;
  max-width: 1440px;
  min-width: 374px;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}

h1 {
  font-size: var(--restaurant-title-size);
  font-weight: var(--restaurant-title-weight);
  font-family: var(--restaurant-title-font);
}

p {
  font-size: var(--paragraph-size);
  font-weight: var(--paragraph-weight);
}

.home h2 {
  font-size: var(--home-title-size);
  font-weight: var(--home-title-weight);
  margin-bottom: 1.4375rem;
}

h3 {
  font-size: var(--title-2-size);
  font-weight: var(--title-2-weight);
  margin-bottom: 0.625rem;
}

button, span {
  font-size: var(--boutonText-size);
  font-weight: var(--boutonText-weight);
}

.footer--title {
  font-size: var(--title-2-size);
  font-weight: 400;
  color: white;
  font-family: var(--restaurant-title-font);
}

/*# sourceMappingURL=main.css.map */
