:root {
  --bs-primary: #f5eada;
  --bs-primary-rgb: 245, 234, 218;
  --navbar-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bs-primary);
}

.colored-text {
  font-family: "The Nautigal", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(5rem, 20vw, 9rem);
  letter-spacing: -0.25rem;
  white-space: nowrap;
}

section {
  scroll-margin-top: var(--navbar-height);
  margin: 3rem 1.5rem 1rem;
  padding: 0.5rem 0;
}

section::before {
  content: '✿';
  display: block;
  text-align: center;
  color: #f6c943;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

section p {
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.9;
  color: #5a4a3a;
  letter-spacing: 0.02em;
}

section ul {
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.9;
  color: #5a4a3a;
  letter-spacing: 0.02em;
}

section .table-responsive {
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
}

section .table {
  --bs-table-bg: transparent;
  border: 1px solid rgba(138, 117, 96, 0.2);
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

section .table td {
  padding: 0.75rem 1.5rem;
  color: #8a7560;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(138, 117, 96, 0.2) !important;
}

section .table tr:last-child td {
  border-bottom: none !important;
}

section .table td:last-child {
  white-space: nowrap;
  width: 1%;
  font-weight: 500;
  text-align: right;
}

section ul a,
.link-highlight {
  color: #8a7560;
  text-decoration: underline;
}

section ul a:hover,
.link-highlight:hover {
  color: #5a4a3a;
}

footer {
  border-top: 1px solid rgba(138, 117, 96, 0.2);
  margin-top: 4rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

footer p {
  color: #f6c943;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
}

.letter-green {
  color: #75e5b1;
}

.letter-orange {
  color: #f6c943;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #8a7560;
  letter-spacing: 0.05em;
}

.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background-color: #f6c943;
  margin: 0.75rem auto 2rem;
}

.tagline {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.1rem, 5vw, 2.0rem);
  line-height: 1.3;
  color: #8a7560;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.credentials {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 1.0rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8a7560;
}

.credentials.fw-semibold {
  font-weight: 500;
}

.navbar {
  background-color: rgba(235, 220, 200, 0.75) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(138, 117, 96, 0.25);
}

.navbar .nav-link {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #8a7560 !important;
}

.navbar .nav-link:hover {
  color: #5a4a3a !important;
}

.navbar .nav svg,
#contact a svg {
  color: #8a7560;
  transition: color 0.2s ease;
}

.navbar .nav a:hover svg,
#contact a:hover svg {
  color: #5a4a3a;
  transform: scale(1.15);
}

.footer-colored-logo-text {
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: -0.1rem;
}

.about-wrap {
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  display: flow-root; /* contains the float's height without clipping the bleed */
}

.about-wrap p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.about-photo {
  display: block;
  width: clamp(200px, 55vw, 320px);
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(138, 117, 96, 0.25);
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .about-photo {
    float: right;
    width: clamp(240px, 34vw, 400px);
    margin: 1rem -2rem 1rem 2rem;
    shape-outside: margin-box;
  }
}
