.iphone-display {
  display: flex;
  justify-content: center;
  background: #b1d135;
  margin: 15px 0 0;
}
.iphone-display .swipe, .iphone-display .swipe-nav {
  display: none;
}
.iphone-display__img {
/*  background: url("https://cdn8.classpass.com/dist/details-iphone.b4c9a9673340b8bf6665d12d44bd2010.png") 50% 4px no-repeat; */
  min-height: 700px;
  min-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iphone-display__img__wrapper {
  width: 260px;
  height: 462px;
  overflow: hidden;
  position: relative;
}
.iphone-display__img__image {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: ease 0.3s;
}
.iphone-display__img__image.active {
  opacity: 1;
}
.iphone-display__txt {
  font-family: Avenir;
  display: flex;
  align-items: center;
}
.iphone-display__txt ul {
  padding: 0;
}
.iphone-display__txt__block {
  list-style-type: none;
  cursor: pointer;
  margin: 0;
  padding-bottom: 2rem;
}
.iphone-display__txt__block h3 {
  font-weight: bold;
  opacity: 0.6;
  margin: 0;
  padding-bottom: 0.5rem;
  transition: ease 0.3s;
}
.iphone-display__txt__block p {
  opacity: 0.8;
  margin: 0;
  font-size: 0.85rem;
  width: 25rem;
  text-align: justify;
  transition: ease 0.3s;
}
.iphone-display__txt__block.active h3 {
  opacity: 1;
  color: #fff;
}
.iphone-display__txt__block.active p {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .iphone-display {
    display: block;
  }
  .iphone-display .swipe-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .iphone-display .swipe-nav__prev, .iphone-display .swipe-nav__next {
    font-size: 2.5rem;
    opacity: 0.2;
    cursor: pointer;
  }
  .iphone-display .swipe-nav__prev:hover, .iphone-display .swipe-nav__next:hover {
    color: #fff;
    opacity: 0.9;
  }
  .iphone-display .swipe-nav__position {
    text-align: center;
    display: flex;
    align-items: center;
    margin: 0 1rem;
  }
  .iphone-display .swipe-nav__position__dot {
    display: inline-block;
    height: 9px;
    width: 9px;
    border-radius: 50%;
    background-color: black;
    opacity: 0.15;
    margin: 0 3px;
    cursor: pointer;
  }
  .iphone-display .swipe-nav__position__dot.active {
    background-color: #fff;
    opacity: 0.9;
  }
  .iphone-display__img {
    min-height: 450px;
    min-width: 0;
    background-size: 335px auto;
/*    margin: 0 auto 1rem;  */
  }
  .iphone-display__img__wrapper {
    display: none;
  }
  .iphone-display__img .swipe {
    display: block;
/*    height: 355px; */
    width: 200px;
    overflow: hidden;
    visibility: hidden;
    position: relative;
  }
  .iphone-display__img .swipe .swipe-wrap {
    overflow: hidden;
    position: relative;
  }
  .iphone-display__img .swipe .swipe-wrap > img {
    float: left;
    width: 100%;
    position: relative;
  }
  .iphone-display__txt {
    margin-bottom: 1rem;
  }
  .iphone-display__txt ul {
    display: none;
  }
  .iphone-display__txt .swipe {
    display: block;
    overflow: hidden;
    visibility: hidden;
    position: relative;
  }
  .iphone-display__txt .swipe .swipe-wrap {
    overflow: hidden;
    position: relative;
  }
  .iphone-display__txt .swipe .swipe-wrap > div {
    float: left;
    width: 100%;
    position: relative;
    font-family: Avenir;
    text-align: center;
  }
  .iphone-display__txt .swipe .swipe-wrap > div h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: bold;
  }
  .iphone-display__txt .swipe .swipe-wrap > div p {
    font-size: 0.85rem;
    margin: 0 auto;
    max-width: 30rem;
  }
}
.background-bottom{
    background-image: url(background.png);
    background-size: contain;
    margin-top: -1px;
    height: 40px;
}