/* Importations de fichiers SCSS Home */
/* Mixins */
/**** KEYFRAME COEUR ****/
@keyframes heart-full {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
/* Variables */
body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-family: "Roboto";
  font-size: 15px;
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
  body {
    max-width: 100%;
  }
}
@media screen and (min-width: 1044px) {
  body {
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }
}
body h1 {
  font-size: 20px;
  font-weight: bold;
}
body h2 {
  font-size: 20px;
  font-weight: bold;
}
body h3 {
  font-size: 15px;
  font-weight: bold;
}
body a {
  text-decoration: none;
  color: black;
}

#header {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0px 1px 7px 0px rgba(0, 0, 0, 0.2);
}
#header img {
  margin: 15px;
  width: 130px;
}
#header .fa-arrow-left {
  font-size: 18px;
  color: #353535;
  position: absolute;
  top: 20px;
  left: 20px;
}

/* Search */
#recherche {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eaeaea;
}
#recherche .search {
  border: none;
  outline: none;
  background-color: #eaeaea;
  margin: 0;
  padding: 12px;
}
#recherche input.text {
  text-decoration: inherit;
  text-align: center;
  font-weight: bold;
}

/* Title home */
.title {
  background-color: #f6f6f6;
  text-align: center;
  padding: 15px 10px 30px 10px;
}
.title h1 {
  font-size: 20px;
  font-weight: bold;
  margin-inline: 40px;
}
@media screen and (min-width: 768px) {
  .title h1 {
    font-size: 24px;
    margin-inline: 80px;
  }
}

/* RESTAURANTS */
#restaurants {
  background-color: #f6f6f6;
}
#restaurants .restaurants__container {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 40px;
  max-width: 1400px;
  margin: auto;
}
#restaurants .restaurants__container h2 {
  margin: 10px 10px 0px 30px;
}
@media screen and (min-width: 768px) {
  #restaurants .restaurants__container {
    align-items: unset;
    gap: 15px;
  }
}
#restaurants .restaurants__container .group-Card {
  display: flex;
  flex-direction: column;
  width: 95%;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  #restaurants .restaurants__container .group-Card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
}
@media screen and (min-width: 768px) {
  #restaurants .restaurants__container .group-Card a {
    width: 45%;
  }
}
#restaurants .restaurants__container .group-Card a .Card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 1px 4px 8px 0px rgba(0, 0, 0, 0.2);
  margin: 20px;
  height: 210px;
  position: relative;
}
#restaurants .restaurants__container .group-Card a .Card .New {
  color: #008766;
  background-color: #99e2d0;
  width: 60px;
  padding: 5px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  right: 10px;
}
#restaurants .restaurants__container .group-Card a .Card img {
  width: 100%;
  height: 65%;
  object-fit: cover;
  border-radius: 15px 15px 0px 0px;
}
#restaurants .restaurants__container .group-Card a .Card .description {
  height: 35%;
  line-height: 5px;
  margin: 5px 10px 5px 10px;
}
#restaurants .restaurants__container .group-Card a .Card .fa-heart {
  font-size: 24px;
  position: absolute;
  bottom: 30px;
  right: 30px;
}
#restaurants .restaurants__container .group-Card a .Card .far:hover {
  opacity: 0;
}
#restaurants .restaurants__container .group-Card a .Card .far:hover + .fas {
  opacity: 1;
  animation: heart-full 0.4s linear both;
}
#restaurants .restaurants__container .group-Card a .Card .far {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
#restaurants .restaurants__container .group-Card a .Card .fas {
  background: linear-gradient(63deg, #ff79da 0%, #9356dc 100%);
  background-clip: content-box;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  color: transparent;
  opacity: 0;
  z-index: 1;
  transform-origin: 50% bottom;
  transform: scale(1);
  animation: transform 0.4s cubic-bezier(0.43, 0.21, 1, 0.45);
}

