* {
  box-sizing: border-box;
  padding: 0;
  border: none;
  margin: 0;
}


body, html {
  width: 100vw;
  min-height: 100vh;
}

body {
  background-color: black;
  font-family: 'Open sans', sans-serif;
  font-size: 1em;
  line-height: 1.2em;
  color: white;
}

h1 {
  font-size: 3.5em;
  line-height: 1.2em;
}
h2 {
  font-size: 2em;
  line-height: 1.2em;
  margin-bottom: 1em;
}
h3 {
  font-size: 1.5em;
  line-height: 1.2em;
  margin-bottom: 1em;
}

p {
  font-size: 1em;
  line-height: 1.4em;
  margin-bottom: 1em;
}

a {
  color: rgb(200 200 255);
  text-decoration: none;
}
a:hover {
  color: white;
}

button,
a.button {
  display: inline-block;
  background: white;
  font-weight: bold;
  text-transform: uppercase;
  color: rgb(66, 66, 172);
  padding: 1em 2em;
  border-radius: 1em;
  transition: 20ms linear;
}
button.icon span,
a.button.icon span {
  display: inline-block;
  padding-left: 1em;
}
button.icon.icon-only,
a.button.icon.icon-only {
  text-align: center;
  width: 3.2em;
  padding: 1em;
}
button:hover,
button:active,
a.button:hover,
a.button:active {
  background: rgb(66, 66, 172);
  color: white;
}
a.button:active {
  translate: 0 .1em;
  scale: 90%;
}

button.text-button {
  background-color: transparent;
  color: white;
  cursor: pointer;
}
button.text-button i {
  display: inline-block;
  padding-left: 1em;
}
button.text-button:hover {
  color: rgb(66, 66, 172);
}

input, textarea, button[type="submit"] {
  font-family: inherit;
  font-size: 1em;
  line-height: 1.5em;
  padding: .85em 2em;
  border-radius: 20px;
}
input, textarea { width: 100%; }

.relative { position: relative; }

.fullscreen {
  width: 100vw;
  min-height: 100vh;
}

.grid { display: grid; }
.columns-3 { grid-template-columns: 1fr 1fr 1fr; }
.self-justify-center { justify-self: center; }
.self-justify-right { justify-self: right; }
.self-align-center { align-self: center; }

.flex { display: flex; }
.spaced { justify-content: space-between; }
.center { justify-content: center; align-items: center; }
.align-center { align-items: center; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }

section.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(24em, max-content);
  grid-template-areas: "image text";
  background-color: #242424;
}
section.content:nth-of-type(2n) {
  grid-template-areas: "text image";
}
section.content .content--image {
  position: relative;
  grid-area: image;
  overflow: hidden;
}
section.content .content--image img,
section.content .content--image iframe {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
section.content .content--text {
  grid-area: text;
  align-self: center;
  padding: 3em 5em;
}
@media screen and (max-width: 70em) {
  section.content {
    grid-template-rows: minmax(20em, max-content);
    grid-template-columns: 1fr;
    grid-template-areas: "text" "image";
  }
  section.content:nth-of-type(2n) {
    grid-template-areas: "text" "image";
  }
  section.content .content--image {
    height: 20em;
  }
}

section.gallery {
  background-color: rgb(29, 29, 40);
  padding: 2em;
  padding-top: 3em;
}
section.gallery .gallery--images {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2em;
}
section.gallery .gallery--images img {
  width: 100%;
}
@media screen and (max-width: 1400px) {
  section.gallery .gallery--images {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 800px) {
  section.gallery .gallery--images {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 500px) {
  section.gallery .gallery--images {
    grid-template-columns: repeat(2, 1fr);
  }
}

#masthead {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  padding: 1rem 2rem;
  z-index: 1;
}
#masthead.scrolled {
  background-color: black;
  box-shadow: 0 .1em .2em black;
}
@media screen and (max-width: 50em) {
  #masthead button.icon,
  #masthead a.button.icon {
    text-align: center;
    width: 3.2em;
    padding: 1em;
  }
  #masthead button.icon span,
  #masthead a.button.icon span {
    display: none;
  }
}
@media screen and (max-width: 30em) {
  #masthead {
    font-size: 3.2vw;
  }
}

#logo img {
  height: 4em;
}

#hero::before {
  display: block;
  content: " ";
  position: absolute;
  inset: 0;
  background-image: url('../images/hitglass.webp');
  background-size: cover;
  background-position: center;
  color: black;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: brightness(120%);
}
#hero.dark::before {
  filter: brightness(30%);
}
#hero header {
  text-shadow: 0 0 .3em black;
}
#hero h1 {
  margin-bottom: 2rem;
}
#hero h3 {
  margin-bottom: 5rem;
}
#masthead button,
#masthead a.button,
#hero button,
#hero a.button {
  box-shadow: 0 0.1em 0.5em black;
}
#hero--buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}
#hero--content {
  padding: 6em 2em;
}
#hero--request-offer-button {
  padding-inline: 4em;
}
#read-more {
  position: absolute;
  bottom: 2em;
}
#read-more button {
  box-shadow: none;
}
@media only screen and (max-height: 700px) {
  #hero h1 {
    font-size: 2em;
    padding-top: 2em;
    margin-bottom: .4em;
  }
  #hero h3 {
    font-size: 1.1em;
    margin-bottom: 1em;
  }
}


#gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5;
}
#gallery-modal.show {
  display: block;
}
#gallery-modal #gallery-modal--wrapper {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  background-color: rgba(0 0 0 / 0.9);
  width: 100%;
  height: 100%;
}
#gallery-modal img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  margin-inline: auto;
}
#gallery-modal button {
  position: absolute;
  right: 2px;
  top: 2px;
  font-size: 0.8em;
  padding: 0.8rem;
}


#mastfoot .container {
  width: 90vw;
  padding: 1em;
  margin-inline: auto;
}
#mastfoot a img {
  height: 3em;
}
#mastfoot p {
  margin-bottom: 0;
}
#mastfoot #footer-menu {
  display: flex;
  list-style: none;
  gap: 2em;
}
#mastfoot #footer-menu button {
  background: transparent;
  color: rgb(200 200 255);
  cursor: pointer;
  padding: 0;
}
#mastfoot #footer-menu button:hover {
  color: white;
}
@media screen and (max-width: 75em) {
  #mastfoot .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
    width: 100vw;
    margin-inline: 0;
  }
  #mastfoot #footer-menu {
    display: none;
  }
}
