:root {
    --header-image: url('../images/backgrounds/images/background_flowers.jpg');
    --body-bg-image: url('../images/backgrounds/gifs/blinkie_stars.gif');
}


/* =========================
   Fonts
   ========================= */

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

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

/* =========================
   Base styles
   ========================= */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Cutive Mono', monospace;
    margin: 0;
    padding: 0;
    color: #fceaff;

    background-image: url("../images/backgrounds/gifs/blinkie_stars.gif");
    background-size: auto;
    background-position: top left;
    background-repeat: repeat;
}


h1, h2, h3 {
    font-family: 'Macondo', serif;
    color: #ED64F5;
}

h1 {
    font-size: 25px;
}

strong {
    color: #ED64F5;
}

/* =========================
   Layout
   ========================= */

#container {
    max-width: 900px;
    margin: 0 auto;
}

#container a {
    color: #ED64F5;
    font-weight: bold;
}

/* =========================
   Header
   ========================= */

#header {
    width: 100%;
    height: 150px;
    background-color: #5e4e8c;
    background-image: var(--header-image);
    background-size: cover;
    background-position: center;
}

/* =========================
   Navbar
   ========================= */

#navbar {
    height: 40px;
    background-color: #13092D;
    width: 100%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: #ED64F5;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

/* =========================
   Main layout
   ========================= */

#flex {
    display: flex;
}

aside {
    background-color: rgba(36, 20, 69, 0.95);
    width: 200px;
    padding: 20px;
    font-size: smaller;
}

main {
    background-color: rgba(67, 37, 110, 0.95);
    flex: 1;
    padding: 20px;
    order: 2;
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

/* =========================
   Extras
   ========================= */

.box {
    background-color: #13092D;
    border: 1px solid #ED64F5;
    padding: 10px;
}

footer {
    background-color: #13092D;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}

/* =========================
   Responsive
   ========================= */

@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}
