/* Be My Buzz: same look as the original site builder page */

@font-face {
  font-family: "Poetsen One";
  src: url("../fonts/poetsen-one-400.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-400.woff2") format("woff2");
  font-display: swap;
}

:root {
  --green: #6f845f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--green);
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

h1, h2, h3, p, figure, ul {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

img {
  display: block;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.page {
  max-width: 1202px;
  margin: 0 auto;
}

/* Header */

.logo {
  margin-top: 40px;
  font-family: "Poetsen One", sans-serif;
  font-size: 60px;
  line-height: 1.2;
}
.logo a {
  text-decoration: none;
}

/* Hero: text and menu on the left, photo on the right */

.hero {
  display: grid;
  grid-template-columns: 325px 804px;
  column-gap: 73px;
  align-items: start;
  margin-top: 59px;
}

.guest {
  font-size: 28px;
}

.intro {
  margin: 16px 0 15px;
  font-size: 20px;
  line-height: 24px;
}

.menu ul {
  list-style: none;
  display: grid;
  gap: 19px;
}
.menu a {
  display: block;
  height: 40px;
  border-radius: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
}

.hero-photo {
  width: 804px;
  height: 828px;
  object-fit: cover;
}

/* Sections */

section + section {
  margin-top: 100px;
}

h2 {
  font-size: 40px;
  line-height: 48px;
}

.terug {
  display: block;
  width: 82px;
  height: 20px;
  margin-top: 6px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  line-height: 21px;
  text-align: center;
  text-decoration: none;
}

h3 {
  margin: 27px 0 24px;
  font-size: 40px;
  line-height: 48px;
}

.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.photos img,
figure > img {
  width: 267px;
  height: 200px;
  object-fit: cover;
}
.photos img.portrait {
  width: 150px;
  height: 200px;
}
.terug + .photos {
  margin-top: 37px;
}

.items {
  display: flex;
  flex-wrap: wrap;
  column-gap: 68px;
  row-gap: 40px;
  margin-top: 40px;
}
figcaption {
  margin-bottom: 10px;
  font-size: 28px;
}

.text {
  margin: 40px 0 36px;
}

.map {
  margin-top: 40px;
}
.map iframe {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: 550px;
  border: 0;
}

footer {
  margin-top: 120px;
  padding-bottom: 40px;
}

/* Tablet */

@media (max-width: 1240px) {
  .page {
    padding: 0 24px;
  }
  .hero {
    grid-template-columns: 325px minmax(0, 1fr);
    column-gap: 40px;
  }
  .hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 804 / 828;
  }
}

/* Phone: menu stays visible and captions stay with their photo */

@media (max-width: 760px) {
  body {
    font-size: 24px;
  }
  .page {
    padding: 0 18px;
  }
  .logo {
    margin-top: 16px;
    font-size: 36px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 20px;
  }
  .hero-photo {
    order: -1;
    margin-bottom: 20px;
  }
  .guest {
    font-size: 24px;
  }
  section + section {
    margin-top: 60px;
  }
  h2,
  h3 {
    font-size: 28px;
    line-height: 33px;
  }
  h3 {
    margin: 20px 0 12px;
  }
  .terug {
    width: 125px;
    height: 40px;
    margin-top: 8px;
    border-radius: 20px;
    line-height: 41px;
  }
  .photos img,
  figure > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .photos img.portrait {
    width: calc(50% - 10px);
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .items {
    flex-direction: column;
    row-gap: 30px;
    margin-top: 24px;
  }
  .items figure {
    width: 100%;
  }
  figcaption {
    font-size: 24px;
  }
  .text {
    margin: 24px 0 20px;
  }
  .terug + .photos {
    margin-top: 20px;
  }
  .map {
    margin-top: 20px;
  }
  .map iframe {
    height: 400px;
  }
  footer {
    margin-top: 80px;
  }
}
