article {
    display: grid;
    grid-template-rows: 6.25rem 1fr;
    grid-template-columns: minmax(80px, 20%) 1fr;
    grid-template-areas:
        "header header"
        "aside details";
}

/* Header */
h1 {
    grid-area: header;
    line-height: 6.25rem;
    font-weight: bold;
    color: var(--color-bg);
    text-align: center;
}

/* Aside */
aside {
    grid-area: aside;
    position: relative;
}
aside > h3 {
    margin-top: 12px;
    margin-bottom: 6px;
    color: var(--color-beige);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
aside > ul {
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
    list-style-type: none;
}
aside li {
    position: relative;
    display: block;
    height: 40px;
    margin: 8px;
}
aside a {
    display: block;
    width: 100%;
    height: 35px;
    background-color: var(--color-beige);
    border: 10px transparent;
    border-radius: 10px;
    padding-top: 5px;

    color: var(--color-bg);
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}
aside a:hover {
    background-color: var(--color-bg);
    box-shadow: var(--color-shadow) 3px 3px 5px;
}
aside::after {
    content: '';
    position: absolute;
    inset: 10px -5px 0 100%;
    border-right: 2px solid var(--color-beige);
}

/* Sections */
.details {
    grid-area: details;
    position: relative;
}
section {
    display: none;
    position: relative;
    z-index: 100;
    min-width: 200px;
    min-height: 200px;
    margin: 10px;
    margin-left: 16px;
    padding: 10px;

    color: var(--color-bg);
    background-color: var(--color-beige);
    box-shadow: var(--color-shadow) 6px 6px 10px;
}
section:target { display: block; }
.default {
    position: absolute;
    z-index: 0;
    inset: 0;
    padding-top: 80px;

    color: var(--color-beige);
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

/* Elements in each section */
/* Title */
section > h2 {
    margin: 0;
    position: relative;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}
section > h2::before,
section > h2::after {
    content: "";
    position: absolute;
    top: 35%;
    border-top: 4px dotted var(--color-bg);
}
section > h2::before { left: 10%; right: 77.5%; }
section > h2::after { left: 77.5%; right: 10%; }

/* Flavor text */
section > h3 {
    margin: 0.5em 0.5em 0;
    padding: 0.5em 0;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    
    border: 1px solid var(--color-bg);
    border-left: none;
    border-right: none;
}

/* Links */
.links {
    margin-top: 2em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1em;
    font-size: 0.8rem;
}

.links > a {
    display: inline-block;
    border: 10px transparent;
    border-radius: 10px;
    padding: 16px;

    color: var(--color-black);
    text-decoration: none;
    background-color: var(--color-paper);
    box-shadow: var(--color-shadow) 3px 3px 5px;
}

/* hr */
section hr {
    border: none;
    border-top: 1px solid var(--color-bg);
}