/* -------------------------------------------------------- */
/* FONTS/BASICS */
/* -------------------------------------------------------- */


@font-face {
 font-family: 'SpaceMono-Regular';
 src: url('https://letuswerk.neocities.org/SpaceMono-Regular.ttf')
}

@font-face {
  font-family: 'SpaceMono-Bold';
  src: url('https://letuswerk.neocities.org/SpaceMono-Bold.ttf');
  font-weight: bold;
}

:root {
  --margin: 0px;
  --padding: 20px;
  --border: none;
  --round-borders: 0px;
  --sidebar-width: 250px;
  --background-color: #673C75;
}


{
  box-sizing: border-box;
}

body {
  color: #fffdda;
  font-size: 18px;
  font-family: "SpaceMono-Regular", "Courier";
  /* petra */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: var(--margin);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("");
}

h1 {
  font-family: 'SpaceMono-Bold', 'Courier';
  font-weight: bold;
  font-size: 2.77em;
}


/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 1000px;
  display: grid;
  grid-gap: var(--margin);
  grid-template:
    "header header" auto
    "leftSidebar main" auto
    "footer footer" auto
    / var(--sidebar-width) auto;
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

.main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
}

.wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  grid-area: header;
  font-size: 1.2em;
  border: var(--border);
  border-radius: var(--round-borders);
  background: var(--content-background-color);
}

.header-content {
  padding: var(--padding);
}

.header-title {
  font-family: var(--heading-font);
  font-size: 1.5em;
  font-weight: bold;
}

.header-image img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background: #673C75;
  padding: var(--padding);
  color: #fffdda;
  
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}


/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}


.website-overview {
  font-size: 0.8em;
  
}

/* Lists */
ul { list-style-type: "꩜ "; }
li { list-style-type: "- "; }

/* line break */

hr {
  border-top: 2px dotted #fffdda;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 0.75em;
  padding: 15px;
  background: var(--content-background-color);
  display: flex;
  justify-content: center;
}

footer a,
footer a:visited {
  color: var(--link-color);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
}

/* -------------------------------------------------------- */
/* APPEARANCE */
/* -------------------------------------------------------- */


.first-disclaimer {
  margin: auto 4em 0;
  color: #673C75;
  background-color: #fffdda;
  font-size: .8em;
  width: 1000px to 100%;
  max-width: 1000px;
  padding-top: 20px;
  padding-right: 35px;
  padding-bottom: 20px;
  padding-left: 35px;
}

.dyk {
  margin: auto 4em 0;
  color: #673C75;
  background-color: #fffdda;
  font-size: .8em;
  width: 800px to 100%;
  max-width: 800px;
  padding-top: 20px;
  padding-right: 35px;
  padding-bottom: 20px;
  padding-left: 35px;

}

.dyk a:link, .first-disclaimer a:link {
  color: #673C75;
  background-color: transparent;
  text-decoration: underlined;
}

.dyk a:hover, .first-disclaimer a:hover {
  color: #fffdda!important;
  background-color: #673C75;
  text-decoration: underline;
  font-weight: bold; 
  font-style: italic;
  transition: background-color .3s;
}

.dyk a:visited, .first-disclaimer a:visited {
  color: #673C75;
  background-color: transparent;
  text-decoration: none;
}

.dyk a:active, .first-disclaimer a:active {
  color: #673C75;
  background-color: transparent;
  text-decoration: underline;

}

.dyk ::selection, .first-disclaimer ::selection {
   color: #fffdda;
   background: #673C75;
}


a:link {
  color: #fffdda;
  background-color: transparent;
  text-decoration: underline;
}

a:hover {
  color: #673C75!important;
  background-color: #fffdda;
  text-decoration: underline;
  font-weight: bold; 
  font-style: italic;
  transition: background-color .3s;
}

a:visited {
  color: #F6F1F9;
  background-color: transparent;
  text-decoration: none;
}

a:active {
  color: #F6F1F9;
  background-color: transparent;
  text-decoration: underline;

}

::selection {
   color: #673C75;
   background: #fffdda;
}

/* -------------------------------------------------------- */
/* MOBILE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  
  body {
    font-size: 20px;
  }

  .layout {
    width: 100%;
    grid-template: 
        "header" auto 
        "leftSidebar" auto
        "main" auto
        "footer" auto
        / 1fr;
  }

  aside {
    border-bottom: 0px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 40px;
  }

  .dyk, .first-disclaimer {
    font-size: .9em;
    margin: auto 1em 0;
    padding-top: 20px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-left: 40px;

}


.wrapper {
    height: 250px;
}

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
  
  

}
