html{
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
body{
  overflow-x: hidden;
  background-color:#f1f4fb;
  font-family: "Montserrat", sans-serif;
}

.parallax h2 span {
  color: #3b578e;
  font-size: 80%;
  letter-spacing: 0.5vw;
}

.parallax {
  height: 100vh;
  width: 100%;
  background-color: #f1f4fb;
  /* margin-bottom: 7vw; */
}
.Effect {
  margin: 0;
  padding: 0;
  position: absolute;
  font-size: 72px;
  top: 50%;
  width: 100%;
  color: #201c44;
  background-color: #f1f4fb;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(-50%);
  letter-spacing: 0.2em;
}
@media screen and (min-width: 320px) and (max-width: 640px) {
  .Effect {
    font-size: 28px;
  }
}

@media screen and (min-width: 640px) and (max-width: 768px) {
  .Effect {
    font-size: 8vw;
  }

  .parallax {
    height: 100vh;
  }

  .parallax h2 span {
    font-size: 5.5vw;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .Effect {
    top: 50%;
    font-size: 8vw;
  }

  .parallax {
    height: 100vh;
    margin-bottom: 290px;
  }

  .parallax h2 span {
    font-size: 5.5vw;
  }
}

#heading {
  text-align: center;
  color: #3b578e;
  font-weight: 600;
  font-size: 3vw;
  padding: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (min-width : 320px) and (max-width : 768px) {
  #heading {
    color: #3b578e;
    font-weight: 600;
    font-size: 7vw;
    text-align: center;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* GALLERY ITEMS */

.fg-gallery::after{
  content: "";
  
  clear: both;
  
}
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto ;
  width: 100%;
  margin: auto;
  padding: 5vw;
}

.gallery-items {
  cursor: pointer;
  overflow: hidden;
  height: 35vh;
  margin: 1vw;
  object-fit: contain;
}

/* GALLERY COLUMNS */
/* .cols-2 .gallery-items {
  width: 49%;
}
.cols-2 .gallery-items:nth-child(2n) {
  margin-right: 0;
}

.cols-3 .gallery-items {
  width: calc(96% / 3);
}
.cols-3 .gallery-items:nth-child(3n) {
  margin-right: 0;
}

.cols-4 .gallery-items {
  width: calc(94% / 4);
}
.cols-4 .gallery-items:nth-child(4n) {
  margin-right: 0;
}

.cols-5 .gallery-items {
  width: calc(92% / 5);
}
.cols-5 .gallery-items:nth-child(5n) {
  margin-right: 0;
}

.cols-6 .gallery-items {
  width: calc(90% / 6);
}
.cols-6 .gallery-items:nth-child(6n) {
  margin-right: 0;
} */

.body-cover {
  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;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}
.body-cover.active  {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
}

.body-cover.active img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  opacity: 0;
  visibility: hidden;
  -webkit-animation: scale .3s .3s ease forwards;
          animation: scale .3s .3s ease forwards;
  box-shadow: 0 0 180px 0 rgb(24, 24, 24);
  border-radius: 5px;
}
@-webkit-keyframes scale {
  to { opacity: 1; visibility: visible; -webkit-transform: scale(1); transform: scale(1) }
}
@keyframes scale {
  to { opacity: 1; visibility: visible; -webkit-transform: scale(1); transform: scale(1) }
}

/* arrows */
.gallery-arrow {
  position: fixed;
  top: 47%;
  width: 30px;
  height: 30px;
  z-index: 9999;
  cursor: pointer;
}
.gallery-arrow > svg {
  fill: #fff;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transform: scale(1);
          transform: scale(1);
}
.gallery-arrow:active svg {
  -webkit-transition-duration: .0s;
          transition-duration: .0s;
  -webkit-transform: scale(.9);
          transform: scale(.9);
}
.next-btn {
  right: 25px;
}
.prev-btn {
  left: 25px;
}
/* close button */
.close-btn {
  position: fixed;
  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;
  top: 0;
  right: 0;
  width: 75px;
  height: 75px;
  z-index: 9999;
  cursor: pointer;
}
.close-btn svg {
  fill: #fff;
  width: 15px;
  height: 15px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -webkit-transform: rotateZ(0deg);
          transform: rotateZ(0deg);
}
.close-btn:hover svg {
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}

@media only screen and (min-width : 320px) and (max-width : 768px) {

  .grid-container{
    display: grid;
    grid-template-columns: auto auto auto;
    width: 100%;
    margin: auto;
    padding: auto;
  }
  .gallery-items {
    cursor: pointer;
    overflow: hidden;
    height: 10vh;
    margin: 1vw;
    
  }

}