#slide2 {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0s;
}

#slide2.slide-enter {
  animation: slide2-reveal 1.2s ease forwards;
}

@keyframes slide2-reveal {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

.slide2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.slide2-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  animation: flash-in 0.6s ease forwards;
}

@keyframes flash-in {
  0% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

.slide2-scanline {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(11, 139, 209, 0.08) 50%,
      transparent 100%);
  background-size: 100% 8px;
  animation: scanline-sweep 1s ease-out forwards;
  pointer-events: none;
}

@keyframes scanline-sweep {
  0% {
    transform: translateY(-100%);
    opacity: 1;
  }

  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.slide2-logo-wrap {
  position: absolute;
  left: 15vw;
  bottom: 25vh;
  z-index: 10;
  display: flex;
  align-items: center;
}

.slide2-logo {
  max-width: min(340px, 34vw);
  height: auto;
  object-fit: contain;
  animation: logo-breathe 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes logo-breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* 1024×768 – iPad 9.7, mini, Air, Nexus 9 */
@media (min-width: 1024px) and (max-width: 1025px) and (max-height: 768px) {
  .slide2-logo-wrap {
    left: 154px;
    bottom: 192px;
  }
}

/* 1024×600 – Samsung Tab 7", Kindle Fire, Blackberry */
@media (min-width: 1024px) and (max-width: 1025px) and (max-height: 600px) {
  .slide2-logo-wrap {
    left: 150px;
    bottom: 120px;
  }
}

/* 960×600 – Nexus 7 v2, LG G Pad */
@media (min-width: 960px) and (max-width: 961px) and (max-height: 600px) {
  .slide2-logo-wrap {
    left: 144px;
    bottom: 122px;
  }
}

/* 966×604 – Nexus 7 v1 */
@media (min-width: 966px) and (max-width: 967px) and (max-height: 604px) {
  .slide2-logo-wrap {
    left: 145px;
    bottom: 116px;
  }
}

/* 1280×800 – Samsung Tab 10", Kindle HD 8.9, Nexus 10 */
@media (min-width: 1280px) and (max-width: 1281px) and (max-height: 800px) {
  .slide2-logo-wrap {
    left: 240px;
    bottom: 180px;
  }

  .slide2-logo {
    max-width: min(370px, 34vw)
  }
}

/* 1280×720 – Surface Pro, Surface Pro 2 */
@media (min-width: 1280px) and (max-width: 1281px) and (max-height: 720px) {
  .slide2-logo-wrap {
    left: 240px;
    bottom: 150px;
  }
}

/* 1366×1024 – iPad Pro, Surface */
@media (min-width: 1366px) and (max-width: 1367px) and (max-height: 1024px) {
  .slide2-logo-wrap {
    left: 230px;
    bottom: 256px;
  }

  .slide2-logo {
    max-width: min(425px, 34vw)
  }
}

/* 1366×768 – Surface */
@media (min-width: 1366px) and (max-width: 1367px) and (max-height: 768px) {
  .slide2-logo-wrap {
    left: 242px;
    bottom: 150px;
  }
}

/* 1440×1024 – Surface Pro 3 */
@media (min-width: 1440px) and (max-width: 1441px) and (max-height: 1024px) {
  .slide2-logo-wrap {
    left: 221px;
    bottom: 247px;
  }

  .slide2-logo {
    max-width: min(460px, 34vw)
  }
}

/* 800×480 – Kindle Fire HD 7 */
@media (min-width: 800px) and (max-width: 801px) and (max-height: 480px) {
  .slide2-logo-wrap {
    left: 115px;
    bottom: 90px;
  }
}

/* 2560×1600 – Google Nexus */
@media (min-width: 2560px) and (max-width: 2561px) and (max-height: 1600px) {
  .slide2-logo-wrap {
    left: 430px;
    bottom: 320px;
  }

  .slide2-logo {
    max-width: min(800px, 34vw)
  }
}