/* fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

@font-face {
  font-family: "Helvetica Neue";
  src: url('../fonts/helveticaneuecyr-light.otf');
}

@font-face {
  font-family: "AvenirNextLTPro-Demi";
  src: url('../fonts/AvenirNextLTPro-Demi.otf');
}

/* fonts */

body{
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

h1,h2,h3{
  margin: 0;
  font-weight: bold;
}

h1 {
  font-size: 32px;
  letter-spacing: 1px;
}

h2 {
  font-size: 22px;
}

ul,li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

body * {
  box-sizing: border-box;
}

.preload-screen {
  position: absolute;
  width: 100%;
  line-height: 100vh;
  background: #1D1D1F;
  text-align: center;
  transition: all 0.6s cubic-bezier(.645,.045,.355,1);
}

.preload-screen img{
  vertical-align: middle;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(29,29,31,.6);
  z-index: 3;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.645,.045,.355,1);
  pointer-events: none;
}

.overlay2 {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(29,29,31,.6);
  z-index: 3;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.645,.045,.355,1);
  pointer-events: none;
}

.overlay-active {
  pointer-events: auto;
  opacity: 1;
}

main.ng-enter{
  -webkit-transition: all 1.6s cubic-bezier(.645,.045,.355,1);
  transition: all 1.6s cubic-bezier(.645,.045,.355,1);
  opacity: 0.6s
}

main.ng-enter-active {
  opacity: 1;
}


/* main.ng-enter > div > div {
  transition: all 1s ease;
  transform: translateY(1000%);
}


main.ng-enter-active > div > div {
  transform: translateY(0);
} */

main.ng-enter .meal-item {
  transform: translateY(600px);
}
main.ng-enter .meal-item:nth-child(3n + 1) {
  transition: all 1s cubic-bezier(.645,.045,.355,1);
}


main.ng-enter .meal-item:nth-child(3n + 2) {
  transition: all 1.3s cubic-bezier(.645,.045,.355,1);
}

main.ng-enter .meal-item:nth-child(3n + 3) {
  transition: all 1.6s cubic-bezier(.645,.045,.355,1);
}

main.ng-enter.ng-enter-active .meal-item {
  transform: translateY(0);
}

/* header-line */
.header-line {
  z-index: 2;
  position: -webkit-sticky;position: sticky;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: #FFF;
  border-bottom: 1px solid rgb(222, 223, 224);
}

.header-line .fa-bars {
  display: inline-block;
  cursor: pointer;
  color: #222;
  width: 10%;
  padding-left: 25px;
  padding-top: 15px;
  text-align: left;
  font-size: 22px;
}

.header-line .logo {
  display: inline-block;
  font-family: "Helvetica Neue",Arial,sans-serif;
  font-weight: bolder;
  font-size: 25px;
  letter-spacing: 0.1em;
  width: 80%;
  text-align: center;
}

.header-line .undefined-btn {
  width: 80%;
  display: inline-block;
}
/* header-line */


/* navmenu */
.nav-menu {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 281px;
  background-color: #1D1D1F;
  padding: 50px;
  padding-top: 100px;
  transform: translateX(-281px);
}

