:root {
    --header-image: url('images/banner.gif');
    --body-bg-image: url('https://i.pinimg.com/736x/27/32/6e/27326e52269b07cdfd2fd149e3f76f21.jpg');
    --content: #E2D2BD;
}

@font-face {
    font-family: FranxurterTotallyMedium;
    src: url('https://avidiscent.neocities.org/FranxurterTotallyMedium.ttf') format('truetype');
}

@font-face {
    font-family: Schoolbell-Regular;
    src: url('https://avidiscent.neocities.org/Schoolbell-Regular.ttf') format('truetype');
}

body {
    font-family: 'Schoolbell-Regular', sans-serif;
    margin: 0;
    background-color: #FFFFFF;
    background-size: cover;
    background-repeat: no-repeat;
    color: #333333;
    background-image: var(--body-bg-image);
}

* {
    box-sizing: border-box;
}

#container {
    max-width: 900px;
    margin: 0 auto;
}

#container a {
    color: #E2D2BD;
    text-decoration: none;
}

#header {
    width: 100%;
    background-color: #E2D2BD;
    height: 200px;
    background-image: var(--header-image);
    background-size: 100%;
}

#navbar {
    height: 40px;
    background-color: #E2D2BD;
    width: 100%;
    margin-bottom: 10px;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #000000;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

#flex {
    display: flex;
}

aside {
    background-color: #E7D8C3;
    width: 200px;
    padding: 20px;
    font-size: smaller;
    margin-right: 10px;
    order: 1;
}

main {
    background-color: #E2D2BD;
    flex: 1;
    padding: 20px;
    order: 2;
}

footer {
    background-color: #f0c7cc;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

h1, h2, h3 {
    color: #D6452C;
}

h1 {
    font-size: 25px;
}

strong {
    color: #D6452C;
}

.box {
    background-color: #DAD9A9;
    border: 1px solid #F3EAEF;
    padding: 10px;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #DAD9A9;
}

/* Responsive layout */
@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
        order: 2;
    }

    main {
        order: 1;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}
