@tailwind base;
@tailwind components;

@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-BoldItalic.eot");
  src: local("Adobe Garamond Pro Bold Italic"), local("AGaramondPro-BoldItalic"),
    url("../fonts/AGaramondPro-BoldItalic.eot#iefix")
      format("embedded-opentype"),
    url("../fonts/AGaramondPro-BoldItalic.woff2") format("woff2"),
    url("../fonts/AGaramondPro-BoldItalic.woff") format("woff"),
    url("../fonts/AGaramondPro-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-Italic.eot");
  src: local("Adobe Garamond Pro Italic"), local("AGaramondPro-Italic"),
    url("../fonts/AGaramondPro-Italic.eot#iefix") format("embedded-opentype"),
    url("../fonts/AGaramondPro-Italic.woff2") format("woff2"),
    url("../fonts/AGaramondPro-Italic.woff") format("woff"),
    url("../fonts/AGaramondPro-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-Bold.eot");
  src: local("Adobe Garamond Pro Bold"), local("AGaramondPro-Bold"),
    url("../fonts/AGaramondPro-Bold.eot#iefix") format("embedded-opentype"),
    url("../fonts/AGaramondPro-Bold.woff2") format("woff2"),
    url("../fonts/AGaramondPro-Bold.woff") format("woff"),
    url("../fonts/AGaramondPro-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-Regular.eot");
  src: local("Adobe Garamond Pro Regular"), local("AGaramondPro-Regular"),
    url("../fonts/AGaramondPro-Regular.eot#iefix") format("embedded-opentype"),
    url("../fonts/AGaramondPro-Regular.woff2") format("woff2"),
    url("../fonts/AGaramondPro-Regular.woff") format("woff"),
    url("../fonts/AGaramondPro-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-SemiboldItalic.eot");
  src: local("Adobe Garamond Pro Semibold Italic"),
    local("AGaramondPro-SemiboldItalic"),
    url("../fonts/AGaramondPro-SemiboldItalic.eot#iefix")
      format("embedded-opentype"),
    url("../fonts/AGaramondPro-SemiboldItalic.woff2") format("woff2"),
    url("../fonts/AGaramondPro-SemiboldItalic.woff") format("woff"),
    url("../fonts/AGaramondPro-SemiboldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Adobe Garamond Pro";
  src: url("../fonts/AGaramondPro-Semibold.eot");
  src: local("Adobe Garamond Pro Semibold"), local("AGaramondPro-Semibold"),
    url("../fonts/AGaramondPro-Semibold.eot#iefix") format("embedded-opentype"),
    url("../fonts/AGaramondPro-Semibold.woff2") format("woff2"),
    url("../fonts/AGaramondPro-Semibold.woff") format("woff"),
    url("../fonts/AGaramondPro-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html,
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

*:focus {
  outline: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

select {
  /** for the dropdown indicator */
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.hero__scrollTo {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  --tw-translate-x: -50%;
  transform: var(--tw-transform);
}

.hero__scrollTo .line {
  position: relative;
  z-index: 1;
  height: 3rem;
  width: 2px;
}

.hero__scrollTo .line .background {
  opacity: 0.4;
}

.hero__scrollTo .line .background,
.hero__scrollTo .line .highlight {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
  transform-origin: top left;
}

.hero__scrollTo .line .highlight {
  transform-origin: 0 100%;
  -webkit-animation: passingLine 2s linear infinite;
  animation: passingLine 2s linear infinite;
}

@keyframes passingLine {
  0% {
    transform: translateZ(0) scaleY(0);
    transform-origin: 0 0;
  }
  50% {
    transform: translateZ(0) scale(1);
    transform-origin: 0 0;
  }
  51% {
    transform-origin: 0 100%;
  }
  100% {
    transform: translateZ(0) scaleY(0.1);
  }
}

#footer {
  transition: bottom 0.6s;
}

#footer.animate {
  bottom: -65px;
}

#footer.sticked {
  bottom: 0;
  z-index: 99;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: white;
}

.iti__flag-container {
  border: 0.74px solid #6e6b66;
  padding: 0px 18px;
  font-size: 14px;
}

.secondDial .iti__flag-container {
  border: 1px solid #6e6b66;
  padding: 0px 10px;
}

.sliderImage{
  transition: all 1.2s ease-in-out;
}
.sliderImage:hover{
transform: scale(1.1);

}


.slide-overlay {
   background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(0, 0, 0, 0.7) 55%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0.25) 85%,
    rgba(0, 0, 0, 0.08) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  mix-blend-mode: darken;
}

@media screen and (min-width: 1024px) {
  #sideForm input {
    padding: 12px 0;
    padding-left: 24px;
    padding-right: 24px;
    border: 0.74px solid #6e6b66;
  }

  #sideForm select {
    padding: 12px 0;
    padding-left: 16px;
    padding-right: 16px;
    border: 0.74px solid #6e6b66;
  }
}

@media screen and (max-width: 1024px) {
  .iti__flag-container {
    font-size: 12px;
  }

  .secondDial .iti__flag-container {
    font-size: 14px;
  }
}

.rtl {
  direction: rtl;
}

.select-rtl {
  background-position: left 0.45rem center;
}