:root {
  color: rgb(0 0 0);
  background: #f8f8f8;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 2rem 1rem 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  padding: 0 0.5rem;
}

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

a:hover {
  text-decoration: none;
}

footer a:hover,
.experience[href]:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.intro {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.intro p {
  flex: 1;
  margin: 0;
}

.horse {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 490 / 379;
  background: #a69b0a;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

.section {
  margin: 2rem 0;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.experience {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.experience strong {
  display: flex;
  align-items: center;
  font-weight: 400;
}

.experience > span,
footer {
  color: rgb(0 0 0 / 50%);
}

.arrow {
  flex: 0 0 0.75rem;
  margin-right: 0.5rem;
  color: rgb(0 0 0 / 50%);
}

.cross {
  flex-basis: 1rem;
}

.experience[href]:hover .arrow {
  color: rgb(0 0 0);
}

footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0 4rem;
}

footer a {
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  footer {
    flex-direction: row;
    gap: 1rem;
  }
}
