/* *,
*::before,
*::after {
  box-sizing: border-box;
} */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf');
  font-weight: normal;
}

@font-face {
  font-family: 'PlayfairDisplay';
  src: url('../fonts/PlayfairDisplay-Regular.ttf');
  font-weight: normal;
}

.font-playfair {
  font-family: PlayfairDisplay;
}

.font-montserrat {
  font-family: Montserrat;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #f2efed;
  font-family: Montserrat;
}

.container-fluid {
  margin: 0;
  padding: 0;
}

.main-hero-spacer {
  height: 100svh;
  backdrop-filter: blur(1px) brightness(.5);
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  padding-top: 120px;
  color: #fff;
}

.hero-content h1 {
  font-family: PlayfairDisplay;
  text-transform: uppercase;
  letter-spacing: .7rem;
  font-size: 3rem;
}

.hero-content h2 {
  font-family: Montserrat;
}

.main-wrapper {
  background: #f2efed;
  padding: 50px 20px;
}

.wrapper-navbar {
  width: 100%;
  height: 56px;
  /*background: rgb(1,1,1);
  background: linear-gradient(180deg, rgba(1,1,1,1) 0%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(1px) brightness(.5);*/
  z-index: 100;
  position: relative;
  transition: background .1s ease-in-out;
  transition-delay: .3s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
} 

.navbar {
  transition: background .2s ease-in-out;
  transition-delay: .2s;
}

.navbar-bg {
  background: rgb(1,1,1);
  transition: background .2s ease-in-out;
}

.navbar-main {
  height: 75px;
}

/* .navbar-collapse.show,
.navbar-collapse.collapsing {
  background: rgb(1,1,1);
  /* transition: background .2s ease-in-out; */
  /* background: linear-gradient(180deg, rgba(1,1,1,1) 0%, rgba(0,0,0,0) 100%); 
} */

.main-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-post-img-wrapper {
  width: 100%;
  /* aspect-ratio: 16/9; */height: 50vh;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.main-post-header {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 5%;
  right: 5%;
  backdrop-filter: blur(1px) brightness(.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: 1px solid #fff;
}

.main-post {
  position: relative;
  -webkit-box-shadow: 0px 0px 20px 2px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 0px 20px 2px rgba(66, 68, 90, 1);
  box-shadow: 0px 0px 20px 2px rgba(66, 68, 90, 1);
}

.portfolio-page-header {
  font-size: 5rem;
  letter-spacing: 0.25rem;
}

.about-us-img {
  perspective: 1000px;
}

.about-us-img-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .8s;
  transform-style: preserve-3d;
}

/* .about-us-img:hover .about-us-img-inner */
.about-us-img-flipped .about-us-img-inner {
  transform: rotateY(180deg);
}

.about-us-front,
.about-us-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.about-us-row {
  /* flex-direction: column; */
  flex: 1;
}

.about-us-back {
  transform: rotateY(180deg);
}

.about-text {
  font-size: 20px;
  line-height: 1.75rem;
  text-align: center;
}

.section-header-line {
  margin: auto;
  flex: 1;
}

.section-header-content {
  flex: 0 0 auto;
  padding: 0 30px;
}

.section {
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: auto;
  min-width: auto; 
}

.contact-content p {
  display: block;
  margin: 10px auto;
}

.contact-content a {
  text-decoration: none;
  color: unset;
  flex-shrink: 0
}

.main-section {
  min-height: 50vh;
  height: auto;
  /* border: 1px solid red; */
}

footer {
  background-color: #f2efed;
  text-align: center;
}

footer p {
  margin: 0;
  padding: 10px;
}

.portfolio-page-contetnt,
.single-portfolio {
  background-color: #f2efed;
  min-height: 100vh;
}

.masonary-item {
  margin-bottom: calc(var(--bs-gutter-x))
  
}


#fullscreen-gallery .modal-dialog {
  margin: 0 auto;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fullscreen-gallery .modal-body {
  margin: 0;
  padding: 0;
}

#fullscreen-gallery .modal-content {
  background-color: transparent;
  border: none;
}

#fullscreen-gallery .carousel-item {
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#fullscreen-gallery .carousel-item.active,
#fullscreen-gallery .carousel-item-next,
#fullscreen-gallery .carousel-item-prev {
  display: flex;
}

#fullscreen-gallery .carousel-item img {
  display: block;
  margin: auto;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.photoshoot-type-wrapper {
  transition: all .25s ease-in-out;
}

.photoshoot-image {
  transition: all .25s ease-in-out;
  /* display: none; */
  animation: imageFadeOut linear forwards;
  animation-duration: .3s;
  overflow: hidden;
  height: 0;
  /* opacity: 0; */
}

.photoshoot-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.photoshoot-img-active {
  transition: all .25s ease-in-out;
  animation: imageFadeIn linear forwards;
  animation-duration: .3s;
  animation-delay: .31s;
}

.photoshoot-active {
  transition: all .25s ease-in-out;
  border-left: 2px solid black;
  padding-left: 10px;
}

@media screen and (max-width: 992px) {
  .hero-content {
    padding-top: 0px;
  }

  .hero-content h1 {
    letter-spacing: .5rem;
    font-size: 2.5rem;
  } 
}

@media screen and (max-width: 768px) {
  .hero-content h1 {
    letter-spacing: .2rem;
    font-size: 2rem;
  }   
}

@media screen and (min-width: 769px) and (max-width: 991px) {

}

@keyframes imageFadeIn {
  from {
    opacity: 0;
    height: 100%;
  }

  to {
    opacity: 1;
    height: 100%;
  }
}

@keyframes imageFadeOut {
  from {
    opacity: 1;
    height: auto;
    display: block;
  }
  
  to {
    opacity: 0;
    height: 0;
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeIn {
    from {
      scale: .8;
      opacity: 0;
    }
    to {
      scale: 1;
      opacity: 1;
    }
  }
  
  .main-post,
  .fadeInAnimation {
    scale: .8;
    opacity: 0;
    animation: fadeIn linear forwards;
    animation-timeline: view();
    animation-range-start: 100px;
    animation-range-end: 300px;
  } 

  .fadeInSmallerOffset {
    animation-range-start: 100px;
    animation-range-end: 150px;
  }
}