@keyframes screen-move-1 {
  0% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-100%);
  }
  85% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes screen-move-2 {
  0% {
    transform: translateX(100%);
  }
  35% {
    transform: translateX(100%);
  }
  50% {
    transform: translateX(0);
  }
  85% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (min-width: 768px) {
  .max {
    display: block !important;
  }
  .min {
    display: none !important;
  }
  .banner {
    position: relative;
    width: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    overflow: hidden;
    /* margin-top: 40px; */
    padding-top: 63.021%;
    background-image: url(../../image/download/parent_assistant/bg.jpg);
  }
  .banner .screen-wrapper {
    position: absolute;
    left: 24.8vw;
    top: 14.15vw;
    z-index: 1;
    width: 14.48vw;
    height: 32vw;
    border-radius: 1.7vw;
    overflow: hidden;
    /* background-color: rgba(255,0,0,0.5); */
  }
  .banner .screen-wrapper .screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .banner .screen-wrapper .screen-1 {
    animation: screen-move-1 5s infinite;
  }
  .banner .screen-wrapper .screen-2 {
    transform: translateX(100%);
    animation: screen-move-2 5s infinite;
  }
  .banner .screen-top {
    position: absolute;
    top: -0.1vw;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
  }
  .banner .screen-bottom {
    position: absolute;
    left: 24.8vw;
    top: 14.15vw;
    z-index: 5;
    width: 14.48vw;
    height: 32vw;
  }
  .banner .text {
    position: absolute;
    left: 44.27vw;
    top: 23.85vw;
    z-index: 10;
  }
  .banner .text .title_1 {
    margin-bottom: 1.72vw;
    font-size: 3.13vw;
    font-weight: 700;
    line-height: 1;
    color: #fff;
  }
  .banner .text .title_2 {
    margin-bottom: 3.8vw;
    font-size: 2.19vw;
    line-height: 1;
    color: #fff;
  }
  .banner .text .download-wrapper {
    display: flex;
    align-items: flex-start;
  }
  .download-wrapper .download-item {
    width: 8.65vw;
    margin-right: 0.73vw;
    background-color: #fff;
    border-radius: 1.15vw;
    cursor: pointer;
  }
  .download-item .platform {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.47vw 0;
    font-size: 0.83vw;
    line-height: 1;
    color: #333;
  }
  .download-item .platform .platform-icon {
    width: auto;
    height: 1.41vw;
    margin-right: 0.47vw;
  }
  .download-item .code-wrapper {
    display: none;
    padding: 0.57vw 0.83vw;
    overflow: hidden;
  }
  .download-item:hover > .code-wrapper {
    display: block;
  }
  .download-item .code-wrapper .code {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 767px) {
  .max {
    display: none !important;
  }
  .min {
    display: block !important;
  }

  .container {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .container .icon-app {
    margin-top: 20.53vw;
    width: 26vw;
    height: 26vw;
  }
  .container .title_1 {
    margin-top: 8.4vw;
    font-size: 5.33vw;
    font-weight: 700;
    line-height: 1;
    color: #333;
    text-align: center;
  }
  .container .title_2 {
    margin-top: 4vw;
    font-size: 4vw;
    line-height: 1;
    color: #666;
    text-align: center;
  }
  .container .btn {
    border: none;
    outline: none;
    margin-top: 10.67vw;
    width: 78.67vw;
    height: 13.33vw;
    line-height: 13.33vw;
    text-align: center;
    font-size: 4vw;
    background-color: #e60b11;
    font-size: 4vw;
    color: #fff;
    border-radius: 6.67vw;
  }
  .container .btn:active {
    opacity: 0.7;
  }
}