/* Button Home */
button {
  border: none;
  background: linear-gradient(to bottom right, #ff79da, #9356dc);
  color: #ffffff;
  padding: 15px 30px 15px 30px;
  margin: 10px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 1px 4px 8px 0px rgba(0, 0, 0, 0.3);
  transition: all 400ms linear;
}
button:hover {
  cursor: pointer;
  background: linear-gradient(to bottom right, #9356dc, #ff79da);
  box-shadow: 1px 4px 8px 0px rgba(0, 0, 0, 0.5);
}

/* Fonctionnement */
.function .fonctionnement {
  display: flex;
  flex-direction: column;
  padding: 40px 10px;
  max-width: 1400px;
  margin: auto;
}
.function .fonctionnement h2 {
  margin: 10px 10px 0px 20px;
}
.function .fonctionnement .group-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-top: 20px;
  margin-left: 15px;
}
.function .fonctionnement .group-box .box {
  display: flex;
  flex-direction: row;
  background-color: #f6f6f6;
  border-radius: 20px;
  margin-right: 20px;
  box-shadow: 1px 4px 8px 0px rgba(0, 0, 0, 0.1);
  padding: 20px;
  align-items: baseline;
}
.function .fonctionnement .group-box .box .fas {
  color: #7e7e7e;
  width: 15px;
}
.function .fonctionnement .group-box .box .fas:hover {
  color: #9356dc;
}
.function .fonctionnement .group-box .box .number {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  margin-left: -35px;
  margin-right: 35px;
  background-color: #9356dc;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.function .fonctionnement .group-box .box .choice {
  margin-left: 15px;
  font-size: 15px;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .function .fonctionnement {
    align-items: unset;
    gap: 15px;
  }
  .function .fonctionnement .group-box {
    flex-direction: row;
    justify-content: space-between;
    margin-right: 20px;
  }
  .function .fonctionnement .choice {
    font-size: 13px;
  }
}

/* Footer */
.footer {
  background: #353535;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer a {
  color: #ffffff;
}
.footer__container {
  padding: 25px 0;
  display: grid;
  gap: 7px;
  width: 90vw;
  max-width: 490px;
}
.footer__container h2 {
  color: #ffffff;
  font-family: "Shrikhand", cursive;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.footer__container .link1,
.footer__container .link2 {
  display: grid;
  gap: 7px;
}
@media only screen and (min-width: 1024px) {
  .footer__container {
    display: flex;
    justify-content: end;
    width: 100%;
    max-width: none;
    padding: 30px 50px;
    height: 23px;
    gap: 30px;
  }
  .footer__container h2 {
    order: 3;
    margin: 0;
    margin-left: 30px;
  }
  .footer__container .link1,
  .footer__container .link2 {
    display: flex;
    order: 1;
    gap: 10px;
  }
}

/* Loader */
.spinner-box {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: swing 1.6s ease-in-out both;
  animation: fadeOutBackground 1.6s ease-in-out both;
  animation-delay: 3.5s;
}
.spinner-box .load {
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner-box .load p {
  color: #9356dc;
  font-size: 40px;
  font-family: "Shrikhand", cursive;
}

@keyframes fadeOutBackground {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes swing {
  50% {
    transform: rotate(10deg);
  }
  to {
    color: #ff79da;
    opacity: 0;
    visibility: hidden;
  }
}
.O {
  animation: swing 1.6s ease 0.2s infinite alternate;
}

.h {
  animation: swing 1.6s ease 0.4s infinite alternate;
}

.m {
  animation: swing 1.6s ease 0.6s infinite alternate;
}

.y {
  animation: swing 1.6s ease 0.8s infinite alternate;
}

.f {
  animation: swing 1.6s ease 1s infinite alternate;
}

.o {
  animation: swing 1.6s ease 1.2s infinite alternate;
}

.o-2 {
  animation: swing 1.6s ease 1.4s infinite alternate;
}

.d {
  animation: swing 1.6s ease 1.6s infinite alternate;
}

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