@import url('../fonts/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}



* {
	/*border: 1px solid red;*/
  box-sizing: border-box;
}

body {
	font-family: Inter, sans-serif;
    font-weight: 700;
    font-style: normal;
  font-size: 18px;
  margin-bottom: 2em;
}

body#home {
  background-color: black;
  color: white;
}

a, a:hover, a:focus, a:active {
  color: white;
  text-decoration: none;
}




#work { background-color: #ffed00; }
#project { background-color: #ffed00; }
#about { background-color: #e6007e; }
#etc { background-color: #009fe3; }

header {
  width: 80%;
  margin: 0 auto 1.5em;
  padding-top: 1.5em;
  padding-bottom: 1em;
  border-bottom: 2px solid white;
}
header .home {
  float: right;
  text-align: right;
  width: 26px;
  height: 26px;
  position: relative;
  top: -3px;
}
header .home img {
  width: 100%;
}
header ul,
header ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
}
section {
  width: 80%;
  margin: 1em auto 0;
}
section h2 {
  font-size: 1em;
/*  font-weight: normal; */
  margin-top: 1.2em;
}
section p {
  line-height: 1.4em;
  text-align: left;
  letter-spacing: -0.02em;
}
section ul {
  margin: 1.5em auto 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
section ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
}
section ul li figure {
  margin: 0;
  padding: 0;
}
section ul li figure img {
  width: 100%;
}
section ul li figure figcaption {
  display: none;
}
section ul.backstory li {
  display: none;
}
section ul.backstory li:first-child {
  display: block;
}

header h1 {
  display: none;
}
header ul li:first-child a { color: #ffed00; }
header ul li:nth-child(2) a { color: #e6007e; }
header ul li:last-child a { color: #009fe3; }
header ul li a {
  text-decoration: none;
}
header ul li a.active { color: white; }
#work header ul li a.active { color: black; }
#project header ul li a.active { color: black; }

body#about section p { color: white; }
body#etc section p { color: white; }

svg .cls-1 { fill: white; }

#work .cls-1,
#project .cls-1 {
  fill: black;
}
#work header,
#project header {
  border-bottom-color: black;
}




/*header ul li a:hover {
  color: inherit;
}*/

@media (min-width: 600px) {
  header,
  section {
    width: 560px;
  }
  section ul li {
    width: 48.5%;
    margin-bottom: 14px;
  }
  section ul.backstory li {
    width: 100%;
  }
}

@media (min-width: 860px) {
  body {
    font-size: 20px;
  }
  header {
    width: 800px;
    margin: 0 auto;
  }
  header .home {
    width: 28px;
    height: 28px;
    top: -3px;
  }
  section {
    width: 800px;
    margin: 0 auto;
  }
  section ul {
  }
  section ul li {
    width: 32%;
    margin-bottom: 12px;
    float: left;
  }
  section ul.backstory {
    float: right;
    width: 50%;
    margin-top: -3em;
    margin-left: 2em;
  }
  section ul.backstory li {
    width: 100%;
  }
  section ul.backstory li:nth-child(2) {
    display: block;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 24px;
  }
  header,
  section {
    width: 1000px;
  }
  header .home {
    width: 32px;
    height: 32px;
    top: -3px;
  }
  section ul li {
    margin-bottom: 16px;
  }

}