@font-face {
  font-family: 'basier';
  src: url(../assets/basiersquaremono-regular-webfont.ttf);
}

:root {
  --icon-color: white;
  --icon-stroke-width: 0.75;
  --icon-stroke-dash: 7.5;
}

body {
  background: #061118;
  color: white;
}

* {
  line-height: 1.7em;
  font-family: 'basier';
  margin: 0;
  box-sizing: border-box;
}

p {
  padding: 5px;
}

span.date {
  color: #3eba83;
}

h2,
h3,
p,
ul,
ol {
  padding-bottom: 10px;
}

p,
ul,
ol {
  margin-left: 20px;
}

h3 {
  color: #3eba83;
}

h3:not(:first-child) {
  padding-top: 20px;
}

ul,
ol {
  padding-top: 10px;
  padding-left: 60px;
}

li {
  padding-bottom: 5px;
}

::-webkit-scrollbar {
  display: none;
}

a {
  padding: 0;
  margin: 0;
}

a:link {
  color: #3eba83;
}

a:visited {
  color: #69b5ae;
}

a:hover {
  color: #f36464;
}

a:active {
  color: blue;
}

@media screen and (min-width: 1000px) {
  body {
    display: grid;
    grid-template-rows: 8fr 1fr 1fr 3fr;
    grid-template-columns: 13fr 2fr 1fr 5fr;
    height: 100vh;
  }

  .box13 {
    grid-row: 1 / 5;
    display: flex;
    padding: 40px 50px 0px 50px;
    flex-direction: column;
    justify-content: space-between;
  }

  .box8 {
    grid-column: 2 / 5;
  }

  .box8 svg path,
  .box8 svg circle {
    stroke-width: 1;
  }

  .box5 {
    grid-row: 2 / 5;
    grid-column: 4 / 5;
  }

  .box5 svg path,
  .box5 svg circle {
    stroke-width: 1.5;
  }

  .box3 {
    grid-row: 4 / 5;
    grid-column: 2 / 4;
  }

  .box3 svg path,
  .box3 svg circle {
    stroke-width: 2;
  }

  .box2 {
    grid-row: 2 / 4;
    grid-column: 2 / 3;
  }

  .box2 svg path,
  .box2 svg circle {
    stroke-width: 3;
  }

  .grid-unit {
    border: solid 1px white;
    overflow: hidden;
  }

  section {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    height: 100%;
  }

  section .content {
    overflow-y: scroll;
  }

  div:not(#grid-unit-0) section .content {
    display: none;
  }

  div:not(#grid-unit-0) section h2 {
    display: none;
  }

  .grid-unit:not(#grid-unit-0) section {
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  #grid-unit-0 h2 {
    padding-bottom: 40px;
  }

  #grid-unit-0 .icon {
    display: none;
  }

  #buttons {
    height: 10%;
    order: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  button {
    background: none;
    color: white;
    font-size: 25px;
    border: none;
  }
}

@media screen and (max-width: 999px) {
  div#buttons {
    display: none;
  }

  body {
    padding: 50px;
  }

  h2 {
    padding-top: 50px;
    padding-bottom: 40px;
    width: 100%;
  }

  h2:first-of-type {
    padding-top: 0;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 500px) and (max-width: 1000px) {
  .icon {
    margin: 100px;
    width: 50%;
  }
}

@media screen and (max-width: 500px) {
  body {
    padding: 30px;
    padding-top: 50px;
  }

  .icon path,
  .icon circle {
    stroke-width: 2;
  }

  .icon {
    padding-top: 30px;
    padding-bottom: 50px;
  }
}
