@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}
body {
    background-color: black;
    height: 100vh;
    margin: 0px;
    overflow: hidden;
    position: relative;
    text-align: center;


  }
  h1{
    color: #ffffff;
    font-size: 10vw;
    font-family: 'Playfair Display', serif;
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .text{
    color:#ffffff;
    position:absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .image {
    width: 40vmin;
    position: absolute;
    transform: translate(-50%, -50%);
    position:absolute;
  }
  
  .image[data-status="inactive"] {
    display: none;

  }
  
  .image[data-status="active"] {
    display: block;
    animation: scale 1s forwards;
  }
    h1{
        z-index: 50000;
    }
    .image{
        z-index: 0;
    }

    h1{
        top: 50%;
        left: 50%;
    }

  body {
	background: #000000;
	background-size: 400% 400%;
	height: 100vh;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes scale {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
    
  }

  html, body {
    overflow-x: hidden;
  }
  body {
    position: relative
  }
  
