:root {
  --light: #fdfdfc;
  --secondary: #e2e1d6;
  --primary: #848068;
  --dark: #77735c;
  --darker: #64614f;
}

@font-face {
  font-family: "Gother";
  src: url("../fonts/gother/gopher-regular-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Gother";
  src: url("../fonts/gother/gopher-bold-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
}

body {
  margin: 0 auto;
  font-family: "Gother", serif;
  background-color: var(--secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  padding-top: 5vh;
  color: var(--darker);
}
header {
  display: flex;
  justify-content: center;
  padding-bottom: 5vh;
}
h2 {
  font-weight: 700;
}

.logo {
  width: 10rem;
}
.section:not(.section.full) {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10vh 2rem;
}
.section-hero {
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2rem);
  max-width: 60ch;
  margin: 0 auto;
  margin-top: 10vh;
}
.section-text p {
  font-size: 1.25rem;
  margin: 0 auto;
}
.section-text p + p {
  margin-top: 1rem;
}
.section-brands {
  padding: 10vh 0;
}

.section-brands p {
  font-size: 0.875rem;
}
.section-brands__grid {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
  place-items: center;
  padding: 5vh 0;
  padding-top: 0;
}
.section-brands__grid img {
  max-height: 3rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
h2:not(footer h2) {
  font-size: 1.5rem;
}

.section-social-media .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
}
.section-social-media .grid a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.section-cta {
  background-image: url("../img/illu_banner2.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--primary);
  background-position: center;
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light);
}
.button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--light);
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}
.button.button-dark {
  border: 1px solid var(--dark);
}
.section-cta .button {
  margin-top: 2rem;
}
.button:hover {
  background-color: var(--dark);
}
.button.button-dark:hover {
  border: 1px solid var(--darker);
  background-color: var(--secondary);
  color: var(--darker);
}
.section-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5vw;
  row-gap: 3rem;
}
.section-footer div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.section-footer h2 {
  margin-bottom: 1rem;
}
.section-footer a:hover {
  color: var(--dark);
}
.text-wrapper h1,
.text-wrapper h2,
.text-wrapper h3,
.text-wrapper h4,
.text-wrapper h5,
.text-wrapper h6 {
  font-weight: 700;
}
.text-wrapper {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  font-weight: 300;
  margin: 0 auto;
}
.text-wrapper h1 {
  margin-bottom: 5vh;
}
.text-wrapper p + h3,
.text-wrapper p + h4,
.text-wrapper p + h5,
.text-wrapper p + h6 {
  margin-top: 2.5rem;
}
.text-wrapper h1 + p,
.text-wrapper h2 + p,
.text-wrapper h3 + p,
.text-wrapper h4 + p,
.text-wrapper h5 + p,
.text-wrapper h6 + p {
  margin-top: 1rem;
}
.text-wrapper p + p {
  margin-top: 1rem;
}
.text-wrapper h2 + h3,
.text-wrapper h3 + h4 {
  margin-top: 1rem;
}
.text-wrapper p + h2 {
  margin-top: 4rem;
}
.text-wrapper ul {
  list-style: disc;
}
.text-wrapper ul li {
  padding-left: 0.25rem;
  margin-left: 1rem;
}
.text-wrapper ul li + li {
  margin-top: 0.5rem;
}
.text-wrapper p + ul,
.text-wrapper ul + p {
  margin-top: 1rem;
}
.text-wrapper a {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
hr {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 2rem;
  border-color: var(--dark);
}
.section.section-slider {
  padding-bottom: 3rem !important;
  padding-top: 0 !important;
  margin-bottom: 10vh !important;
}
.splide__arrow {
  top: unset;
  bottom: -1em;
  background: unset;
}
.splide__arrow svg {
  fill: var(--dark);
}
.splide__pagination__page.is-active {
  background: var(--dark);
}
.splide__arrow--next {
  right: 2rem;
}
.splide__arrow--prev {
  left: 2rem;
}
.splide__slide img {
  height: 40rem;
}
@media (max-width: 640px) {
  .splide__slide img {
    height: 16rem;
  }
  .section-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5vw;
    row-gap: 3rem;
  }
  .section-cta {
    background-size: contain;
    background-repeat: repeat-y;
  }
}
