/* src/style.css */
html {
  --pb-base-100: #f0f1e0;
  --pb-base-200: #dedfd0;
  --pb-base-300: #cbcbbf;
  --pb-base-400: #b8b6ad;
  --pb-base-500: #a09b94;
  --pb-base-600: #706f67;
  --pb-base-700: #595953;
  --pb-base-800: #42423f;
  --pb-base-900: #252523;
  --pb-base-950: #0d0d0d;
  --pb-blue-100: #f0f1e0;
  --pb-blue-200: #b0e5ff;
  --pb-blue-300: #95d5f5;
  --pb-blue-400: #6fd1f6;
  --pb-blue-500: #40b8f4;
  --pb-blue-600: #118ac6;
  --pb-blue-700: #116d9b;
  --pb-blue-800: #0b5276;
  --pb-blue-900: #08243f;
  --pb-blue-950: #020d17;
  --pb-red-100: #f8c4c4;
  --pb-red-200: #fab5b5;
  --pb-red-300: #f69494;
  --pb-red-400: #f47171;
  --pb-red-500: #ef4545;
  --pb-red-600: #c41313;
  --pb-red-700: #9e0e0e;
  --pb-red-800: #730e0e;
  --pb-red-900: #400707;
  --pb-red-950: #170202;
  --pb-pink-100: #f8c4f3;
  --pb-pink-200: #fab5f3;
  --pb-pink-300: #f694ec;
  --pb-pink-400: #f471e7;
  --pb-pink-500: #ef45de;
  --pb-pink-600: #c413b2;
  --pb-pink-700: #9e0e90;
  --pb-pink-800: #730e69;
  --pb-pink-900: #40073b;
  --pb-pink-950: #170215;
  --pb-green-100: #c4f8c8;
  --pb-green-200: #b5fabb;
  --pb-green-300: #94f69c;
  --pb-green-400: #71f47c;
  --pb-green-500: #45ef53;
  --pb-green-600: #13c422;
  --pb-green-700: #0e9e1a;
  --pb-green-800: #0e7316;
  --pb-green-900: #07400c;
  --pb-green-950: #021704;
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: 1rem;
  font-family: sans-serif;
}

body {
  background: var(--pb-base-950);
  color: var(--pb-base-100);
  width: 100%;
  height: 100svh;
  margin: 0;
}

div.view {
  animation: fadeIn .4s;
  width: 100%;
  height: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

div.list {
  overflow-y: auto;
  max-width: 80ch;
  height: 100%;
  margin-inline-start: auto;
  margin-inline-end: auto;
}

.icon, .icon svg {
  display: block;
}

.toggle-button {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  right: 1rem;
}

.btn {
  display: block;
  background-color: var(--pb-base-950);
  border: var(--pb-base-900) solid 2px;
  border-radius: var(--s-2);
  padding: var(--s-1);
  color: var(--pb-base-100);
  transition: all .2s;
}

.btn:hover {
  background-color: var(--pb-blue-800);
  border: var(--pb-blue-800) solid 2px;
  color: var(--pb-blue-100);
}

.btn:active {
  background-color: var(--pb-blue-900);
  color: var(--pb-blue-300);
}

.modal-overlay {
  z-index: 1000;
  position: fixed;
  display: flex;
  animation: fadeIn .4s;
  background-color: #0000008c;
  justify-content: center;
  align-items:  center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.modal {
  overflow-y: auto;
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3);
  background-color: var(--pb-base-950);
  border: var(--pb-base-900) solid 2px;
  border-radius: var(--s-2);
  color: var(--pb-base-100);
  flex-flow: column;
  width: 60rem;
  max-width: calc(100% - 1rem);
  height: 40rem;
  max-height: calc(100svh - 1rem);
  transition: all .2s;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
}

.modal-header h1 {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
}

.modal-content {
  overflow-y: auto;
  display: block;
  flex: 1 1 0;
  height: auto;
  min-height: 0;
}

.flex-div {
  display: flex;
  gap: var(--s-2);
  flex-direction: column;
  justify-content: start;
  align-items: stretch;
}

.flex-list {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.actions {
  display: flex;
  gap: var(--s-1);
  margin-block: var(--s-2);
}

.btn-visit {
  background-color: var(--pb-green-800);
  border: var(--pb-green-800) solid 2px;
  color: var(--pb-green-100);
  padding: var(--s-2);
  flex-grow: 1;
  flex-basis: 0;
}

.btn-visit:hover {
  background-color: var(--pb-green-900);
  border: var(--pb-green-800) solid 2px;
  color: var(--pb-green-100);
}

.btn-visit:active {
  background-color: var(--pb-green-900);
  color: var(--pb-green-300);
}

.site-list {
  display: flex;
  list-style: none;
  gap: var(--s-2);
  margin: 0;
  margin-block: var(--s-2);
  flex-direction: column;
  padding: 0;
}

.site-list li {
  display: flex;
  gap: var(--s-2);
  background-color: var(--pb-base-950);
  border: var(--pb-base-900) solid 2px;
  padding: var(--s-3);
  border-radius: var(--s-2);
  color: var(--pb-base-100);
}

.site-list li .info {
  display: flex;
  gap: var(--s-2);
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 0;
}

/* src/readme.css */
.readme-content h1 {
  font-size: large;
}
