/* LAYOUT */
@import url("layout/header.css");
@import url("layout/breadcrumb.css");
@import url("layout/title-heading.css");
@import url("layout/navigation-tabs.css");
@import url("layout/footer.css");
@import url("layout/generic-layout.css");

/* COMPONENTS */
@import url("components/accordion.css");
@import url("components/keyframes.css");
@import url("components/form.css");
@import url("components/buttons.css");
@import url("components/category-box.css");
@import url("components/news-card.css");
@import url("components/slider-pagination.css");
@import url("components/sidebar.css");
@import url("components/product-box.css");
@import url("components/info-box.css");
@import url("components/important-text.css");
@import url("components/table.css");
@import url("components/document-box.css");
@import url("components/content-box.css");
@import url("components/news-box.css");
@import url("components/tabs.css");
@import url("components/blog-card.css");
@import url("components/detail-box.css");
@import url("components/modal.css");
@import url("components/subscribe.css");
@import url("components/double-range.css");
@import url("components/brands.css");
@import url("components/image-popup.css");

/* VIEWS */
@import url("views/homepage.css");
@import url("views/products.css");
@import url("views/about-us.css");
@import url("views/lab.css");
@import url("views/technic.css");
@import url("views/documents.css");
@import url("views/referances.css");
@import url("views/news.css");
@import url("views/contact.css");
@import url("views/blog.css");
@import url("views/showroom.css");
@import url("views/error.css");

/* ============================================== */
/* ==================== FONTS =================== */
/* ============================================== */

