* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: white;
}

h1 {
  font-size: 40px;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

header a {
  text-decoration: none;
}

header h1 {
  font-size: 200%;
}

header {
  position: static;
  backdrop-filter: blur(5px);
  padding: 1%;
  height: 7%;
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.886);
  background: rgba(0, 0, 0, 0.556);
  z-index: 2;
}

#brand {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

ul {
  font-size: 20px;
  list-style: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-right: 10px;
}

ul a {
  color: white;
}

ul li {
  padding: 5px;
  margin-left: 10px;
  display: inline;
  border-radius: 5px;

}

ul li:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
  margin-right: 15px;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: calc(100vh - 30px);
  max-height: 500px;
}

.mobile-menu {
  position: absolute;
  top: 64px;
  left: 0;
  height: 0;
  width: 100%;
  overflow: hidden;
}

.mobile-menu li {
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.556);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.mobile-menu.open li {
  opacity: 1;
}

.box {
  position: relative;
  margin-top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 20px;
  max-width: 1250px;
  width: 75%;
  background: rgba(0, 0, 0, 0.556);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  transition: margin-top 0.3s ease-in-out;
  z-index: -1;
}

.box p {
  font-size: 24px;
  margin-bottom: 20px;
}

.gif-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  z-index: 4;
}

.video {
  position: fixed;
  pointer-events: none;
  margin: -1%;
  right: 0;
  bottom: 0;
  width: 110%;
  height: auto;
  z-index: -2;
}

.static-gif {
  width: 100%;
  height: fixed;
}

@media only screen and (max-width: 600px) {
  .box {
    margin-top: 7%;
  }

  .box h1 {
    font-size: 24px;
  }

  .box p {
    font-size: 11px;
  }

  header nav {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }
}

@media (min-aspect-ratio: 16/9) {
  .video video {
    width: 100%;
    height: auto;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1050px) {
  .box p {
    font-size: 18px;
  }
}