body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

* {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

a {
  text-decoration: none;
}

.topbar a:hover {
  text-decoration-line: line-through;
  text-decoration-color: #ff4655;
}

div {
  box-sizing: border-box;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#wrapper {
  background: linear-gradient(160deg, #ff4655 0%, #123259 75%);
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: scroll;
}

.topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 25px;
  background-image: url(pattern2.png);
  background-repeat: repeat-x;
  background-position: center;
  background-size: 150px;
  border-bottom: 8px solid #353535b3;
}

.topbar img {
  max-height: 60px;
  width: 220px;
  display: flex;
}

header {
  flex: 2;
  display: inline-flex;
  padding: 14px 10px;
}

nav {
  display: inline-flex;
  padding: 0 10px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 5px;
}

nav ul li a {
  font-size: 1.1em;
  line-height: 28px;
}

.flex-wrap {
  width: 100%;
  padding: 20px 16%;
  flex: 1;
  padding-bottom: 80px;
}

/* .flex-wrap .games-title {
  font-size: 2.2em;
  text-decoration-line: underline;
  text-decoration-thickness: 5px;
} */

.flex-wrap > div {
  display: inline-block;
}

.lightbox {
  width: 100%;
}

.greybox {
  background-color: rgba(33, 31, 31, 0.8);
}

.lightbox > h2 {
  font-size: 2em;
}

.about {
  margin: 0 10%;
}

.about > p,
.contact > form {
  font-size: 1.3em;
  padding: 20px 30px;
}

.contact {
  justify-items: center;
  margin: 0 10%;
}

.contact > form input,
.contact > form > textarea {
  display: block;
  color: black;
  margin-bottom: 15px;
  margin-top: 5px;
}

form > textarea {
  width: 100%;
}

form input {
  font-size: 0.9em;
}

form input[type="submit"] {
  background-color: white;
  padding: 5px 15px;
  box-shadow: none;
  border: none;
}

form > label {
  margin-bottom: 10px;
}

.video {
  justify-content: center;
  padding: 20px;
}

footer {
  text-align: center;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #211f1f;
  max-height: 100px;
}

/* Mobile */
@media (max-width: 600px) {
  main .flex-wrap {
    padding: 25px 5%;
  }

  main .flex-wrap > div {
    display: block;
  }

  .lightbox > div {
    padding-top: 5px;
  }

  .topbar {
    padding: 0 5%;
  }

  .topbar header img {
    width: 130px;
  }

  .topbar nav a {
    font-size: 1em;
    line-height: 22px;
  }

  .contact,
  .about {
    margin: 0 0;
  }
}

/* Tablet */
/* Exists to handle tablets on the small size if there is overlap between mobile and tablet style */
/* make page near-full-width on tablet */
@media (min-width: 601px) and (max-width: 999px) {
  main .flex-wrap {
    padding: 20px 8%;
  }

  .column-wrap {
    flex-direction: column;
  }

  .column-wrap .column-one {
    margin-right: 0;
  }
}

/* Desktop overrides */
@media (min-width: 801px) {
}
