@view-transition {
    navigation: auto;
}

html {
    background: #222;
}

body {
    height: 100vh;
    font-family: sans-serif;
    color: white;
    line-height: 1.5;
    letter-spacing: 1px;
    margin-top: 2rem;
    padding: 0;
    padding-top: 1rem;
    margin: 0;
    font-weight: bold;
    height: auto;
    text-align: center;
}

nav {
    display: block;
    text-align: center;
    margin-top: 2rem;
    text-transform: uppercase;
}

a {
    color:aliceblue;
    text-decoration: none;
    position: relative;
    margin: 1rem;
}

.border {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    width: calc(100% - 3px);
    height: 2px;
    background-color: darkorange;
    view-transition-name: navborder;
}