html {
  height: 100%;
  min-height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background: rgb(122, 42, 108);
  background: linear-gradient(
    360deg,
    rgb(122, 42, 108) 0%,
    rgba(194, 79, 158, 1) 100%
  );
  background-attachment: fixed;
  margin-left: 0;
  left: 0;
}

body {
  min-height: 100%;
  left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Manjari";
}

.main {
  flex: 1 0 auto;
}

a#title {
  display: block;
  text-align: center;
}

.title-image {
  position: relative;

  z-index: 20;
  max-width: 90%;
  object-fit: scale-down;
  height: auto;
}

.navbar-above {
  background-color: #742666;
  overflow: hidden;
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1em;
  z-index: 8;
}

/* Place the navbar at the bottom of the page, and make it stick */
footer {
  background-color: #4a1441;
  flex-shrink: 0;
  min-width: 100vw;
  margin-left: 0;
  bottom: 0;
  z-index: 15;
}

footer > div.items {
  margin: auto;
  width: 80%;
  max-width: 800px;
  padding-top: 2em;
  padding-bottom: 2em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.navbar > div.items {
  max-width: 800px;
  padding-top: 2em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

/* Style the links inside the navigation bar */
footer a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
footer a:hover {
  color: rgb(163, 163, 163);
}

h1 {
  text-decoration: underline;
  color: #f2f2f2;
  text-align: center;
  font-size: 4em;
}
/* MAIN PAGE */
.video-container {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 12;
}

.video-container > div#left-character {
  margin-right: -1em;
  flex: 1;
  overflow: hidden;
  z-index: 13;
  direction: rtl;
}
.video-container > div#right-character {
  margin-left: -1em;
  flex: 1;
  overflow: hidden;
  z-index: 13;
}

div > img {
  display: block;
  overflow: hidden;
}

div#left-character > img {
  margin: 0 0 0 auto;
}

div#right-character > img {
  margin: 0 auto 0 0;
}

.video-container > video {
  display: block;
  max-height: 60vh;
  width: auto;
  max-width: 70vw;
}

@media screen and (max-width: 980px) /* Mobile */ {
  .video-container > video {
    max-height: 30vh;
  }
}

/* CREDITS */
.credits {
  position: relative;
  margin: auto;
  width: 70%;
  max-width: 800px;
  overflow-wrap: normal;
  padding: 0;
  list-style-type: none;
  z-index: 9;
}
.credits > li {
  color: #f2f2f2;
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}

/* SUPPORT */

p {
  margin-top: 2em;
  margin-bottom: 2em;
  text-align: center;
  font-size: 1.5em;
}

p#support-email {
  color: #f2f2f2;
  font-family: "Manjari";
  overflow-wrap: break-word;
  font-weight: bold;
}

@media screen and (min-width: 980px) /* Mobile */ {
  p#support-email {
    font-size: 3em;
  }
}

.support-center {
  height: 50%;
  margin-top: 10vh;
  margin-bottom: 20vh;
}

.app-store-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 1em;
  margin-bottom: 2em;
}

@media screen and (max-width: 980px) /* Mobile */ {
  .app-store-container {
    flex-direction: column;
  }
}

.app-store-link {
  margin-left: 2em;
  margin-right: 2em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.app-store {
  min-height: 30px;
}

.nintendo-trademark {
  color: #ffffff;
  opacity: 0.5;
  font-size: 0.75em;
  font-family: "Manjari";
  overflow-wrap: break-word;
  margin-right: 3em;
  margin-left: 3em;
  text-align: center;
}

.xbox-coming-soon {
  color: #ffffff;
  font-size: 0.75em;
  font-family: "Manjari";
  overflow-wrap: break-word;
  margin-bottom: 0.5em;
}

.navbar {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 980px) /* Mobile */ {
  .navbar {
    flex-direction: column;
  }
  .navbar > .empty {
    flex: 0;
  }
}

.navbar > .empty {
  flex: 1;
}

.navbar > .nintendo-trademark {
  flex: 1;
  /* align-self: flex-; */
  margin-bottom: 0.75em;
}
