@font-face {
  font-family: "EB Garamond";
  src: url("../font/EBGaramond-Regular.woff2") format("woff2"),
    url("../font/EBGaramond-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Iosevka SS17 Web";
  src: url("../font/iosevka-ss17-regular.woff2") format("woff2"),
    url("../font/iosevka-ss17-regular.ttf") format("truetype");
  font-display: swap;
}

body {
  display: flexbox;
  margin: 0 auto;
  background: #f1f3f5;
  color: #484f56;
  font-family: "EB Garamond", serif;
  font-size: 133%;
  line-height: 150%;
}

.main {
  display: flex;
  padding-top: 0.5em;
  justify-content: center;
  align-items: center;
}

.content {
  width: 30ch;
  margin: 0 auto;
}

.cv {
  width: 72%;
  margin: 60px auto;
}

.download {
  padding-left: 5em;
  font-size: 0.72em;
  color: #484f56;
}

.avatar {
  text-align: center;
}

.name {
  display: inline;
  text-transform: lowercase;
  white-space: nowrap;
}

.contact {
  padding-top: 0.1 em;
  font-size: 0.67em;
}

.contact p {
  padding: none;
  margin: none;
  margin-bottom: -0.61em;
  line-height: 1em;
}

.contact p img {
  display: inline;
  height: 1em;
  vertical-align: middle;
}

a:link,
a:visited {
  color: #000000;
  text-decoration: none;
  border-bottom: 1px dotted #5c940d;
}

a:active,
a:hover {
  border-bottom: 2px solid #5c940d;
}

h1 {
  font-weight: 400;
  font-size: 1.6em;
  line-height: 50%;
  color: #5c940d;
}

h2 {
  font-size: 1.48em;
}

h1 a:active,
h1 a:hover,
h1 a:link,
h1 a:visited {
  color: #5c940d;
  border: none;
}

.dukkha {
  text-align: center;
  padding-top: 0.33em;
  line-height: 1em;
}

.dukkha a:link,
.dukkha a:visited {
  border: none;
}

code {
  font-family: "Iosevka SS17 Web", monospace;
  font-size: 0.81em;
  color: #343a40;
}
