body {
  font-family: helvetica, sans-serif;
}

.load {
  display: none;
}

.header {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  background-color: white;
  position: -webkit-sticky;
  position: fixed;
  width: 100vw;
  top: 0;
  z-index: 200;
}

h1 {
  grid-column: 2;
}

h1,
nav {
  font-family: "Syne", helvetica, sans-serif;
  font-weight: 800;
  align-self: center;
  justify-self: center;
}

h1 {
  font-size: 2rem;
}

li {
  display: inline-block;
}

.nav_links {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

nav a:hover {
  /* text-decoration: underline; */
  border-bottom: 3px solid black;
}

#about_page {
  background-color: white;
  z-index: 100;
  width: 100vw;
  height: 90vh;
  padding: 10vh 0 0 0;
  position: fixed;
  overflow: scroll;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}

#about_page.open {
  /* transition: 0.3s; */
  opacity: 1;
  visibility: visible;
}

#contact_page {
  background-color: white;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}

#contact_page.open {
  /* transition: 0.3s; */
  opacity: 1;
  visibility: visible;
}

.body_open {
  overflow: none;
}

.grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  height: 100vh;
}

.grid_items {
  justify-self: center;
  align-self: center;
  width: 23vw;
  padding: 6vh 0;
  /* max-width: 100%; */
}

.grid_items img {
  width: 100%;
}

/* .lower_grid {
  padding: 6vh 0;
} */

.flex {
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex p {
  display: inline-block;
  font-size: 1.5rem;
  width: 35%;
  text-align: justify;
}

.text {
  overflow: scroll;
  display: inline-block;
  font-size: 1.4rem;
  width: 45%;
  margin: 0 27%;
}

.text img {
  width: 100%;
  margin: 4vh 0 12vh 0;
}

p > a {
  color: black;
}

#reel,
#reel2 {
  grid-column: span 2;
  background-image: url("6.gif");
  background-position: center center;
  background-repeat: no-repeat;
}

#reel2 {
  margin: 2vh 0;
}

#reel iframe,
#reel2 iframe {
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#reel_api,
#reel_api_mobile {
  pointer-events: none;
}

.player .vp-player-layout {
  top: 0px !important;
  bottom: 0px !important;
}

.mobile_only {
  display: none;
  visibility: hidden;
  opacity: 0;
}

.close {
  color: black;
  text-decoration: none;
  visibility: hidden;
}

.close.open {
  visibility: visible;
}

#swipebox-overlay {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.overlay_container {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #202020;
  pointer-events: none;
}

.overlay_container:hover .overlay {
  opacity: 0.9;
}

.overlay_title {
  position: absolute;
  font-family: "Syne", Arial, Helvetica, sans-serif;
  top: 40%;
  left: 50%;
  width: 80%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  padding: 5px;
  color: #ffffff;
}

#swipebox-next {
  height: 70px !important;
  width: 90px !important;
  background-size: 212px;
  background-position: -135px 15px !important;
}

#swipebox-arrows {
  height: 70px !important;
}

#swipebox-prev {
  height: 70px !important;
  width: 90px !important;
  background-size: 212px;
  background-position: -55px 15px !important;
}

#swipebox-bottom-bar {
  height: 70px !important;
}

@media only screen and (max-width: 768px) {
  h1 {
    text-align: center;
    font-size: 1.4rem;
  }

  .nav {
    font-size: 0.7rem;
  }

  .nav_links {
    line-height: 1.7;
  }

  p {
    width: 100%;
  }

  .flex p {
    width: 90%;
  }

  .text {
    width: 90%;
    margin: 0 5%;
  }

  #reel2 {
    margin: 0;
    width: 95%;
    align-self: center;
    justify-self: center;
  }

  #reel2 iframe {
    max-height: 500px;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    text-align: center;
    font-size: 1rem;
  }

  .nav {
    font-size: 0.5rem;
  }

  .grid {
    display: inline-block;
  }

  .grid_items {
    width: 100vw;
    height: auto;
  }

  .grid_items img {
    width: 100%;
  }

  nav a:hover {
    /* text-decoration: underline; */
    border-bottom: none;
  }

  nav a:active {
    /* text-decoration: underline; */
    border-bottom: 3px solid black;
  }

  .mobile_none {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .mobile_only {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  .lower_grid,
  .grid_items {
    padding: 4vh 0;
  }

  .header {
    grid-template-columns: 1fr 4fr 1fr;
  }

  .footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    padding: 2vh;
    text-align: right;
    z-index: 300;
  }

  .footer li {
    font-size: 0.8rem;
  }

  .text {
    width: 95%;
    margin: 0 2.5%;
  }

  p {
    width: 95%;
  }

  .flex p {
    width: 95%;
  }

  #about_page p {
    font-size: 1.2rem;
  }

  #contact_page p {
    font-size: 1.2rem;
  }

  #reel {
    background-image: url("6.gif");
    background-position: center center;
    background-repeat: no-repeat;
  }

  h1,
  nav {
    font-family: "Syne", helvetica, sans-serif;
  }

  .overlay_container:hover .overlay {
    opacity: 0;
  }
}

@media only screen and (max-width: 325px) {
  h1 {
    font-size: 0.8rem;
  }
}
