.intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;

    background: transparent;

    z-index: 10;
}

.letter {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.letter-up,
.letter-down {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 2s ease-in-out;
}

.letter-up {
    z-index: 2;
}

.letter-down {
    z-index: 1;
}

.intro-content {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 3rem 0 8rem 0;
    font-family: var(--font-content);
    font-style: italic;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.intro.content-hidden .intro-content {
    opacity: 0;
}

.intro.letter-opened .letter-up {
    transform: translateY(-100%);
}

.intro.letter-opened .letter-down {
    transform: translateY(100%);
}

.intro-content h2 {
    font-size: 1.1rem;
}

.intro-content h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.intro a {
    display: inline-block;
    font-family: var(--font-content);
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--color-light);
    background-color: var(--color-button);
    padding: 0.5rem;
    transform: scale(1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.intro i {
    margin-right: 5px;
}