.welcome {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background-color: #337eca;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  color: #fff;
  transition: all 2s ease-in;
  opacity: 0;
  transform: translateY(-100%);
}

.welcome.active {
  transform: translateY(0);
  opacity: 1;
}

.welcome.hide {
  top: -100%;
  opacity: 0;
}

.welcome h2 {
  font-size: 2.4rem;
  font-family: var(--sacramento);
  font-weight: 400;
}

.welcome figure {
  display: inherit;
  align-items: inherit;
  justify-content: inherit;
  flex-direction: inherit;
  margin: 1rem 0;
}

.welcome figure img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 2px solid #fff;
}

.welcome figure figcaption {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
  margin-top: 0.5rem;
}

.welcome p span {
  font-size: 2rem;
  margin: 1rem 0;
  display: block;
}

.welcome button {
  display: inherit;
  align-items: inherit;
  justify-content: inherit;
  gap: 0.4rem;
  color: #000;
  padding: 0.5rem 1rem;
  border: none;
  transition: var(--transition-small);
  border-radius: 15px;
  cursor: pointer;
}

.welcome button:hover {
  color: #fff;
  background-color: #000;
}

.welcome button i {
  font-size: 1.2rem;
}

/* Media queries untuk responsive */
@media (max-width: 768px) {
  .welcome h2 {
    font-size: 2rem;
  }

  .welcome figure h1 {
    font-size: 2.5rem !important;
  }

  .welcome button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .welcome h2 {
    font-size: 1.6rem;
  }

  .welcome figure h1 {
    font-size: 2rem !important;
    margin: 1.5rem 0 !important;
  }

  .welcome button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .welcome button i {
    font-size: 1rem;
  }
}