.nav-menu span.nav-menu-title{
  display: block;
  color: #fff;
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.nav-menu li {
  list-style-type: none;

  transition: all .5s cubic-bezier(.39,.575,.565,1);
  cursor: pointer;
}

.nav-menu a {
  display: block;
  padding: 18px 0;
}

.nav-menu li:hover {
  transform: translateX(4px);
}

.nav-menu li:hover a{
  color: #fff;
}

.nav-menu li a, .nav-menu span{
  font-family: "AvenirNextLTPro-Demi", Arial, sans-serif;
  color: #9c9c9c;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .2em;
}

.nav-menu li.active-link a{
  color: #fff;
}

.nav-menu-icons-wrapper {
  position: absolute;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid #333;
}

.nav-menu-icon {
  display: inline-block;
  width: 33.3%;
}

.nav-menu-icon a {
  display: block;
  font-size: 19px;
  color: #BCBCBC;
  text-align: center;
  padding: 15px 0;
  transition: all .5s ease;
}

.nav-menu-icon a:hover {
  background-color: #000;
  color: #fff;
}

.nav-menu-icon:nth-child(1) a {
  border-right: 1px solid #333;
}

.nav-menu-icon:nth-child(2){
}

.nav-menu-icon:nth-child(3) a {
  border-left: 1px solid #333;
}

.open-menu {
  transition: all 0.6s cubic-bezier(.645,.045,.355,1);
  transform: translateX(281px)!important;
}

.close-menu {
  transition: all 0.6s cubic-bezier(.645,.045,.355,1);
  transform: translateX(0px);
}
/* navmenu */

/* main-slider */
.main-slider {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.main-slider-overlay {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.35);
}

.main-slider-back-overlay {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100vh;
  opacity: 1;
  transition: all 3s ease;
}

.main-slider img {
  max-width: 100%;
}

.main-slider img.ng-enter, .main-slider img.ng-leave {
  transition: all 3s ease;
}

.main-slider img.ng-enter {
  transform: translateX(100%);
}

.main-slider img.ng-enter-active {
  transform: translateX(0);
}

.main-slider img.ng-leave {
  transform: translateX(0) translateY(-100.5%);
}

.main-slider img.ng-leave-active {
  transform: translateX(-100%) translateY(-100.5%);
}

/* .main-slider img.ng-leave-stagger {
  transition-delay: 0.2s;
  transition-duration: 0;
} */

.main-slider-content {
  position: absolute;
  z-index: 1;
  width: 100%;
}

.main-slider-text {
  text-align: center;
  font-size: 56px;
  color: #fff;
  z-index: 2;
  width: 1180px;
  margin: 0 auto;
  margin-top: 220px;
  margin-bottom: 60px;
}

.main-slider-text p {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2px;
}

.main-slider-buttons {
  display: flex;
  justify-content: space-around;
  z-index: 2;
  border: red;
  width: 550px;
  margin: 0 auto;
}

.main-slider-buttons a {
  padding: 12px 32px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.5);
  font-size: 20px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: all ease .5s;
}

.main-slider-buttons a:hover {
  background: rgba(150,150,150,.5);
}

.main-slider-bars-wrapper {
  display: flex;
  margin: 0 auto;
  margin-top: 150px;
  width: 155px;
  justify-content: space-between;
}

.main-slider-bar {
  display: inline-block;
  width: 46px;
  height: 7px;
  background: #fff;
  cursor: pointer;
  opacity: 0.4;
  background: #fff;
}

.main-slider-bar-active {
  opacity: 0.7;
}
/* main-slider */

/* main-page */
.main-page {
  margin-top: -50px;
}

.main-page .about h1,h2 {
  font-weight: bolder;
}

.main-page .about {
  padding: 60px 0;
  /* background: linear-gradient(to bottom,rgb(244, 244, 246), rgb(260, 260, 260)); */
  background: rgb(241, 241, 245);
}

.main-page .about-wrapper {
  margin: 0 auto;
  max-width: 1180px;
}

.main-page .about h1 {
  text-align: center;
  color: #2A2627;
  margin-bottom: 80px;
}

.main-page .about h1::after {
  content: '';
  display: block;
  position: relative;
  top: 35px;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 2px;
  width: 100px;
  background-color: #000;
}

.main-page .about-description {
  text-align: center;
  margin-bottom: 35px;
}

.main-page .about-item-wrapper {
  display: flex;
  justify-content: space-between;
}

.main-page .about-item {
  width: 30%;
  height: 283px;
  position: relative;
  z-index: 1;
  perspective: 600px;
}

.main-page .about-item-description {
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.3px;
}

.main-page .about-item-first-side {
  text-align: center;
  background-color: #fff;
  padding: 40px 30px;
  box-shadow: 0 0 22px #cacaca;
  /* border: 1px solid rgba(29, 29, 31,.1); */
  position: absolute;
  transform: rotateY(0deg);

  /* background: linear-gradient(to top,rgb(252, 252, 252), rgb(260, 260, 260)); */
  /* background-color: #fff; */
  background: rgb(252, 252, 254);
}

