:root {
  --grey-lowkey: rgb(221 221 221/1);
  --grey-lowkey-with-opacity: rgb(221 221 221/0.25);
  --grey-lowkey-hover: rgb(221 221 221/0.4);
  --grey-lowkey-hover-strong: rgb(221 221 221/0.45);

  --grey-dark: #1d1d1d;
  --grey-normal: #393939;
  --grey-light: #717171;

  --sky-dark: #0469a0;
  --sky-normal: #10a3e7;
  --sky-light: #7dd5fd;

  --dream-dark: #7d1986;
  --dream-normal: #9335eb;
  --dream-light: #a58af8;
}

/* CSS Reset */
body,
p,
div,
blockquote,
tr,
th,
td,
ul,
ol,
li {
  padding: 0;
  margin: 0;
}

* {
  font-family: "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  font-style: normal;
  transition: color 0.1s ease-in-out;
}

a:hover {
  text-decoration: underline;
  color: var(--dream-dark);
}

/*  */

body {
  background-color: #f9f9f9;
}

.site-wrapper {
  display: block;
}

.width-restricted-content {
  max-width: 800px;
  padding: 0 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.grow {
  flex-grow: 1;
}

.nav {
  background-color: var(--sky-light);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  display: flex;
  min-height: 4rem;
  justify-content: center;
  align-items: center;
}

.nav--sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__content {
  /* padding: 0.5rem 0; */
  display: flex;
  justify-content: space-between;
}

.nav__details {
  display: flex;
  align-items: center;
}
.nav__img {
  border-radius: 99999px;
  height: 2.5rem;
  width: 2.5rem;
  aspect-ratio: 1/1;
}
.nav__title {
  display: none;
  line-height: normal;
  margin-left: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

@media only screen and (min-width: 640px) {
  .nav__title {
    display: block;
  }
}

.nav__actions {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav__action-item {
  display: block;
  /* margin-left: 0.75rem */
  font-size: 1rem;
  font-weight: normal;
  color: var(--grey-dark);
  transition: color 0.1s ease-in-out;
}

.nav__action-item--active {
  text-decoration: underline;
  font-weight: 600;
}

.nav__action-item__link {
  display: block;
  padding: 1rem 0.5rem;
}

.main {
  min-height: 100vh;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  scroll-margin-top: 6rem;
}

.footer {
  background-color: var(--grey-dark);
  font-size: 1rem;
}

.footer__content {
  padding: 3rem 0;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.footer__link-item {
  display: block;
}

.footer__link-item a:hover {
  color: var(--sky-light);
}

.table {
  display: block;
  border-collapse: collapse;
  border-spacing: 0;
  overflow-x: auto;
  max-width: 100%;
  width: 100%;
}

.table > thead {
  border-bottom: 0.125rem solid var(--grey-lowkey);
}

.table :is(td, th) {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.table.table-striped > tbody > tr:not(:hover):nth-child(2n + 1) {
  background-color: var(--grey-lowkey-with-opacity);
}

.table > tbody tr,
.table > tbody > tr > td {
  transition: background-color 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.table > tbody > tr:hover {
  background-color: var(--grey-lowkey-hover);
}
.table > tbody > tr > td:hover {
  background-color: var(--grey-lowkey-hover-strong);
  transform: scale(1.1);
  z-index: 5;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: background-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
  cursor: pointer;
  background-color: white;
  border: none;
}

.btn:not(.btn--disabled):hover {
  text-decoration: none;
  box-shadow: 0 2px 16px -4px rgba(0, 0, 0, 0.5);
}

.btn:not(.btn--disabled):active {
  text-decoration: none;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.btn:disabled,
.btn--disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.btn--raised {
  background-color: var(--dream-normal);
  color: white;
}

.btn--raised:hover {
  color: white;
}

.btn--outline {
  outline: 0.125rem solid var(--grey-lowkey);
  outline-offset: -0.125rem;
  transition: outline 100ms ease-in-out, box-shadow 100ms ease-in-out;
}

.btn--outline:hover {
  outline: 0.125rem solid var(--dream-dark);
  color: black;
}

.skip-to-content {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  background-color: #000;
  color: #fff;
  padding: 1rem 0.5rem;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  outline: 2px solid var(--dream-light);
}

.skip-to-content:not(:focus) {
  height: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
  outline: none;
}

.underline {
  text-decoration: underline;
}

.sub-heading {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 1rem;
  color: var(--grey-normal);
}

article {
  margin: 2rem 0;
}

article h1 {
  font-size: 2rem;
}

article p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: 0.025rem;
}

hr {
  margin: 2rem 0;
  border: none;
  border-top: 0.125rem solid var(--grey-lowkey);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 99rem;
  font-size: 0.75rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
  background-color: var(--sky-light);
}

.fab {
  position: fixed;
  display: grid;
  place-items: center;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
  background-color: var(--sky-light);
  color: white;
  height: 3rem;
  width: 3rem;
  border-radius: 999rem;
  transition: transform 0.1s ease-in-out;
  user-select: none;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.fab:active {
  transform: scale(1.05);
}

.fab__content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: black;
  font-weight: bold;
}

.shapes {
  position: fixed;
  font-family: monospace;
  height: 100vh;
  width: 100vw;
  z-index: -99;
  overflow: hidden;
}

.shapes__shape {
  /* background-color: #0469a0; */
  font-size: 15rem;
  position: absolute;
  user-select: none;
  --random-top: 50%;
  --random-left: 50%;
  top: var(--random-top);
  left: var(--random-left);
  transform: translate(
    calc(var(--random-left) * -1),
    calc(var(--random-top) * -1)
  );
  opacity: 0.025;
}

/* Randomply place shapes on the screen */
.shapes__shape-1 {
  --random-top: 91.03711597823791%;
  --random-left: 99.24877844506486%;
}
.shapes__shape-2 {
  --random-top: 53.91115681823417%;
  --random-left: 5.77106816270375%;
}
.shapes__shape-3 {
  --random-top: 01.571277788788583%;
  --random-left: 82.79043493799358%;
}
.shapes__shape-4 {
  --random-top: 38.67181190504714%;
  --random-left: 65.42662486678648%;
}
.shapes__shape-5 {
  --random-top: 84.54618593429584%;
  --random-left: 47.48057157288461%;
}
.shapes__shape-6 {
  --random-top: 18.38962038473957%;
  --random-left: 35.929943936109446%;
}

.spacer {
  height: 1rem;
}
