/* roundedImage */

.wp-block-image.is-style-rounded img,
.wp-block-image.is-style-rounded .wp-block-image__crop-area,
.wp-block-image.is-style-rounded .components-placeholder {
  border-radius: 99% !important;
}

:where(body .is-layout-constrained)>* {
  margin-block-start: 0;
}


/* flexUtilities */

.flex1 {
  flex: 1;
}

.flex2 {
  flex: 2;
}

.flex3 {
  flex: 3;
}

/* Body */

/* Hide scrollbar for webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Hide scrollbar for Firefox */
/* Note: This will only work in Firefox Nightly version */
/* For other versions of Firefox, you can use custom scrollbar libraries */
/* or consider hiding overflow on the body/html element */
/* and creating a custom scrollbar design using JavaScript/CSS */
/* More info: https://stackoverflow.com/questions/50492772/scrollbar-css-for-firefox */
* {
  scrollbar-width: none;
}

/* Navbar */

:where(.wp-site-blocks :focus) {
  outline-width: 0;
  outline-style: none;
}

.wp-block-navigation__responsive-container-close {
  margin-top: 5px;
}

/* home text slide */

.animate-text {
  overflow: hidden;
}

.animate-text span {
  display: none;
}

.animate-text span.text-in {
  display: block;
  animation: textIn .5s ease;
}

.animate-text span.text-out {
  animation: textOut .5s ease;
}

@keyframes textIn {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes textOut {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-100%);

  }
}

/* Swiper Home Slider */
.swiperHomeSlider1 .swiper {
    width: 100%;
    height: 60vh;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  .swiperHomeSlider1 .swiper {
    height: 40vh;
    /* Height for mobile devices */
  }
}

.swiperHomeSlider1 .swiper-slide {
  width: auto;
}

.swiperHomeSlider1 .swiper-slide figure {
  height: 100%;
}

.swiperHomeSlider1 .swiper-slide figure img {
  width: auto !important;
  height: 100% !important;
}

/* Block Spacer */

/* Home slider */

.wp-block-group.alignfull.swiperHomeSlider1.is-layout-flex.wp-block-group-is-layout-flex {
  margin-block: 24px !important;
}

/* Mobile home slider */

.wp-block-group.alignfull.swiperHomeSlider1.is-layout-flex.wp-block-group-is-layout-flex {
  margin-block: 28.2px !important;
}

/* Mobile portfolio */

@media screen and (max-width: 768px) {
  .wp-block-spacer {
    margin-block: .6rem !important;
  }
}

/* Home Header */
.mainHeader {
  min-height: 80vh !important;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  .mainHeader {
  min-height: 72vh !important;
  }
}