@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Shrikhand&display=swap");
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "roboto", sans-serif;
}

h1 {
  margin: 0;
  font-size: 28px;
}

h2 {
  font-weight: 700;
  font-size: 24px;
}

h3 {
  margin: 0;
  font-size: 18px;
}

p {
  margin: 0;
  font-weight: 300;
  font-size: 17px;
}

a {
  text-decoration: none;
  color: #000000;
}

h1 {
  font-family: "shrikhand";
}

/*Header*/
header {
  font-family: "shrikhand";
  text-align: center;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  position: relative;
}

/*couleurs*/
@keyframes disparition {
  to {
    transform: scale(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes appear {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/*couleurs*/
/*bar de recherche*/
.recherche_bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 17px;
  background: #EAEAEA;
  padding: 1rem;
  color: #353535;
}
.recherche_bar p {
  font-weight: 500;
  font-size: 16px;
}

/*Info*/
.info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background-color: #F7F7F7;
  padding-bottom: 40px;
}
.info p {
  color: #353535;
}
.info button {
  width: 218px;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(175deg, #FF79DA, #9356DC);
  color: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  transition: transform 200ms;
}
.info button:hover {
  transform: scale(1.02);
  opacity: 0.9;
  cursor: pointer;
}

/*Fonctionnement*/
.fonctionnement {
  counter-reset: steps;
  padding: 1rem;
}
@media (min-width: 769px) {
  .fonctionnement {
    padding: 50px 180px 50px 180px;
  }
}
.fonctionnement ol {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .fonctionnement ol {
    flex-direction: row;
  }
}
.fonctionnement li {
  position: relative;
  display: flex;
  flex-direction: row;
  background-color: #f7f7f7;
  gap: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  padding: 1rem 2rem;
  list-style-type: none;
}
@media (min-width: 769px) {
  .fonctionnement li {
    width: 30%;
  }
}
.fonctionnement li:hover i {
  color: #9356DC;
}
.fonctionnement li::before {
  content: counter(steps);
  counter-increment: steps;
  color: white;
  background-color: #9356DC;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -1rem;
}
.fonctionnement li i {
  color: #7E7E7E;
}

/*couleurs*/
footer {
  background: #353535;
  display: flex;
  flex-direction: column;
  color: white;
  padding-left: 1rem;
}
@media (min-width: 769px) {
  footer {
    flex-direction: row-reverse;
    gap: 16px;
    padding: 30px 25px;
    align-items: center;
  }
}
footer h2 {
  font-family: "shrikhand";
  font-weight: 400;
  font-size: 18px;
}
footer ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 769px) {
  footer ul {
    flex-direction: row;
    gap: 10px;
  }
}
footer ul li {
  display: flex;
  gap: 15px;
}
footer ul li a {
  color: white;
}

/*couleurs*/
@keyframes disparition {
  to {
    transform: scale(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes appear {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes disparition {
  to {
    transform: scale(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes appear {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
#pages-restaurants header::before {
  display: flex;
  font-style: normal;
  font-variant: normal;
  font-size: 20px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f060";
  left: 1rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 769px) {
  #pages-restaurants main {
    padding: 0 180px 0 180px;
  }
}

img {
  width: 100%;
  height: 275px;
  object-fit: cover;
}
@media (min-width: 769px) {
  img {
    height: 383px;
  }
}

.menu {
  padding: 0.7rem;
  background: #f7f7f7;
  border-radius: 1rem 1rem 0rem 0rem;
  margin-top: -3rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 769px) {
  .menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 1rem 180px 1rem 180px;
  }
}
.menu::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f004";
  font-size: 30px;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 1;
  transition: all 200ms ease-in-out;
  right: 2rem;
  top: 2rem;
}
.menu::after {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f004";
  font-size: 30px;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 1;
  transition: all 200ms ease-in-out;
  background: linear-gradient(175deg, #FF79DA, #9356DC);
  opacity: 0;
  font-weight: 900;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  top: 2rem;
  right: 2rem;
}
.menu:hover::after {
  opacity: 1;
  top: 2rem;
  right: 2rem;
}
.menu .plats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.menu .plats h2 {
  font-weight: 300;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 0;
}
.menu .plats .green-border {
  border-bottom: 3px solid #99E2D0;
  width: 2.5rem;
}
.menu .plats_cards {
  background: #FFFFFF;
  display: flex;
  flex-direction: row;
  border-radius: 1rem 1rem 1rem 1rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  gap: 5px;
  align-items: flex-end;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  animation: appear 1s both;
}
.menu .plats_cards .prix {
  margin-left: auto;
  padding: 15px 1rem 15px 15px;
  font-weight: 900;
  color: #353535;
}
.menu .plats_cards:nth-child(2) {
  animation-delay: 200ms;
}
.menu .plats_cards:nth-child(3) {
  animation-delay: 300ms;
}
.menu .plats_cards:nth-child(4) {
  animation-delay: 400ms;
}
.menu .plats_cards:nth-child(5) {
  animation-delay: 500ms;
}
.menu .plats_cards:nth-child(6) {
  animation-delay: 600ms;
}
.menu .plats_cards:nth-child(7) {
  animation-delay: 700ms;
}
.menu .plats_cards:nth-child(8) {
  animation-delay: 800ms;
}
.menu .plats_cards:hover {
  cursor: pointer;
}
.menu .plats_cards:hover .plats_cards_check {
  margin-right: 0;
}
.menu .plats_cards_check {
  background-color: #99E2D0;
  margin-right: -4rem;
  border-radius: 0 1rem 1rem 0;
  height: 100%;
  transition: margin-right 0.5s;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 60px;
  height: 70px;
}
.menu .plats_cards_check i {
  background: white;
  border-radius: 1rem;
  height: 2rem;
  width: 2rem;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #99E2D0;
}
.menu .plats_cards_txt {
  padding: 15px;
  overflow: hidden;
}
.menu .plats_cards_txt p, .menu .plats_cards_txt h3 {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 500;
}
.menu .plats_cards p {
  font-size: 15px;
  font-weight: 300;
}
@media (min-width: 769px) {
  .menu::before {
    right: 5rem;
  }
  .menu::after {
    right: 5rem;
  }
  .menu:hover::after {
    right: 5rem;
  }
}

.button {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

button {
  width: 218px;
  height: 50px;
  border-radius: 25px;
  background: linear-gradient(175deg, #FF79DA, #9356DC);
  color: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  transition: transform 200ms;
}
button:hover {
  transform: scale(1.02);
  opacity: 0.9;
  cursor: pointer;
}

.restaurants {
  background-color: #F7F7F7;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 769px) {
  .restaurants {
    padding: 0 180px 30px 180px;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
  }
}
@media (min-width: 769px) {
  .restaurants a {
    width: 45%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
  }
}
@media (min-width: 769px) {
  .restaurants h2 {
    width: 100%;
  }
}
.restaurants .new {
  position: relative;
}
.restaurants .new::before {
  content: "Nouveau";
  position: absolute;
  color: #1b6150;
  background: #99E2D0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 29px;
  right: 1rem;
  top: 1rem;
}
.restaurants img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.restaurants .card {
  height: 24%;
  width: 100%;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
.restaurants .card_content {
  padding: 10px 0 10px 20px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.restaurants .card_content::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f004";
  font-size: 30px;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 1;
  transition: all 200ms ease-in-out;
}
.restaurants .card_content::after {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f004";
  font-size: 30px;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 1;
  transition: all 200ms ease-in-out;
  background: linear-gradient(175deg, #FF79DA, #9356DC);
  opacity: 0;
  font-weight: 900;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.restaurants .card_content:hover::after {
  opacity: 1;
}

/*couleurs*/
@keyframes disparition {
  to {
    transform: scale(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes appear {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes disparition {
  to {
    transform: scale(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes appear {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.loader {
  position: fixed;
  background: #FFFFFF;
  height: 100%;
  inset: 0;
  z-index: 1;
  animation: disparition 200ms 3s forwards;
  display: grid;
  place-items: center;
}
.loader img {
  width: 300px;
  object-fit: contain;
  animation: spin 3s;
}

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