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

  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: white;
  }

  body{
    height: 100%;
    width: 100%;
    background-image: url(images/main.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }
  body::after{
    content: "";;
    position: absolute;
    background: black;
    width: 100%;
    height: 510vh;
    top: 0;
    left: 0;
    opacity: 0.5;
  }

  .title{
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 1.2rem;
    opacity: 0;
  }

  .title.active{
    opacity: 1;
    transition: all 3s;
  }

  section{
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
  }

  .img-wrap{
    position: relative;
    top: 40%;
    height: 40%;
    width: 1px;
    overflow: hidden;
    opacity: 0;
  }

  .img-wrap.active{
    width: 40vw;
    opacity: 1;
    transition: opacity 1s, width 2s;
  }

  .img{
    position: absolute;
    top:0;
    left: 0;
    width: 40vw;
    height:100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.6);
  }

  .img-wrap.title.active > .img{
    transform: scale(1);
    transition: 1s ease-out;
  }

  h2{
    position: absolute;
    font-size: 2.3rem;
    top: 70%;
    z-index: 2;
    letter-spacing: 2px;
    opacity: 0;
    transition: all 0.2ms;
  }

  h2.active{
    opacity: 1;
    transition: opacity 3s;
  }

  footer{
    text-align: center;
    font-size: 12px;
    margin: 5px auto;
  }