nav {
    position: fixed;
    bottom: 2em;
    left: 2em;
    right: 2em;
}

nav a {
    font-size: 1.25em;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    padding: 1em;
    display: inline-block;
    border-radius: 30%;
    background-color: lavenderblush;
}

a.next {
    position: absolute;
    right: 0;
}

nav a:hover {
    background-color: gray;
}

body.home a {
    font-size: 1.25em;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    padding: 1em;
    display: inline-block;
    border-radius: 30%;
    background-color: lavenderblush;
    margin-right: 0.5px;
    margin-left: 0.5px;
}

#grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    justify-items: center;
    margin-top: 30px;
}

#grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 165px;
    height: 165px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: pink;
    clip-path: polygon(50% 0%,
            61% 35%,
            98% 35%,
            68% 57%,
            79% 91%,
            50% 70%,
            21% 91%,
            32% 57%,
            2% 35%,
            39% 35%);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

#grid a:hover {
    background: hotpink;
    transform: scale(1.1) rotate(5deg);
}