/* user styles */
/* styles are what change the color and sizes of stuff on your site. */

/* CSS variables */
:root {
    --header-image: url('head.png');
    --body-bg-image: url('hed.png');
    --content: white;
}

/* fonts */
@font-face {
    font-family: "yu gothic";
    src: local("Yu Gothic");
}

@font-face {
    font-family: "Nunito";
    src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: "Nunito";
    src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
    font-style: italic;
    font-weight: bold;
}

/* base styles */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #08031A;
    background-image: var(--body-bg-image);
    background-size: 100%;
    color: #fceaff;
}

* {
    box-sizing: border-box;
}

/* layout */
#container {
    max-width: 900px;
    margin: 0 auto;
}

#container a {
    color: white;
    font-weight: bold;
}

/* header */
#header {
    width: 100%;
    height: 600px;
    background-color: #5e4e8c;
    background-image: var(--header-image);
    background-size: 40%;
}

/* navbar */
#navbar {
    height: 40px;
    background-color: #73dfe2;
    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: white;
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

/* flex layout */
#flex {
    display: flex;
}

/* sidebars */
aside {
    background-color: black;
    width: 200px;
    padding: 20px;
    font-size: smaller;
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

/* main content */
main {
    background-color: black;
    flex: 1;
    padding: 20px;
    order: 2;
}

/* footer */
footer {
    background-color: #73dfe2;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

/* text */
h1, h2, h3 {
    color: #90fcff;
}

h1 {
    font-size: 25px;
}

strong {
    color: #90fcff;
}

/* box */
.box {
    background-color: black;
    border: 1px solid #90fcff;
    padding: 10px;
}

/* top bar */
#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: black;
}

/* 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;
    }
}