:root {
      --bg: #372FD1;
      --accent: #caeeff;
      --text: #ffffff;
      --highlight: #c4bfa8;
    }

    body {
      margin: 0;
      font-family: monospace, system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
      position: relative;
    }

    body::before {
      background: url('/images/noisy.png');
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      content: '';
      opacity: 0.5;
      z-index: -1;
      pointer-events: none;
    }

   @font-face {
      font-family: 'Awoma';
      src: url('/fonts/Awoma.otf') format('opentype'),
          url('/fonts/Awoma.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Awoma', monospace, system-ui, sans-serif;
      letter-spacing: 5px;
    }

    a {
      color: var(--text);
      text-decoration: underline;
    } a:hover {
      color: var(--accent);
    }

    p {
      line-height: 1.45;
    }

    header {
      width: 100%;
      margin-top: 2rem;
    }

    /* Folder-style tabs */
    .tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      padding: 0 2.5%;
      border-bottom: 2px solid var(--accent);
    }

    .tab {
      background: var(--text);
      color: var(--bg);
      padding: 0.5rem 1rem;
      cursor: pointer;
      border: 1px solid var(--accent);
      border-bottom: none;
      transition: background 0.2s ease;
    }

    .tab.active {
      background: var(--bg);
      color: var(--text);
      border-bottom: 2px solid var(--bg);
      font-weight: 600;
    }

    .tab:hover {
      background: var(--bg);
      color: var(--text)
    }

    main {
      width: 95%;
      padding: 5% 0;
      flex: 1;
      animation: fadeIn 0.3s ease;
    }

    .tab-content {
      display: none;
      animation: fadeIn 0.4s ease;
    }

    .tab-content.active {
      display: block;
    }

    #home.tab-content.active {
      display: flex;
      align-items: center;
      gap: 10%;
    }

    #home .intro-text {
      width: 70%;
    }

    #home .logo {
      width: 20%;
      height: auto;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(0.5rem); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Event styling */
    .session {
      border-top: 1px solid var(--accent);
      padding: 3rem 0;
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .session:first-child {
      border-top: none;
    }

    .session h3 {
      margin: 0 0 0.25rem;
      font-size: 1.1rem;
    }

    .session p {
      margin: 1.5rem 0;
    }

    .session a {
      color: var(--text);
      text-decoration: underline;
    }

    /* Footer */
    footer {
      width: 100%;
      border-top: 1px solid white;
      text-align: center;
      display: flex;
      align-items: center;   /* Vertical centering */
      justify-content: center; /* Horizontal centering */
      padding: 1.5rem 0;
      color: var(--text);
      font-size: 0.9rem;
      position: relative; /* Keeps it in normal flow but styled */
    }

    #about-content img {  
      max-width: 70%;
      height: auto;
      margin: 1rem 0;
    }

    /* Responsive design */
    /* --- Mobile Styling --- */
@media (max-width: 768px) {

  body {
    font-size: 16px;
    line-height: 1.6;
    align-items: stretch;
  }

  body, main, section, p, h1, h2, h3, h4, h5, h6 {
    text-align: center;
  }

  header {
    margin-top: 1rem;
  }

  h1 {
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
  }

  p {
    font-size: 15px;
  }

  /* Tabs */
  .tabs {
    flex-direction: row;
    overflow-x: auto;
    border-bottom: 2px solid var(--accent);
    gap: 0.5rem;
  }

  .tab {
    flex: 1;
    text-align: center;
    font-size: 14px;
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--accent);
    border-bottom: none;
  }

  .tab.active {
    background: var(--bg);
    border-color: var(--accent);
    border-bottom: none;
  }

  /* Home layout */
  #home.tab-content.active {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  #home .intro-text {
    width: 100%;
  }

  #home .logo {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Sessions / Events */
  .session {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--accent);
  }

  .session img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .session div {
    width: 100%;
  }

  .session h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  #about-content {
    text-align: justify;
  }

  #about-content img {
    max-width: 100%;
    margin: 1rem auto;
    margin-bottom: 2rem;
    display: block;
  }

  /* Main container */
  main {
    box-sizing: border-box;
    max-width: 100%;
    padding: 2rem 1rem;
  }
}

/* Optional: even tighter styles for very small phones */
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  .tab {
    font-size: 12px;
    padding: 0.6rem 0.4rem;
  }

  .session {
    padding: 1.5rem 0;
  }
}