:root {
  --slides: 9;
  --slide-duration: 2000ms;
}
  
/* Slideshow Images START */
.phone-slideshow-list li {
  width: 100%;
  height: 100%;
  font-size: 5em;
  position: relative;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.phone-slideshow-list li:nth-child(1) {
  background-image: url('https://www.goodwall.io/sandbox/wp-content/uploads/sites/5/2021/05/iphonex-black.png');
 
}

.phone-slideshow-list li:nth-child(2) {
  background-image: url('../assets/1-signup.jpg');
}

.phone-slideshow-list li:nth-child(3) {
  background-image: url('../assets/4-login_page.jpg');
}

.phone-slideshow-list li:nth-child(4) {
  background-image: url('../assets/8-drawer_page.jpg');

}

.phone-slideshow-list li:nth-child(5) {
  background-image: url('../assets/home-page.jpg');
}

.phone-slideshow-list li:nth-child(6) {
  background-image: url('../assets/18-my_profile_page.jpg');
}

 .phone-slideshow-list li:nth-child(7) {
  background-image: url('../assets/17-sevices-page.jpg');
  
}

.phone-slideshow-list li:nth-child(8) {
  background-image: url('../assets/20-about_us_page.jpg');
}

.phone-slideshow-list li:nth-child(9) {
  background-image: url('../assets/14-track_application_detail.jpg');
}

.phone-slideshow-list li:nth-child(10) {
  background-image: url('https://www.goodwall.io/sandbox/wp-content/uploads/sites/5/2021/05/iphonex-black.png');
  
}
   
  
/* Slideshow Images END */

.phone-slideshow {
  width: 100%;
  height: auto;
  max-width: 264px;
  margin: auto;
  position: relative;
  display: table;
}
.phone-slideshow:before { /* Phone Template */
  content: "";
  display: block;
  width: 100%;
  height:0%;
  padding-bottom: 196.13%;
  background: #0002;
  background: transparent url('https://www.goodwall.io/sandbox/wp-content/uploads/sites/5/2021/05/iphonex-black.png') no-repeat 50% 50%;
  background-size: contain;
  position:absolute;
  top:0;
  left:0;
  z-index: 2;
}
.phone-slideshow .screen-mask {
  display: block;
  border: 5px solid  #0d0639;
  width: auto;
  height: 100%;
  margin: 3%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding-bottom: 0%;
  border-radius: 7%;
}


.phone-slideshow-list {
  list-style: none;
  position: absolute;
  top: 0;
  left: 0;
  display:block;
  width: calc(100% * var(--slides) );
  height: 100%;
  margin: 0;
  padding:0;
  display: flex;
  flex-direction: row;
  animation-name: phone-slideshow;
  animation-duration: calc(var(--slide-duration) * var(--slides));
  animation-iteration-count: infinite;
  animation-delay: 1s; 
  animation-timing-function: linear;
}

  .phone-slideshow-list li {
    display: block;
    width: calc(100% * var(--slides));
    width: 100%;
    height: 0%;
    padding-bottom: 23.75%;
    font-size: 5em;
    position: relative;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }

    .phone-slideshow-list li:first-child {
      z-index:-1;
      animation-name: first-loop;
      animation-duration: calc(var(--slide-duration) * var(--slides));
      animation-iteration-count: infinite;
      animation-delay: 1s; 

    }


@keyframes phone-slideshow {

  0%   {left: 0;}
  5.5% { left: calc(-100% * 1); }
  11% { left: calc(-100% * 1); }
  16.5% { left: calc(-100% * 2); }
  22% { left: calc(-100% * 2); }
  27.5% { left: calc(-100% * 3); }
  33% { left: calc(-100% * 3); }
  38.5% { left: calc(-100% * 4); }
  44% { left: calc(-100% * 4); }
  49.5% { left: calc(-100% * 5); }
  55% { left: calc(-100% * 5); }
  60.5% { left: calc(-100% * 6); }
  66% { left: calc(-100% * 6); }
  71.5% { left: calc(-100% * 7); }
  77% { left: calc(-100% * 7); }
  100% {left: calc(-100% * (var(--slides) - 2));}
}


@keyframes first-loop {
  0%   {left: 0;}
  47.99%  {left: 0; }
  48%  {left: calc( 100% ); }
  99.99%  {left: calc( 100% ); }
  100% {left: 0;}
}
@media only screen and (min-device-width: 280px) and (max-device-width: 740px) { 


  .phone-slideshow:before { /* Phone Template */
    content: "";
    display: block;
    width: 100%;
    height:0%;
    padding-bottom: 192.13%;
    background: #0002;
    background: transparent url('https://www.goodwall.io/sandbox/wp-content/uploads/sites/5/2021/05/iphonex-black.png') no-repeat 50% 50%;
    background-size: contain;
    position:absolute;
    top:0;
    left:0;
    z-index: 2;
  }
  .phone-slideshow .screen-mask {
    display: block;
    border: 5px solid  black;
    width: auto;
    height: 100%;
    margin: 3%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding-bottom: 0%;
    border-radius: 7%;
  }
  .phone-slideshow {
    width: 100%;
    height: auto;
    max-width: 264px;
    margin: auto;
    position: relative;
    display: table;
  }
}