@view-transition {
	navigation: auto;
}

::view-transition-group(*) {
	animation-duration: 0.6s;
}

::view-transition-old(root) {
	animation: old 1.5s forwards;
}

::view-transition-new(root) {
	animation: new 1s forwards;
}

@keyframes old {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(2.8);
	}
}

@keyframes new {
	from {
		transform: translateX(100%);
	}
	to {
        transform: translateX(0);
    }

}