html {
  padding: 0px;
  margin: 0px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}
body {
  margin: 0px;
  padding: 0px;
  animation: 0.5s ease-in-out 0s 1 fadeIn;
  background-color: #f9f7ea;
}

#content-container {
  box-sizing: border-box;
  display: grid;
  height: fit-content;
  max-width: 1200px;
  grid-template-columns: 12% 25% 22% 25% 12%;
}
@media screen and (max-width: 1080px) {
  #content-container {
    grid-template-columns: 3% 28% 30% 28% 3%;
  }
}
#content-container {
  column-gap: 1%;
  grid-template-rows: repeat(auto-fit, min(250px, 10vh));
  row-gap: 20px;
  grid-auto-rows: 10vh;
  place-items: center;
  place-content: stretch;
}
#content-container .full-width-padded {
  grid-column: 3/4;
}
#content-container .button {
  cursor: pointer;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  height: 50px;
  width: min(75%, 250px);
  display: block;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border-radius: 3px;
  z-index: 25;
  background-color: #620a16;
  color: #f9f7ea;
  background: rgba(98, 10, 22, 0.86);
  border: 1px solid rgba(217, 217, 217, 0.8);
}
#content-container .button a {
  text-decoration: none;
  color: #f9f7ea;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
}
#content-container .white-button {
  cursor: pointer;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  height: 50px;
  width: min(75%, 250px);
  display: block;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border-radius: 3px;
  z-index: 25;
  background-color: #f9f7ea;
  color: #620a16;
  border-color: #620a16;
  border-width: 0.5px;
  border-style: solid;
}
#content-container .white-button a {
  text-decoration: none;
  color: #620a16;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
}
#content-container .banner-button {
  z-index: 25;
}

@media screen and (max-width: 600px) {
  #content-container {
    display: flex;
    flex-direction: column;
    height: fit-content;
    margin-right: 10px;
    margin-left: 10px;
  }
}
.full-width {
  grid-column: 1/6;
}

.centered {
  grid-column: 3;
}

@font-face {
  font-family: AlverataBl;
  src: local("AlverataBl"), url("../../static/AlverataBl.otf") format("opentype");
}
@font-face {
  font-family: Greatly;
  src: local("Greatly Clean"), url("../../static/Greatly Clean.otf");
}
:root {
  pointer-events: auto;
}

figure {
  margin: 0;
}

#logo {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 15vw;
  height: auto;
}
#logo img {
  width: 15vw;
  height: auto;
}

@media screen and (max-width: 600px) {
  #logo {
    width: 30vw;
    left: 35vw;
  }
  #logo img {
    width: 30vw;
  }
}
h1 {
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  text-align: center;
  font-weight: 800;
  font-size: 84px;
  line-height: 0.9;
  color: #620a16;
}
h1 strong {
  font-family: Greatly;
  font-weight: 400;
}

h2 {
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  text-align: center;
  font-size: 36px;
  font-weight: 200;
  line-height: 1.1;
  color: #52453c;
}
h2 strong {
  font-family: Greatly, Georgia, "Times New Roman", Times, serif;
}

h3 {
  font-family: Greatly, Georgia, "Times New Roman", Times, serif;
  text-align: left;
  font-size: 48px;
  color: #52453c;
  line-height: 0.9;
}

h4 {
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  text-align: left;
  font-size: 24px;
  line-height: 0.9;
  color: #52453c;
}

p {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1;
  color: #52453c;
  font-size: 1em;
}

#tour-button p {
  font-family: AlverataBl;
  color: #f9f7ea;
  margin: auto;
}

li {
  font-size: 1em;
  padding: 22px auto;
  font-family: Georgia, "Times New Roman", Times, serif;
}

