@font-face {
    font-family: "Fixedsys Excelsior";
    src: url("fonts/fsex-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    height: 100%;
    font-family: "Fixedsys Excelsior", monospace;
    background: #ffffff;
    color: #0a0a0a;
  }

  html {
    overflow-y: scroll;
  }

  body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: repeat(12, 1fr);
  }

  .logo {
    grid-row: 1;
    grid-column: 1 / 2;
    position: fixed;
    padding: 20px;
    font-size: 18px;
    white-space: nowrap;
  }

  .header-nav {
    position: absolute;
    padding: 20px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
  }

  .header-nav a {
    text-decoration: none;
    font-size: 18px;
    letter-spacing: -0.1px;
    line-height: 24px;
    opacity: 0.6;
    width: auto;
    color: #000000;
  }

  .header-nav a:hover {
    opacity: 1;
  }

  .header-nav a.active {
    opacity: 1;
  }


  .logo img {
    display: block;
    width: 80%;
    height: auto;
  }
  
  .page-title {
    grid-row: 1;
    grid-column: 4 / 10;
    padding-top: 20px;
    font-size: 24px;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }

  .input {
    grid-row: 2;
    grid-column: 4 / 10;
    margin-top: 40px;
  }

  .button-container {
    grid-row: 2;
    grid-column: 4 / 10;
    align-self: center;
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 20px;
  }

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

  .button-container button {
    background: transparent;
    font-family: "Fixedsys Excelsior", monospace;
    color: #0a0a0a;
    padding: 8px 10px;
    cursor: pointer;
    opacity: 0.5;
    font-size: 18px;
    border: 1px solid #111;
    transition: opacity 0.4s ease, background 0.3s ease;
  }

  .button-container button.active {
    background: #ffffff;
    outline: 2px solid #111;
    color: #0a0a0a;
    opacity: 1;
  }

  .button-container button:hover {
    outline: 1px solid #111;
  }

  #content {
    grid-row: 2;
    grid-column: 4 / 10;
    align-self: start;
    justify-self: stretch;
    font-family: "Fixedsys Excelsior", monospace;
    height: 25em;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 18px;
    background-color: #f9f9f9;
    padding: 1em;
  }

  #content::-webkit-scrollbar {
    width: 8px;
  }

  #content::-webkit-scrollbar-track {
    background: #f9f9f9;
  }

  #content::-webkit-scrollbar-thumb {
    background-color: #fbfbfb;
    border-radius: 4px;
  }

  #content::-webkit-scrollbar-thumb:hover {
    background-color: #f9f9f9;
  }

  #content {
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 #f9f9f9;
    margin-top: 0;
  }

  .bottom-links {
    grid-row: 3;
    grid-column: 4 / 10;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 20px;
    white-space: nowrap;
  }

  .bottom-links a {
    font-size: 18px;
    color: #0a0a0a;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .bottom-links a:hover {
    color: rgba(0, 0, 0, 1);
  }

  @media (max-width: 480px) {
    body {
      overflow: scroll;
    }

    .logo {
      font-size: 16px;
      padding: 16px;
    }

    .page-title {
      font-size: 16px;
      grid-column: 3 / 11;
    }

    .side-left,
    .side-right {
      font-size: 14px;
      padding: 16px;
    }

    .button-container {
      gap: 8px;
    }

    .button-container button {
      font-size: 16px;
      min-width: 100px;
      padding: 6px 12px;
    }

    #content {
      font-size: 16px;
      height: 30%;
    }

    .bottom-links {
      padding-bottom: 16px;
    }

    .bottom-links a {
      font-size: 16px;
      margin-right: 12px;
    }
  }

  .product-viewer {
    grid-row: 1;
    grid-column: 4 / 10;
    display: flex;
    max-width: 1200px;
    margin-top: 20px;
  }
  
  .slider {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #eaeaea;
    aspect-ratio: 16 / 9;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
  }
  
  .slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  .slide img,
  .slide video {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-fit: cover;
  }
  
  .nav {
    position: absolute;
    font-family: "Fixedsys Excelsior", monospace;
    top: 50%;
    transform: translateY(-50%);
    background: #eaeaea;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
  }
  .prev { left: 10px; }
  .next { right: 10px; }
  
  .dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
  }
  .dot.active {
    background: #555;
  }
  
  .info {
    grid-row: 1;
    grid-column: 10 / 13;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .block-info {
    border-left: #000 4px solid;
    margin-top: 20px;
    padding-left: 10px;
    font-size: 22px;
  }

  .description {
    flex: 1;
    font-size: 18px;
    white-space: pre-wrap;
  }
  
  .email-form {
    font-family: "Fixedsys Excelsior", monospace;
    margin-top: 20px;
    display: flex;
    gap: 10px;
  }
  .email-form input {
    font-family: "Fixedsys Excelsior", monospace;
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }

  .email-form button {
    font-family: "Fixedsys Excelsior", monospace;
    padding: 0 20px;
    font-size: 1rem;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
  }
  
  #overlay {
    grid-row: 2;
    grid-column: 10 / 13;
    margin-left: 20px;
    margin-top: 20px;
    font-size: 22px;
    color: #000;
  }
  
  #overlay.hidden {
    display: none;
  }