html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 1rem;
    background: repeating-linear-gradient(
        -60deg,
        #f3f3f3,
        #f3f3f3 15px,
        #e8e8e8 15px,
        #e8e8e8 20px
    );
}

.login-card-header {
    min-width: 420px;
}

.devices-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: max(130px, 2vw);
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.marvel-device {
    flex: 0 0 auto;
    position: relative;
}

.marvel-device::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: -18px;
    height: 24px;
    background: rgba(0, 0, 0, 0.35);
    filter: blur(24px);
    z-index: -1;
}

.marvel-device.iphone8plus {
    zoom: 0.75;
}

.marvel-device .screen {
    width: 100%;
    height: 100%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.marvel-device .screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.device-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.device-title {
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 600;
    color: #999;
    text-align: center;
    white-space: nowrap;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.instructions {
    margin-bottom: 32px;
}

.screen-size-overlay {
  position: fixed;
  inset: 0;
  z-index: 1055; /* higher than Bootstrap modals */
  display: none;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
}

.overlay-message {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.demo-alert {
    max-width: 420px;
}

/* Activate overlay when screen is too small */
/* Update message in HTML if you change the values below */
@media (max-width: 1599px), (max-height: 949px) {
  .screen-size-overlay {
    display: block;
  }

  body {
    overflow: hidden;
  }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}