body {
  font-family: "EB Garamond", "Helvetica", "Arial", sans-serif;
  color: #231f20;
  background: linear-gradient(90deg, #fdf6f7, #fff);
  max-width: 1200px;
  min-height: 100vh;
}

h1 {
  line-height: 1;
  text-align: left;
  margin: 0 0 0 0;
  font-size: 3rem;
}

h2 {
  font-size: 1.5rem;
  text-align: left;
}

p {
  font-size: 1.2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #82807e;
}

header {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh;
}

strong {
  font-weight: 700;
}

li {
  font-size: 1.2rem;
}

header p {
  line-height: 1.2;
  margin: 2rem 0 0 0;
  max-width: 60%;
}

header p.industry {
  color: #82807e;
  word-spacing: 0.2rem;
}

.subheading {
  font-size: 2.5rem;
  color: #82807e;
}

#links {
  font-size: 1.4rem;
  justify-content: start;
  margin-bottom: 2rem;
}

#links span {
  cursor: pointer;
  margin-right: 1rem;
}

#links span:hover {
  color: #82807e;
}

.cv {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cv .dates {
  margin-right: 5rem;
  display: flex;
  align-items: center;
  color: #82807e;
  min-width: fit-content;
  font-size: 1.2rem;
}

.cv .role {
  display: flex;
}

.cv h2 {
  margin-bottom: 0;
}

.cv h3 {
  margin: 0 0 0 0;
  color: #82807e;
  font-size: 1rem;
}

.cv a {
  text-decoration: underline;
}

#education-title {
  margin: 3rem 0 0 0;
}

#education {
  margin: 0 0 3rem 0;
}

.hidden-content {
  display: none;
  transition: display 1s;
}

#toggle-educate:checked ~ .hidden-content {
  display: block;
}

#toggle-educate:checked ~ .read-more::after {
  content: "Read Less";
}

#toggle-meta-xs:checked ~ .hidden-content {
  display: block;
}

#toggle-meta-xs:checked ~ .read-more::after {
  content: "Read Less";
}

#toggle-meta-spark:checked ~ .hidden-content {
  display: block;
}

#toggle-meta-spark:checked ~ .read-more::after {
  content: "Read Less";
}

.read-more {
  text-decoration: underline;
  display: inline;
  cursor: pointer;
}

.read-more::after {
  content: "Read more";
}

.read-more:hover {
  color: #82807e;
}

.overarching-role {
  padding-left: 25px;
}

#deepar {
  border-left: 2px solid #00ced1;
}

#solo {
  border-left: 2px solid #ed2e38;
}

#meta {
  border-left: 2px solid #0080fb;
}

#founders {
  border-left: 2px solid #f5db40;
}

#flexi {
  border-left: 2px solid #001a35;
}

#educate {
  border-left: 2px solid #52a5e0;
}

#etica {
  border-left: 2px solid #484848;
}

#education-role {
  border-left: 2px solid #003862;
  margin-top: 1rem;
}

/* Contact page */

#contact-email {
  margin: 1rem 0 0 0.25rem;
  text-decoration: underline;
}

#contact-email p {
  font-size: 1.5rem;
}

/* Writing */

.post-meta {
  text-align: left;
}

.post-content {
  max-width: 80%;
}

.post-content a {
  text-decoration: underline;
}

.post-content h2 {
  margin-top: 2rem;
}

.post-content h4 {
  margin: 0;
  color: gray;
  text-transform: uppercase;
  font-weight: normal;
}

.post-content image {
  text-align: center;
}

.note-image {
  display: flex;
  justify-content: center;
  height: fit-content;
  align-items: center;
}

.blockquote {
  display: flex;
  justify-content: center;
  align-content: center;
  min-height: fit-content;
}

blockquote {
  background-color: #f3f7ff;
  padding: 2rem;
  border-radius: 12px;
}

#writing-list {
  margin: 2rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.article-summary {
  max-width: 60%;
}

.article-summary p > a {
  text-decoration: underline;
  cursor: pointer;
}

.article-summary p > a:hover {
  color: #82807e;
}

.article-summary span {
  font-size: 1rem;
  color: #484848;
  font-weight: 700;
}

.example {
  padding: 2rem;
  margin: 1rem;
  border: 0.1rem solid #82807e;
  border-radius: 5px;
}

.goal {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 4rem;
  line-height: 2.5rem;
}

.highlight-container,
.highlight {
  position: relative;
}

.highlight-container {
  display: inline-block;
  margin: 0 0.25rem;
}
.highlight-container:before {
  content: " ";
  display: block;
  height: 90%;
  width: 98%;
  margin-left: -3px;
  margin-right: -5px;
  position: absolute;
  transform: rotate(1deg);
  top: -1px;
  left: -2px;
  border-radius: 20% 25% 20% 24%;
  padding: 10px 1px 1px 10px;
}

.highlight-blue:before {
  background: #52a5e0;
}

.highlight-red:before {
  background: #ed2e38;
}

.highlight-yellow:before {
  background: #ffd500;
}

.commentary li {
  padding: 1.5rem 0;
}

.example-icon {
  height: 2rem;
  width: 2rem;
}

@media (max-width: 600px) {
  body {
    margin: 0 5% 0 5%;
  }
  .cv .dates {
    margin-right: 1rem;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .cv h2 {
    margin-top: 0;
  }

  .overarching-role {
    padding: 0.5rem;
  }

  .article-summary {
    max-width: 100%;
  }

  .post-content {
    max-width: 100%;
  }
}

@media (min-width: 600px) {
  body {
    margin: auto;
    padding-left: 1rem;
  }
}