#footer {
  grid-area: -1/1/-1/6;
  display: flex;
  flex-direction: column;
  background-color: #52453c;
  width: 100vw;
  position: relative;
  left: calc((100vw - 1200px) / 2 * -1);
  box-sizing: border-box;
  height: fit-content;
  place-self: start stretch;
}
#footer #footer-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#footer #footer-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#footer img {
  height: 125px;
  width: fit-content;
  margin: auto;
}
#footer h2 {
  color: #f9f7ea;
}
#footer #addresses {
  text-align: center;
  color: #f9f7ea;
  text-decoration: none;
  padding-bottom: 10vh;
}
#footer #addresses a {
  color: #f9f7ea;
  text-decoration: underline;
}
@keyframes link-hover {
  0% {
    color: #f9f7ea;
  }
  100% {
    color: rgba(249, 247, 234, 0.7333333333);
  }
}
#footer #addresses a:hover {
  animation: 0.25s ease-in 0s both link-hover;
  color: #52453c;
}

#social-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  height: 100px;
  box-sizing: border-box;
  margin: 0px 5vw 8vh 5vw;
}
#social-icons figure {
  align-content: center;
  width: 45px;
  height: auto;
  padding: 20px;
}
#social-icons img {
  width: 45px;
  height: auto;
}
#social-icons #wedding-wire {
  width: 90px;
  height: auto;
}
#social-icons #wedding-wire img {
  width: 90px;
  height: auto;
}

@media screen and (max-width: 600px) {
  #footer {
    width: 100vw;
    color: #f9f7ea;
    background-color: #52453c;
    display: flex;
    flex-direction: column;
    place-self: center;
    left: 0;
  }
  #footer h2 {
    color: #f9f7ea;
  }
  #footer #footer-left {
    width: 100vw;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  #footer #footer-right {
    width: 100vw;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  #footer img {
    width: 100%;
    height: auto;
  }
  #footer #addresses {
    text-align: center;
    text-decoration: none;
    padding-bottom: 10vh;
  }
  h1 {
    font-weight: 600;
    font-size: 52px;
    padding: 18px 0 18px;
  }
}
/*
    Banners are built to be modular with as little specific code as possible.
    Structure of a banner is:
        - Main Container: Identifies the element as a banner
        - Sub Container: Chooses the variation of the banner (transparent, red, left, right, etc.)
        - Image Element
        - Text Stack
*/
#homepage-banners {
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  grid-area: 59/2/102/5;
}

#breakout-banners {
  display: grid;
  grid-area: 21/1/49/6;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: subgrid;
  column-gap: 5px;
}
#breakout-banners .banner-right-text {
  grid-area: 10/2/30/5;
}
#breakout-banners .banner-right-text h2 {
  text-align: left;
}

#wedding-banner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: subgrid;
  grid-area: 1/1/20/6;
}
#wedding-banner figure,
#wedding-banner img {
  display: grid;
  grid-area: 1/1/20/5;
  overflow: hidden;
  object-fit: cover;
  height: 100% !important;
  width: 100% !important;
  border-radius: 3px;
}
#wedding-banner .banner-right-text {
  grid-area: 1/3/40/7;
  place-self: start;
}
#wedding-banner .banner-right-text h2, #wedding-banner .banner-right-text p {
  padding-left: 25px;
}
#wedding-banner .transparent-right {
  overflow: visible;
  height: 100.5%;
  background: linear-gradient(to right, rgba(249, 247, 234, 0), rgba(249, 247, 234, 0.7333333333) 10%, #f9f7ea 30%);
}
#wedding-banner .banner-button {
  cursor: pointer;
  margin: 0 auto;
  place-self: center;
  width: 100%;
  height: 100%;
  grid-area: 16/5/20/7;
}

