@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --bg: #0e0e0e;
  --text: #ffffff;
  --header-bg: rgba(0,0,0,0);
  --button-bg: #333;
  --footer-bg: #111;
  --content-bg: #1a1a1a;
  --content-bg-hover: #262626;
}

.light {
  --bg: #f5f5f5;
  --text: #171717;
  --header-bg: rgba(255,255,255,0);
  --button-bg: #ddd;
  --footer-bg: #f8f8f8;
  --content-bg: #ffffff;
  --content-bg-hover: #f0f0f0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

.mode-btn {
  font-family: "Poppins";
}

.intro-text {
  max-width: 50rem;
  margin: 8.75rem auto 5rem auto;
  padding: 0 1.5rem;
  font-size: 1.625rem;
  line-height: 1.5;
  font-weight: 500;
  /*opacity: 0.9;*/
  word-break: keep-all;
}

.links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  font-weight: 400;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.links a {
  color: var(--text);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.links a:hover {
  opacity: 1;
}




.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(0.6rem);
  z-index: 1000;
  display: flex;
  justify-content: center;
  transition: background 0.3s;
}

.header-inner {
  width: 100%;
  max-width: 50rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 500;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.6;
}

.mode-btn {
  padding: 0.5rem 0.875rem;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  background: var(--button-bg);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.3s;
  letter-spacing: 0.02em;
}

.section {
  padding: 7rem 1.5rem;
  max-width: 50rem;
  margin: auto;
}




.item {
  background: var(--content-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: transform 0.4s ease, background 0.3s ease, opacity 0.4s ease;
}

.item:hover {
  cursor: pointer;
  transform: translateY(1.25rem) scale(1.03);
  background: var(--content-bg-hover);
  opacity: 1;
}

.item-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.item-date {
  font-size: 0.9rem;
  opacity: 0.6;
  font-weight: 400;
}



.footer {
  padding: 3.75rem 1.5rem;
  background: var(--footer-bg);
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
  /*margin-top: 7.5rem;*/
}





@media (max-width: 768px) {

    .links a {
      font-size: 0.875rem;
    }

    .item-date {
      font-size: 0.875rem;
    }


    .intro-text {
      /*font-weight: 600;*/
      font-size: 1.5rem;
    }


    .item {
      padding: 1.4rem;
      line-height: 1.5;
      margin-bottom: 1.2rem;
      font-weight: 600;
      padding: 1.3rem;
    }


    .item-title {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
    }

    .footer {
      font-size: 0.875rem;
    }
}


