* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #9a978c, #cbc8be);
  font-family: Arial, sans-serif;
  color: #2d2d2d;
  min-height: 100vh;
  position: relative;
  padding: 2.5rem 0;
}

/* Main Resume Box */
.cv-container {
  width: 65%;
  max-width: 56.25rem;
  margin: 0 auto;
  background-color: rgba(255, 248, 240, 0.96);
  padding: 2.5rem;
  border: 0.1875rem solid #8b6f47;
  border-radius: 1.125rem;
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.15);
}

.contact-info {
  margin-top: 0.625rem;
  font-style: normal;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.contact-info a {
  color: #5c3d2e;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.375rem;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #8b6f47;
}

.contact-info span {
  color: #888;
  margin: 0 0.25rem;
}

header {
  text-align: center;
  margin-bottom: 1.875rem;
}

header h1 {
  font-size: 2.5rem;
  color: #5c3d2e;
  margin-bottom: 0.625rem;
}

header p {
  font-size: 1rem;
  color: #555;
}

section {
  margin-bottom: 1.75rem;
}

section h2 {
  font-size: 1.4rem;
  color: #6b4226;
  margin-bottom: 0.75rem;
  border-bottom: 0.125rem solid #c8a97e;
  padding-bottom: 0.375rem;
}

section h3 {
  font-size: 1.1rem;
  color: #4a2f21;
  margin-bottom: 0.3125rem;
}

p,
li {
  line-height: 1.7;
  font-size: 1rem;
}

ul {
  padding-left: 1.25rem;
}

.skills-list {
  columns: 2;
  gap: 2.5rem;
}

.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.interests span {
  background-color: #d8c3a5;
  color: #3e2c23;
  padding: 0.5rem 0.875rem;
  border-radius: 1.25rem;
  font-size: 0.95rem;
  border: 0.0625rem solid #8b6f47;
}

.spacer {
  height: 1rem;
  /* vertical gap — adjust as needed */
}

section h3 a {
  color: #5c3d2e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

section h3 a:hover,
section h3 a:focus {
  color: #a15c2f;
  /* match your heading accent color */
  border-bottom-color: currentColor;
}

section h3 a::after {
  content: " ↗";
  font-size: 0.7em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

section h3 a:hover::after {
  opacity: 1;
}

@media (max-width: 68.75rem) {

  .cv-container {
    width: 90%;
    padding: 1.5625rem;
  }
}

@media (max-width: 43.75rem) {

  .skills-list {
    columns: 1;
  }

  header h1 {
    font-size: 2rem;
  }
}