/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
:root{
      /* SIZES + SPACING */
    --blog-size: 1100px;
    --grid-gap: 13px;
    --left-sidebar-size: 250px;
    --right-sidebar-size: 220px;
    --border-radius: 5px;

    /* FONTS */
    --header-font: "dosis";

    /* Colors */
    /* HEADERS */
    --header-bg: #211f1f;
    --header-title: #e8f4dd;
    --header-subtitle: #c8d7a8;

    /* BACKGROUNDS */
    --background-colour: #879d6d;
    --article-bg: #e9ecdb;
    --article-liner: rgba(74, 118, 58, 0.46);

    /* PRIMARY ACCENTS */
    --primary-accent: #4e6137;
    --secondary-accent: #73582f;
    --font-on-accent: #f3f4e0;
    --crossed-out: #858585;
    --letter-glow: rgba(156, 100, 25, 0.51);

    /* TEXT */
    --text-colour: #16190f;
    --text-underline: rgba(120, 139, 104, 0.71);
    --link-colour: #9a5b1a;
    --link-hover: #475407;
    --body-deco: #f7f6e3;
}


main{
    margin-top: 40px;
    margin-left: 150px;
    margin-right: 40px;
    padding: 30px;
    background-color: var(--body-deco);
    flex: 1;
}

body {
  height: 100%;
  font-size: 1rem;
  background-color: var(--background-colour);    
  background-attachment: fixed;
  color: var(--text-colour);
  font-family: "freepixel", sans-serif;
  line-height: 1.3em;
  letter-spacing: 0;
  cursor: url(genshin-impact-xiao-outline.png), auto;

}

h1 {
    background-color: var(--primary-accent);
    color: var(--font-on-accent);
    font-family: var(--header-font), sans-serif;
    border-radius: var(--border-radius);
    letter-spacing: 2px;
    font-size: 1.3rem;
    padding: 10px;
    font-weight: 700;
    text-align: center;   
}

p {
  padding-left: 30px;
  padding-right: 30px;
}

.button {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
}

.button1 {background-color: #04AA6D;} /* Green */
.button2 {background-color: #008CBA;} /* Blue */


.container {
        display: flex;
}


.navbar {
  background: #3a552a;        /* the bar color */
  padding: 10px 20px;
  position: sticky;
}

.navbar ul {
  list-style: none;           /* remove bullet points */
  margin: 0;
  padding: 0;
  display: flex;              /* horizontal layout */
  gap: 20px;                  /* spacing between items */
}

.navbar a {
  color: white;
  text-decoration: none;      /* remove underline */
  font-weight: bold;
  padding: 6px 10px;
}

.navbar a:hover {
  background: #5f7b4a;
  border-radius: 6px;
  cursor: url(genshin-impact-xiao.png), auto;
}

.sidenav {
  height: 100%;
  width: 160px;
  position: sticky;
  left: 75px;
  background-color: var(--article-bg);
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
  flex: 0 0 200px;
}



.flex-container {
  display: flex;
  flex-direction: column;
}

.flex-item {
  padding: 10px;
  font-size: 30px;
  text-align: center;
}



