:root {
  --dark-1: #00020a;
  --dark-2: #2f2f2f;
  --light-1: #f7f7ff;
  --yellow-1: #ffca22;
  --red-1: #c3423f;
}

html {
  font-size: 22px;
  font-family: 'Electrolize', sans-serif;

  /* might need to remove later! :P */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

body {
  background-color: var(--dark-1);
  color: var(--light-1);

  /* FIXME: temporary, for MVP without 'features' or 'roadmapbe' */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 4rem);
  margin: 2rem 0;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.5rem;
}


/*** HEADER ***/

div.header {
  /*background: var(--dark-2);*/
  margin-bottom: 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

div.header div.nav {
  display: flex;
}

div.header div.nav a {
  margin: 0 0.5rem;
}


/*** CARDS ***/

div.cards {
  display: flex;
  align-items: center;
  position: relative;
}

div.card {
  width: 20rem;
  height: 20rem;
  background: var(--dark-1);
  border: 4px solid var(--light-1);
  border-radius: 5px;
  padding: 1rem;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;

  display: none;
}

div.card.visible {
  display: flex;
}

div.card .text {
  text-align: center;
}

div.card div.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

div.tag {
  border: 3px solid var(--light-1);
  border-radius: 500px;
  padding: 0.2rem 0.4rem;
  margin: 0.2rem 0.2rem;
}

div.arrow {
  margin: 0 1rem;
  cursor: pointer;
}

div.arrow:hover {
  color: var(--yellow-1);
}

/*** HOMEPAGE  ***/

div.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin: 4rem 0; */
  margin-bottom: 3rem;
}

div.banner h1 {
  margin-bottom: 1rem;
}

div.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

div.later {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

div.mvp {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
}

div.mvp h3 {
  margin-bottom: 0.5rem;
}

div.mvp div.buttons {
  display: flex;
  align-items: center;
  position: relative;
}

div.mvp div.buttons h1 {
  margin: 0 1rem 0 0.8rem;;
}

div.mvp div.buttons div.platform-button:last-of-type img {
  position: relative;
  bottom: 0.4rem;
}

div.main div.platform-button {
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0.5rem;
}

div.platform-button p, div.platform-button h3 {
  position: absolute;
}

/*div.later*/ div.platform-button img {
  height: 100%;
  margin: 0 1rem;
  filter: brightness(0.2);
}

div.main a.waitlist {
  border-radius: 10px;
  padding: 1rem;
  text-decoration: none;
  background: var(--yellow-1);
  color: var(--dark-1);
}

div.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

div.feature {
  background: var(--dark-2);
  width: 40rem;
  height: 25rem;
  display: flex;
  align-items: center;
  position: relative;
  margin: 2rem 0;
}

div.feature div.card {
  position: relative;
}

div.feature.l {
  left: -10%;
}

div.feature.l div.card {
  left: -3rem;
}

div.feature.r {
  right: -10%;
  padding-left: 3rem;
}

div.feature.r div.card {
  right: -3rem;
}

div.feature div.text {
  height: 70%;
  flex-grow: 1;
}

div.feature div.text h2 {
  margin-bottom: 2rem;
}


/* mobile */

@media screen and (max-width: 700px) {
  div.cards div.arrow.left {
    position: absolute;
    bottom: -2rem;
    left: 4.2rem;
  }

  div.arrow h2 {
    font-size: 1.5rem !important;
  }

  div.cards div.arrow.right {
    position: absolute;
    bottom: -2rem;
    right: 4.2rem;
  }

  div.card {
    width: 12rem;
    height: 12rem;
  }

  div.banner h1 {
    font-size: 2.5rem;
  }

  div.card .text {
    font-size: 1rem;
  }

  div.tag {
    font-size: 0.7rem;
  }

  div.mvp div.buttons h1 {
    font-size: 2.5rem;
    margin: 0;
    margin-left: -0.4rem;
  }
}
