.app-zoom-on-scroll {
  max-width: 1920px;
}

.app-zoom-on-scroll div.zoom-out {
  overflow: hidden;
  height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-zoom-on-scroll .phone > div > img {
  transform-origin: center;
    position: relative;
    width: auto;
    min-height: 500px;
    max-width: 100%;
    margin: auto;
  
}

.app-zoom-on-scroll .fadebox>div:nth-child(2) {
  max-width: 700px;
  min-height: 90px;
  display: flex;
  justify-content: center;
}

.app-zoom-on-scroll .fadebox>div:nth-child(2) > .fade {
  opacity: 0;
  position: absolute;
  width: 100%;
  transition: opacity .3s ease-in-out;
}

.app-zoom-on-scroll .fadebox>div:nth-child(2) > .fade.show {
  opacity: 1;
}

.app-zoom-on-scroll .buttons {
  display: flex;
}

.app-zoom-on-scroll button {
  border: none;
  background-color: transparent;
  transition: transform .3s ease-in-out;
  opacity: .5;
  outline: none;
}


.app-zoom-on-scroll button.active {
  opacity: 1;
}

.app-zoom-on-scroll button:hover {
  transform: scale(1.1);
}

@media (min-width: 1921px) {
  .app-zoom-on-scroll div.zoom-out {
    border-radius: 28px;
  }
}

@media (max-width: 992px) {
  .app-zoom-on-scroll .phone > div > img {
    width: max(50vw, 500px);
    height: auto;
    min-height: auto;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .app-zoom-on-scroll div.zoom-out {
      height: 250px;

  }
}

