/* Reveal Effect Styles */
#header {
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

#header.image-loaded .reveal {
  animation: reveal 3s ease 0s;
  animation-fill-mode: forwards;
}

#header.image-loaded .logo {
  animation: logoReveal 0.75s 2.25s ease;
  animation-fill-mode: forwards;
}

#header.image-loaded h1,
#header.image-loaded p {
  animation: textReveal 0.8s 3.2s ease;
  animation-fill-mode: both;
}

#header.image-loaded .container-effect {
  animation: pop 0.25s 3.05s ease;
}

.container-effect {
  border-radius: 100%;
  height: 25vh;
  width: 25vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.container-effect div {
  height: 100%;
  width: 100%;
  background-color: transparent;
  position: absolute;
  border-radius: 100%;
}

.container-effect div:nth-of-type(1) {
  bottom: 40%;
  right: 80%;
}

.container-effect div:nth-of-type(2) {
  bottom: 40%;
  left: 40%;
}

.container-effect div:nth-of-type(3) {
  top: 70%;
  right: 80%;
}

.container-effect div:nth-of-type(4) {
  top: 70%;
  left: 40%;
}

.reveal {
  height: 100%;
  width: 100%;
  background: linear-gradient(60deg, 
    rgba(0, 0, 0, 0.7), 
    rgba(0, 0, 0, 0.7) 35%, 
    rgba(0, 0, 0, 0.5) 42%, 
    rgba(0, 0, 0, 0.2) 47%, 
    rgba(0, 0, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0.2) 53%, 
    rgba(0, 0, 0, 0.5) 58%, 
    rgba(0, 0, 0, 0.7) 65%);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  background-size: 200% 100%;
  z-index: 3;
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 2;
  opacity: 0.3;
}

#header h1,
#header p {
  position: relative;
  z-index: 4;
  opacity: 0;
}

@keyframes pop {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes reveal {
  0% {
    background-position: -200% 0;
  }
  75% {
    background-position: 100% 0;
    opacity: 1;
  }
  100% {
    background-position: 100% 0;
    opacity: 0;
  }
}

@keyframes logoReveal {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}