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

  @keyframes ani-cursor-0 {
    0%, 50% { cursor: url('/ship-cursor/ship0.cur'), auto; }
    25% { cursor: url('/ship-cursor/ship1.cur'), auto; }
    75% { cursor: url('/ship-cursor/ship2.cur'), auto; }
  }

  html:hover {
      animation: ani-cursor-0 900ms step-end infinite;
  }

  #index-page:hover {
    cursor: pointer;
  }

  body {
    font-family: 'Ubuntu', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(#0d0d48, #000000);
    color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: normal;
    height: 100vh;
    margin: 0;
    line-height: 1.4;
  }

  #app {
    text-align: center;
    align-items: center;
    display: flex;
  }

  .page {
    display: none;
    transition: opacity 0.3s ease;
  }

  .active {
    display: block;
  }

  h1, h2 {
    margin-bottom: 20px;
    font-size: 2rem;
  }

  .index-page {
    background-color: #ffffff26;
    color: #dedede;
    padding: 40px 4ch;
    width: 80ch;
    word-break: break-all;
  }

  .login-page {
    background-color: #ffffff26;
    color: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    width: 50ch;
  }

  .login-form {
    display: flex;
    flex-direction: column;
  }

  .login-form input {
    padding: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    outline: none;
    background-color: #333;
    color: #fff;
    transition: background-color 0.3s;
  }

  .login-form input:focus {
    background-color: #444;
  }

  .login-form button {
    padding: 15px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .login-form button:hover {
    background-color: #0056b3;
  }

  #login-message {
    margin-top: 20px;
    color: #ff4d4d;
  }

  #url{
    position: relative;
    top: -26px;
  }

  a {
    color: rgb(160, 160, 160);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: white;
}

textarea{
  height: 99%;
  padding: 10px;
  background: lightgray;
  resize: none;
  border-style: none;
  border-color: Transparent;
  overflow: auto;
  outline: none;
  width: 80ch;
}

#editor{
  background: lightgray;
  display: flex;
  flex-direction: column;
}

#save {
    padding: 5px;
    margin: 5px 40px;
    background: #222222;
    color: white;
    font-family: monospace;
}

/** button things */

.pulse {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { background-color: #f3f3f3; }
  50% { background-color: #ccc; }
  100% { background-color: #f3f3f3; }
}

.success-blink {
  background-color: green;
  animation: blink 1s;
}

@keyframes blink {
  50% { background-color: lightgreen; }
}

/** starry-night */
svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Define filters for star glow effects */
.glow-filter {
    filter: url(#glow);
}