@charset "UTF-8";
:root {
  --bg-color: rgb(0, 0, 20);
  --bg-color-transparent: rgba(0, 0, 20, 0.7);
  --bg-fade-gradient: rgba(0, 0, 20, 0);
  --bg-fade-gradient-mid: rgba(0, 0, 20, 0.35);
  --bg-fade-gradient-end: rgba(0, 0, 20, 0.7);
  --text-color: #EFEBD8;
  --text-secondary: #b3b3cc;
  --accent-color: #b3005e;
  --accent-glow: #ff69b4;
  --border-color: #EFEBD8;
  --shadow-color: rgba(0, 0, 0, 0.2); }

body.light-theme {
  --bg-color: #ffffff;
  --bg-color-transparent: rgba(255, 255, 255, 0.95);
  --bg-fade-gradient: rgba(255, 255, 255, 0);
  --bg-fade-gradient-mid: rgba(255, 255, 255, 0.6);
  --bg-fade-gradient-end: rgba(255, 255, 255, 0.95);
  --text-color: #111111;
  --text-secondary: #333333;
  --accent-color: rgb(207, 110, 0);
  --accent-glow: #ffbe4e;
  --border-color: transparent;
  --shadow-color: rgba(0, 0, 0, 0); }

body.dark-theme {
  --bg-color: rgb(0, 0, 20);
  --bg-color-transparent: rgba(0, 0, 20, 0.7);
  --bg-fade-gradient: rgba(0, 0, 20, 0);
  --bg-fade-gradient-mid: rgba(0, 0, 20, 0.35);
  --bg-fade-gradient-end: rgba(0, 0, 20, 0.7);
  --text-color: #ffffff;
  --text-secondary: #b3b3cc;
  --accent-color: #b3005e;
  --accent-glow: #ff69b4;
  --border-color: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.2); }

body.light-theme header {
  box-shadow: none;
  border: 0;
  /* Ukrycie efektu fade dla jasnego motywu */
  /* Usunięcie wszelkich cieni bocznych za pomocą clip-path */ }
  body.light-theme header.scrolled {
    /* Ensure shadow only appears at the bottom */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 0; }
  body.light-theme header::before {
    opacity: 0;
    display: none; }
  body.light-theme header, body.light-theme header.scrolled {
    clip-path: inset(0 0 -4px 0); }

body.dark-theme header {
  box-shadow: none;
  border: 0;
  /* Przywrócenie efektu fade identycznego jak w footerze */
  /* Usunięcie wszelkich cieni bocznych przy jednoczesnym zachowaniu fade effect */ }
  body.dark-theme header.scrolled {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 0; }
  body.dark-theme header::before {
    opacity: 1;
    display: block;
    border-radius: 0 0 12px 12px;
    /* Zaokrąglone rogi jak w footerze */
    height: calc(var(--fade) + 2px);
    /* Zapewnienie tej samej wysokości fade jak w footerze */
    bottom: calc(-1 * var(--fade) - 1px);
    /* Takie samo pozycjonowanie jak w footerze */
    background: linear-gradient(to top, var(--bg-fade-gradient) 0%, var(--bg-fade-gradient-mid) 50%, var(--bg-fade-gradient-end) 100%); }
  body.dark-theme header, body.dark-theme header.scrolled {
    clip-path: inset(0 0 -30px 0);
    /* Większa wartość aby pomieścić efekt fade */ }

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  font-family: "Roboto Mono", monospace;
  transition: background-color 0.3s ease, color 0.3s ease; }

