@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

.libre-caslon-text-regular {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-caslon-text-bold {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-caslon-text-regular-italic {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
  
  font-family: "Source Serif 4", serif;
  
  /*font-family: "Libre Caslon Text", serif;*/
  font-optical-sizing: auto;
  font-weight: 400;
  background: hsl(109, 43%, 63%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  color: white;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  padding: 3rem 2rem;
  text-align: center;
}

.row {
  margin-bottom: 6rem;
}

h1 {
  margin-top: calc(max(4rem, 100vh / 6));
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: calc(max(6rem, 100vw / 12));
  letter-spacing: 0.05em;
  line-height: 1.0;
  font-weight: 500;
  color: white;
}
h1.large {
  font-size: calc(100vw / 8);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

h2 {
  font-family: "Libre Caslon Text", serif;
  font-optical-sizing: auto;
  font-size: 1.7rem;
  font-weight: 700;
  color: rgba(0, 20, 40, 0.45);
}

p {
  color: white;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.5;
}
p.alt {
  color: rgba(0, 20, 40, 0.5);
  margin-bottom: 2rem;
  font-weight: 500;
}
p.note {
  color: rgba(0, 20, 40, 0.5);
  font-style: italic;
  font-size: 1.3rem;
}
p.list {
  margin-bottom: 2rem;
  padding: 0 1rem;
}

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

.row.card-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.card {
  background-color: #e8ec9a;
  width: 100%;
  padding: 2em;
  border-radius: 2em;  
}
.card p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-optical-sizing: auto;
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.9);
  text-align: left;
  margin-bottom: 1em;
}

.card > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .col-2up {
    flex-direction: row;
    gap: 4rem;
  }

  .col-2up > * {
    flex: 1;
  }

  .card {
    width: 60%;
  }
}

