@font-face {
  font-family: "avenir bold";
  src: url("../../assets/AvenirNext-DemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "avenir";
  src: url("../../assets/AvenirNext-Regular.ttf") format("truetype");
}
body {
  margin: 0;
  overflow: overlay;
  font-family: "avenir bold";
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.25);
}

.display-none {
  display: none;
}

.nav {
  margin: 0 auto;
  position: relative;
  max-width: 1000px;
  height: 17.178vw;
  min-height: 100px;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 1fr 0.3fr;
  grid-template-rows: 1fr 0.3fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-left: 40px;
  padding-right: 40px;
  background-color: white;
}
@media screen and (min-width: 1340px) {
  .nav {
    height: 200px;
  }
}
@media screen and (max-width: 960px) {
  .nav {
    padding-left: 10px;
    position: fixed;
    z-index: 10;
    width: calc(100% - 50px);
    -webkit-box-shadow: -1px 1px 31px 0px rgba(0, 0, 0, 0.25);
            box-shadow: -1px 1px 31px 0px rgba(0, 0, 0, 0.25);
  }
}
.nav .logo {
  height: 40px;
}
@media screen and (max-width: 500px) {
  .nav .logo {
    height: 8vw;
  }
}
.nav .desktop-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 10px;
}
@media screen and (max-width: 960px) {
  .nav .desktop-nav {
    display: none;
  }
}
.nav .desktop-nav [current] {
  color: #bbb;
}
.nav .desktop-nav a {
  color: #888;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.nav .desktop-nav a:hover {
  color: #bbb;
}
.nav .desktop-nav span {
  font-size: 24px;
  color: #888;
}

#menuToggle {
  position: fixed;
  top: 6vw;
  width: 100%;
  left: 80%;
  z-index: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
}
@media screen and (min-width: 961px) {
  #menuToggle {
    display: none;
  }
}
@media screen and (max-width: 582px) {
  #menuToggle {
    top: 30px;
  }
}
#menuToggle a {
  text-decoration: none;
  color: #888;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
#menuToggle a:hover {
  color: #bbb;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #000;
  border-radius: 3px;
  z-index: 1;
  -webkit-transform-origin: 4px 0px;
          transform-origin: 4px 0px;
  -webkit-transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
#menuToggle span:first-child {
  -webkit-transform-origin: 0% 80%;
          transform-origin: 0% 80%;
}
#menuToggle span:nth-last-child(2) {
  -webkit-transform-origin: 0% 180%;
          transform-origin: 0% 180%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  -webkit-transform: rotate(45deg) translate(-2px, -1px);
          transform: rotate(45deg) translate(-2px, -1px);
  background: #888;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  -webkit-transform: rotate(0deg) scale(0.2, 0.2);
          transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
  -webkit-transform: rotate(-45deg) translate(0, -1px);
          transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
  margin-top: 0;
  position: absolute;
  width: 100vw;
  padding: 50px;
  top: 9vw;
  height: 100vh;
  background: #fff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  -webkit-transform: translate(20vw, 0);
          transform: translate(20vw, 0);
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
#menu li {
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
  -webkit-transform: translate(-80vw, 0);
          transform: translate(-80vw, 0);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  padding-top: 10px;
}
@media screen and (max-width: 960px) {
  .container {
    padding: 10px;
    padding-top: 20vw;
  }
}
@media screen and (max-width: 580px) {
  .container {
    padding: 10px;
    padding-top: 115px;
  }
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex-wrap {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.justfiy-content-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.align-items-center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}
@media screen and (max-width: 960px) {
  .row {
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (max-width: 668px) {
  .row {
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 400px) {
  .row {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.row .item {
  aspect-ratio: 1/1;
  background-color: #ddd;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
}
.lightbox .content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-grid-rows: 1fr 0fr;
  grid-template-rows: 1fr 0fr;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100%;
}
.lightbox .content img {
  height: 100%;
  max-height: 960px;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background-color: rgba(0, 0, 0, 0.75);
}
.lightbox .content .controls {
  width: 100%;
  min-height: 100px;
  max-width: 1150px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background-color: rgba(0, 0, 0, 0.75);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-auto-columns: 1fr 1fr 1fr;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 auto;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.lightbox .content .controls .info-box {
  width: 80%;
  padding: 10px;
  color: #666;
  line-height: 26px;
  font-size: 16px;
}
.lightbox .content .controls .btn-left, .lightbox .content .controls .btn-right {
  height: 50px;
  width: 10%;
  min-width: 100px;
  background-color: #000;
  color: #666;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.lightbox .content .controls .btn-left i, .lightbox .content .controls .btn-right i {
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.lightbox .content .controls .btn-left:hover, .lightbox .content .controls .btn-right:hover {
  cursor: pointer;
}
.lightbox .content .controls .btn-left:hover i, .lightbox .content .controls .btn-right:hover i {
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}

.gallery {
  margin-bottom: 50px;
}
@media screen and (min-width: 961px) {
  .gallery .item {
    -webkit-transition: opacity 0.2s, z-index 0.05s step-end, -webkit-transform 0.2s;
    transition: opacity 0.2s, z-index 0.05s step-end, -webkit-transform 0.2s;
    transition: transform 0.2s, opacity 0.2s, z-index 0.05s step-end;
    transition: transform 0.2s, opacity 0.2s, z-index 0.05s step-end, -webkit-transform 0.2s;
    opacity: 1;
    z-index: 0;
  }
  .gallery .item:hover {
    z-index: 1;
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
    -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
    transition: opacity 0.2s, -webkit-transform 0.2s;
    transition: transform 0.2s, opacity 0.2s;
    transition: transform 0.2s, opacity 0.2s, -webkit-transform 0.2s;
    opacity: 1;
    cursor: pointer;
  }
}
.gallery .item .hidden-image {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s, visbility 0.5s;
  transition: opacity 0.5s, visbility 0.5s;
}
.gallery .item img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s, visbility 0.5s;
  transition: opacity 0.5s, visbility 0.5s;
}

h2 {
  color: #888;
  font-size: 30px;
}

.large-text {
  font-size: 24px;
  color: #888;
  font-family: "avenir";
  margin-bottom: 100px;
}

.medium-text {
  font-size: 20px;
  color: #888;
  font-family: "avenir";
  margin-bottom: 100px;
}
.medium-text b {
  font-size: 24px;
}