#private-events-banner,
#winery-banner,
#wine-club-banner {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: subgrid;
}
#private-events-banner figure,
#private-events-banner img,
#winery-banner figure,
#winery-banner img,
#wine-club-banner figure,
#wine-club-banner img {
  z-index: -15;
  grid-area: 1/1/20/5;
  height: 100% !important;
  width: 100% !important;
  overflow: hidden;
  object-fit: cover;
  border-radius: 3px;
}
#private-events-banner img,
#winery-banner img,
#wine-club-banner img {
  mask-image: linear-gradient(to bottom, #000000, rgba(85, 85, 85, 0.6666666667) 10%, rgba(85, 85, 85, 0.1333333333) 30%, transparent 75%);
}
#private-events-banner .banner-button,
#winery-banner .banner-button,
#wine-club-banner .banner-button {
  cursor: pointer;
  grid-area: 20/1/24/5;
  height: 100%;
  width: 100%;
  place-self: end stretch;
  margin: 0 auto;
}
#private-events-banner .banner-right-text,
#winery-banner .banner-right-text,
#wine-club-banner .banner-right-text {
  margin: 0px 30px;
  grid-area: 6/1/24/5;
}
#private-events-banner .banner-right-text h2,
#winery-banner .banner-right-text h2,
#wine-club-banner .banner-right-text h2 {
  font-family: Greatly, AlverataBl, Georgia, "Times New Roman", Times, serif;
}
#private-events-banner .banner-right-text h2, #private-events-banner .banner-right-text p,
#winery-banner .banner-right-text h2,
#winery-banner .banner-right-text p,
#wine-club-banner .banner-right-text h2,
#wine-club-banner .banner-right-text p {
  place-self: start center;
  text-align: center;
}
#private-events-banner .transparent-right,
#winery-banner .transparent-right,
#wine-club-banner .transparent-right {
  overflow: visible;
  height: 100.5%;
  background: linear-gradient(to right, rgba(249, 247, 234, 0), rgba(249, 247, 234, 0.6666666667) 15%, #f9f7ea 30%);
}

#private-events-banner {
  display: grid;
  grid-area: 1/1/29/3;
}

#winery-banner {
  display: grid;
  grid-area: 1/3/29/5;
}

#wine-club-banner {
  display: grid;
  grid-area: 1/5/29/7;
}

.transparent {
  background-color: transparent;
}
.transparent .left-image {
  grid-column: 1/4;
  z-index: -10;
}
.transparent .right-image {
  grid-column: 3/7;
  z-index: -10;
}
.transparent .banner-right-text {
  grid-area: 10/3/30/7;
  z-index: 10;
}
.transparent .banner-right-text h2 {
  text-align: left;
}
.transparent .banner-left-text {
  grid-area: 1/1/3/3;
  z-index: 10;
}
.transparent .banner-left-text h2 {
  text-align: right;
}

.transparent-right {
  background: linear-gradient(to right, rgba(249, 247, 234, 0), #f9f7ea 10%);
}

.transparent-left {
  background: linear-gradient(to right, #f9f7ea, 20%, rgba(249, 247, 234, 0));
}

.red {
  background-color: #620a16;
}
.red .left-image {
  grid-column: 1/4;
  z-index: -10;
}
.red .right-image {
  grid-column: 3/7;
  z-index: -10;
}
.red .banner-right-text {
  grid-area: 10/3/30/7;
  z-index: 10;
}
.red .banner-right-text h2 {
  text-align: left;
}
.red .banner-left-text {
  grid-area: 1/1/3/3;
  z-index: 10;
}
.red .banner-left-text h2 {
  text-align: right;
}

.red-right {
  background: linear-gradient(to left, #620a16, 60%, rgba(98, 10, 22, 0));
}

.red-left {
  background: linear-gradient(to right, #620a16, 60%, rgba(98, 10, 22, 0));
}

#venue-features {
  grid-area: 14/1/18/6;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 75px repeat(3, 225px);
  background-color: transparent;
  color: #620a16;
  place-self: start center;
}
#venue-features h2 {
  grid-column: span 3;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  line-height: 1;
  text-align: center;
  color: #52453c;
}
#venue-features .venue-feature {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}
#venue-features .venue-feature .inner-div p {
  text-align: center;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  font-weight: 200;
  font-size: 14px;
  margin-left: 15%;
  margin-right: 15%;
  color: #52453c;
  line-height: 1.1;
}
#venue-features .left-border::before {
  content: "";
  height: calc(100% - 50px);
  width: 1px;
  top: 30px;
  background-color: #620a16;
  position: absolute;
  left: 0;
}
#venue-features .venue-feature::after {
  content: "";
  width: 80%;
  height: 1px;
  background-color: #620a16;
  position: absolute;
  bottom: 0;
  left: 10%;
}