@font-face {
  font-family: Gilroy;
  font-weight: 300;
  src: url("../fonts/Gilroy/Gilroy-Light.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  font-weight: 400;
  src: url("../fonts/Gilroy/Gilroy-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  font-weight: 500;
  src: url("../fonts/Gilroy/Gilroy-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  font-weight: 600;
  src: url("../fonts/Gilroy/Gilroy-Bold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Gilroy;
  font-weight: 700;
  src: url("../fonts/Gilroy/Gilroy-Heavy.ttf") format("truetype");
  font-display: swap;
}

/* ============================================== */
/* ================== VARIABLES ================= */
/* ============================================== */

:root {
  color-scheme: only light;
  --container: 1720px;
  --small-spacing: 2rem 0;
  --regular-spacing: 4rem 0;
  --large-spacing: 6rem 0;
  --pelsan-dark: #000000;
  --pelsan-light: #ffffff;
  --pelsan-white-1: #f4f4f4;
  --pelsan-white-2: #fffdfa;
  --pelsan-white-3: #f9f9fb;
  --pelsan-white-4: #f8f8f8;
  --pelsan-black-1: #27272f;
  --pelsan-black-2: #101010;
  --pelsan-black-3: #141414;
  --pelsan-black-4: #1a1a1a;
  --pelsan-black-5: #0a0a0a;
  --pelsan-black-6: #2c2c2c;
  --pelsan-black-7: #333333;
  --pelsan-primary: #f99300;
  --pelsan-grey: #8c8c8c;
  --pelsan-grey-2: #696868;
  --pelsan-grey-3: #6e6e6e;
  --pelsan-grey-4: #b2b2b2;
  --pelsan-grey-5: #edf0f7;
  --pelsan-grey-6: #efefef;
  --pelsan-grey-7: #cfcfcf;
  --pelsan-grey-8: #515151;
  --pelsan-grey-9: #656565;
  --pelsan-grey-10: #b1acac;
  --pelsan-grey-11: #777777;
  --pelsan-grey-12: #4b4b4b;
  --pelsan-grey-13: #a1a1a1;
  --pelsan-grey-14: #dbdbdb;
  --pelsan-grey-15: #9f9f9f;
  --pelsan-grey-16: #707070;
  --pelsan-grey-17: #bcbcbc;
  --pelsan-grey-18: #ababab;
  --pelsan-blue-1: #0d1722;
  --pelsan-orange-1: #f9ead4;
  --pelsan-orange-2: #fff6e2;
  --transparent: rgba(0, 0, 0, 0);
  --transition: cubic-bezier(0.42, 0, 0.58, 1);
  --letter-spacing-large: 3px;
  --font-80: 5rem;
  --font-60: 3.75rem;
  --font-58: 3.625rem;
  --font-50: 3.125rem;
  --font-48: 3rem;
  --font-46: 2.875rem;
  --font-44: 2.75rem;
  --font-40: 2.5rem;
  --font-36: 2.25rem;
  --font-34: 2.125rem;
  --font-32: 2rem;
  --font-30: 1.875rem;
  --font-28: 1.75rem;
  --font-26: 1.625rem;
  --font-24: 1.5rem;
  --font-22: 1.375rem;
  --font-20: 1.25rem;
  --font-18: 1.125rem;
  --font-16: 1rem;
  --font-14: 0.875rem;
  --font-12: 0.75rem;
  --line-30: 1.875rem;
  --line-26: 1.625rem;
  --line-20: 1.25rem;
  --col-2: repeat(6, 1fr);
  --col-5: repeat(5, 1fr);
  --col-3: repeat(4, 1fr);
  --col-4: repeat(3, 1fr);
  --col-6: repeat(2, 1fr);
  --col-12: repeat(1, 1fr);
  --w-25: 25%;
  --w-33: calc(100% / 3);
  --w-50: 50%;
  --w-66: calc(100% / 3 * 2);
  --w-100: 100%;
}

/* ============================================== */
/* ================== RESET CSS ================= */
/* ============================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-variant-numeric: tabular-nums;
}

body {
  font-family: Gilroy, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  overflow-y: visible;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  font-size: var(--font-16);
  font-weight: 400;
  line-height: normal;
}

p {
  font-size: var(--font-16);
  font-weight: 400;
  line-height: var(--line-26);
}

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img {
  display: block;
  max-width: var(--w-100);
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  outline: none;
}

input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

figure {
  margin: 0;
  unicode-bidi: unset;
}

video {
  display: block;
}

/* ============================================== */
/* ================== MAIN CSS ================== */
/* ============================================== */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track-piece {
  background: var(--eg-white);
}

::-webkit-scrollbar-track {
  background: var(--pelsan-white-1);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--pelsan-primary);
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
}

.eg-container {
  padding: 0 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================== */
/* ================ ROOT QUERIES ================ */
/* ============================================== */

@media (max-width: 1600px) {
  :root {
    --container: 1420px;
    --font-60: 3.375rem;
    --font-50: 2.75rem;
    --font-48: 2.625rem;
    --font-46: 2.5rem;
    --font-40: 2.25rem;
    --font-36: 2rem;
    --font-30: 1.75rem;
    --font-24: 1.375rem;
    --font-20: 1.125rem;
    --font-18: 1rem;
    --line-30: 1.75rem;
    --line-26: 1.5rem;
  }
}

@media (max-width: 1400px) {
  :root {
    --container: 1280px;
    --font-60: 3rem;
    --font-50: 2.375rem;
    --font-48: 2.25rem;
    --font-46: 2.125rem;
    --font-40: 2rem;
    --font-36: 1.75rem;
    --font-30: 1.625rem;
    --font-24: 1.25rem;
    --line-30: 1.625rem;
    --line-26: 1.375rem;
  }
}

@media (max-width: 1200px) {
  :root {
    --font-60: 2.625rem;
    --font-50: 2.125rem;
    --font-48: 2rem;
    --font-46: 1.875rem;
    --font-40: 1.75rem;
    --font-36: 1.625rem;
    --font-30: 1.5rem;
    --font-24: 1.125rem;
    --font-20: 1rem;
    --font-16: 0.875rem;
    --font-14: 0.75rem;
    --line-30: 1.5rem;
    --line-26: 1.25rem;
  }
}

@media (max-width: 992px) {
  :root {
    --font-60: 2.25rem;
    --font-50: 2rem;
    --font-48: 1.875rem;
    --font-46: 1.75rem;
    --font-40: 1.625rem;
    --font-36: 1.5rem;
    --font-30: 1.375rem;
    --line-30: 1.375rem;
    --line-26: 1.125rem;
    --large-spacing: 4rem 0;
    --regular-spacing: 2rem 0;
  }
}

@media (max-width: 576px) {
  :root {
    --font-60: 2rem;
    --font-50: 1.875rem;
    --font-48: 1.75rem;
    --font-46: 1.625rem;
    --font-40: 1.5rem;
    --font-36: 1.375rem;
    --font-30: 1.25rem;
  }
}
