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

.welcome-bg-left,
.welcome-bg-right {
    position: absolute;
    bottom: 0;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
}

.welcome-bg-left {
    left: 0;
    height: 104vh;
}

.welcome-bg-right {
    right: 0;
    height: 96vh;
}

.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(74, 55, 40, 0.85) 0%,
        rgba(74, 55, 40, 0.3) 25%,
        rgba(74, 55, 40, 0) 50%,
        rgba(74, 55, 40, 0.3) 75%,
        rgba(74, 55, 40, 0.85) 100%
    );
}

.welcome h2,
.welcome figure,
.welcome p,
.welcome button {
    position: relative;
    z-index: 2;
}

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

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

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

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

.welcome figure img {
    width: 12rem;
    max-width: 60vw;
    height: auto;
    object-fit: contain;
}

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

.welcome button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffb95c;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid #ffb95c;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.welcome button:hover {
    color: var(--primary-font-color);
    background-color: #ffb95c;
}

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