@import url("./reset.css");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Asap+Condensed:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");

body {
  font-family: "PT Serif", serif;
  line-height: 1.2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p {
  margin-bottom: 0.5em;
  text-align: justify;
}

a {
  color: #0066cc;
}

h2 {
  font-family: "Asap Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.5em;
  padding-bottom: 12px;
}

header {
  padding: 8px;
  margin-bottom: 8px;

  h1 {
    font-size: 3em;
    font-family: "Playfair Display", serif;
    font-weight: 500;
  }
}

main {
  flex-grow: 1;
  margin: auto;
  max-width: 900px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 24px;
  row-gap: 8px;
  background-color: #f0f0f0;
  padding: 8px;
  color: #666666;
  font-size: 0.8em;

  a {
    color: color-mix(in lab, #0066cc 60%, #666666 40%);
  }
}

section {
  margin: 8px;
  margin-bottom: 24px;
}

#about {
  display: flex;
  align-items: start;
  gap: 12px;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  padding: 8px;

  @media (max-width: 600px) {
    flex-direction: column;
    align-items: center;
  }

  p:has(img) {
    margin: 0;
  }

  img {
    width: 200px;
    height: 200px;
  }
}
