/* user styles */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@font-face {
   font-family: Stamp;
   src: url('/graphics/Stamp.ttf') format("truetype");
  }
  
@font-face {
  font-family: Mael;
  src: url('graphics/Mael.TTF') format("truetype");
}

@font-face {
  font-family: BerryRotunda;
  src: url('graphics/BerryRotunda.ttf') format("truetype");
}

@font-face {
  font-family: IMFell;
  src: url('graphics/FeENrm2.ttf') format("truetype");
}


/* CSS variables */
:root {
    --header-image: url('https://sadhost.neocities.org/images/layouts/wp.jpeg');
    --body-bg-image: url('graphics/FOR2A5.png');
    --content: #43256E;
    --background-color: #dad7cd;
    --side-panels-color: #3a5a40;
    --left-bar-color: #3a5a40;
    --font-color-dark: #344e41;
    --font-color-light: #a3b18a;
}



.spectral-extralight {
  font-family: "Spectral", serif;
  font-weight: 200;
  font-style: normal;
}

.spectral-light {
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: normal;
}

.spectral-regular {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
}

.spectral-medium {
  font-family: "Spectral", serif;
  font-weight: 500;
  font-style: normal;
}

.spectral-semibold {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: normal;
}

.spectral-bold {
  font-family: "Spectral", serif;
  font-weight: 700;
  font-style: normal;
}

.spectral-extrabold {
  font-family: "Spectral", serif;
  font-weight: 800;
  font-style: normal;
}

.spectral-extralight-italic {
  font-family: "Spectral", serif;
  font-weight: 200;
  font-style: italic;
}

.spectral-light-italic {
  font-family: "Spectral", serif;
  font-weight: 300;
  font-style: italic;
}

.spectral-regular-italic {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: italic;
}

.spectral-medium-italic {
  font-family: "Spectral", serif;
  font-weight: 500;
  font-style: italic;
}

.spectral-semibold-italic {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: italic;
}

.spectral-bold-italic {
  font-family: "Spectral", serif;
  font-weight: 700;
  font-style: italic;
}

.spectral-extrabold-italic {
  font-family: "Spectral", serif;
  font-weight: 800;
  font-style: italic;
}

  


/* Base styles */
body {
    font-family: 'IMFell';
    font-size: clamp(16px, 1.1vw, 18px);
    margin: 0;
    background-image: var(--body-bg-image);
}


main ul li::marker,
aside ul li::marker {
  content: "⟢ ";
}


* {
    box-sizing: border-box;
}

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

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

#header {
    width: 100%;
    height: auto;
    background-size: 100%;
    font-size: clamp(48px, 10vw, 100px);
    text-align: center;
    color: var(--font-color-light);
    text-shadow: 0px 2px black;
}

#navbar {
    min-height: 40px;
    height: auto;
    padding: 5px 0;
    width: 100%;
    background-color: var(--side-panels-color);
    font-family: 'BerryRotunda';
    font-size: 22px;
    color: var(--font-color-light);
}

#navbar ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;        /* THIS enables wrapping cleanly */
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar li {
    padding-top: 10px;
    padding: 5px 10px;
    list-style: none;
}

#navbar li a {
    color: var(--font-color-light);
    font-weight: 800;
    text-decoration: none;
}

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

#flex {
    display: flex;
}

/* Sidebars */
aside {
    width: 200px;
    padding: 20px;
    font-size: smaller;
    background-color: var(--left-bar-color);
    font: var(--font-color-light);
}

#leftSidebar {
    order: 1;
    color: var(--font-color-light);
}

#rightSidebar {
    order: 3;
}

/* Main content */
main {
    flex: 1;
    padding: 20px;
    order: 2;
    background-color: var(--background-color);
    color: var(--font-color-dark);
    text-align: justify;
}

/* Footer */
footer {
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
    background-color: #8C793E;
    color: var(--font-color-dark);
}

h0 {
  font-family: "Mael";
}

/* Headings & text */
h1, h2, h3 {
    font-family: BerryRotunda;
}




/* Utility */


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

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }
}
