*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --c-primary: #304945;
  --c-background: #fff;
  --p-container: 2rem;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  color: var(--c-primary);
  background-color: var(--c-background);
  font-family: sans-serif;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

header {
  display: flex;
  margin: auto;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 88rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--p-container);
  padding-left: var(--p-container);
}

.logo {
  width: 50rem;
  max-width: 100%;
}


.background-video,
.background-image {
  background-color: var(--c-background);
}

.background-video {
  z-index: -1;
}

.background-image {
  margin: 0;
  z-index: -2;
}

.background-video,
.background-video video,
.background-image,
.background-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}

.background-video video,
.background-image img {
  opacity: 0.3;
}

@media (prefers-reduced-motion: reduce) {
  .background-video {
    display: none;
  }
}

.footer {
  display: inline-flex;
  margin: 0 auto;
  padding: 0 var(--p-container) var(--p-container);
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.nav-socials {
  display: flex;
  margin-right: auto;
  gap: 1rem;

  @media (hover: hover) and (pointer: fine) {
    gap: 2rem;
  }

  a {
    display: inline-grid;
    place-content: center;
    min-width: 44px;
    min-height: 44px;

    @media (hover: hover) and (pointer: fine) {
      min-width: 24px;
      min-height: 24px;

      &:hover {
        svg {
          transform: scale(1.2);
        }
      }
    }

    svg {
      width: 1.5rem;
      height: auto;
      transition: transform 0.2s ease-in-out;
    }

    span {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border-width: 0;
    }
  }
}

.legal {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}
