/*  -----
    The Fonts
    ----- */

@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/acuminpro-extralight.woff2") format("woff2");
  font-weight: 275;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/acuminpro-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --clr-dark: hsl(216, 20%, 26%); /* #354050 */
  --clr-accent: hsl(16, 30%, 44%); /* #91604e */
  --clr-light: hsl(0, 0%, 100%); /* #ffffff */

  --fs--1: 1rem;
  --fs-0: clamp(1rem, 2vi, 1.125rem);

  --ff-base: "Acumin Pro", sans-serif;

  --fw-extralight: 275;
  --fw-regular: 400;

  --transition: all 0.25s ease-in-out;
}

/* The Great Reset (https://www.joshwcomeau.com/css/custom-css-reset/) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}

/*  -----
    The General Styling
    ----- */

body {
  font-family: var(--ff-base);
  font-weight: var(--fw-extralight);
  font-size: var(--fs-0);
  font-style: normal;
  color: var(--clr-light);
  background-color: var(--clr-accent);
  word-break: break-word;
  text-rendering: optimizeSpeed;
}
.flow > * + * {
  margin-top: var(--content-space, 1em);
}
a {
  color: inherit;
  text-decoration: underline transparent 1px;
  text-underline-offset: 0.25em;
  transition: var(--transition);
}
a:hover {
  text-decoration-color: currentColor;
}

.container {
  --container-width: 64rem;
  width: min(var(--container-width), 100% - 2rem);
  margin-inline: auto;
}

/*  -----
    Hero
    ----- */

.hero {
  --spacing: clamp(3rem, 6vi, 4.5rem);

  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: var(--spacing);

  display: grid;
  grid-template-rows: 1fr auto;
  row-gap: var(--spacing);

  background-color: var(--clr-accent);
  background-image: url("../images/fluffy-waves.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--clr-dark);
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(2.5rem, 10vi, 7rem);
}

/* Tekst */
.intro {
  --container-width: 38rem;
  --content-space: 1.8em;

  line-height: 1.8;
  text-align: center;
  text-wrap: pretty;
}
.intro p {
  hyphens: none;
}

/* Logo */
.logo {
  width: clamp(11rem, 25vi, 19rem);
  font-size: inherit;
  font-weight: inherit;
  line-height: 0;
}

/* Contact */
.contact {
  --container-width: 47rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  font-size: var(--fs--1);
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 50rem) {
  .contact {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
  }
}
