/* BASE STYLES */
@import url(./global/styles/base/fonts.css);
@import url(./global/styles/base/variables.css);
@import url(./global/styles/base/colors.css);
@import url(./global/styles/base/animations.css);

/* PAGE PARTS */
@import url(./global/styles/page-parts/header.css);
@import url(./global/styles/page-parts/section.css);
@import url(./global/styles/page-parts/footer.css);

/* COMPONENTS */
@import url(./global/components/dialog/dialog.css);
@import url(./global/components/slider/slider.css);

@import url(./global/styles/components/error.css);
@import url(./global/styles/components/buttons.css);
@import url(./global/styles/components/icon.css);
@import url(./global/styles/components/item.css);
@import url(./global/styles/components/nav.css);
@import url(./global/styles/components/filter.css);
@import url(./global/styles/components/link.css);
@import url(./global/styles/components/title.css);



* {
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-sizing: border-box;
  /* hyphens: auto; */
  touch-action: manipulation;
}

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
  display: none;
}

[tabindex]:focus-visible::-webkit-slider-thumb,
[tabindex]:focus-visible,
button:focus-visible {
  outline-offset: 2px;
  outline-color: var(--color-ci-purple);
  opacity: 1 !important;
  outline-style: solid;
  outline-width: 2px;
  z-index: 100 !important;
}

/* GLOBAL RESETS */
* {
  box-sizing: border-box;
  hyphens: auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-height: var(--main-height);
  margin: 0;
  padding: 0;
  font-family: var(--ci-font-regular);
  font-size: var(--font-size-s);
  line-height: var(--font-line-s);
  color: black;
  background-color: white;
  background-image: url(./global/assets/images/bg-interessentest-desktop-1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-image 0.3s ease;
}

body[data-view="result"],
body[data-view="match"] {
  background-image: url(./global/assets/images/bg-interessentest-desktop-2.jpg);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4{
  margin: 0 0 clamp(12px, 2vw, 20px) 0;
  font-family: var(--ci-font-medium);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: var(--font-size-xl);
}

h2 {
  font-size: var(--font-size-l);
}

h3 {
  font-size: var(--font-size-m);
}


p {
  margin: 0 0 clamp(12px, 2vw, 16px) 0;
}

/* LINKS */
a {
  color: inherit;
  text-decoration: none;
  color: inherit;
}

/* FOCUS STYLES */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-ci-purple);
  outline-offset: 2px;
}

/* ANCHOR SCROLLING */
[id] {
  scroll-margin-top: var(--header-height);
}

/* MEDIA */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

strong {
  font-family: var(--ci-font-medium);
  font-weight: 500;
}

/* UTILITY CLASSES */
.is-hidden,
[hidden] {
  display: none !important;
}

main {
  min-height: var(--main-height);
  padding: 96px 0;
}

/* RESPONSIVE */
@media only screen and (max-width: 768px) {
  body {
    background-image: url(./global/assets/images/bg-interessentest-mobil-1.jpg);
  }

  body[data-view="result"],
  body[data-view="match"] {
    background-image: url(./global/assets/images/bg-interessentest-mobil-2.jpg);
  }

  main {
    padding: 48px 0;
  }
}

/* HOVER EFFECTS */
@media (hover: hover) and (min-width: 500px) {
  a:hover::after {
    background-color: var(--color-ci-purple);
  }
}