:root {
  --color-primary: #f3eef2;
  --color-secondary: #eee7ed;
  --color-secondary-2: #665077;
  --color-accent: #3a2a3f;
  --color-text: #54445a;
  --bg-btn: #c9a96a;
  --border: #c9a96a;
}

@font-face {
  font-family: "Libertinus Sans";
  src: url("../fonts/subset-LibertinusSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Condensed";
  src: url("../fonts/subset-OpenSansCondensed-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  src: url("../fonts/subset-Cabin-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Cabin";
  font-weight: normal;
  font-style: normal;
  background-color: var(--color-primary);
  color: var(--color-text);
  margin: 0;
  padding: 0;
}
.accent-font {
  font-family: "Libertinus Sans";
  font-weight: normal;
  font-style: normal;
}
.accent-color {
  color: var(--color-accent);
}
.padding-section {
  padding-block: 10rem;
}
.padding-top {
  padding-top: 10rem;
}
.padding-bottom {
  padding-bottom: 10rem;
}
.overlay-wrapper {
  position: relative;
}
.overlay-wrapper::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: #7b5e8e;
  opacity: 0.1;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #ffffff;
  color: #000000;
  padding: 10px;
  z-index: 999;
}
.skip-link:focus {
  top: 0.8rem;
  left: 0.8rem;
}
p {
  line-height: 26px;
}
h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2.8rem;
  line-height: 1.2;
}
a,
button {
  text-decoration: underline;
}
:is(a, button):hover,
:is(a, button):focus {
  text-decoration: none;
}
.btn {
  text-decoration: none;
}
.focus-style-over-light:focus-visible {
  outline: 3px solid #042d7a;
  outline-offset: 3px;
  box-shadow: none;
}
.focus-style-over-dark:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: none;
}
:is(a, button, .btn):focus:not(:focus-visible) {
  outline: none;
  outline-offset: none;
  box-shadow: none;
}
.action-btn {
  position: relative;
  font-family: "Open Sans Condensed";
  border-radius: 0;
  padding: 1rem 2rem;
  border: unset;
  z-index: 1;
  background: #c9a96a;
  text-transform: uppercase;
  font-weight: bolder;
  letter-spacing: 0.1em;
  line-height: 1;
}
.action-btn-on-dark::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  height: calc(100% + 0.6rem);
  width: calc(100% + 0.6rem);
  border: 1px solid #c9a96a;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
  z-index: -1;
}
.action-btn-on-light::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  height: calc(100% + 0.6rem);
  width: calc(100% + 0.6rem);
  border: 1px solid var(--color-accent);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
  z-index: -1;
}
.action-btn:hover::before {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 575.98px) {
  .padding-section {
    padding-block: 6rem;
  }
  .padding-top {
    padding-top: 6rem;
  }
  .padding-bottom {
    padding-bottom: 6rem;
  }
}