@media screen and (max-width: 600px) {
  #venue-features {
    padding: 35px 3vw 25px 3vw;
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    margin-top: 25px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  #venue-features .venue-feature {
    width: 100%;
    height: 150px;
  }
  #venue-features .venue-feature .inner-div p {
    margin: 35px 10%;
  }
  #venue-features .venue-feature::before {
    display: none;
  }
  #venue-features :last-child::after {
    display: none;
    margin-bottom: 5px;
  }
}
@media screen and (min-width: 600px) {
  #venue-features .no-bottom::after {
    display: none;
  }
}
#nav {
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  flex-direction: row;
  width: 100vw;
  justify-content: space-around;
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  place-self: center stretch;
  z-index: 65;
  background: rgba(249, 247, 234, 0.7333333333);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
#nav #nav-logo {
  z-index: 99;
  width: 100%;
  max-width: 200px;
  border-radius: 5px;
}
#nav #nav-left, #nav #nav-right {
  width: 35vw;
}
#nav .main-nav-links {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
#nav .main-nav-links div {
  display: flex;
  position: relative;
  margin-top: auto;
  border-left: #f9f7ea;
  border-right: #f9f7ea;
}
#nav .main-nav-links .nav-link {
  display: block;
  padding: 45px 3vw;
}
#nav a {
  text-decoration: none;
  color: #620a16;
}

#mobile-nav {
  display: none;
}

@media screen and (max-width: 600px) {
  #nav {
    display: none;
  }
  .nav-shape.clicked {
    background-color: #f9f7ea !important;
    z-index: 100;
  }
  #mobile-nav {
    z-index: 99;
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    box-sizing: border-box;
    height: 25px;
    width: 25px;
  }
  #mobile-nav #mobile-nav-top-rectangle {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: #620a16;
    width: 25.5px;
    height: 2px;
  }
  #mobile-nav #mobile-nav-mid-rectangle {
    position: fixed;
    top: 22.5px;
    right: 15px;
    background-color: #620a16;
    width: 22.1px;
    height: 2px;
  }
  #mobile-nav #mobile-nav-bottom-rectangle {
    position: fixed;
    top: 30px;
    right: 15px;
    background-color: #620a16;
    width: 25.5px;
    height: 2px;
  }
  #mobile-nav .nav-clicked {
    background-color: #620a16;
    right: 25px;
  }
  #mobile-nav #mobile-nav-overlay {
    position: fixed;
    height: 100vh;
    width: 100vw;
    left: 110%;
    top: 0px;
    opacity: 0;
    background-color: #620a16;
    color: #f9f7ea;
  }
  #mobile-nav #mobile-nav-overlay #mobile-nav-links {
    margin: 25% 5% 15% 5%;
    height: 60%;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    text-align: center;
  }
  #mobile-nav #mobile-nav-overlay #mobile-nav-links .nav-link {
    opacity: 0;
    color: #f9f7ea;
    text-decoration: none;
    font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
  }
}
#tour-button-overlay {
  z-index: 99;
  cursor: pointer;
  position: fixed;
  bottom: 0;
  width: 100vw;
  height: 50px;
  font-family: AlverataBl;
  display: block;
  margin: auto;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background: rgba(98, 10, 22, 0.86);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid rgba(217, 217, 217, 0.8);
}
#tour-button-overlay a {
  color: #f9f7ea;
  width: 100%;
  text-align: center;
  font-size: 18px;
}

