  @media (max-width: 1068px) {

    #popupDiv {
      top: 200px;
      left: 200px;
    }
  }

  .resize-div {
    display: none;
    height: 500px;
    width: 350px;
  }

  .popup {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    top: 50%;
    left: 50%;
    display: block;
    /* position: fixed; */
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    flex: 1;
    width: 300px;
    z-index: 100;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* .selected {
    background-color: #4b9154de;
    font-size: 36pt;
  } */

  .fixed-header {
    position: static;
  }

  .popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
  }

  /* Plot button click animation */
  #plotBtn {
    transition: background-color 0.2s ease, transform 0.15s ease;
  }

  #plotBtn.animate {
    background-color: var(--bs-primary);
    color: var(--bs-alternative);
    transform: scale(1.1);
  }

  @keyframes blinkSelect {

    0%,
    100% {
      outline: 2px solid var(--bs-primary);
    }

    50% {
      outline: 2px solid transparent;
    }
  }

  .demo-highlight {
    animation: blinkSelect 0.6s ease-in-out infinite;
  }

  #popupDiv.demo-popup {
    animation: fadeInPopup 0.5s ease forwards;
  }

  @keyframes fadeInPopup {
    from {
      opacity: 0;
      transform: scale(0.95);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  #spreadsheet {
    /* position: fixed; */
    top: 50%;
    right: 10%;
    /* display: inline; */
    /* width: auto; */
    /* max-width: 400px;
    border-radius: 4px;  */
  }

  

  /* Hero Section */
  .hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 1rem;
  }

  .hero p {
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--bs-dark-accent);
    margin-bottom: 2rem;
  }

  .hero .btn-primary {
    background-color: var(--bs-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
  }

  .hero .btn-primary:hover {
    background-color: var(--bs-secondary);
    transform: scale(1.03);
  }

  /* Decorative element */
  .hero::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(var(--bs-break), transparent 70%);
    border-radius: 50%;
    z-index: -1;
  }

  .hero::after {
    content: "";
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(var(--bs-primary), transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
  }

  /* footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--bs-dark);
    color: var(--bs-light);
    font-size: 0.9rem;
  } */