:root {
    --padding-size: 20px;
    --border: 4px solid rgb(0, 0, 0);
    --border-radius: 8px;
    --background-color: white;
    --item-background-color: rgb(64, 64, 64);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: none;
    justify-items: center;
    grid-template-columns: 1fr 300px 300px 1fr;
    gap: 20px;
    background-color: var(--background-color);
    padding: 80px 12px 12px;

    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(1, 182, 16);
    word-break: break-word;
}

.dark-theme body {
    background-color: #1c1c1c;
}

.dark-theme h1 {
    color: rgb(238 238 238);
}

header {
    grid-column: 2 / 4;
    text-align: center;
}

.header-subtitle {
    font-size: 5rem;
    color: rgb(181, 185, 255);

    font-family: "LuckiestGuy", cursive;
    font-weight: 400;
    font-style: normal;

    text-align: center;
}

footer {
    grid-column: 2 / 4;
    font-size: x-small;
    color: #545454;
}

h1 {
    font-size: 3rem;
    color: rgb(46 46 46);

    font-family: "Schoolbell", cursive;
    font-weight: 400;
    font-style: normal;
}

h1 span:nth-child(1), h3 {
    color: rgb(0, 217, 40);
}

.header-subtitle span:nth-child(1) {
    color: rgb(169, 213, 255);
}

.header-subtitle span:nth-child(2) {
    color: rgb(255, 152, 196);
}

.header-subtitle span:nth-child(3) {
    color: rgb(253, 232, 99);
}

ul {
    margin: 0px 0px 0px 20px;
}

li::marker {
    color: rgb(1, 182, 16);
    font-size: 30px;
}

nav {
    grid-column: 2 / 2;
}

aside:not(.darkTheme) {
    grid-column: 3 / 3;
}


article, menu {
    grid-column: 2 / 4;
}

section {
    grid-column: 2 / 4;
    width: 100%;
}

section h2 {
    text-align: center;
    font-size: 40px;
    padding-bottom: 25px;
    text-shadow: 5px 5px #0d3862;
}

a {
    text-decoration: none;
}

.box a {
    display: block;
    width: 100%;
    color: rgb(1, 182, 16);
}

a:hover, a:focus-visible {
    color: rgb(255, 88, 88);
    background-color: aqua;
    border-radius: 4px;
}

article span {
    color: rgb(0, 217, 40);
}

.box {
    width: 100%;
    min-height: fit-content;
    padding: var(--padding-size);
    border: var(--border);
    border-radius: var(--border-radius);
    background-color: var(--item-background-color);
}

@media (max-width: 768px) {
    body {
        gap: 10px;
        grid-template-columns: 1fr;
        padding-top: 12px;
    }
    h1 {
        font-size: 3rem;
    }
    .header-subtitle {
        font-size: 4rem;
    }
    nav, aside, aside:not(.darkTheme), header, section, footer, menu {
        grid-column: 1/4;
    }
}

@font-face {
    font-family: 'Schoolbell';
    src: url('fonts/Schoolbell/Schoolbell-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SilkScreen';
    src: url('fonts/Silkscreen/Silkscreen-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LuckiestGuy';
    src: url('fonts/LuckiestGuy/LuckiestGuy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}