/* code base from sadgrlonline template https://codepen.io/sadness97/full/XJbLxNj */

/* ENTIRE WEBPAGESETUP */
:root {
    /* --body-bg-image: url(red\ star\ gif2.webp); */
    /* --body-bg-image: url(red\ star\ gif.gif); */
    --header-image: url(/images/banner.webp);
    --body-bg-image: url(/images/red-star-gif3.gif);

    /* colours */
    --content: #6e2525;
    --color-text: #f4e6de;
    --color-background-dark: #290f0b;
    --color-background-med:#3f2b22;
    --color-background-light: #fff2e8;
    --color-primary: #dbb18f;
    --color-secondary: #762626;
    --color-accent: #fff3c4;
}

/* if you have the URL of a font, you can set it below */
/* feel free to delete this if it's not your vibe */

/* change the selection colour */
::selection {
    background: #ffc9dce3;
  color: #000000; 
}

#audioplayer {
    width: 30%;
    opacity: 0.7;
    background-color: black;
    border-radius: 8px;
    /* border: 2px solid var(--color-primary); */
    padding: 8px;
    margin-bottom: 10px;
    margin-right: 10px;
    position:fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
}

#audioplayer p {
    margin: 0;
}

audio {
    width: 100%
}

#audioplayer:hover {
    opacity: 1
}

body {
    font-family: 'Atkinson Hyperlegible Mono', sans-serif;
    margin: 0;
    background-color: #1a0303;
    /* you can delete the line below if you'd prefer to not use an image */
    background-size: 65px;
    color: var(--color-text);
    background-image: var(--body-bg-image);
    background-size:auto;
    /* background-image: linear-gradient(#310000 , #870000); */
    /* background-attachment: fixed; */

    cursor: url('path-to-image.png'), auto;
}

* {
    box-sizing: border-box;
}

/* below this line is CSS for the layout */

/* this is a CSS comment
to uncomment a line of CSS, remove the * and the /
before and after the text */


/* the "container" is what wraps your entire website */
/* if you want something (like the header) to be Wider than
the other elements, you will need to move that div outside
of the container */
#container {
    max-width: 1040px;
    /* 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 */
}

/* the area below is for all links on your page
EXCEPT for the navigation */
#container a {
    color: var(--color-primary);
    font-weight: bold;
    /* if you want to remove the underline
you can add a line below here that says:
text-decoration:none; */
}

#container a:hover {
    color: #ff4444;
}

#container ul {
    padding-left: 15px;
    list-style:square;
}

marquee {
    background-image: linear-gradient( #00000000, rgba(0, 0, 0, 0.393), rgba(0, 0, 0, 0.612));
}

#header {
    position: relative;
    width: 100%;
    height: 340px;
    background-color: #8c6a4e;
    /* header color here! */

    /* this is only for a background image! */
    /* if you want to put images IN the header, 
you can add them directly to the <div id="header"></div> element! */
    background-image: var(--header-image);
    background-size: cover;
    background-position: top center;
}

#header p {
    position: absolute;
    bottom:0;
    margin-bottom: 50px;
    margin-left: 10px;
}

/* navigation section!! */

#headerArea {
    position: sticky;
    top:0;
    z-index: 1;
}

#navbar {
    height: 40px;
    background-color: var(--color-background-dark);
    /* navbar color */
    width: 100%;
    top:0;
}

#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 {
    display: inline-block;
    transition: transform 0.1s ease, color 0.2s ease;
    transform-origin: center center;
    color: var(--color-primary);
    /* navbar text color */
    font-weight: 800;
    text-decoration: none;
    /* this removes the underline */
}

/* navigation link when a link is hovered over */
#navbar a:hover {
    color: #ff4444; 
    transform: scale(110%) translateY(0.5px);
}

#flex {
    display: flex;
    align-items: flex-start;
}

article, section {
    border-radius: 8px;
    margin: 0px auto 12px;
}

/* this colors BOTH sidebars
if you want to style them separately,
create styles for #leftSidebar and #rightSidebar */
aside {
    font-size: smaller;
    width: 225px;
    /* this makes the sidebar text slightly smaller */
}

section {
    box-shadow: inset 6px 8px 2px rgba(0, 0, 0, 0.116), 6px 8px 2px rgba(0, 0, 0, 0.174);
    background-color: var(--color-background-dark);
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    padding: 0.25em 1em;
}

/* this is the color of the main content area,
between the sidebars! */
main {
    flex: 1;
    order: 2;
    font-size: medium;
}

article {
    box-shadow: inset 6px 8px 6px rgba(117, 31, 7, 0.066), 6px 6px 2px rgba(0, 0, 0, 0.199);
    padding: 8px 16px;
    font-size: 0.9em;
    background-color: var(--color-background-med);
    border: 2px dotted var(--color-background-light);
}

#leftSidebar {
    position: sticky;
    top: 55px;
}

#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: var(--color-background-dark);
    /* background color for footer */
    width: 100%;
    height: 70px;
    padding: 10px;
    font-size: smaller;
    text-align: center;
    /* this centers the footer text */
}
footer a {
    text-decoration: none;
    color: var(--color-text);
}

h1,
h2,
h3 {
    font-family: "Jersey 10", monospace;
    font-weight: 500;
    letter-spacing:1px;
    color: var(--color-accent);
}

h1 {
    color: var(--color-accent);
    font-size: 2em;
}

strong {
    /* this styles bold text */
    color: var(--color-primary);
}

/* this is just a cool box, it's the darker colored one */
.box {
    background-color: var(--color-background-dark);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 1em;
}

/* CSS for extras */

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}


/* 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;
        position:relative;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }

    #audioplayer {
        width: 97%
    }

    footer {
        height: 150px;
        padding-bottom: 100px;
    }
}