@import url(https://fonts.bunny.net/css?family=bricolage-grotesque:500,800|poppins:500,700);

:root {
  --color-orange: #f9b278;
  --color-red: #943939;
  --color-green: #cde1db;
  --highlight-color: var(--color-orange);
  --spacing: 0.5rem;
}

::selection {
  color: white;
  background: var(--color-red);
}

body {
  margin: 0 auto;
  padding: 0;

  font-family: "Poppins", sans-serif;
  line-height: 1.6;

  min-height: 100vh;
  max-width: 1500px;

  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
header {
  font-family: "Bricolage Grotesque";
}

main {
  text-align: center;

  & > * {
    padding-bottom: calc(var(--spacing) * 4);
  }
}

:not(section) > header {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing);

  & #logo {
    width: 250px;
    height: auto;
    margin: calc(var(--spacing) * 4);
  }
}

nav {
  width: 100%;
  padding-bottom: calc(var(--spacing) * 6);

  & > a {
    text-decoration: none;
    color: black;
    padding: calc(var(--spacing) * 2);
    display: inline-block;

    &:visited {
      color: inherit;
    }

    &:hover {
      color: white;
      background-color: var(--color-red);
    }

    &.active {
      font-weight: bolder;
    }
  }
}

main {
  flex-grow: 1;

  header {
    position: relative;
    & > .hero {
      width: 100%;
      overflow: hidden;
      height: 450px;

      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      /*filter: blur(2px);*/
    }

    & > div + div {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: calc(var(--spacing) * 8);
      left: 0;
      width: 100%;

      font-size: x-large;
      color: white;

      & .button {
        background-color: var(--highlight-color);
        color: black;
      }
    }

    & > img {
      max-width: 100%;
      height: auto;
    }
  }

  header {
    margin-bottom: calc(var(--spacing) * 4);

    & h1 {
      margin-bottom: 0;
    }
    p {
      margin-top: 0;
    }
  }

  section {
    margin-bottom: calc(var(--spacing) * 4);
  }
}

footer {
  width: 100%;
  text-align: center;
  font-size: smaller;
  padding: calc(var(--spacing) * 2) 0;
}

h1 {
  font-size: x-large;
  font-weight: bold;
  margin-bottom: calc(var(--spacing) * 2);
}

p {
  margin: calc(var(--spacing) * 2) 0;
}

button {
  border: 0;
  font: inherit;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 4);
  color: black;

  & > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

.callout:has(form) {
  margin-top: calc(var(--spacing) * 8);
  padding: calc(var(--spacing) * 8) calc(var(--spacing) * 2);
}

input {
  display: block;
  border: 0;
  box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
  padding: calc(var(--spacing) * 2);
  width: 60%;
}

div.callout {
  background-color: var(--highlight-color);
  padding: calc(var(--spacing) * 4);

  text-align: center;

  width: 50%;

  &.callout-green {
    background-color: var(--color-green);
  }

  & .button {
    background-color: var(--color-red);
    color: white;
  }
}

.callout.contact {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--color-green);
  margin-top: 0;

  & > p:nth-child(2n) {
    font-weight: bolder;
  }
}

.rooms {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: calc(var(--spacing) * 4);

  & div:has(img) {
    width: 200px;
    height: 200px;

    overflow: hidden;

    position: relative;

    border-radius: 100px;

    & img {
      width: auto;
      height: 260px;
      position: absolute;

      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}

.ontbijt > div:not(.callout) {
  display: flex;
  gap: calc(var(--spacing) * 2);

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.ontbijt .callout {
  position: relative;
  top: -100px;
  margin: 0 auto;
  margin-bottom: -100px;
}

.about-us {
  margin-bottom: 0;
}

.about-us > div:not(.callout) {
  display: flex;
  gap: calc(var(--spacing) * 2);
  justify-content: center;

  picture {
    width: 60%;
  }

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.about-us .callout {
  position: relative;
  top: -250px;
  right: -200px;
  width: 35%;
  margin: 0 auto;
  margin-bottom: -200px;
}

#photo-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: calc(var(--spacing) * 2);

  & > div {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 2);
  }

  & img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.button {
  color: white;
  text-decoration: none;

  background-color: var(--color-red);
  padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);

  display: inline-block;

  font-size: medium;

  &:hover {
    box-shadow: 0px 0px 3px black;
  }
}

.contact {
  margin-top: calc(var(--spacing) * 10);

  & > p {
    margin: calc(var(--spacing) * 4) 0;
  }

  & > p:nth-child(2n) {
    font-weight: bolder;
    margin-bottom: calc(var(--spacing) * 1);
  }

  & > p:nth-child(2n + 1) {
    font-weight: bolder;
    margin-top: 0;
  }
}