header {
  --blur: 3px;
  --fade: 22px;
  /* Match with footer's fade value */
  position: sticky;
  top: -10px;
  padding-top: 20px;
  width: 65%;
  /* Match with footer's width */
  margin: 0 auto;
  height: 60px;
  background-color: var(--bg-color-transparent);
  z-index: 1000;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  --transition-time: 0.38s;
  isolation: isolate;
  overflow: visible;
  /* Important for the fade effect to be visible */
  transform: translateZ(0);
  /* Match with footer for consistent rendering */
  border: 0;
  border-left: 0;
  border-right: 0;
  outline: 0;
  box-shadow: none;
  /* Remove base clip-path and let theme-specific ones handle it */ }
  header::after {
    content: '';
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0;
    height: 2px;
    background: var(--border-color);
    border-radius: 1px;
    transform-origin: center;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.18s linear, background-color 0.3s ease;
    pointer-events: none;
    z-index: 3;
    will-change: transform, opacity; }
  header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-1 * var(--fade) - 1px);
    /* Aligned with footer fade */
    height: calc(var(--fade) + 2px);
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to top, var(--bg-fade-gradient) 0%, var(--bg-fade-gradient-mid) 50%, var(--bg-fade-gradient-end) 100%);
    will-change: transform, opacity;
    transition: background 0.3s ease, opacity 0.3s ease;
    border: 0;
    transform: translateZ(0);
    /* Match footer for consistent rendering */
    box-shadow: none;
    /* Note: Border radius is now controlled in theme-specific styles */ }
  header.scrolled::after {
    transform: scaleX(1);
    opacity: 1; }
  header.scrolled {
    transform: translateY(-10px);
    box-shadow: 0 2px 4px var(--shadow-color);
    border: none;
    /* Preserve the fade effect when scrolled */ }
    header.scrolled::before {
      bottom: calc(-1 * var(--fade) - 1px + 10px);
      /* Adjust for translateY */ }
  header .titles-nav,
  header .buttons-nav {
    position: relative;
    z-index: 2; }
  header .titles-nav {
    display: flex;
    align-items: center; }
    header .titles-nav .nav-title-first {
      display: inline-block;
      margin-right: 0; }
      header .titles-nav .nav-title-first a {
        color: var(--text-color);
        text-decoration: none;
        font-family: "Roboto Mono", monospace;
        font-size: 24px;
        font-weight: 700;
        transition: color 0.3s ease; }
    header .titles-nav .nav-title-second {
      user-select: none;
      display: inline-block;
      margin-left: 0; }
      header .titles-nav .nav-title-second a {
        color: var(--text-secondary);
        text-decoration: none;
        font-family: "Roboto Mono", monospace;
        font-size: 16px;
        font-weight: 400;
        transition: color 0.3s ease; }
  header .buttons-nav {
    user-select: none;
    display: flex;
    align-items: center; }
    header .buttons-nav .nav-button {
      display: inline-block;
      margin-left: 15px; }
      header .buttons-nav .nav-button a {
        color: var(--text-color);
        text-decoration: none;
        font-family: "Roboto Mono", monospace;
        font-size: 18px;
        padding: 10px 15px;
        transition: color 0.3s ease, text-shadow 0.3s ease; }
        header .buttons-nav .nav-button a:hover {
          color: var(--accent-color);
          text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color); }
        header .buttons-nav .nav-button a:active {
          color: var(--accent-glow);
          text-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow); }
  header .settings-buttons-div {
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    /* Set fixed height for container */ }
  header .snowflake-button,
  header .theme-button {
    user-select: none;
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-family: "Roboto Mono", monospace;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    width: 30px;
    height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; }
  header .snowflake-button i {
    font-size: 22px;
    /* Make the icon slightly larger than the theme icon */ }
  header .snowflake-button.snowflake-active i {
    color: red; }
  header .snowflake-button.snowflake-active:hover i {
    color: #FF1493;
    /* Dark pink */
    text-shadow: 0 0 10px #FF1493, 0 0 20px #FF1493; }
  header .snowflake-button:hover, header .theme-button:hover {
    color: var(--accent-color); }
    body.dark-theme header .snowflake-button:hover,
    body.dark-theme header .theme-button:hover {
      text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color); }
    body.light-theme header .snowflake-button:hover, body.light-theme header .theme-button:hover {
      text-shadow: 0 0 2px var(--accent-color); }
    header .snowflake-button:hover i, header .theme-button:hover i {
      color: var(--accent-color); }
      body.dark-theme header .snowflake-button:hover i, body.dark-theme header .theme-button:hover i {
        text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color); }
      body.light-theme header .snowflake-button:hover i, body.light-theme header .theme-button:hover i {
        text-shadow: 0 0 2px var(--accent-color); }
  header .snowflake-button:active,
  header .theme-button:active {
    color: var(--accent-glow);
    text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow); }
    header .snowflake-button:active i,
    header .theme-button:active i {
      color: var(--accent-glow);
      text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow); }
  header .snowflake-button i,
  header .theme-button i {
    color: var(--text-color);
    font-size: 20px;
    transition: color 0.3s ease;
    display: inline-block;
    width: 20px;
    text-align: center; }

main {
  width: 60%;
  margin: 2rem auto 0;
  transition: color 0.3s ease;
  padding-top: 1rem; }

.default-main {
  margin-top: 3rem;
  line-height: 1.6; }