@media screen and (min-width: 600px) {
  #tour-button-overlay {
    position: fixed;
    width: 235px;
    bottom: 3vh;
    right: 5vw;
    border-radius: 3px;
  }
  @keyframes colorFade {
    from {
      background-color: #620a16;
      height: 50px;
      width: 235px;
    }
    to {
      background-color: #52453c;
      height: 52px;
      width: 238px;
    }
  }
  #tour-button-overlay:hover {
    animation: 0.2s ease-in 0s forwards colorFade;
  }
}
@media screen and (max-width: 600px) {
  h2 {
    margin: 25px auto 10px;
  }
  p {
    margin: 22px auto;
  }
  #main-header {
    position: relative;
    margin: 10vh auto;
    text-align: center;
    width: 50%;
    padding-bottom: 1vh;
  }
}
#mc_embed_shell {
  grid-area: 161/2/181/5;
  place-self: center;
  height: fit-content;
  width: 90%;
  margin: 5%;
  display: flex;
  flex-direction: column;
}
#mc_embed_shell h2 {
  padding-bottom: 50px;
}
#mc_embed_shell .indicates-required {
  padding-left: 5%;
  font-size: 10px;
}
#mc_embed_shell .mc-field-group.input-group {
  display: flex;
  flex-direction: column;
}
#mc_embed_shell .mc-field-group.input-group ul {
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  display: flex;
  flex-direction: column;
  list-style: none;
}
#mc_embed_shell .mc-field-group.input-group ul li {
  padding-top: 5px;
  padding-bottom: 5px;
}
#mc_embed_shell .mc-field-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 0px 5px 0px;
}
#mc_embed_shell .mc-field-group input {
  font-family: AlverataBl;
  flex-grow: 3;
  margin-left: 25px;
  padding: 0px 5px;
  height: 15px;
  background-color: #f9f7ea;
  border-top-style: none;
  border-left-style: none;
  border-right-style: none;
  border-bottom: 1px solid #620a16;
}
@keyframes selector {
  0% {
    border-left-color: rgba(98, 10, 22, 0);
    border-right-color: rgba(98, 10, 22, 0);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  100% {
    border-left-color: #620a16;
    border-right-color: #620a16;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}
#mc_embed_shell .mc-field-group input:focus, #mc_embed_shell .mc-field-group input:focus-visible {
  animation: 0.5s ease-in-out 0s 1 both selector;
  outline: none;
  border-left: 1px solid;
  border-right: 1px solid;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
#mc_embed_shell #mc-embedded-subscribe {
  cursor: pointer;
  position: relative;
  height: 50px;
  width: min(75%, 250px);
  display: block;
  margin: 25px auto;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: #620a16;
  color: #f9f7ea;
  font-family: AlverataBl;
  font-size: 1rem;
  text-align: center;
  border-radius: 3px;
  border-style: none;
}

.detail-card {
  grid-column: span 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  grid-template-areas: "img img img" "img img img" "div div div" "div div div" "div div div";
  height: 90%;
  padding: 15px;
  margin-bottom: 25px;
  box-sizing: border-box;
  border-radius: 3px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.detail-card figure, .detail-card img {
  grid-area: img;
  margin: 10px auto;
  width: 100%;
  height: 250px;
  object-fit: cover;
  box-sizing: border-box;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.detail-card .card-text {
  grid-area: div;
  place-self: start stretch;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: repeat(4, 75px);
}
.detail-card .card-text h3 {
  grid-row: 1;
  margin: 25px 0px;
}
.detail-card .card-text > p {
  grid-row: 3;
}
.detail-card .card-text .button {
  place-self: center;
  margin: 35px auto;
  grid-row: 4;
}
.detail-card .card-text .button p {
  font-family: AlverataBl, Georgia, "Times New Roman", Times, serif;
  color: #f9f7ea;
}

@media screen and (max-width: 600px) {
  .detail-card .card-text > p {
    grid-row: 2;
  }
}
#content-container {
  grid-template-rows: repeat(109, max(1vh, 12.5px));
  row-gap: 3px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 600px) {
  #content-container {
    width: 100vw;
    grid-template-rows: repeat(210, max(1vh, 12.5px));
    display: grid;
    grid-template-columns: 3% 28% 34% 28% 3%;
    row-gap: 3px;
  }
}
#about-hero {
  grid-area: 3/2/38/5;
  place-self: center stretch;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(249, 247, 234, 0), #f9f7ea 30%);
  margin: 0;
}
#about-hero h1 {
  place-self: center stretch;
  width: 75%;
}

@media screen and (max-width: 600px) {
  #about-hero {
    grid-area: 10/1/25/6;
    place-self: start center;
    left: 0;
  }
  p {
    grid-column: 2/5;
    text-align: center;
  }
}
@media screen and (max-width: 600px) and (max-height: 850px) {
  #main-header {
    grid-area: 23/1/64/6;
  }
}
#team-h2 {
  grid-area: 33/3/37/4;
}

