* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: whitesmoke;
}

@font-face {
    font-family: "CustomHeading";
    src: url("fonts/ClashDisplay_Complete/Fonts/TTF/ClashDisplay-Variable.ttf");
}

html {
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

li {
    list-style: none;
    font-size: 1em;
    letter-spacing: 0.2em;
    line-height: 1.5;
    margin: 0;
    padding-bottom: 2%;
}

.main {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    padding-left: 4%;
}

.header {
    grid-column: 1 / -1;
    font-size: 3rem;
    padding-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    background: whitesmoke;
    font-family: CustomHeading, sans-serif;
    font-weight: 400;
}

.menu {
    grid-column: 1;
    grid-row: 2;
    overflow-y: auto;
    align-self: start;
    padding-right: 4px;
}

.content {
    grid-column: 2;
    grid-row: 2;
    padding-right: 3%;
    padding-top: 1em;
    font-size: 1.1em;
}

.content > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.content > input:checked + .tab {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    scroll-margin-top: 0;
}

.tab {
    display: none;
    scroll-behavior: auto;
}

.menu label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
    height: 1.5em;
}

.main:has(#tab-1:checked) .menu label[for="tab-1"],
.main:has(#tab-2:checked) .menu label[for="tab-2"],
.main:has(#tab-3:checked) .menu label[for="tab-3"],
.main:has(#tab-4:checked) .menu label[for="tab-4"],
.main:has(#tab-5:checked) .menu label[for="tab-5"],
.main:has(#tab-6:checked) .menu label[for="tab-6"] {
    /*font-weight: bold;*/
    border-color: black;
    border: 1px solid;
    font-weight: 450;
}

.content-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.content-links a {
    flex: 0 0 auto;
    padding: 0.5rem;
    line-height: 1.5;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    min-width: 50px;
    border: 1px solid black;
    background-color: black;
    color: white;
    font-weight: 500;
    text-decoration: none;
}

.content-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    line-height: 1.5;
    text-indent: 10%;
    padding-right: 13%;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: none;
}

.svg-img {
    width: 50%;
    height: auto;
    margin-top: 2rem;
    display: block;
}

.content-content .svg-img {
    width: 400px;
    z-index: 100;
}