@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    height: 100vh;
}

body {
    height: 20000px;
    background: #000; 
    font-family: 'Poppins', sans-serif;
}

canvas {
    position:fixed;
    left: 50%;
    top: 50%;
    height: 80vh;
    object-fit: contain;
    transform: translate(-50%, -50%);
    max-width: 100vw;
    max-height: 900px;
}

.legacy-img-content, .img-content {
    position: fixed;
    bottom: 15vh;
    width: 100%;
    z-index: 99;
    /* top: 1000px; */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    /* padding-top: 64px; */
    height: auto;
    opacity: 0;


    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    animation: 1000s linear infinite airpod-appear-anim;
    animation-delay: -1000s;

    text-rendering:optimizeLegibility;
}

.legacy-img-content {
    display: none;
}

.img-content p {
    margin-top: -20px;
    font-size: 1rem;
    margin-bottom: 32px;
}

@keyframes airpod-appear-anim {
    
    0% {
        /* display: block; */
        opacity: 0;
        transform: translateY(32px) matrix3d(2, 0, 0, 0, 0, 0.6, -1, -0.005, 0, 0, 1, 0, 0, 0, 0, 1);
        
    }
    
    20% {
        opacity: 1;
        transform: scale(.8) translate(0);
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
        /* display: none; */
    }


}

button {
    border-style: none;
    padding: 12px 24px;
    border-radius: 32px;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    background-color: #007AFF;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.fs-paragraph {
  color: #fff;
  position: fixed;
  width: 100vw;
  max-width: 400px;
  height: 100vh;
  padding: 64px;
  animation: 1000s linear infinite fs-paragraph;
  animation-delay: -0.5s;
  text-align: center;
}
.fs-paragraph p {
  z-index: 15;
  font-weight: 700;
  font-size: 2rem;
  color: #f8f8f850;
  line-height: 2.5rem;
  width: 100%;
  text-wrap: wrap;
}

.fs-paragraph p span {
  animation: 1000s linear infinite fs-paragraph-line;
  animation-delay: -1s;
}

.hero-lightpass {
  animation: 1000s linear infinite hero-lightpass;
  animation-delay: -0.5s;
}

@keyframes hero-lightpass {
  0% {
    opacity: 1; 
  }
  100% {
    opacity: 1;
  }
}

@keyframes fs-paragraph {
  0% {
    opacity: 0;
    transform: translateY(30%);
  }
  10% {
    opacity: 1;
    transform: translateY();
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-130%);
  }
}

@keyframes fs-paragraph-line {
  0% {
    color: #f8f8f850;
  }
  20% {
    color: #f8f8f8;
  }
  80% {
    color: #f8f8f8;
  }
  100% {
    color: #f8f8f850
  }
}