:root {
    /* IMAGES */

    --header-image: url('/images/galleon.webp');
    --leftside-image: url('/images/leftside-flower.webp');
    --rightside-image: url('/images/rightside-flower.webp');
    --body-bg-image: url('/images/dark-background.webp');
    --header-bg-image: url('/images/header-background.webp');

    /* CSS HEX */

    /* pinks */
    --old-rose: #B97C76ff;
    --hot-pink: #f463a4;
    --bright-rose: #e980b0;
    --pink-white: #fceaff;

    /* golds */
    --gold: #e1a715;
    --dark-goldenrod: #AA8730ff;

    /* grays & browns */
    --black-olive: #434836ff;
    --brown: #39322c;
    --dim-gray: #584e45;
    --dark-tan: #a79b77;
    --tan: #e2d2bb;
    --off-white: #ecf0e5;

    /* blacks */
    --pitch-black: #000000;
    --dark-gray: #2e2525;
}

/* FONT TYPES */

@font-face {
    font-family: Amstelvar;
    src: url('/fonts/amstelvar/Amstelvar-Roman.ttf');
}

@font-face {
    font-family: Amstelvar;
    src: url('/fonts/amstelvar/Amstelvar-Italic.ttf');
    font-style: italic;
}

/* TEXT & BACKGROUND CUSTOMIZATION */

body {
    font-family: Amstelvar;
    margin: 0;
    background-color: var(--pitch-black);
    color: var(--pink-white);
    background-image: var(--body-bg-image);
    background-size: 600px;

    font-variation-settings: "wght" 350, "wdth" 100, "opsz" 20;
}

h1,
h2,
h3,
h4 {
    color: var(--hot-pink);
}
h1 {
    font-size: 70px;
    font-variation-settings: "wght" 500, "wdth" 115, "opsz" 100;
}
h2 {
    font-size: 40px;
    font-variation-settings: "wght" 450, "wdth" 105, "opsz" 50;
}
h3 {
    font-size: 25px;
    font-variation-settings: "wght" 400, "wdth" 100, "opsz" 25;
}
h4 {
    font-size: 20px;
    font-variation-settings: "wght" 350, "wdth" 100, "opsz" 20;
}
/* this styles bold text */
strong {
    color: var(--gold);
    font-variation-settings: "wght" 650, "wdth" 110, "opsz" 100;
}

* {
    box-sizing: border-box;
}


/* CSS LAYOUT */


/* container that wraps website */
#container {
    max-width: 900px;
    /* this is the width of your layout! */
    /* if you change the above value, scroll to the bottom
and change the media query according to the comment! */
    margin: 0 auto;
    /* this centers the entire page */
}

/* all links except navigation */
#container a {
    color: var(--bright-rose);
    font-weight: bold;
    /* if you want to remove the underline
you can add a line below here that says:
text-decoration:none; */
}

/* div for top of website, contains images */
#header {
    width: 100%;
    margin: auto;
    background-color: var(--dark-tan);
    display: flex;
    height: 250px;

    background-image: var(--header-bg-image);
    background-repeat: no-repeat;

    opacity: 0.05;
}

/* images within the header */
#header-image {
    width: 250px;
    height: 100%;
    background-color: var(--dark-tan);
    margin: auto;
    background-image: var(--header-image);
    background-size: 250px;
}
#leftplant-image {
    height: 100%;
    width: 25%;
    background-image: var(--leftside-image);
    background-size: auto 100%;
}
#rightplant-image {
    height: 100%;
    width: 25%;
    background-image: var(--rightside-image);
    background-size: auto 100%;
}

/* pale king */
#fallencrown-whale-image {
    height: 2400px;
    width: 100%;
    background-image: var(--main-image);
    background-size: auto 100%;
}

/* navigation boxes section */
#navbar {
    height: 40px;
    background-color: var(--dark-gray);
    width: 100%;
}
#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}
#navbar li {
    padding-top: 10px;
}

/* navigation links*/
#navbar li a {
    color: var(--off-white);
    font-weight: 800;
    text-decoration: none;
}
#navbar li a:hover {
    color: var(--black-olive);
    text-decoration: underline;
}

/* sidebar and main page */
#flex {
    display: flex;
}
/* main content area */
main {
    background-color: var(--dark-gray);
    flex: 1;
    padding: 20px;
    order: 2;
}
/* sidebar */
aside {
    background-color: var(--dim-gray);
    width: 200px;
    padding: 20px;
    font-size: smaller;
    /* this makes the sidebar text slightly smaller */
    max-height: 46em;
    overflow-y: auto;
}
/* this is just a cool box, it's the darker colored one */
.box {
    background-color: var(--brown);
    border: 1px solid var(--gold);
    padding: 10px;
}



/* BELOW THIS POINT IS MEDIA QUERY */

/* so you wanna change the width of your page? 
by default, the container width is 900px.
in order to keep things responsive, take your new height,
and then subtrack it by 100. use this new number as the 
"max-width" value below
*/

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

    aside {
        width: 100%;
    }

    /* the order of the items is adjusted here for responsiveness!
since the sidebars would be too small on a mobile device.
feel free to play around with the order!
*/
    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

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