@charset "utf-8";

@import url(reset.css);
@import url(header.css);
@import url(main_visual.css);
@import url(scroll_visual.css);
@import url(earths_voice.css);
@import url(slogan.css);
@import url(earths_protector.css);
@import url(earths_news.css);
@import url(protector_subs.css);
@import url(footer.css);
@import url(campaign.css);
@import url(event.css);

/* 폰트 */
@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2")
    format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2")
    format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2")
    format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2")
    format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2")
    format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff")
    format("woff");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff")
    format("woff");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff")
    format("woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff")
    format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff")
    format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff")
    format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff")
    format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraBold.woff")
    format("woff");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Black.woff")
    format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "KkuBulLim";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2410-1@1.0/BMkkubulimTTF-Regular.woff2")
    format("woff2");
  font-display: swap;
}

/* fixed 버튼 */
@keyframes topdown {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(0%);
  }
}

/* style */
:root {
  /* Color styles */
  --color--main: #2d71ed;
  --color--sub: #f1cb00;
  --color--neutral: #3caff2;
  --color--state: #f33c01;
  --color--font--black: #1c1c1c;
  --color--font--sub: #555555;

  /* Text-size styles */
  --text--heading--h1: 40px;
  --text--heading--h2: 32px;
  --text--header: 23px;
  --text--body--regular: 20px;
  --text--body--small: 16px;
  --text--footer--regular: 18px;
  --text--footer--small: 15px;

  /* 간격 */
  --spacing--large: 100px;
  --spacing--medium: 60px;
  --spacing--small: 25px;
}
html {
  scroll-behavior: smooth;
}
body {
  cursor: url(/image/mouseCursor.png), auto;
}
ul,
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #1c1c1c;
}

.inner {
  width: 1320px;
  margin: auto;
}

/* fixed 버튼 */
.fixed_btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.donate_btn {
  width: 80px;
  /* margin-bottom: 20px; */
  display: block;
  animation: topdown 1s infinite ease-in-out;
}

.go_top_btn {
  width: 60px;
  cursor: pointer;
}

.fixed_btn.active {
  opacity: 1;
  visibility: visible;
}

.fixed_btn span {
  position: absolute;
  top: 23px;
  right: 90px;
  padding: 8px 18px;
  font-family: "Paperozi";
  font-size: 14px;
  font-weight: 600;
  border-radius: 23px;
  text-align: center;
  box-shadow: 0px 3px 7px 0 rgb(0, 0, 0, 0.3);
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: all 0.5s;
}
.donate_btn:hover + span {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .donate_btn {
    width: 70px;
  }
  .go_top_btn {
    width: 50px;
  }
}
@media screen and (max-width: 390px) {
  .donate_btn {
    width: 60px;
  }
  .go_top_btn {
    width: 40px;
  }
}
