@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

::selection {
  background-color: var(--color-primary);
  color: #fff;
}

/*scrollbar custom*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 40px;
}

/* slide */
:root {
  --arrow-width: 20px;
  --arrow-height: auto;
  --arrow-ratio: 1/2;
  --arrow-position: 50px;
  --arrow-image: url("/assets/images/icons/slide_arrow.svg");

  --dot-position: -25px;
  --dot-width: 8px;
  --dot-height: 8px;
  --dot-gap: 10px;
  --dot-color: #ddd;
  --dot-active-color: var(--color-primary);
}

/*Layout*/
:root {
  --container-width: 1440px;
  --container-scale: 90;

  --divider-gap: 150px;
  --divider-t-gap: 100px;
  --divider-m-gap: 60px;
}

.divider-bottom {
  margin-bottom: var(--divider-gap);
}

.divider-top {
  margin-top: var(--divider-gap);
}

/*Grid*/
:root {
  --grid-gap: 30px;
  --grid-t-gap: 20px;
  --grid-m-gap: 20px;

  --row-gap: 30px;
  --row-t-gap: 20px;
  --row-m-gap: 20px;
}

/* color */
:root {
  --color-up: #f9283a;
  --color-down: #217afa;
}

/*Font*/
* {
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

:root {
  --letter-spacing: -0.6px;
  --font-size-default: var(--f18);

  --f18: 18px;
  --f22: 22px;
  --f28: 28px;
  --f42: 42px;
  --f65: 65px;
}

html {
  font-size: var(--font-size-default);
}

p {
  font-size: var(--f18);
}

h1 {
  font-size: var(--f65);
}

h2 {
  font-size: var(--f42);
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: var(--f28);
}

h5 {
  font-size: var(--f22);
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {
  :root {
    --f18: 17px;
    --f22: 20px;
    --f42: 38px;
  }
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
  :root {
    --f18: 16px;
    --f22: 18px;
    --f42: 32px;
  }
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
  :root {
    --f18: 14px;
    --f22: 16px;
    --f42: 22px;
  }
}
