/*
Template Name: Foodmart - Food & Grocery Delivery Mobile Template
Author: Askbootstrap
Author URI: https://themeforest.net/user/askbootstrap
Version: 0.1
*/

/*
- Mobile Design
- Header Logo
- Demo Slider
- Media Mobile
*/

/* Mobile Design */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideAndHide {
  0% {
    transform: translateX(0);
  }
  /* 50% {
    transform: translateX(100%);
  } */
  100% {
    transform: translateX(400px);
    opacity: 0;
    /* display: none; */
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes tree {
  0%   { transform: translate(1350px); }
  50% {}
  100% { transform: translate(-50px); }
}
@keyframes tree2 {
  0%   { transform: translate(650px); }
  50% {}
  100% { transform: translate(-50px); }
}
@keyframes tree3 {
  0%   { transform: translate(2750px); }
  50% {}
  100% { transform: translate(-50px); }
}

@keyframes rock {
  0%   { right: -200px; }
  100% { right: 2000px; }
}
@keyframes truck {
  0%   { }
  6%   { transform: translateY(0px); }
  7%   { transform: translateY(-6px); }
  9%   { transform: translateY(0px); }
  10%   { transform: translateY(-1px); }
  11%   { transform: translateY(0px); }
  100%   { }
}
@keyframes wind {
  0%   {  }
  50%   { transform: translateY(3px) }
  100%   { }
}
@keyframes mtn {
  100% {
    transform: translateX(-2000px) rotate(130deg);
  }
}
@keyframes moveright {
 
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(400px);
  }
}

@keyframes hill {
  100% {
    transform: translateX(-2000px);
  }
}
body { 
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}

#description{
  position: relative;
  left: 0;
  display: none;
  color: yellow;

}

.loop-wrapper {
  margin-left: 0 auto;
  position: relative;
  display: block;
  width: 80%;
  height: 80px;
  overflow: hidden;
  border-bottom: 3px solid #fff;
  color: #fff;
  animation: fadeIn 4s forwards, slideAndHide .8s 1.5s forwards ;

}
.mountain {
  position: absolute;
  right: -900px;
  bottom: -20px;
  width: 2px;
  height: 2px;
  box-shadow: 
    0 0 0 50px #4DB6AC,
    60px 50px 0 70px #4DB6AC,
    90px 90px 0 50px #4DB6AC,
    250px 250px 0 50px #4DB6AC,
    290px 320px 0 50px #4DB6AC,
    320px 400px 0 50px #4DB6AC
    ;
  transform: rotate(130deg);
  animation: mtn 20s linear infinite ;
}
.hill {
  position: absolute;
  right: -900px;
  bottom: -50px;
  width: 400px;
  border-radius: 50%;
  height: 20px;
  box-shadow: 
    0 0 0 50px #4DB6AC,
    -20px 0 0 20px #4DB6AC,
    -90px 0 0 50px #4DB6AC,
    250px 0 0 50px #4DB6AC,
    290px 0 0 50px #4DB6AC,
    620px 0 0 50px #4DB6AC;
  animation: hill 4s 2s linear infinite;
}
.tree, .tree:nth-child(2), .tree:nth-child(3) {
  position: absolute;
  height: 100px; 
  width: 35px;
  bottom: 0;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130015/tree.svg) no-repeat;
}
.rock {
  margin-top: -17%;
  height: 2%; 
  width: 2%;
  bottom: -2px;
  border-radius: 20px;
  position: absolute;
  background: #ddd;
}
.truck, .wheels {
  transition: all ease;
  width: 85px;
  margin-right: -60px;
  bottom: 0px;
  left: 0px;
  position: absolute;
  background: #eee;
  animation: moveright 1s 1s linear infinite;
}
.truck {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130015/truck.svg) no-repeat;
  background-size: contain;
  height: 60px;
}
.truck:before {
  content: " ";
  position: absolute;
  width: 25px;
  box-shadow:
    -30px 28px 0 1.5px #fff,
     -35px 18px 0 1.5px #fff;
}
.wheels {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130015/wheels.svg) no-repeat;
  height: 15px;
  margin-bottom: 0;
}

.tree  { animation: tree 3s 0.000s linear infinite; }
.tree:nth-child(2)  { animation: tree2 2s 0.150s linear infinite; }
.tree:nth-child(3)  { animation: tree3 8s 0.050s linear infinite; }
.rock  { animation: rock 4s   -0.530s linear infinite; }
/* .truck  { animation: truck 4s   0.080s ease infinite; }
.wheels  { animation: truck 4s   0.001s ease infinite; } */
.truck:before { animation: wind 1.5s   0.000s ease infinite; }

.heading{
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.5s; /* Delay of 2 seconds */
}


.hidden {
  display: none;
}

.phone-screen {
    width: 390px;
    position: relative;
    animation: slideUp 1s forwards;

  }
 
  .iframe {
    width: 390px;
    height: 732px;
    background: #fe9063;
    border: 10px solid #fe9063;
    display: flex;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 45px;
    transition: all 0.5s;
  }
  .iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  .volume.style-2 {
    box-shadow: 0px 85px 0 0px #fe9063;
    background-color: #fe9063;
    top: 120px;
    left: -7px;
    width: 7px;
    height: 66px;
  }
  .volume {
    content: "";
    position: absolute;
    background-color: #2c3f6d;
    top: 70px;
    left: -5px;
    border-radius: 10px 0 0 10px;
    box-shadow: 0px 60px 0 0px #2c3f6d;
    width: 5px;
    height: 45px;
  }
  .switch.style-2 {
    top: 120px;
    height: 100px;
    background-color: #fe9063;
    width: 6px;
    right: -6px;
  }
  .switch {
    content: "";
    position: absolute;
    background-color: #2c3f6d;
    top: 70px;
    right: -5px;
    border-radius: 0 10px 10px 0;
    width: 5px;
    height: 65px;
  }
  
  /* Header Logo */
  .logo {
    height: 100px;
  }
  .demo-sticky-right {
    width: 170px;
  }
  .icon-envato {
    height: 18px;
  }
  .elite-logo {
    height: 50px;
  }
  
  /* Demo Slider */
  .demo-slider.slick-initialized {
    display: unset;
  }
  .demo-slider {
    display: none;
  }
  .demo-slider button:after,
  .demo-slider button:before {
    font-family: "Rubik";
    color: #000;
    font-size: 27px;
  }
  .demo-slider button {
    position: absolute;
    top: -16px;
    right: 4px;
  }
  .demo-slider button.slick-prev.slick-arrow {
    left: auto;
    right: 40px;
  }
  
  /* Media Mobile */
  @media (max-width: 576px) {
    .demo-sticky-right{
        display: none;
    }
    .phone-screen {
        width: 100%;
    }
    .iframe {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0px;
    }
    .container.px-lg-5 {
        padding: 0px !important;
    }
    .style-2 {
        display: none;
    }
    .demo-section-demo {
        padding: 0px !important;
    }
    .row.align-items-center.vh-100 {
        margin: 0px !important;
    }
  }
  @media (max-width: 768px) { 
    .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 100%;
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
  }
  @media (max-width: 992px) {
    .demo-section-intro{
      display: none;
    }
  }
  @media (min-width: 992px) {
      .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 100%;
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
    br {
      display: none;
    }
  }
  @media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 100%;
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
  }
  @media (min-width: 1400px) {
      .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
          max-width: 1260px;
      }
  }
  
  