:root {
  --turquoise: #60b1a7;
  --purple: #8570b2;
  --green: #759655;
  --white: #bec8f3;
  --lilac: #779ef0;
  --cyan: #28adc6;
  --blue: #89ddff;
  --navy: #1a1b26;
  --dark: #16161e;
  --header: 6vh;
  --space: 3px;
}

@font-face {
  font-family: 'Jura';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Jura_Normal_400.woff2');
}

* {
  padding: 0px;
  margin: 0px;
  border: 0px;
  z-index: 0;
  font-family: Jura;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-color: var(--dark);
}

#particles {
	position: fixed;
	width: 100%;
	height: 100%;
	display: inline-block;
}

header {
  border: var(--space) solid var(--lilac);
  justify-content: space-between;
  margin: calc(2 * var(--space));
  background-color: var(--navy);
  border-radius: var(--space);
  height: var(--header);
  align-items: center;
  color: var(--cyan);
  width: page-width;
  display: flex;
}

#home {
  max-width: calc(50% - 4 * var(--space));
  height: calc(100% - 4 * var(--space));
  margin: calc(2 * var(--space));
  align-items: center;
  display: flex;
  width: auto;
}

#logo {
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}

#nav {
  max-width: calc(50% - 4 * var(--space));
  height: calc(100% - 4 * var(--space));
  margin: calc(2 * var(--space));
  align-items: center;
  flex-wrap: wrap;
  display: flex;
}

#drop-btn {
  border: var(--space) solid var(--purple);
  font-size: calc(var(--header) - 2vh);
  background-color: var(--navy);
  border-radius: var(--space);
  color: var(--cyan);
  max-height: 100%;
  flex-basis: 100%;
  max-width: 100%;
  cursor: pointer;
  display: none;
  height: auto;
  width: auto;
}

#drop-btn hr {
  margin: calc((var(--header) - 4 * var(--space)) / 5);
  background-color: var(--cyan);
  border-radius: var(--space);
  height: var(--space);
  display: block;
  width: 5vw;
}

#nav-items {
  list-style-type: none;
}

#nav-items li {
  display: inline-block;
  white-space: nowrap;
}

#nav-items li:not(:first-child) {
  margin-left: calc(4 * var(--space));
}

#nav-items li a {
  font-size: calc(var(--header) - 2vh);
  text-decoration: none;
  color: var(--purple);
}

#nav-items li a:hover {
  color: var(--cyan);
}

@media only screen and (max-width: 1279px) and (min-height: 721px) {
  #drop-btn {
    display: unset;
  }

  #nav:hover #nav-items,
  #nav:active #nav-items,
  #nav:focus #nav-items {
    top: calc(var(--header) + var(--space));
    right: calc(5 * var(--space));
    position: absolute;
    display: block;
  }

  #nav-items {
    padding-top: calc(4 * var(--space));
    display: none;
  }

  #nav-items li {
    position: relative;
    display: unset;
  }

  #nav-items li a {
    text-align: right;
    display: block;
  }
}

#content {
  align-items: center;
  text-align: center;
  font-size: 2.4vh;
  color: white;
}

#content button {
  position: relative;
  margin-top: 0.5%;
  padding: 0.2% 0px;
  width: 200px;
  border-radius: 30px;
  font-size: 1.5vh;
  text-align: center;
  align-content: center;
  background-color: #4CAF50;
  color: white;
  display: inline-block;
  cursor: pointer;
}
