:root {
  --section-margin: 40px
}

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

* {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: "Playfair";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/playfair-v9-latin-regular.woff2") format('woff2');
}

@font-face {
  font-family: "Playfair";
  font-style: normal;
  font-weight: 900;
  src: url("/assets/fonts/playfair-v9-latin-900.woff2") format('woff2');
}

@font-face {
  font-family: "Playfair";
  font-style: italic;
  font-weight: 400;
  src: url("/assets/fonts/playfair-v9-latin-italic.woff2") format('woff2');
}

body {
  font-size: 18px;
  font-family: "Playfair", "Times New Roman", Times, serif;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.5px;
}

h1, h3 {
  text-align: center;
  line-height: 1.1;
}

a {
  text-decoration: underline;
  color: blue;
}

.bold {
  font-weight: 900;
  letter-spacing: -0.5px;
}

.italic {
  font-style: italic;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
}

.header__top {
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.header__top h3 {
  margin-bottom: 5px;
}

.location {
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location img {
  margin-right: 5px;
}

.header__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--section-margin);
}

.header__links img:hover {
  opacity: 0.8;
}

.content div.section {
  margin-bottom: var(--section-margin);
}

.content h2 {
  margin-bottom: 10px;
}

.content p {
  margin-bottom: 10px;
}

.experience, .education {
  margin-bottom: 20px;
}

.experience:last-of-type, .education:last-of-type {
  margin-bottom: 0;
}

.experience__header, .education__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}