@charset "UTF-8";
@import url("custom.css");

/* -------------- HEADER -------------- */
header {
  margin-top: 60px;
}
header a {
  border-bottom: none;
}
header a:hover {
  border-bottom: none;
}
header img {
  max-width: 80px;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease-out;
}
header img:hover, header img:focus {
  transform: scale(1.05);
}
header img:active {
  transform: scale(0.95);
}

/* -------------- MAIN -------------- */

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 400;
  vertical-align: baseline;
  font-size: 18px;
  line-height: 1.75;
}

html {
  background: var(--background);
}

body {
  width: 600px;
  max-width: 94%;
  margin: auto;
  text-align: left;
  padding-bottom: 20px;
  background: var(--background);
  color: var(--text);
}

main {
  margin-bottom: 60px;
}

/* -------------- LINKS -------------- */

a {
  transition: color ease 0.4s, border ease 0.4s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  overflow-wrap:break-word;
  word-wrap:break-word;
  color: var(--text);
  border-bottom: 2px solid var(--text);
}
a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* -------------- OTHER -------------- */

img {
  height: auto;
}
img, iframe, audio {
  max-width: 100%;
  display: block;
}
section {
  margin-bottom: 20px;
}

h1, h2, h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  display: block;
  color: var(--accent);
}

i {
  font-style: italic;
}

b, strong {
  font-weight: 700;
}

li {
  margin-bottom: 1em;
}

ol, ul, p {
  margin-bottom: 20px;
  display: block;
}

ol li {
  list-style: none;
  position: relative;
  margin-bottom: 10px;
}

ul li {
  list-style: none;
  position: relative;
  margin-bottom: 10px;
}
ul li:before {
  content: "→";
  position: absolute;
  left: -20px;
  color: #FFFFFF;
  opacity: 0.3;
}

ol li:before {
  content: "#";
  position: absolute;
  left: -20px;
  color: #FFFFFF;
  opacity: 0.3;
}


/* -------------- MOBILE -------------- */

@media screen and (max-width: 620px) {
  header {
    margin-top: 20px;
  }
  main {
    margin-bottom: 40px;
  }
  blockquote, ol li, ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
  }
  blockquote:before, ol li:before, ul li:before {
    left: 0;
  }
}