:root {
  --color-text: hsl(0, 0%, 100%);
  --color-primary: hsl(0, 0%, 8%);
  --color-secondary: hsl(0, 100%, 60%);
}

html, body {
  min-height: 100vh;
}

body {
  font-family: 'Blinker';
  font-weight: 400;
  font-size: clamp(12px, 4vw, 16px);
  line-height: 1.3;
  color: var(--color-text);
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
}

body >* {
  display: block;
}

b, strong {
  font-weight: 600;
}

a:not(.button) {
  display: inline-block;
  width: fit-content;
  line-height: 1.3;
  text-decoration-thickness: 0;
  text-underline-offset: .5em;
  text-decoration: none;
  transition: all .2s ease-out 0s;

  &:hover {
    text-decoration: underline;
    text-underline-offset: .3em;
    text-decoration-thickness: 1px;
  }
}

.logo {
  width: 80vw;
  height: auto;
  max-width: 400px;
  max-height: 30%;
}

.button {
  font-weight: 400;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-secondary);
  display: inline-flex;
  padding: 1em 1.5em;
  border-radius: 300px;
  transition: all .2s ease-out 0s;

  &:hover {
    background-color: hsl(0, 100%, 50%);
    transform: scale(1.05);
  }
}

.half {
  width: 100vw;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.top {
  width: 100%;
}

.intro-img {
  display: block;
  width: 100%;
  max-height: 100vh;
  object-fit: cover;
  object-position: 20% center;

  @media (orientation: landscape) {
    height: 70vh;
  }
  @media (orientation: portrait) {
    height: 50vh;
  }
}


h2.button {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -50%;
  margin: 0;
}

.site-footer {
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  width: 100%;
  padding: 5rem 5rem;
  background-color: var(--color-primary);

  * {
    color: inherit;
  }

  p {
    margin: 0;
  }

  h6 {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.1ch;
    margin: 0;
  }
}

.footer-blocks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1em, 2vw, 2em);
  width: auto;

  @media screen and (min-width: 640px) {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    gap: clamp(1em, 5vw, 4em);

    >* {
      flex-grow: 1;
      flex-basis: 40%;

      &:nth-child(1), &:nth-child(2) {
      }
    }
  }
  @media screen and (min-width: 1024px) {
    flex-direction: row;
    align-items: end;
    gap: clamp(1em, 5vw, 4em);

    >* {
      flex-basis: 25%;
    }
  }

  >* {
    white-space: nowrap;
    border-bottom: 2px var(--color-secondary) solid;
    padding: 1em 0;
  }

  .footer-logo {
    /* flex-basis: 100%; */

    svg {
      /* width: clamp(200px, 16vw , 300px); */
      height: 100%;
      max-width: min(400px, 100%);
      object-fit: contain;
    }
  }
}

.footerlinks {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}
