@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
@import url("https://p.typekit.net/p.css?s=1&k=uym5yww&ht=tk&f=15780.15782.37496.37497&a=56184000&app=typekit&e=css");

:root {
  font-size: 16px;
  font-family: 'Gravity-Regular';
  --bg-primary: #fff;
}

body {
  color: #fff;
  background-color: #fff;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: none;
}


body::-webkit-scrollbar {
  width: 0.25rem;
}

body::-webkit-scrollbar-track {
  background: #1e1e24;
}

body::-webkit-scrollbar-thumb {
  background: #2d2e2d;
}


.homeDiv {
  top: 50%;
  left: 50%;
  text-align: center;
   transform: translateX(-50%) translateY(-50%);
  position: absolute;
}

.intro {
  font-family: "Montserat-Light";
  font-size: 70px;
}

.intro1 {
  font-family: "Montserat-Light";
  font-family: 50px;
}

@media screen and (min-width: 1282px) {

  video {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    position: relative;
    top: 0px;
    /* bottom: 20px; */
    left: 0;
  }

.imageGrid {
  z-index: 1;
  padding-top: 3.3vw;
  display: grid;
  grid-gap: 80px;
  grid-template-columns: 25vw 25vw 25vw; /* width of each div */
  grid-template-rows: 45vw 45vw 45vw 45vw; /* must be equal to width to keep them square */
  margin: 0 auto; /* add margin auto on the left and right to centre element */
  width: calc(81vw + 53px); /* margin: 0 auto requires a specified width to work, so the total width is 2*(columnwidth) + gap */
}

.toppush {
  padding-top: 80px;
}

/* a {
  display: inline-block;
} */

.gallery-item {
  /* width: 100%; */
  height: 100%;
  position: relative;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.gallery-item .image {
  /* width: 100%; */
  height: 80vh;
  overflow: visible;
  justify-content: center;
}
}

.footer {
  padding-top: 250px;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translateX(0%) translateY(-50%);
}

.footerInstagram {
color: #000;
text-decoration: underline;
}

.footerInstagram:hover {
  text-decoration: underline;
}

.gallery-item .image img {
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  /* object-position: 50% 50%; */
  transition: .5s ease-in-out;
  justify-content: center;
}

.text {
  font-size: 40px;
    font-family: "Montserat-Bold";
    color: #000;
    text-decoration: none;

}

 .text {
  position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    padding: 7%;
    text-align: center;
    z-index: 100;
    transition: opacity ease 200ms;
}

.gallery-item {
  opacity: 90%;
}

.gallery-item:hover {
  opacity: 1;
  transition: 200ms ease-in-out;
}

.gallery-item > .text.fade {
  opacity: 100%;
}

.gallery-item:hover > .text.fade {
  opacity: 0;
}

@media screen and (max-width: 1280px) {
  video {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    position: relative;
    top: -15px;
    left: 0;
  }



  .imageGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    grid-gap: 80px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .toppush {
    padding-top: 120px;
  }

  .gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    padding-bottom: 153.33%;
    justify-content: center;
    background-size: cover;
    background-position: center;
  }

  .text {
    font-size: 35px;
  }
}

@media screen and (max-width: 820px) {
  video {
    /* margin-bottom: 20px; */
    object-fit: cover;
    width: 100%;
    height: 100vh;
    position: relative;
    top: -15px;
    left: 0;
  }
  .imageGrid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: min-content;
    grid-gap: 80px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    padding-bottom: 153.33%;
    justify-content: center;
    background-size: cover;
    background-position: center;
  }

  .text {
    font-size: 30px;
  }

  .toppush {
    padding-top: 120px;
  }
}