.welcome {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    color: var(--on-primary-color);
    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 var(--on-primary-color);
}

.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;
    padding-bottom: 1rem;
}

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

.welcome button:hover {
    color: var(--on-primary-color);
    background-color: var(--primary-color);
    animation: none;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

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

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    animation: bounceHint 2s infinite;
}

.scroll-hint i {
    font-size: 24px;
}

@keyframes bounceHint {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}