@font-face {
  font-family: 'Basteleur-B';
  src: url('../assets/fonts/Basteleur-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Basteleur';
  src: url('../assets/fonts/Basteleur-Moonlight.woff2') format('woff2');
}

body {
  background: #e4e3dc;
  color: #000000;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin: 0;
}

header {
  margin: 50px 0 50px 50px;
}

#nav a {
  font-size: 1rem; 
  text-decoration: underline;
  color: #000;
}

h1 {
  font-weight: normal;
  font-family: 'Basteleur';
  font-size: 2em;
}

p {
  color: rgb(64, 64, 67);
  font-family: 'Basteleur';
  font-size: 1.5em;
  margin: 0;
}

.boxes {
  display: flex;
  flex-wrap: wrap; /* allows wrapping to next row */
  width: 100%;
}


.box {
  position: relative;
  flex: 1 1 33%;          /* each takes 1/3 of the width */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0px solid white;
}

.box a.corner-link {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;

  font-family: 'Basteleur';
  font-size: 0.8em;
  text-decoration: none;
  color: white;
  transition: 0.5s;
}

.box a.corner-link:hover {
  letter-spacing: 0.07em;
}



iframe {
  width: 100%;
  height: 100%;
  border: none; /* removes default iframe border */

  overscroll-behavior: contain; /* This was to stop the overscroll bouncing but it doesn't work */
}