.intro {
    position: absolute;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    background: linear-gradient(rgba(0,0,0,0.3)), url(../img/intro.jpg?v=202608111516);
    background-position: center;
    background-size: cover;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 3rem 0;
    font-family: var(--font-content);
    color: var(--color-light);
}

.intro h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.intro h1 {
    font-family: var(--font-display);
    font-size: 3rem;
}

.intro p {
    font-size: 1.2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.intro a {
    display: inline-block;
    font-family: var(--font-content);
    font-size: 1rem;
    /* text-transform: uppercase; */
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--color-contrast);
    background-color: var(--color-light);
    padding: 0.5rem;
    transform: scale(1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.intro a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.intro a:active {
    transform: scale(0.96);
}

.intro i {
    margin-right: 5px;
}

@keyframes introSlideUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
}

@keyframes homeSlideUp {
    0%   { transform: translateY(100vh); }
    100% { transform: translateY(0); }
}

/* animasi keluar */
.intro.slide-out {
    animation: introSlideUp 1200ms ease-in-out forwards;
}

