* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #202124;
  background: #f5f2ed;
  line-height: 1.6;
}

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 20px;
}

header {
  margin-bottom: 24px;
}

.tag {
  margin: 0 0 12px;
  color: #7a5135;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

h1 {
  margin-bottom: 16px;
  font-size: 52px;
  line-height: 1.15;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.intro {
  max-width: 660px;
  font-size: 20px;
  color: #444;
}

.links {
  display: flex;
  gap: 12px;
  margin: 26px 0 0;
  font-family: Arial, Helvetica, sans-serif;
}

.links a {
  padding: 9px 14px;
  border: 1px solid #d1c3b4;
  border-radius: 999px;
  color: #202124;
  text-decoration: none;
  background: #fffaf4;
}

.links a:first-child {
  color: #fff;
  border-color: #202124;
  background: #202124;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 32px;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(55, 42, 30, 0.15);
}

.card {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #e0d7cc;
  border-radius: 10px;
  background: #fffaf4;
}

ul {
  padding-left: 20px;
}

article {
  margin-bottom: 18px;
}

a {
  color: #8a4b22;
}

.contact {
  margin-bottom: 18px;
}

@media (max-width: 520px) {
  main {
    padding-top: 36px;
  }

  h1 {
    font-size: 38px;
  }

  .intro {
    font-size: 18px;
  }

  .links {
    flex-direction: column;
  }

  .links a {
    text-align: center;
  }
}
