@import url("fonts/fonts.css");

:root {
  --b-500: rgba(26, 95, 180, 1);
  --p-500: rgba(97, 53, 131, 1);

  --window-bg: rgba(36, 36, 36, 1);
  --window-fg: white;
  --window-border: rgba(54, 54, 54, 1);

  --pill-bg: rgba(120, 174, 237, 0.1);
  --pill-fg: rgba(120, 174, 237, 1);

  --action-box-bg: rgba(50, 50, 50, 1);
}

.icon {
  height: 16px;
}

html {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;

  background: linear-gradient(45deg, var(--p-500) 0%, #1a5fb4 150%);

  font-family: "Inter", sans-serif;
}

main {
  text-align: center;
  background-color: var(--window-bg);
  color: var(--window-fg);

  border: solid 2px var(--window-border);
  border-radius: 10px;

  flex: 1 0 auto;
  max-width: 276px;

  padding: 16px;
  height: 372px;
}

.app-icon {
  height: 100px;
}

h1 {
  margin: 12px 0;
  color: var(--window-fg);
  text-align: center;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

h2 {
  margin: 12px 0;
  color: var(--window-fg);
  text-align: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.pills {
  width: min-content;
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 12px auto 24px;
  padding: 0;
}

.pills > li {
  display: inline-flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  background-color: var(--pill-bg);
  color: var(--pill-fg);
  border-radius: 16px;

  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.actions .action {
  display: inline-flex;
  height: 54px;
  padding: 0px 16px;
  justify-content: space-between;
  align-items: center;
  background-color: var(--action-box-bg);
  border-radius: 10px;
  flex: 1 0 auto;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);

  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  filter: brightness(100%);
  transition: filter 150ms;
}

.actions .action:not(.disabled):hover {
  filter: brightness(125%);
}

.actions > a {
  color: inherit;
  text-decoration: none;
}

.actions > a > li {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.actions > .disabled {
  filter: opacity(50%);
}
