.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background-color: var(--primary-background-color);
  padding: 16px;
}

.blog-column {
  display: flex;
  flex-direction: column;
  grid-gap: 42px;
  width: 100%;
  max-width: 720px;
  margin-top: 25vh;
  margin-bottom: 32px;
}

.blog-header {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-text-color);
}

.blog-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: var(--primary-text-color);
}

.blog-cover {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.blog-video {
  width: 100%;
  margin-bottom: 24px;
}

.homepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background-color: var(--primary-background-color);
  padding: 16px;
  position: relative;
}

.homepage-background-image {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: var(--background-image-vertical);
  background-size: cover;
  background-position: center;
  z-index: 1;
}

@media (min-width: 600px) {

.homepage-background-image {
    background-image: var(--background-image-horizontal)
}
  }

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.12);
  background-color: var(--primary-background-color);
  overflow: hidden;
  margin-top: 25vh;
  margin-bottom: 32px;
  z-index: 2;
}

.card-cover {
  display: block;
  width: 100%;
  height: 96px;
  background-image: var(--background-image);
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border: 2px solid var(--primary-text-color);
  position: absolute;
  bottom: -32px;
  left: 16px;
}

.card-interior {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card-contact-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
  padding: 8px 16px;
}

.card-contact-button {
  font-size: 12px;
}

.card-bio-section {
  display: flex;
  flex-direction: column;
  grid-gap: 8px;
  width: 100%;
  padding: 16px;
  padding-top: 8px;
}

.card-bio {
  display: none;
}

.card-bio.--active {
    display: flex;
    flex-direction: column;
  }

.card-bio-toggle-row {
  display: flex;
  flex-direction: row;
  grid-gap: 8px;
}

.card-bio-toggle.--active {
  color: var(--primary-text-color);
}

.card-footer {
  display: flex;
  flex-direction: column;
  grid-gap: 16px;
  padding: 16px;
  padding-top: 8px;
}

.card-footer-attributes,
.card-footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-gap: 16px;
}

:root {
  --black: #171717;
  --strong-blue: #098ad3;
  --dark-blue: #015d92;
  --darker-blue: #00588a;
  --soft-blue: #57bcf5;
  --dark-gray: #878787;
  --darker-gray: #989898;
  --white: #ffffff;
}

[data-theme='dark'] {
  --primary-text-color: var(--white);
  --primary-background-color: var(--black);
  --link-color: var(--strong-blue);
  --link-color-hover: var(--dark-blue);
  --secondary-button-color: var(--darker-gray);
  --secondary-button-color-hover: var(--white);
}

[data-theme='light'] {
  --primary-text-color: var(--black);
  --primary-background-color: var(--white);
  --link-color: var(--darker-blue);
  --link-color-hover: var(--soft-blue);
  --secondary-button-color: var(--dark-gray);
  --secondary-button-color-hover: var(--black);
}

* {
  font-family: 'Open Sans', sans-serif;
}

.markdown h2 {
    color: var(--primary-text-color);
    font-size: 26px;
    font-weight: 800;
  }

.markdown h3 {
    color: var(--primary-text-color);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
  }

.markdown p {
    color: var(--primary-text-color);
    font-size: 16px;
    font-weight: 400;
  }

.markdown a {
    color: var(--link-color);
    font-size: inherit;
    font-weight: inherit;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.25s;
  }

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

.markdown ul {
    margin: 0;
  }

.markdown li {
    color: var(--primary-text-color);
    font-size: 16px;
    font-weight: 400;
  }

.markdown.--with-margins h2 {
    padding-top: 24px;
    margin-bottom: 24px;
  }

.markdown.--with-margins p,
  .markdown.--with-margins ul,
  .markdown.--with-margins h3 {
    margin-bottom: 16px;
  }

.markdown.--with-margins img {
    padding-top: 12px;
    margin-bottom: 24px;
  }

.markdown.--with-margins > :last-child {
    margin-bottom: 0;
  }

.primary-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--primary-text-color);
  border: 2px solid var(--primary-text-color);
  border-radius: 16px;
  background: none;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s;
}

.primary-button:hover {
    color: var(--primary-background-color);
    background-color: var(--primary-text-color);
  }

.secondary-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--secondary-button-color);
  border: none;
  border-radius: 0px;
  background: none;
  padding: 0px 2px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s;
}

.secondary-button:hover {
    color: var(--secondary-button-color-hover);
  }

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html[focus-within] {
  scroll-behavior: smooth;
}
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html[focus-within] {
    scroll-behavior: auto;
  }
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

