@import url('reset.css');
@import url('bootstrap-grid.css');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* DARK is baseline */
:root {
  --font-main: 'VT323', monospace;

  /* neutrals */
  --bg: #000000;
  --bg-rgb: 0 0, 0;
  --fg: #ebebeb;

  --md: #1e1e1e;
  --md-hover: #1e1e1e;

  --card-bg: #1e1e1e;
  --card-border: #1e1e1e;

  /* brand */
  --accent: #ff0000;
  --accent-rgb: 255, 0, 0;
  --accent-bg-hover: #ff0000;
  --accent-bg-hover-rgb: 255, 0, 0;
  --accent-txt-hover: #FFFFFF;
}

html.light {
  --bg: #f9f9f9;
  --bg-rgb: 249, 249, 249;
  --fg: #111111;

  --md: #eaeaea;
  --md-hover: #eaeaea;

  --card-bg: #f9f9f9;
  --card-border: #eaeaea;

  --accent: #ff0000;
  --accent-bg-hover: #ff0000;
  --accent-txt-hover: #FFFFFF;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-main);
  /* transition: all 0.01s, color 0.3s; */
}




h1,
h2,
h3,
h4 {
  /* font-family: "Space Grotesk", sans-serif; */
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}



input {
  font-family: var(--font-main);
  height: 40px;
  color: var(--fg);
  border: 1px solid var(--accent);
  outline: 0;
  border-radius: 4px;
  padding: 0 10px;
  line-height: 40px;
}

section {
  padding: 90px 0;
}




.btn {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
  padding: 10px 20px;
  margin: 0;
  display: block;
}

.btn:hover {
  background: var(--accent-bg-hover);
}

.header {z-index: 2;position: relative;}

.header .nav {
  display: flex;
  /* lays logo + list on one line */
  align-items: center;
  /* vertical centering */
  padding: 0 1rem;
  /* optional breathing room */
}

.logo {
  /* stays left automatically */
  flex-shrink: 0;
  /* never squishes the logo */
}

.pixel-logo {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  height: 40px;
  aspect-ratio: 1 / 1;
}

.pixel-logo .pixel {
  width: 100%;
  height: 100%;
}

.pixel {
  width: 20px;
  height: 20px;
}

.black {
  background: black;
}

.transparent {
  background: transparent;
}

.base {
  background: #bbb2b2;
}

.accent {
  background: var(--accent);
}

.dark-accent {
  background: var(--accent);
  position: relative;
}

.dark-accent:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, .25);
  content: " ";
}

.white {
  background: rgba(255, 255, 255, .5);
}

.nav ul {
  margin-left: auto;
  /* pushes list to the far right */
  display: flex;
  /* horizontal list */
  gap: 0;
  /* space between items */
  list-style: none;
  padding: 0;
  align-items: center;
}

/* .navigation {} */
/* .navigation li {} */
.navigation li a {
  display: block;
  padding: 10px 20px
}

#theme-toggle {
  background: none;
  border: 0;
  padding: 10px
}

.section {
  padding: 90px 0;
}

header.section {
  padding: 120px 0;
}

.section+.section {
  border-top: 1px solid var(--md);
}

.footer {
  background: var(--bg);
  color: var(--fg);
  padding: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 30px 0;
}

.card {
  flex: 1;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  text-align: left;
  /*   min-height: 400px; */
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.02);
  border-radius: 8px;
}

.card:hover {
  /*   border: 1px solid #111111; */
  box-shadow: 1px 0px 10px 1px rgba(0, 0, 0, 0.05);
  /*   transform:scale(1.005); */
}

.card h3 {
  margin-top: 0;
}






.dg.ac {
  z-index: 500;
  top: 50% !important;
  display: none;
}

#banner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

#banner-fg {
  color: var(--fg);
  padding: 120px 30px;
  position: relative;
  z-index: 2;
}

#banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* background: #000; */
  z-index: 1;
}

#banner-bg canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
}

.banner-cta {
  display: inline-block;
  background: rgba(var(--bg-rgb), 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--accent)
}

.banner-form {
  margin-top: 15px;
  ;
}

#nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#navigation {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nav-spacer {
  display: none;
  flex: 1;
  -ms-flex: 1 1 auto;
}

#nav-controls {
  background: var(--accent);
  list-style: none;
  display: flex;
  justify-content: end;
}

#nav-controls li {
  color: #fff;
}

#nav-controls button {
  height: 40px;
  line-height: 40px;
  display: block;
  color: #fff;
  padding: 0 10px
}

#nav-menu {
  /* list-style: none; */
  /* display: flex; */
}

.nav-menu {
  list-style: none;
  display: flex;
}

#nav-menu li a {
  display: block;
  padding: 10px 20px;
}

#nav-alt {
  justify-content: center;
  align-items: center;
  margin-top:15px;
}

.submenu {
  display: none;
}

.menu-item {
  display: flex;
  height: 25px;
  width: 25px;
  text-align: center;
}

.theme-toggle {
  height: 25px;
  width: 25px;
}

#logo {
  display: flex;
  /* margin: 0 auto; */
  /* width:auto; */
  justify-content: center;
  align-items: center;
}

#logo a {
  display: block;
}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {
  #navigation {
    flex-direction: row;
    justify-content: space-between;
  }

  #nav {
    flex-direction: row;
  }

  #nav-alt {
    justify-content: start;
    align-items: center;
    margin-top:0;
  }

  .nav-spacer {
    display: flex;
  }

  #nav-controls {
    display: none;
  }
}



#accentPicker {
  background-color: var(--accent) !important;
  width: 25px;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  height: 25px;
}









.menu-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.hamburger-menu,
.hamburger-menu:after,
.hamburger-menu:before {
  width: 30px;
  height: 2px;
  margin: 0 auto;
}

.hamburger-menu {
  position: relative;
  transform: translateY(20px);
  background: white;
  transition: all 0ms 300ms;
}

.hamburger-menu.animate {
  background: rgba(255, 255, 255, 0);
}

.hamburger-menu:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background: white;
  transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu:after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  background: white;
  transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:after {
  top: 0;
  transform: rotate(45deg);
  transition: top 100ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:before {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 100ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}