* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #f8f4ef;
  color: #1f1e1c;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

body > * {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */

header {
  padding: 30px 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

header img {
  width: 100px;
  height: auto;
  mix-blend-mode: multiply;
}

nav {
  display: flex;
  gap: 35px;
  align-items: center;
}

nav a {
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: bold;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #b49216;
  border-bottom: 2px solid #b49216;
}

/* Main Layout */

main {
  padding: 20px 45px 60px;
}

main > section:first-of-type {
  background: linear-gradient(135deg, #fffaf4 0%, #eee4dc 100%);
  border: 1px solid #e2d5c9;
  border-radius: 24px;
  padding: 65px 55px;
  margin-bottom: 45px;
  box-shadow: 0 18px 45px rgba(44, 38, 30, 0.08);
  position: relative;
  overflow: hidden;
}

main > section:first-of-type::after {
  content: "♪";
  position: absolute;
  right: 45px;
  top: 20px;
  font-size: 8rem;
  color: rgba(180, 146, 22, 0.12);
}

main > section:not(:first-of-type) {
  background-color: #fffaf4;
  border: 1px solid #e8dcd2;
  border-radius: 18px;
  padding: 35px 40px;
  margin-bottom: 28px;
  box-shadow: 0 10px 25px rgba(44, 38, 30, 0.05);
}

/* Typography */

h1,
h2 {
  color: #c47f8a;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-weight: normal;
  line-height: 1.2;
}

h1 {
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 18px;
}

p {
  font-size: 1.05rem;
  max-width: 900px;
}

/* Links and Buttons */

main a {
  display: inline-block;
  background-color: #b49216;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 12px;
}

main a:hover {
  background-color: #111;
}

/* Lists */

ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

li {
  background-color: #f7efe8;
  border-left: 4px solid #b49216;
  padding: 12px 16px;
  border-radius: 10px;
}

/* Special Section Styling */

section:nth-of-type(2),
section:nth-of-type(3) {
  position: relative;
}

section:nth-of-type(2)::before {
  content: "♫";
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 3.5rem;
  color: rgba(180, 146, 22, 0.18);
}

section:nth-of-type(3)::before {
  content: "♬";
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 3.5rem;
  color: rgba(196, 127, 138, 0.18);
}

/* Footer */

footer {
  background-color: #efe4dc;
  border-top: 2px solid #d9c8bd;
  padding: 35px 45px;
  margin-bottom: 40px;
  color: #38342f;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile */

@media screen and (max-width: 800px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  header img {
    width: 100px;
  }

  nav {
    flex-direction: column;
    gap: 14px;
  }

  main {
    padding: 15px 20px 45px;
  }

  main > section:first-of-type,
  main > section:not(:first-of-type) {
    padding: 30px 24px;
  }

  h1 {
    font-size: 1.7rem;
    letter-spacing: 4px;
  }

  h2 {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  ul {
    grid-template-columns: 1fr;
  }
}