footer {
  --blur: 3px;
  --fade: 22px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 65%;
  margin: 0 auto;
  padding: 10px 0;
  background-color: var(--bg-color-transparent);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  isolation: isolate;
  /* ważne */
  overflow: visible;
  /* żeby pseudo nie był obcięty */
  transform: translateZ(0);
  /* pomoc przy kompozycji */
  transition: background-color 0.3s ease;
  /* treść footera ponad pseudo */ }
  footer > .footer-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    /* daj mały zapas 1px żeby usunąć hairline */
    top: calc(-1 * var(--fade) - 1px);
    height: calc(var(--fade) + 2px);
    pointer-events: none;
    z-index: 0;
    /* tylko gradient — nie stosuj tutaj backdrop-filter ani mask (unikanie artefaktów) */
    background: linear-gradient(to bottom, var(--bg-fade-gradient) 0%, var(--bg-fade-gradient-mid) 50%, var(--bg-fade-gradient-end) 100%);
    transition: background 0.3s ease;
    border-radius: 12px 12px 0 0;
    /* dopasuj do footera */
    will-change: transform, opacity; }
  footer .footer-rights {
    color: var(--text-secondary);
    font-size: 14px;
    margin-left: 20px;
    transition: color 0.3s ease; }
  footer .footer-nav {
    user-select: none;
    display: flex;
    gap: 20px;
    margin-right: 20px; }
    footer .footer-nav .footer-link a {
      color: var(--text-color);
      text-decoration: none;
      font-size: 16px;
      padding: 5px 10px;
      position: relative;
      transition: all 0.3s ease; }
      footer .footer-nav .footer-link a:hover {
        color: var(--accent-color);
        text-shadow: 0 0 8px var(--accent-color); }
      footer .footer-nav .footer-link a:active {
        color: var(--accent-glow);
        text-shadow: 0 0 12px var(--accent-glow); }
      footer .footer-nav .footer-link a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 1px;
        background: var(--accent-color);
        transition: all 0.3s ease; }
      footer .footer-nav .footer-link a:hover::after {
        left: 0;
        width: 100%; }

#snowflakes-left-canvas,
#snowflakes-right-canvas {
  position: fixed;
  top: 0;
  height: 100%;
  width: 15%;
  /* Reduced from 20% to be thinner and not overlap with content */
  z-index: -1;
  pointer-events: none; }

#snowflakes-left-canvas {
  left: 0; }

#snowflakes-right-canvas {
  right: 0; }

body.dark-theme {
  --snowflake-color: #EFEBD8;
  /* White snowflakes for dark theme */
  --snowflake-background: rgb(0, 0, 20);
  /* Dark background matching theme bg-color */ }

body.light-theme {
  --snowflake-color: #06769C;
  /* Dark blue snowflakes for light theme */
  --snowflake-background: #ffffff;
  /* White background matching theme bg-color */ }

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 500px;
  padding: 2rem;
  border-radius: 8px;
  background-color: var(--bg-color-transparent);
  box-shadow: 0 4px 8px var(--shadow-color); }
  .contact-container .contact-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    width: 100%;
    height: 60px;
    /* Set fixed height for consistency */
    box-sizing: border-box;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color); }
    .contact-container .contact-item:hover {
      transform: translateY(-3px); }
    .contact-container .contact-item .contact-icon {
      font-size: 1.5rem;
      color: var(--accent-color);
      margin-right: 1rem;
      width: 24px;
      text-align: center; }
    .contact-container .contact-item .contact-text {
      flex-grow: 1;
      font-size: 1.1rem;
      color: var(--text-color); }
    .contact-container .contact-item .copy-btn {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      font-size: 1.2rem;
      padding: 0.5rem;
      transition: color 0.3s ease; }
      .contact-container .contact-item .copy-btn:hover {
        color: var(--accent-color); }
      .contact-container .contact-item .copy-btn:active {
        transform: scale(0.95); }
    .contact-container .contact-item .contact-link {
      display: flex;
      align-items: center;
      width: 100%;
      text-decoration: none;
      color: var(--text-color);
      padding: 0;
      margin: 0; }
      .contact-container .contact-item .contact-link:hover {
        color: var(--accent-color); }

body.dark-theme .contact-container .contact-item {
  background-color: rgba(10, 10, 40, 0.7); }
  body.dark-theme .contact-container .contact-item .contact-icon {
    text-shadow: 0 0 8px var(--accent-glow); }
  body.dark-theme .contact-container .contact-item .copy-btn:hover {
    text-shadow: 0 0 4px var(--accent-glow); }
body.dark-theme .contact-container a.contact-item:hover {
  color: var(--accent-color);
  text-shadow: 0 0 4px var(--accent-glow); }

body.light-theme .contact-container .contact-item {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }
body.light-theme .contact-container a.contact-item:hover {
  color: var(--accent-color); }

/*# sourceMappingURL=style_dark_default.css.map */
