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%;
}

.lightbox > .game-header {
  height: 160px;
  padding: 2em;
  contain: paint;
}

.game-header {
  background-image: url(valorantbanner.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  contain: paint;
}

.game-header h2 {
  align-self: center;
}

.star {
  height: 18px;
  width: 18px;
}

.rating {
  position: absolute;
  right: 20px;
  bottom: 10px;
  padding: 5px;
  background-color: #2b2a2ad6;
}

.column-wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}

.column-wrap .column-one,
.column-wrap .column-two {
  display: flex;
}

.column-wrap .column-one {
  display: flex;
  flex: 6;
  margin-right: 20px;
  flex-direction: column;
}

.column-wrap .column-two {
  display: flex;
  flex: 2;
}

.column-one > div {
  margin-bottom: 20px;
  display: flex;
}

.column-one .review {
  font-size: 20px;
  padding: 25px;
  padding-left: 30px;
}

.column-one .table-wrap {
  display: flex;
  width: 100%;
}

.table-wrap td {
  text-align: center;
  padding: 4px;
}

table {
  padding: 10px;
}

table,
tbody {
  width: 100%;
}

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

.characters {
  width: 100%;
  padding: 15px;
  height: fit-content;
}

.characters div > p {
  display: inline-block;
}

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

/* 
.lightbox > div > a {
  height: 100%;
  width: 100%;
}

.lightbox .title-row {
  font-size: 1.6em;
  text-shadow: 4px 4px #000;
  color: inherit;
} */

/* .flex-wrap .lightbox > div:nth-child(1) .title-row > h3:hover {
  text-shadow: 4px 4px #4b4f62;
}

.flex-wrap .lightbox > div:nth-child(2) .title-row > h3:hover {
  text-shadow: 4px 4px #1c3a6f;
}

.flex-wrap .lightbox > div:nth-child(3) .title-row > h3:hover {
  text-shadow: 4px 4px #064933;
}

.lightbox .sub-row > p {
  font-size: 1.1em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  width: 90%;
  margin: 0;
}

.lightbox .sub-row > .rating {
  display: inline-block;
  margin: 0;
} */

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;
  }

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

  .column-wrap .column-one {
    margin-right: 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;
  }
}

.frenzy {
  max-width: 150px;
  max-height: 90px;
}

.spectre {
  max-width: 200px;
  max-height: 50%;
}

.vandal {
  max-width: 300px;
  max-height: 500%;
}

.shields {
  max-width: 50%;
  max-height: 50%;
}

.raze {
  max-width: 100%;
  max-height: 20%;
}

.breach {
  max-width: 100%;
  max-height: 600%;
}

.chamber {
  max-width: 100%;
  max-height: 600%;
}

/* Desktop overrides */
@media (max-width: 1000px) {
  tr:first-child {
    display: none;
  }
}