.main-page .about-item-second-side {
  display: block;
  position: absolute;
  background-color: #1D1D1F;
  padding: 40px 30px;
  box-shadow: 0 0 22px #cacaca;
  width: 100%;
  height: 272px;
  transform: rotateY(90deg);
  text-align: center;
  cursor: pointer
}

.main-page .about-item-second-side span {
  display: inline-block;
  color: #fff;
  font-size: 29px;
  margin-top: 85px;
  transform: scale(-1, 1);
  opacity: 0;
  transition: all 1.6s ease;
}

.main-page .about-item:hover .about-item-first-side{
  transform: rotateY(90deg);
}

.main-page .about-item:hover .about-item-second-side{
  transform: rotateY(180deg);
  opacity: 1;
}

.main-page .about-item:hover .about-item-second-side span {
  opacity: 1;
}

.main-page .about-item-img {
  margin-bottom: 35px;
}

.main-page .about-item-img i {
  font-size: 50px;
  color: #1D1D1F;
}

.main-page .about-item h2 {
  color: #2A2627;
  margin-bottom: 25px;
}

.main-page .steps {
  padding: 60px 0;
  background: rgb(252, 252, 254);
}

.main-page .steps-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.main-page h1.steps-title {
  text-align: center;
  margin-bottom: 30px;
}

.main-page .steps-description {
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
}

.main-page .steps-item-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  perspective: 600px;
}

.main-page .steps-item {
  opacity: 0;
  width: 42%;
  position: relative;
  margin-bottom: 60px;
  background: rgb(252, 252, 254);
  box-shadow: 0 0 10px #cacaca;
  transition: all 1s cubic-bezier(.645,.045,.355,1);
}

.main-page .steps-item:nth-child(1), .main-page .steps-item:nth-child(3) {
  transform: translateX(-200%);
}

.main-page .steps-item:nth-child(2), .main-page .steps-item:nth-child(4) {
  transform: translateX(200%);
}


/* .main-page .steps-item:hover {
  transform-origin: 50% 0%;
  transform: rotateX(8deg);
  box-shadow: 0 0 20px #cacaca;
} */

.main-page .steps-item-content {
  text-align: center;
  border: 2px solid rgba(29, 29, 31,.7);
  padding: 70px 40px 40px;
  font-size: 17px;
  font-family: 'Roboto', sans-serif;
}

.main-page .steps-item-number {
  position: absolute;
  background: rgba(29, 29, 31,.9);
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 10px 25px;
  top: 20px;
  left: -10px;
  font-style: italic;
  box-shadow: 0 0 10px #cacaca;
}

.main-page .steps-item-number::after {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent transparent #000 transparent;
}

.main-page .steps-scroll-class .steps-item:nth-child(1), .steps-scroll-class .steps-item:nth-child(2) {
  transform: translateX(0);
  opacity: 1;
}

.main-page .steps-scroll-class-second .steps-item:nth-child(3), .steps-scroll-class-second .steps-item:nth-child(4){
  transform: translateX(0);
  opacity: 1;
}

.main-page .steps-scroll-class-hover .steps-item:hover {
  transition: all 0.7s ease;
  transform: translateX(0) rotateX(7deg);
  transform-origin: 50% 0%;
  box-shadow: 0 0 20px #cacaca;
}

.main-page .loyalty-programs {
  background: rgb(241, 241, 245);
  padding: 60px 0;
}

.main-page .loyalty-programs-wrapper {
  max-width: 1024px;
  margin: 0 auto;
}

