html {
  display: flex;
  flex-direction: column;
  font-family: "Libre Baskerville";
  width: 100vw;
  max-width: 100%;
  align-items: center;
  justify-content: center;

  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

body {
  width: 47em;
  max-width: 90%;
  overscroll-behavior-y: none;
}

header h1,
header h2 {
  margin: 0;
}

nav {
  width: 100%;
}

nav ul {
  padding: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li {
  display: inline-block;
  padding: 0.5em;
}

nav ul li:hover {
  background-color: #aaa;
}

nav ul li a {
  color: black;
}

.script {
  font-family: "Beau Rivage";
  font-weight: 400;
}
h1.script {
  font-size: 50px;
}
h2.script {
  font-size: 30px;
}

.centerText {
  text-align: center;
}

.contentBox {
  box-sizing: border-box;
  width: 100%;
  border-radius: 7px;
  padding: 1em;
  box-shadow: 5px 5px 10px #555;
  margin-top: 2em;
  background-color: #ffffffbb;
}

.responsiveFlex {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (width <= 600px) {
  .responsiveFlex {
    flex-direction: column;
  }
  .responsiveFlex img {
    order: 100;
  }
}

.responsiveFlex * {
  flex: 1;
}

.responsiveFlex img {
  border-radius: 10px;
  min-width: 0px;
  min-height: 0px;
  width: 100%;
}

.phone {
  display: inline-block;
}

.imgOverlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: #000000ee;
  display: none;
  flex-direction: column;
  justify-content: center;
}
.imgOverlay img {
  box-sizing: border-box;
  padding: 30px;
  width: 100%;
  max-height: calc(100% - 5em - 50px);
  height: auto;
  object-fit: contain;
}
.imgOverlay p {
  color: white;
  text-align: center;
  font-family: "Libre Baskerville";
}
.imgOverlay div {
  top: 0px;
  right: 0px;
  position: fixed;
  color: white;
  font-size: 50px;
  padding: 10px;
}
.imgOverlay div:hover {
  color: black;
  background-color: white;
  cursor: pointer;
}

img[onclick] {
  cursor: pointer;
}

img[onclick]:hover {
  outline: white;
  outline-style: solid;
}

.imageGrid {
  margin-top: 1em;
  width: 100%;
  gap: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (width <= 600px) {
  .imageGrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (width <= 300px) {
  .imageGrid {
    grid-template-columns: 1fr;
  }
}
.imageGrid img {
  object-fit: cover;
  min-width: 0px;
  min-height: 0px;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
}