#our-team {
  grid-area: 39/1/90/6;
  column-gap: 10px;
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 50px;
  grid-auto-flow: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding: 15px 15px 0px 15px;
  place-self: center;
}
#our-team #bio-blocks {
  grid-column-start: 2;
  grid-column-end: 5;
  padding-left: 1vw;
  padding-right: 1vw;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
#our-team .card-text {
  grid-template-rows: repeat(4, 95px);
}
#our-team .card-text .position-title {
  position: relative;
  top: -40px;
}
#our-team h3 {
  font-size: 2rem;
  grid-column: 1/3;
  grid-row: 1;
}
#our-team p {
  grid-row: 2;
  grid-column: 1/3;
}
#our-team .bio-quote {
  grid-row: 4;
  place-self: center;
  text-align: center;
}
#our-team .detail-card {
  position: relative;
  width: 33%;
  flex-shrink: 0;
  margin-right: 10px;
  height: 98%;
  margin: 0;
}
#our-team .detail-card figure,
#our-team .detail-card img {
  margin: 0;
  height: 350px;
}
#our-team figure.detail-card {
  margin: 0;
}

@media screen and (max-width: 600px) {
  #team-h2 {
    grid-row: 30/37;
    grid-column: 2/5;
  }
  #our-team {
    grid-row: 37/163;
    grid-column: 1/6;
    grid-template-columns: 32px 1fr 32px;
    grid-template-rows: subgrid;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
  #our-team .card-text {
    grid-template-rows: repeat(4, 65px);
  }
  #our-team h3 {
    font-size: 24px;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 4px;
  }
  #our-team #bio-blocks {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-row: 1/126;
    grid-column-start: 1;
    grid-column-end: 4;
  }
  #our-team #bio-blocks #sadie-bio,
  #our-team #bio-blocks #dj-bio,
  #our-team #bio-blocks #nikita-bio {
    margin-bottom: 0;
    height: 100%;
  }
  #our-team #bio-blocks #sadie-bio h3,
  #our-team #bio-blocks #dj-bio h3,
  #our-team #bio-blocks #nikita-bio h3 {
    grid-area: 1/1/2/5;
    font-size: 2rem;
  }
  #our-team #bio-blocks #sadie-bio p,
  #our-team #bio-blocks #dj-bio p,
  #our-team #bio-blocks #nikita-bio p {
    margin-left: 5px;
    margin-right: 5px;
  }
  #our-team #bio-blocks #sadie-bio p.position-title,
  #our-team #bio-blocks #dj-bio p.position-title,
  #our-team #bio-blocks #nikita-bio p.position-title {
    grid-area: 1/1/2/5;
    top: 30px;
  }
  #our-team #bio-blocks #sadie-bio figure, #our-team #bio-blocks #sadie-bio img,
  #our-team #bio-blocks #dj-bio figure,
  #our-team #bio-blocks #dj-bio img,
  #our-team #bio-blocks #nikita-bio figure,
  #our-team #bio-blocks #nikita-bio img {
    height: 250px;
  }
  #our-team #bio-blocks #sadie-bio {
    grid-area: 1/1/40/4;
  }
  #our-team #bio-blocks #sadie-bio .bio-quote {
    margin: 0;
    grid-row: 38/40;
  }
  #our-team #bio-blocks #dj-bio {
    grid-area: 42/1/82/4;
  }
  #our-team #bio-blocks #dj-bio .bio-quote {
    margin: 0;
    grid-row: 38/40;
  }
  #our-team #bio-blocks #nikita-bio {
    grid-area: 84/1/124/4;
  }
  #our-team #bio-blocks #nikita-bio .bio-quote {
    margin: 0;
    grid-row: 38/40;
  }
  #our-team .detail-card {
    width: 100%;
    height: 90%;
  }
  #our-team .detail-card p {
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
  }
  #our-team .detail-card figure,
  #our-team .detail-card img {
    height: 150px;
  }
}
#omni-story {
  grid-area: 90/2/100/5;
}

@media screen and (max-width: 600px) {
  #omni-story {
    grid-area: 165/2/185/5;
  }
}