/* CUSTOM BACKGROUND FOR THE HOMEPAGE */

body {
    background-color: #8ebee6;
    background-image: var(--background-blue);
    background-repeat: repeat;
    background-position: 0 0;
    background-size: 120px;
    margin: 10px 0;
    padding: 0;
}

/* ================ */

/* THE HOME PAGE LAYOUT */

.layout {
    width: 1000px;
    display: flex;
    gap: var(--margin);
    margin-top: 15px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: var(--margin);
    flex: 1;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: var(--margin);
    flex: 2.5;
}

/* ================ */

/* Header image */

header {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: var(--border) solid;
    border-radius: var(--round-borders);
    border-color: var(--border-color);
    background: white;
    overflow: hidden;
}

header img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* ================ */

/* The vertical navigation */

nav {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    padding: var(--padding);
    background: var(--content-background-color);
    border: var(--border) solid;
    border-color: var(--border-color);
    border-radius: var(--round-borders);
}

.navbar {
    padding: 5px;
    align-self: start;
    height: auto;
    padding: 10px 15px;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.navbar li {
    float: left;
    margin: 0;
    text-align: center;
}

.navbar a {
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    color: white;
    font-family: "ComicRelief", monospace;
    font-weight: 700;
    font-size: 20px;
}

.navbar a:hover {
    background-color: #8ec0e9;
    border-radius: 5px;
}

.navbar a:active {
    background-color: #85b1d4;
}

/* ================ */

/* The main content */

main {
    box-sizing: border-box;
    align-self: start;
    overflow-y: auto;
    flex: 1;
    padding: var(--padding);
    background: var(--content-background-color);
    border: var(--border) solid;
    border-color: var(--border-color);
    border-radius: var(--round-borders);
}

main h1 {
    font-family: "ComicRelief";
    font-weight: 700;
    color: white;
    margin: 5px 0;
    margin-bottom: 10px;
}

main h2 {
    font-family: "ComicRelief";
    font-weight: 700;
    color: white;
    margin: 5px 0;
    margin-bottom: 10px;
}

main h3 {
    font-family: "ComicRelief";
    font-weight: 700;
    color: white;
    margin: 10px 0;
    margin-bottom: 10px;    
}

main b {
    color: white;
    font-weight: 600;
}

main p {
    font-family: "PlaypenSans";
    font-weight: 500;
}

main li {
    font-family: "PlaypenSans";
    font-size: 16px;
    font-weight: 500;
}

/* ================ */

/* The aside panel */

aside {
    grid-area: aside;
    flex: 1;
    padding: var(--padding);
    background: var(--content-background-color);
    border: var(--border) solid;
    border-color: var(--border-color);
    border-radius: var(--round-borders);
}

aside p {
    font-family: "PlaypenSans";
    font-weight: 500;
}

aside h1 {
    font-family: "ComicRelief";
    font-weight: 700;
    color: white;
    margin: 5px 0;
    margin-bottom: 10px;
}

aside h2 {
    font-family: "ComicRelief";
    font-weight: 700;
    color: white;
    margin: 5px 0;
    margin-bottom: 10px;
}

aside h3 {
    font-family: "ComicRelief";
    font-weight: 700;
    color: white;
    margin: 10px 0;
    margin-bottom: 10px;    
}

aside b {
    color: white;
    font-weight: 600;
}

aside li {
    font-family: "PlaypenSans";
    font-size: 16px;
    font-weight: 500;
}

/* ================ */

