@charset "utf-8";

@view-transition {
    navigation: auto;
}
/* Create a custom animation */
@keyframes view-out {
    from {
        transform: translateY(0%);
        opacity: 1;
    }
    to {
        transform: translateY(-20%);
        opacity: 0;
    }
}

@keyframes view-in {
    from {
        transform: translateY(20%);
        opacity: 0;
    }
    to {
        transform: translateY(0%);
        opacity: 1;
    }
}

/* Apply the custom animation to the old and new page states */
::view-transition-old(root) {
    animation: 0.32s ease-out both view-out;
}

::view-transition-new(root) {
    animation: 0.32s ease-out both view-in;
}