@import './base.css';

:root {
    --theme: rgba(255, 100, 0, 1);
    --theme-dim: rgba(255, 100, 0, 0.6);
    --theme-faint: rgba(255, 100, 0, 0.3);
    --theme-bg: rgba(255, 100, 0, 0.15);
    --theme-glow: rgba(255, 100, 0, 0.2);
}

.mode_historical {
    --theme: rgba(200, 160, 100, 1);
    --theme-dim: rgba(200, 160, 100, 0.6);
    --theme-faint: rgba(200, 160, 100, 0.3);
    --theme-bg: rgba(200, 160, 100, 0.15);
    --theme-glow: rgba(200, 160, 100, 0.2);
}

.mode_frozen {
    --theme: rgba(150, 220, 255, 1);
    --theme-dim: rgba(150, 220, 255, 0.6);
    --theme-faint: rgba(150, 220, 255, 0.3);
    --theme-bg: rgba(150, 220, 255, 0.15);
    --theme-glow: rgba(150, 220, 255, 0.2);
}

.content_frame {
    border: 1px solid var(--theme-faint);
    border-radius: 6px;
    padding: 1rem;
    transition: border-color 0.4s, box-shadow 0.4s;
    box-shadow: 0 0 12px var(--theme-glow);
}

#app {
  margin: 0 auto;
  padding: 2rem 2rem;
}

.tab_btn {
    background: transparent;
    border: 1px solid var(--theme-faint);
    color: var(--theme-dim);
    padding: 0.4rem 1.2rem;
    cursor: pointer;
    font-family: 'Departure Mono', monospace;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.2s;
    margin-right: 0.5rem;
}

.tab_btn:hover {
    border-color: var(--theme);
    color: var(--theme);
}

.tab_btn.active {
    background-color: var(--theme-bg);
    border-color: var(--theme);
    color: var(--theme);
    box-shadow: 0 0 8px var(--theme-glow);
}

a,
.amber {
  text-decoration: none;
  color: rgba(255, 100, 0, 1);
  transition: 0.4s;
  padding: 3px;
}

a {
  font-style: italic;
}

a:hover {
  color: rgba(180, 70, 0, 1);
}

@media (hover: hover) {
  a:hover {
    background-color: rgba(180, 70, 0, 1);
    color: white;
  }
}

@media (min-width: 1024px) {
  main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
