body {
    background-color: white;
    margin: 0;
}

a {
    position: relative
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav {
    width: 99%;
    padding: 10px 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav img {
    width: 150px;
}

nav a {
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    user-select: none;
    font-family: "Google Sans";
    font-weight: 500;
    font-size: 1.2em;
}

nav div[mathsleaf-type="links"],
nav div[mathsleaf-type="account"] { /* classes suck */
    display: flex;
    align-items: center;
    gap: 25px;
}
