@view-transition {
    navigation: auto;
}

::view-transition {
    background: #0B0B0D;
}

main {
    view-transition-name: main-content;
}

::view-transition-old(main-content) {
    animation: content-out 0.18s ease-in both;
}

::view-transition-new(main-content) {
    animation: content-in 0.35s cubic-bezier(0, 0, 0.2, 1) both;
}

@keyframes content-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes content-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
