@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  p {
    @apply text-[16px] md:text-[18px] 2xl:text-[20px] text-[var(--tertiary-color)];
  }
}

@layer components {
  .steps-list {
    @apply leading-[1] before:content-[''] before:absolute before:left-[7px] before:top-[3px] before:w-[2px] before:h-[90%] before:bg-[var(--primary-color)];
  }
  .steps-list-item {
    @apply capitalize pl-[30.69px] relative before:content-[''] before:shadow-[0_0_0_4px_#FAC388] before:absolute before:left-0 before:top-1/2 before:transform before:-translate-y-1/2 before:w-[16px] before:h-[16px] before:bg-[var(--primary-color)] before:rounded-full;
  }

  .owl-carousel .owl-item {
    img {
      @apply max-w-full h-full object-cover rounded-2xl;
    }
  }
  #screen-slider .item {
    @apply flex justify-center items-center rounded-2xl !h-[380px] md:!h-[360px] md:!min-h-[432px] lg:!min-h-[532px] 2xl:!min-h-[600px];
  }
  .image-gradient {
    @apply flex w-full justify-center items-center relative h-full before:rounded-2xl before:absolute before:top-0 before:w-full before:h-full before:bg-[linear-gradient(180deg,transparent_0%,#FACB9338_49%,#F594219E_100%)];
  }
  .card {
    @apply bg-[#ffffffc2]  text-center w-[95%] lg:w-[85%] 2xl:w-[80%] min-h-[183px] lg:min-h-[230px] xl:min-h-[190px] 2xl:min-h-[212px] text-[var(--secondary-color)] absolute bottom-[10px] lg:bottom-[20px] 2xl:bottom-[50px]  rounded-[16px] space-y-[15px] 2xl:space-y-[22px] px-4 py-4;
    h3 {
      @apply leading-[1.2] text-[22px] 2xl:text-[25px];
    }

    p {
      @apply text-[15px] 2xl:text-[17px];
    }
  }

  .nav-links {
    @apply px-[18px] py-[10px] w-full lg:w-fit hover:text-[var(--primary-color)] hover:cursor-pointer;
  }

  .menu-list {
    @apply max-h-0 lg:max-h-none;
  }

  .menu-list.active {
    @apply max-h-[400%];
  }

  .menu-button.active {
    & :nth-child(1) {
      @apply rotate-45 translate-y-[6px];
    }
    & :nth-child(2) {
      @apply opacity-0;
    }
    & :nth-child(3) {
      @apply rotate-[-45deg] translate-y-[-6px];
    }
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto";
  scroll-behavior: smooth;
}

:root {
  --primary-color: #f59421;
  --secondary-color: #333333;
  --tertiary-color: #515e6e;
}

.container {
  margin-left: auto;
  margin-right: auto;
}
.container-padding {
  padding-left: 10px;
  padding-right: 10px;
}
.container-margin-y {
  margin-bottom: 70px;
}

h1 {
  font-size: 35px !important;
  font-weight: 900;
  line-height: 1.1;
}

h2 {
  font-size: 30px;
  font-weight: 900;
}

p {
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove arrows for Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.owl-carousel .owl-item {
  height: 100% !important;

  .item {
    height: 100% !important;
  }
}

.owl-dots {
  margin-top: 45px !important;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--primary-color) !important;
}
.owl-theme .owl-dots .owl-dot span {
  background: #f596216c !important;
}

@media (min-width: 768px) {
  .container {
    max-width: 705px;
  }
  h1 {
    font-size: 40px !important;
  }
  h2 {
    font-size: 30px !important;
  }
  .container-margin-y {
    margin-bottom: 100px !important;
  }
  .container-padding {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 1000px) {
  .container {
    max-width: 940px;
  }
  h1 {
    font-size: 48px !important;
  }
  h2 {
    font-size: 45px !important;
  }
  .container-margin-y {
    margin-bottom: 120px !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1126px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1306px;
  }
  h1 {
    font-size: 52px !important;
  }
  h2 {
    font-size: 42px !important;
  }
}

@media (min-width: 1599px) {
  .container {
    max-width: 1520px;
  }
  h1 {
    font-size: 78px !important;
  }
  h2 {
    font-size: 68px !important;
  }
}
