@import url("layout/header.css");
@import url("layout/footer.css");
@import url("layout/breadcrumb.css");
@import url("layout/banner.css");
@import url("layout/sidebar.css");

@import url("views/homepage.css");
@import url("views/product-detail.css");
@import url("views/products.css");
@import url("views/about-us.css");
@import url("views/contact.css");

@import url("components/generic-content.css");
@import url("components/tabs.css");
@import url("components/buttons.css");
@import url("components/contact.css");
@import url("components/series-card.css");
@import url("components/products-card.css");
@import url("components/detail-card.css");
@import url("components/product-box.css");
@import url("components/form.css");
@import url("components/dealers.css");
@import url("components/tooltip.css");

/* ============================================== */
/* ==================== FONTS =================== */
/* ============================================== */

@font-face {
  font-family: "DM Sans";
  font-weight: 100;
  src: url("../fonts/DMSans/DMSans-Thin.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 200;
  src: url("../fonts/DMSans/DMSans-ExtraLight.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 300;
  src: url("../fonts/DMSans/DMSans-Light.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  src: url("../fonts/DMSans/DMSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 500;
  src: url("../fonts/DMSans/DMSans-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 600;
  src: url("../fonts/DMSans/DMSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 700;
  src: url("../fonts/DMSans/DMSans-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 800;
  src: url("../fonts/DMSans/DMSans-ExtraBold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-weight: 900;
  src: url("../fonts/DMSans/DMSans_36pt-Black.ttf") format("truetype");
}

@font-face {
  font-family: "DM Serif Display";
  font-weight: 400;
  src: url("../fonts/DMSansDisplay/DMSerifDisplay-Regular.ttf") format("truetype");
}

/* ============================================== */
/* ================== VARIABLES ================= */
/* ============================================== */

:root {
  color-scheme: only light;
  --elsel-black: #000000;
  --elsel-white: #ffffff;
  --elsel-white-2: #f2f2f2;
  --elsel-blue: #0097d8;
  --elsel-blue-2: #0c356a;
  --elsel-blue-3: #009ddd;
  --elsel-blue-4: #65d1ff;
  --elsel-blue-5: #eaf9ff;
  --elsel-blue-6: #daf4ff;
  --elsel-blue-7: #ddf5ff;
  --elsel-grey: #5c6467;
  --elsel-grey-2: #6c6c6c;
  --elsel-grey-3: #bdbdbd;
  --elsel-grey-4: #d5d4d3;
  --elsel-grey-5: #d9d9d9;
  --elsel-grey-6: #828b92;
  --elsel-grey-7: #5e5e5e;
  --elsel-grey-8: #e7e7e7;
  --elsel-grey-9: #9c9c9c;
  --elsel-red: #f23d3d;
  --elsel-green: #deffe7;
  --elsel-green-2: #34a853;
  --container: 1720px;
  --content-spacing: 4rem 0;
  --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-28: 1.75rem;
  --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);
}

/* ============================================== */
/* ================== 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;
}

body {
  font-family: "DM Sans";
  font-style: normal;
  line-height: normal;
  margin: 0;
}

main {
  overflow: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
}

input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

figure {
  margin: 0;
  unicode-bidi: unset;
}

/* ============================================== */
/* ================== MAIN CSS ================== */
/* ============================================== */

.eg-container {
  padding: 0 1rem;
  max-width: var(--container);
  margin: 0 auto;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--elsel-white);
}

::-webkit-scrollbar-thumb {
  background: var(--elsel-blue);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--elsel-blue-3);
}

/* .img-blur {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transition: filter 0.6s;
  transform: translate3d(0, 0, 0);
}

.img-loaded {
  filter: blur(0);
  -webkit-filter: blur(0);
} */

.backdrop {
  background-color: rgba(0, 0, 0, 0.9);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}

.backdrop.show {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}

.shaped-images {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1800px) {
  :root {
    --container: 1580px;
  }
}

@media (max-width: 1600px) {
  :root {
    --container: 1320px;
    --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-28: 1.625rem;
    --line-26: 1.5rem;
  }
}

@media (max-width: 1400px) {
  :root {
    --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-28: 1.5rem;
    --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-28: 1.375rem;
    --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-28: 1.25rem;
    --line-26: 1.125rem;
    --content-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;
  }
}
