@import url('https://fonts.googleapis.com/css2?family=Spectral&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik&family=Spectral&display=swap');

:root {
  --link-color: #007BA7;
  --link-active-color: #a70000;
}

html {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Spectral', serif;
}

body { 
	max-width: 950px;
	margin: 0 auto;
  padding: 20px;
  background-color: #fafafa;
}

#content {
  box-shadow: 0px 0px 10px #ddd;
  padding: 20px;
  background-color: white;
}

#p5-container {
  padding: 0px;
  margin: 0px;
  width: fit-content;
  height: fit-content;
  background-color: white;
  display: inline-block;
}


#p5-container canvas {
  box-shadow: 0px 0px 10px #ddd;
}

h2 {
  padding: 0;
  margin: 0;
}

ul.pageList {
  list-style-type: none;
  padding: 0;
}

ul.pageList li:not(:last-child) {
    margin-bottom: 10px;
}

a {
  color: var(--link-color);
}

a:visited {
  color: #005ca7;
}

a:hover {
  color: var(--link-active-color);
}

.listPostLink {
  font-size: 18px;
}

.footer {
  font-size: 18px;
  text-transform: lowercase;
  padding-left: 20px;
  padding-top: 15px;
}

.footer a {
  text-decoration: none;
}

.footerSiteTitle {
  font-weight: 400;
  font-size: 22px;
}

.date {
  color: #555;
}

blockquote {
  color: rgb(75, 75, 75);
  border-left: rgb(200, 200, 200) 1px solid;
  padding-left: 10px;
  line-height: 1.7em;
}

img {
  max-width: 75%;
  border: rgb(200, 200, 200) 1px solid;
  padding: 5px;
}

.tag a {
  /* border: rgb(200, 200, 200) 1px solid; */
  text-decoration: none;
  margin: 0 5px 10px 0;
  padding: 5px;
}

.tag a:hover {
  background-color: var(--link-active-color);
  color: white;
}

details {
  width: 100%;
  margin: 40px 0 0 0;
}
details summary:hover {
  background-color: rgb(240, 240, 240);
}
details summary {
  cursor: pointer;
  padding: 10px 10px 10px 10px;
  border: rgb(200, 200, 200) 1px solid;

}

details summary > * {
  display: inline;
}
