/* Importations de fichiers SCSS page restaurant*/
/* 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;
}

/* Banner */
.banner {
  max-width: 100%;
  position: relative;
  margin-bottom: 35px;
}
.banner img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* Menus Title */
.menuContainer {
  margin-left: 10%;
  margin-right: 10%;
  background-color: #f6f6f6;
  position: relative;
  margin-top: -60px;
  border-radius: 35px 35px 0 0;
}
.menuContainer h1 {
  font-family: "Shrikhand";
  font-size: 26px;
  font-weight: normal;
  padding-right: 130px;
  padding-top: 10px;
}
.menuContainer .fa-heart {
  font-size: 24px;
  position: absolute;
  bottom: 30px;
  right: 30px;
}
.menuContainer .far:hover {
  opacity: 0;
}
.menuContainer .far:hover + .fas {
  opacity: 1;
  animation: heart-full 0.4s linear both;
}
.menuContainer .far {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.menuContainer .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);
}
.menuContainer .fa-heart {
  top: 52px;
  right: 40%;
}
.menuContainer .Menu {
  display: flex;
  justify-content: center;
  border-radius: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .menuContainer {
    margin: -60px 0px 0px;
  }
  .menuContainer .fa-heart {
    top: 52px;
    right: 20%;
  }
}

/* Menus */
.menu {
  background-color: #f6f6f6;
  padding: 2px 10px 0px 10px;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1024px) {
  .menu {
    margin-left: 10%;
    margin-right: 10%;
    background-color: #f6f6f6;
    position: relative;
  }
}

.carte {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
@media screen and (min-width: 1024px) {
  .carte {
    flex: 1 20%;
    margin-left: 5%;
  }
}

.titleList {
  margin-bottom: 15px;
}
.titleList h2 {
  font-weight: normal;
  font-size: 15px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
.titleList .underline {
  height: 2px;
  width: 18px;
  background-color: #99e2d0;
  padding-left: 20px;
  margin-top: 5px;
}

/**** DESCRIPTION ****/
.list {
  display: flex;
  background-color: white;
  cursor: pointer;
  width: 100%;
  margin-bottom: 15px;
  box-sizing: border-box;
  border-radius: 15px;
  box-shadow: 1px 4px 8px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: loading-list 0.6s both;
  /* Hover desktop */
}
@media screen and (min-width: 1024px) {
  .list {
    margin-bottom: 30px;
    width: 90%;
  }
}
.list .description {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  flex: 1;
}
.list .description h3,
.list .description p {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-block: 0px;
  line-height: 22px;
}
.list .description p {
  font-size: 13.5px;
}
.list .price {
  font-weight: bold;
  font-size: 15px;
  align-self: flex-end;
  margin: 0px 38px 13px 0px;
}
.list .check {
  font-size: 18px;
  padding: 20px;
  color: #ffffff;
  background-color: #99e2d0;
  border-radius: 0px 15px 15px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -75px;
  transition-duration: 0.8s;
}
.list:hover > .check {
  margin-right: 0px;
}
@media screen and (min-width: 769px) {
  .list .menu {
    width: 50%;
  }
  .list .menu .list:hover .fas {
    margin-right: 0;
  }
  .list .menu .list:hover .fa-check-circle {
    transition: all 0.02s;
    opacity: unset;
    color: #ffffff;
  }
  .list .list {
    width: 10%;
  }
}

/**** BOUTON ****/
.Order {
  width: 80%;
  margin: 0 auto;
  background-color: #f6f6f6;
  text-align: center;
  padding: 20px 0px 30px 0px;
}
@media screen and (max-width: 768px) {
  .Order {
    width: unset;
  }
}
.Order 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;
}
.Order button:hover {
  cursor: pointer;
  background: linear-gradient(to bottom right, #9356dc, #ff79da);
  box-shadow: 1px 4px 8px 0px rgba(0, 0, 0, 0.5);
}

/* 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;
  }
}

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