:root {
  --topbar-size: 40px;
}

body {
  font-family: "Atkinson Hyperlegible Mono";
  font-weight: 200;
  font-size: 14px;
  background: var(--cod-gray);
  color: var(--alto);
  overflow-x: hidden;
  margin: 0;
}

.topbar {
  height: var(--topbar-size);
  border-bottom: 1px solid var(--mida-purple);
}

.topbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: stretch;
  height: var(--topbar-size);
}

.topbar ul li {
  display: flex;
  align-items: center;
}

.topbar ul li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1em;
  text-decoration: none;
  color: inherit;

  background: linear-gradient(0deg, var(--mida-purple), var(--mida-purple)) no-repeat right bottom/100% 0;
  transition: background-size 0.3s cubic-bezier(0.19, 1, 0.22, 1), color 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.topbar ul li a:hover {
  font-weight: 400;
  color: var(--cod-gray);
  background-size: 100% 100%;
  background-position-x: left;
}

.topbar li.search {
  margin-left: auto;
}

.topbar li.icon {
  width: var(--topbar-size);
  padding: 0;
  justify-content: center;
  background: var(--mida-purple);
}

.topbar li.icon a {
  padding: 0;
  width: 100%;
  justify-content: center;
}

.topbar li.icon img {
  display: block;
  width: var(--topbar-size);
  height: var(--topbar-size);
}

.sidebar {
  border-radius: 10px;
  border-top: 5px solid #222;
  padding-top: 40px;
}

.main {
  border-radius: 10px;
  border-top: 5px solid #222;
  padding-top: 40px;
}

.card {
  min-height: 200px;
  border-radius: 5px;
  border: 1px solid #222;
  padding: var(--gutter);
  font-weight: 100;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(0deg, var(--mida-purple-a75), var(--mida-purple-a75)) no-repeat left bottom / 100% 0,
    rgba(5, 5, 5, 0.65);
  transition: background-size 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.card:hover::before {
  background-size: 100% 100%, auto;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover a {
  color: var(--cod-gray);
}

.card a {
  text-decoration: none;
  color: #CECECE;
}

.card h3 {
  font-weight: 100;
}

h1, h2 {
  font-family: "MADE Outer Sans";
  font-weight: normal;
  font-size: 24pt;
  text-transform: uppercase;
}

h3 {
  font-family: 'KH Interference';
}