@import "tailwindcss";

:root {
  --background: #ffffff;
  --foreground: #171717;
}

@theme inline {
  --color-gray-200: #f4f0e5;
  --color-gray-400: #cecece;
  --color-gray-500: #4e4e4e;

  --color-primary-main: #34684d;

  --color-secondary-main: #42251c;
  --color-secondary-text: #99613e;
  --color-secondary-bg: #eacaac;
  --color-secondary-active: #614a40;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
} */

body {
  background: #fff;
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

.hero-section {
  background: url("/hero.png") no-repeat fixed;
  background-size: cover;
  margin-top: -100px;
}

.mask {
  background: url("/mask.png") no-repeat;
  background-size: cover;
  margin-top: -50px;
}

.step {
  position: relative;
  height: 202px;
}

.step:not(:last-of-type)::after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 10px;
  background: url("/after-bg.png") no-repeat;
  content: "";
  width: 10px;
  height: 100%;
}

@media (max-width: 574px) {
  .step:not(:last-of-type)::after {
    position: absolute;
    z-index: 1;
    bottom: 0;
    top: 100%;
    left: 0;
    right: 0;
    background: url("/before-bg.png") no-repeat;
    content: "";
    width: 100%;
    height: 10px;
  }
}

@media (min-width: 575px) and (max-width: 1023px) {
  .step:first-of-type:after,
  .step:nth-child(2)::after {
    position: absolute;
    z-index: 1;
    bottom: 0;
    top: 100%;
    left: 0;
    right: 0;
    background: url("/before-bg.png") no-repeat;
    content: "";
    width: 100%;
    height: 10px;
  }
  .step:last-of-type:after,
  .step:nth-child(3):after {
    content: none;
  }
}

.footer {
  background: url("/tree.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  height: 911px;
}

.rtl {
  direction: rtl;
}

.ltr {
  direction: ltr;
}

.license {
  position: relative;
}

.license::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 5px;
  background: url("/footer-before.png");
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  min-width: 160px;
  background: white;
  z-index: 1000;
}

.dropdown-menu.down {
  top: 100%;
}

.dropdown-menu.up {
  bottom: 100%;
}
