@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: Raleway;
  src: url(/fonts/Raleway-Regular.ttf);
  font-weight: normal;
}
@font-face {
  font-family: Raleway-Bold;
  src: url(/fonts/Raleway-Bold.ttf);
  font-weight: bold;
}
@font-face {
  font-family: Lusitana;
  src: url(/fonts/Lusitana-Regular.ttf);
  font-weight: normal;
}
@font-face {
  font-family: Lusitana-Cold;
  src: url(/fonts/Lusitana-Bold.ttf);
  font-weight: bold;
}

@layer base {
  body {
    font-family: Lusitana;
    font-size: 15px;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: Raleway;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .modal-content {
    animation: fadeIn 0.3s ease-in-out;
  }
}

.image-gallery .slick-prev::before,
.image-gallery .slick-next::before {
  content: "";
}

.image-gallery .slick-prev,
.image-gallery .slick-next {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: white;
  width: 30px;
  height: 30px;
}

.image-gallery .slick-prev {
  left: 1rem;
  z-index: 10;
}

.image-gallery .slick-next {
  right: 1rem;
}

.testimonial .slick-slide {
  padding-inline: 2rem;
  max-height: 500px;
  transition: transform 0.3s ease-in-out;
}

.testimonial .slick-slide:not(.slick-active) {
  transform: scale(0.7);
}

.testimonial .slick-dots > .slick-active > div{
  background-color: rgba(186, 91, 40, 0.6) !important;
}

.animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.animated-icon span {
  background: #666666;
}

.animated-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.animated-icon span:nth-child(2) {
  top: 10px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.animated-icon span:nth-child(3) {
  top: 20px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.animated-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0px;
  left: 8px;
}

.animated-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.animated-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 21px;
  left: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}