/* body + background color */
@import url('https://fonts.googleapis.com/css?family=Space+Mono:400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@200;400&display=swap');

body {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded {
  visibility: visible;
  opacity: 1;
}

html {
  overflow: auto;
  scrollbar-gutter: stable both-edges;
}

body {
  background-color: rgb(255, 255, 255);
  color: DarkSlateGray;
  font-family: 'Sora';
  position: relative;
  max-width: 500px;
  margin: auto;
  text-align: center;
}

h4 {
  font-size: 16px;
  font-weight: 400;
  color: DarkSlateGray;
  overflow: hidden;
  background-color: (transparent);
  position: relative;
  max-width: 500px;
  margin: auto;
}

img {
  height: auto;
  margin: auto;
  position: sticky;
  text-align: left;
  transition: filter 0.3s ease;
}

button {
  font-family: inherit;
  text-align: center;
}

/* button style: it's what the button looks like! */
.collapsible {
  background-color: rgb(226, 250, 240);
  color: rgb(0, 0, 0);
  cursor: pointer;
  border: none;
  text-align: center;
  outline: none;
  font-size: 14px;
  display: block;
  padding: 2px 4px;
  margin: auto;
  margin-left: 0; /* new line */
  width: fit-content;
}

.subcollapsible {
  background-color: rgb(230, 242, 255);
  color: rgb(0, 0, 0);
  cursor: pointer;
  border: none;
  text-align: center;
  outline: none;
  font-size: 12px;
  display: block;
  padding: 2px 4px;
  margin: auto;
  margin-left: 0; /* new line */
  width: fit-content;
}

.theme-toggle {
  background-color: rgb(255, 255, 255);
  color: rgb(21, 22, 22);
  text-decoration: none;
  text-decoration-color: LightSlateGrey;
  cursor: pointer;
  border: none;
  text-align: left;
  outline: none;
  font-size: 10px;
  display: block;
  padding: 2px 4px;
  margin: auto;
  margin-left: 0; /* new line */
  width: fit-content;
}

.footercollapsible {
  background-color: rgb(255, 255, 255);
  color: rgb(21, 22, 22);
  cursor: pointer;
  border: none;
  text-align: left;
  outline: none;
  font-size: 10px;
  display: block;
  padding: 2px 4px;
  margin: auto;
  margin-left: 0; /* new line */
  width: fit-content;
}

/* clicked and hovered state of buttons. could probably distinguish between these down the line but for now it mostly works? */

.collapsible:hover,
.active {
  background-color: rgb(230, 231, 255);
  color: rgb(0, 0, 0);
}

.subcollapsible:hover {
  background-color: rgb(243, 245, 215);
  color: rgb(0, 0, 0);
}

.theme-toggle:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.footercollapsible:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

/* button content style */
.content {
  color: DarkSlateGray;
  font-size: 14px;
  padding: 0 12px;
  display: none; 
  overflow: hidden;
  max-width: 500px;
  margin: auto;
  text-align: left;
  line-height: 185%;
}

.subscribe {
  padding: 0 0px;
  display: none; 
  overflow: hidden;
  max-width: 500px;
  margin: auto;
  position: relative;
  text-align: left;
  line-height: 185%;
  transform: scale(0.75, 0.75) translate(-14%)
}

/* list style */
ul {
  padding: 0 0px;
}

li {
  font-size: 12px;
  list-style-type: square;
  list-style-position: inside;
  margin: 0;
  margin-left: 50;
  padding: 0 50px;
  line-height: 225%;
}

/* same as hover basically but allows tabbing to visibly show focus */
button:focus-visible {
  background-color: rgb(8, 20, 20);
  color: rgb(255, 255, 255);
}

/* links style: default color; hover/focus color; color while clicking */
a {
  color: DarkSlateGray;
  text-decoration: none;
  text-decoration: overline;
  text-decoration-color: LightSlateGrey;
  font-size: 14px;
}

a:hover,
a:focus-visible {
  color: CornflowerBlue;
  text-decoration: none;
  outline: none;
}

a:active {
  color: Pink;
}

.wordmark {
  text-align: left;
  height: auto;
}

html {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

button {
  transition: background-color 0.3s ease, color 0.05s ease;
}

.theme-toggle {
  transition: all 0.3s ease;
}

