/*-----------------------------------------------------------------------------*/
/*************************************************
                    LOADER
*************************************************/
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #eee;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.loader-wrapper {
  width: 100%;
  height: 2300px;
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: dissapear1 3.5s forwards ease-out;
}

.loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  top: -35%;
  position: relative;
  border: 4px solid #000;
  animation: loader 3s forwards ease-out;
}

.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #9356DC;
  animation: loader-inner 3s forwards ease-out;
}

@keyframes dissapear1 {
  0%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes loader {
  0% {
    transform: rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: rotate(180deg);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}
@keyframes loader-inner {
  0% {
    height: 0%;
    opacity: 1;
  }
  25% {
    height: 0%;
    opacity: 1;
  }
  50% {
    height: 100%;
    opacity: 1;
  }
  75% {
    height: 100%;
    opacity: 1;
  }
  100% {
    height: 0%;
    opacity: 0;
  }
}
* {
  margin: 0;
  padding: 0;
}

/*.border{
    border: 1px solid black;
}*/
a {
  text-decoration: none;
  color: #000;
}

/*fonts*/
.font-0 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.font-1 {
  font-family: shrikhand;
}

/*---------------------------------------------------*/
/*---------------------------------------------------*/
.center {
  text-align: center;
}

.shadow {
  box-shadow: 4px 4px 4px 2px #DCDCDC;
}

header {
  height: 55px;
}

main {
  min-height: 500px;
}

.logo {
  height: 55px;
}
.logo img {
  height: 40px;
  margin-top: 15px;
}

.logo-menu {
  height: 55px;
  width: 100%;
}
.logo-menu img {
  height: 40px;
  margin-top: 15px;
  margin-left: -30px;
}

/*---------------------------------------------------*/
/*-----------------------------------------------------------------------------*/
/*footer*/
footer {
  background-color: #4B4B4B;
  min-height: 230px;
}

.logo-footer {
  color: white;
  font-size: 20px;
  margin-left: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.row-fot {
  display: flex;
  padding-bottom: 10px;
}
.row-fot__icon {
  height: 20px;
  width: 60px;
  color: white;
  padding-top: 2px;
}
.row-fot__text {
  height: 20px;
  width: 85%;
  color: white;
}
.row-fot__text1 {
  height: 20px;
  color: white;
  margin-left: 20px;
}

/*-----------------------------------------------------------------------------*/
/*---------------------------------------------------*/
/*location*/
.location {
  height: 60px;
  background-color: #eaeaea;
  box-shadow: inset 0px 7px 5px -7px rgba(50, 50, 50, 0.75);
}
.location__box {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
.location__icon {
  padding-right: 15px;
  padding-top: 2px;
}

/*---------------------------------------------------*/
/*book the menu you like*/
.title-0-box {
  height: 80px;
  font-size: 25px;
  padding-top: 35px;
  background-color: #F6F6F6;
}

/*---------------------------------------------------*/
/*Discover top-of-the-art restaurants we picked for you*/
.sub-title-box {
  height: 60px;
  background-color: #F6F6F6;
}
.sub-title-box__text {
  width: 85%;
  margin: auto;
}

/*---------------------------------------------------*/
/*explore button*/
.explore-button-box {
  height: 120px;
  background-color: #F6F6F6;
}

button {
  height: 50px;
  border-radius: 50px;
  background-image: linear-gradient(2deg, #9356DC, #FF79DA);
  color: white;
  border: none;
  width: 60%;
  margin-top: 10px;
  box-shadow: 4px 4px 4px 2px #DCDCDC;
  transition: all 550ms ease-in-out;
  /*&:active{
      background-position: 0 -50px;
      transition: all 50ms linear;
  }*/
}
button:hover {
  background-image: linear-gradient(2deg, rgba(147, 86, 220, 0.8), rgba(255, 121, 218, 0.8));
  box-shadow: 4px 4px 4px 2px #c3c3c3;
}

/*---------------------------------------------------*/
/*How it works*/
.title-1 {
  height: 50px;
  font-size: 25px;
  margin-left: 10px;
  margin-top: 40px;
  margin-bottom: 20px;
}

/*---------------------------------------------------*/
/*instruction*/
.instruction {
  min-height: 300px;
  justify-content: center;
  margin-left: 10px;
}

.number {
  height: 25px;
  border-radius: 50px;
  width: 26px;
  background-color: #9356DC;
  margin: auto;
  margin-right: -13px;
  color: white;
  margin-left: -13px;
}

.inst-box {
  height: 70px;
  width: 94%;
  display: flex;
  border-radius: 15px;
  background-color: #F6F6F6;
  margin-left: 10px;
  margin-bottom: 25px;
  transition: all 850ms ease-in;
}
.inst-box:hover {
  cursor: pointer;
  background-color: #f5edff;
}
.inst-box__icon {
  width: 50px;
  margin: auto;
  color: gray;
}
.inst-box__text {
  width: 75%;
  margin: auto;
}

/*Restaurants*/
.cards {
  background-color: #F6F6F6;
}

.title-2 {
  height: 40px;
  font-size: 25px;
  margin-left: 10px;
  padding-top: 50px;
  background-color: #F6F6F6;
}

/*---------------------------------------------------*/
/*restaurant cards*/
.cards-section {
  min-height: 400px;
  padding-bottom: 60px;
  background-color: #F6F6F6;
}

.box {
  height: 250px;
  width: 90%;
  margin: auto;
  border-radius: 15px;
  margin-top: 20px;
}
.box__dish-photo {
  height: 175px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.box__dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.box__heading {
  width: 100%;
  height: 71px;
  display: flex;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.box__heading__description {
  width: 85%;
  margin-top: 15px;
  margin-left: 10px;
}

.new {
  background-color: #99E2D0;
  height: 25px;
  position: relative;
  width: 85px;
  top: -160px;
  left: 70%;
  border-radius: 3px;
  color: #496C63;
  padding-top: 2px;
}

div.favorite {
  height: 20px;
  margin-top: 27px;
}

div.favotite .open-heart {
  font-size: 25px;
}

div.favotite:hover .open-heart {
  display: none;
}

div.favorite:hover .full-heart {
  display: inline;
  animation: fadeIn 500ms;
  animation-fill-mode: forwards;
  margin-left: -21px;
  font-size: 17px;
}

div.favorite .full-heart {
  color: #9356DC;
  display: none;
}

/**************************************************
                    ANIMATIONS
**************************************************/
@keyframes fadeIn {
  0% {
    opacity: 0.1;
  }
  25% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
/**************************************************
                    MEDIA QUERY
**************************************************/
@media only screen and (min-width: 968px) {
  .instruction {
    margin-left: 30%;
    margin-right: 30%;
  }

  .inst-box {
    width: 100%;
  }

  button {
    width: 20%;
  }

  .cards-section {
    margin-left: 25%;
    margin-right: 25%;
  }
}
/*menu header*/
.head {
  display: flex;
}

.back {
  margin-top: 15px;
  margin-left: 20px;
}

.fa-arrow-left {
  font-size: 20px;
}

/*---------------------------------------------------*/
/*menu dish image*/
.background-img {
  height: 250px;
}
.background-img img {
  height: 120%;
  width: 100%;
  object-fit: cover;
}

/*---------------------------------------------------*/
/*menu*/
.background {
  background-color: #F6F6F6;
  min-height: 450px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  position: relative;
}

.menu-title-favorite {
  display: flex;
}

.menu-title {
  font-size: 25px;
  width: 90%;
  margin-top: 25px;
  margin-left: 10px;
}

.course {
  height: 30px;
  margin-left: 10px;
  margin-top: 35px;
}

.line {
  height: 10px;
  margin-left: 20px;
  margin-top: -15px;
  color: #99E2D0;
}

.fa-minus {
  transform: scale(2.7, 1);
}

.fa-check-circle {
  color: white;
  transition: transform 1500ms ease;
}

.dish-box {
  cursor: pointer;
  display: block;
  border-radius: 15px;
  background-color: white;
  height: 70px;
  width: 95%;
  margin: auto;
  margin-top: 14px;
  display: flex;
  box-shadow: 4px 4px 4px 2px #dcdcdc;
  animation: appearIn0 1700ms ease-in;
  overflow: hidden;
}
.dish-box__text {
  width: 90%;
  height: 50px;
  margin: auto;
}
.dish-box__text__title {
  width: 150px;
  height: 20px;
  margin-left: 10px;
  inline-size: 95%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dish-box__text__comment {
  height: 20px;
  margin-left: 10px;
  font-size: 14px;
  margin-top: 2px;
  inline-size: 95%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dish-box__price {
  height: 20px;
  margin-top: 37px;
  padding-right: 45px;
}

.add {
  width: 100px;
  padding-top: 20px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  background-color: #99E2D0;
  margin-right: -135px;
  transition: margin-right 1500ms ease;
}

.dish-box:hover .add {
  margin-right: 0;
}

.dish-box:hover .dish-box__text {
  width: 60%;
}

.check-icon {
  font-size: 25px;
}

.dish-box:hover .fa {
  width: fit-content;
  margin: auto;
  transform: rotate(-360deg);
}

.first-dish {
  animation-duration: 1000ms;
}

.second-dish {
  animation-duration: 1100ms;
}

.third-dish {
  animation-duration: 1200ms;
}

.fourth-dish {
  animation-duration: 1300ms;
}

.order-button {
  height: 200px;
}

button {
  height: 50px;
  border-radius: 50px;
  background-image: linear-gradient(2deg, #9356DC, #FF79DA);
  color: white;
  border: none;
  width: 50%;
  margin-top: 50px;
  box-shadow: 4px 4px 4px 2px #DCDCDC;
  transition: all 550ms ease-in-out;
}
button:hover {
  background-image: linear-gradient(2deg, rgba(147, 86, 220, 0.8), rgba(255, 121, 218, 0.8));
  box-shadow: 4px 4px 4px 2px #c3c3c3;
}

/* favorite heart */
.favorite {
  height: 20px;
  margin-top: 27px;
}

.favotite .open-heart {
  font-size: 25px;
}

.favotite:hover .open-heart {
  display: none;
}

.favorite:hover .full-heart {
  display: inline;
  animation: fadeIn 500ms;
  animation-fill-mode: forwards;
  margin-left: -21px;
  font-size: 17px;
}

.favorite .full-heart {
  color: #9356DC;
  display: none;
}

/**************************************************
                    ANIMATIONS
**************************************************/
@keyframes appearIn0 {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

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