.main-page h1.loyalty-programs-title {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.main-page .loyalty-programs-item-wrapper {
  display: flex;
  justify-content: space-between;
  perspective: 1000px;
}

.main-page .loyalty-programs-item {
  width: 18%;
  text-align: center;
  position: relative;

}

.main-page .loyalty-programs-item-circle {

}

.main-page .loyalty-programs-item-circle-front {
  display: inline-block;
  padding: 30px;
  border-radius: 50%;
  background: rgb(252, 252, 254);
  transition: all 0.3s 0.3s ease-out;
  transform: rotateY(90deg);
  box-shadow: 0 0 5px #cacaca;
}

.main-page .loyalty-programs-scroll-class-hover .loyalty-programs-item-circle:hover .loyalty-programs-item-circle-front {
  transition: all 0.4s 0s ease;
  box-shadow: 0 0 10px #cacaca;
  transform: scale(1.05);
}

.main-page .loyalty-programs-item-circle-back {
  top: 0;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 113.09px;
  padding: 30px;
  border-radius: 50%;
  background: #1D1D1F;
  transition: all 0.3s ease-in;
  transform: rotateY(180deg);
  box-shadow: 0 0 5px #cacaca;
}

.main-page .loyalty-programs-item:nth-child(1) .loyalty-programs-item-circle-front{
  transition: all 0.3s 0.3s ease-out;
}

.main-page .loyalty-programs-item:nth-child(1) .loyalty-programs-item-circle-back{
  transition: all 0.3s ease-in;
}

.main-page .loyalty-programs-item:nth-child(2) .loyalty-programs-item-circle-front{
  transition: all 0.3s 0.4s ease-out;
}

.main-page .loyalty-programs-item:nth-child(2) .loyalty-programs-item-circle-back{
  transition: all 0.3s 0.1s ease-in;
}

.main-page .loyalty-programs-item:nth-child(3) .loyalty-programs-item-circle-front{
  transition: all 0.3s 0.5s ease-out;
}

.main-page .loyalty-programs-item:nth-child(3) .loyalty-programs-item-circle-back{
  transition: all 0.3s 0.2s ease-in;
}

.main-page .loyalty-programs-item:nth-child(4) .loyalty-programs-item-circle-front{
  transition: all 0.3s 0.6s ease-out;
}

.main-page .loyalty-programs-item:nth-child(4) .loyalty-programs-item-circle-back{
  transition: all 0.3s 0.3s ease-in;
}

.main-page .loyalty-programs-item:nth-child(5) .loyalty-programs-item-circle-front{
  transition: all 0.3s 0.7s ease-out;
}

.main-page .loyalty-programs-item:nth-child(5) .loyalty-programs-item-circle-back{
  transition: all 0.3s 0.4s ease-in;
}

.main-page .loyalty-programs-scroll-class .loyalty-programs-item-circle-front {
  transform: rotateY(0deg);
}

.main-page .loyalty-programs-scroll-class .loyalty-programs-item-circle-back {
  transform: rotateY(90deg);
  opacity: 0;
}

.main-page .loyalty-programs-item-description {
  margin-top: 30px;
  font-size: 17px;
  font-family: 'Roboto', sans-serif;
}

.main-page .loyalty-programs-item img {
  width: 50px;
  height: 50px;
}
/* main-page */

/* footer */
.footer {
  background-color: #1D1D1F;
  padding: 60px 0;
}

.footer-icons {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 180px;
  margin-bottom: 40px;
}

.footer-icon {
  width: 33.3%;
  cursor: pointer;
}

.footer-icon a {
  display: block;
  text-align: center;
  position: relative;

}

.footer-icon i {
  transition: all 0.3s ease;
}

.footer-icon i:nth-of-type(1) {
  font-size: 19px;
  color: #9c9c9c;
}

.footer-icon i:nth-of-type(2) {
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgb(156,156,156);
  border-radius: 50%;
}

.footer-icon:hover i:.fa, {
  color: #fff!important;
}

.footer-icon:hover i:nth-of-type(2) {
  border-color: #F1F1F5;
}

.footer-navbar {
  text-align: center;
  margin-bottom: 30px;
}

.footer-navbar ul {
  display: inline-block;
}

.footer-navbar ul li {
  display: inline-block;
  padding: 0 10px;
  border-right: 1px solid rgba(156,156,156,.5);
}

.footer-navbar ul li:last-child {
  border-right: none;
}

.footer-navbar ul a {
  text-decoration: none;
  color: rgb(156,156,156);
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-navbar ul li:hover a {
  color: #F1F1F5;
}

.footer-copyright {
  color: rgb(156,156,156);
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: 14px;
}
/* footer */

/* select-menu-page */
.select-menu-page {
  background: rgb(252, 252, 254);
}

.select-menu-page .search {
  background: linear-gradient(to top,rgba(29, 29, 31,.9),rgba(29, 29, 31,.95));
}

.select-menu-page .search-wrapper {
  margin: 0 auto;
  max-width: 1024px;
}

.select-menu-page .search-description {
  color: #fff;
  border-bottom: 1px solid #fff;
  padding: 20px 85px;
  font-size: 27px;
}

.select-menu-page .search-buttons-wrapper {
  display: flex;
  justify-content: space-between;
}

.select-menu-page .search-button {
  position: relative;
  width: 25%;
  text-align: center;
  padding: 20px 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  user-select: none;
  /* font-family: 'Roboto'; */
}

.select-menu-page .search-button-active::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0 auto;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent rgb(252, 252, 254) transparent;
}

.select-menu-page .meal-items {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 70px 0;
}

/* .select-menu-page .meal-item.ng-leave {
  transition: all 1s ease;
  opacity: 1;
}

.select-menu-page .meal-item.ng-leave.ng-leave-active {
  opacity: 0;
} */

.select-menu-page .meal-item {
  position: relative;
  perspective: 1000px;
  width: 31%;
  /* margin-right: 3.5%; */
  margin-bottom: 35px;
}

.select-menu-page .meal-item-title {
  position: absolute;
  z-index: 1;
  width: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.select-menu-page .meal-item-title h2 {
  transition: all 0.4s ease;
  transform: translateX(0px);
  text-align: center;
  text-transform: capitalize;
  padding: 5px 0;
  color: #fff;
  background: rgba(29, 29, 31, 0.7);
}

/* .select-menu-page .meal-item:nth-child(3n + 3) {
  margin-right: 0;
} */

.select-menu-page .meal-item-img {
  overflow: hidden;
}

.select-menu-page .meal-item img{
  width: 100%;
  transition: all 0.4s ease;
  transform: translateX(0px);
}

.select-menu-page .meal-item-ingredients {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: rgba(29, 29, 31,0.95);
  transition: all 0.3s ease;
  transform: rotateY(280.3deg);
  transform-origin: 0 50%;
  color: #fff;
  padding: 12px;
}

.select-menu-page .meal-item-ingredients h3 {
  margin: 5px;
}

.select-menu-page .meal-item-ingredients li {
  font-size: 15px;
  font-family: 'Roboto';
  margin: 10px 5px;
}

.select-menu-page .meal-item:hover .meal-item-ingredients{
  transform: rotateY(360deg);
}

.select-menu-page .meal-item:hover img{
  transform: translateX(50px);
}

.select-menu-page .meal-item:hover .meal-item-title h2{
  transform: translate3d(0, -100%, 0);
  opacity: 0;
}

.selected-meals-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
}

.selected-meals {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 281px;
  background-color: #1D1D1F;
  padding: 50px;
  padding-top: 100px;
  transition: all 0.6s cubic-bezier(.645,.045,.355,1);
  transform: translateX(281px);
}
/* select-menu-page */

/* add-item-page */
.add-item-page {
  background: #F1F1F5;
}

.add-item-page .form-wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: 70px 0;
}

.add-item-page form {
  padding: 50px;
  background: #FCFCFE;
  box-shadow: 0 0 22px #cacaca;
  text-align: center;
}

.add-item-page form h2 {
  text-align: center;
  letter-spacing: 0.5px;
  color: #1D1D1F;
}

.add-item-page form input, .add-item-page form select {
  width: 80%;
  margin: 15px 0;
  background-color: #F1F1F5;
  height: 35px;
  border: none;
  box-shadow: inset 0 0 8px #cacaca;
  padding: 0 10px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  outline: none;
}

.add-item-page form .ingredient-wrapper input {
  width: 80%;
  margin-left: 5%;
}

.add-item-page form .ingredient-wrapper span {
  width: 5%;
  font-size: 22px;
  opacity: .4;
  transition: all .3s ease;
  cursor: pointer;
}

.add-item-page form .ingredient-wrapper span:hover {
  opacity: .8;
}

.add-item-page form button {
  display: inline-block;
  width: 150px;
  height: 35px;
  border: none;
  box-shadow: 0 0 5px #cacaca;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  margin: 15px 0;
  cursor: pointer;
  background: rgba(29, 29, 31,.85);
  color: #fff;
  outline: none;
}
/* add-item-page */
