/* website universal styling */
:root {
  /* Background Colors: */
  --background-color: #72c4bf;
  --content-background-color: #eae8c7;
  --sidebar-background-color: #eae8c7;

  /* Text Colors: */
  --text-color: #3f3f3f;
  --sidebar-text-color: #3f3f3f;
  --link-color: #8e4208;
  --link-color-hover: #542a0e;

  /* Text: */
  --font: 'dico';
  --heading-font: 'dico';
  --title-font: 'alagard';
  --font-size: 16px;

  /* Other Settings: */
  --margin: 20px;
  --padding: 16px;
  --border: 7px solid #577c50;
  --round-borders: 5px;
  --sidebar-width: 260px;
}

/* importing */
@font-face {
  font-family: alagard;
  src: url(alagard.ttf);
}
@font-face {
  font-family: Dico;
  src: url(Dico.ttf);
}

/* universal */
* {
  box-sizing: border-box;
  cursor: url(https://cur.cursors-4u.net/symbols/sym-6/sym597.cur), auto !important;
}

/* everything inside the webpage */
body {
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;  
}


#scroll3 {
font-size: 12px;
overflow: auto;
}

/* images */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* specific element stylings */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}
hr {
  border-top: var(--border);
  margin: 1.5em 0;
  border: 1px solid #888888;
  margin-bottom: 14px;
}

.active { font-weight:bold; 
}

h1 {
  margin-top: 0;
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.5em;
}

::selection {
  background: rgba(175, 255, 242, 0.432);
}
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

a img:hover {
opacity: 50%;
}

/* accessibility */
#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "placeholder" auto "main" auto "footer" auto / 1fr;    grid-template: "header" auto  "placeholder" auto "main" auto "sidebar" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  
  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  header nav {
    display: block !important;
  }
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}
