* {
  padding: 0;
  border: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}
.game {
  /* height: 100%; */
  width: 100%;
  flex: 1 0 auto;
}

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

span.force-uppercase {
  text-transform: uppercase;
}

body {
  background-image: url('../assets/game_container/winter_background_bleed.jpg');
  background-position: top center;
  background-repeat: no-repeat;

  width: 100%;
  height: 100%;
  background-color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
}

body.summer-background {
  background-image: url('../assets/game_container/summer_background_bleed.jpg');
}
body.fall-background {
  background-image: url('../assets/game_container/fall_background_bleed.jpg');
}

.logos {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

@media (min-width: 768px) {
  .logos {
    margin-top: 0px;
    display: flex;
    justify-content: flex-start;
  }
}

.logos img {
  width: 80%;
}

@media (min-width: 768px) {
  .logos img {
    width: 100%;
  }
}

.funded-by--header {
  background-image: url('../assets/backgrounds/sponsor-logo-bg.png');
  position: absolute;
  top: 40px;
  font-size: 12px;
  text-shadow: 0 0 2px #ffffff;
  font-family: 'Solway', serif;
  display: flex;
  align-items: center;

  background-position: top left;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  right: 0;
  z-index: 1;
  padding: 11px 10px 40px 80px;
}

.funded-by--header .sponsor {
  margin-left: 15px;
}

.funded-by--header .sponsor a {
  display: inline-block;
}

header {
  margin: 10px;
  display: flex;
}

@media (min-width: 768px) {
  .logo {
    margin-left: 10px;
  }
}

#game {
  margin-top: 80px;
  width: 100%;
  position: relative;
  margin-bottom: 100px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: stretch;
  align-items: stretch;
  -webkit-flex-direction: column;
  flex-direction: column;
}

@media (min-width: 768px) {
  #game {
    margin-top: 40px;
  }
}

.content {
  max-width: 1500px;
  width: 80%;
  height: 100%;
  margin: 0 auto;
  -webkit-flex: auto;
  flex: auto;
  position: relative;
}

.frame {
  position: relative;
  margin: 0px auto;
  padding-top: 48%;
}

.controls {
  position: absolute;

  right: -20px;
  top: -70px;
  display: flex;
  flex-direction: row;

  list-style: none;
  margin-bottom: 30px;
  justify-content: flex-end;
  margin-right: 5px;
}

@media (min-width: 768px) {
  .controls {
    right: -80px;
    top: 0;
    flex-direction: column;
    margin-right: 0;
    margin-left: 30px;
    margin-top: -20px;
    justify-content: flex-start;
  }
}

.controls li {
  margin-left: 5px;
}

@media (min-width: 768px) {
  .controls li {
    margin-left: 0;
  }
}

.frame:before {
  background-image: url(../assets/game_container/game_frame.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: calc(100% + 38px);
  height: calc(100% + 38px);
  display: block;
  content: '';
  position: absolute;
  top: -16px;
  bottom: 24px;
  left: -19px;
  right: -6px;
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .frame:before {
    width: calc(100% + 26px * 2);
    height: calc(100% + 26px * 2);
    top: -21px;
    left: -27px;
  }
}

.frame iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border: none;
  width: 1px;
  min-width: 100%;
  height: 1px;
  min-height: 100%;
}
.game-button {
  margin-bottom: 5px;
  cursor: pointer;

  text-indent: -9999px;
  width: 50px;
  height: 50px;

  background-position: center;
  /* background-size: 100%; */
  background-color: transparent;

  background-repeat: no-repeat;
  background-image: url('../assets/game_container/game_button_sprite.png');
}

.game-button--close {
  /* background-image: url('../assets/game_container/icon_close.png'); */
  background-position: -105px -1px;
}
.game-button--cc.muted {
  /* background-image: url('../assets/game_container/icon_cc_off.png'); */
  background-position: -1px -1px;
}
.game-button--cc.unmuted {
  /* background-image: url('../assets/game_container/icon_cc_on.png'); */
  background-position: -53px -1px;
}
.game-button--fullscreen {
  /* background-image: url('../assets/game_container/icon_fullscreen.png'); */
  background-position: -157px -1px;
}
.game-button--sound.muted {
  /* background-image: url('../assets/game_container/icon_sound_off.png'); */
  background-position: -209px -1px;
}
.game-button--sound.unmuted {
  /* background-image: url('../assets/game_container/icon_sound_on.png'); */
  background-position: -261px -1px;
}

.game-promo-image {
  width: 98%;
  background-size: 100%;
  position: absolute;
  top: 1.5%;
  left: 1%;
  background-position: center;
  background-repeat: no-repeat;
  height: 97%;
}
.footer {
  flex-shrink: 0;
  font-family: Solway, serif;
  background-image: url(../assets/backgrounds/footer_background.png);
  background-color: #743190;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 18px;
  font-size: 1.125em;
}
@media (min-width: 769px) {
  .footer {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}
.footer * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.footer__container {
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 769px) {
  .footer__container {
    padding-right: 15px;
    padding-left: 15px;
  }
}
.footer__nav {
  margin: 20px 0;
}
.footer__nav ul {
  list-style: none;
  text-align: center;
}
.footer__nav ul li {
  display: inline-block;
  margin: 0 10px;
}
.footer__nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.footer__nav ul li a:hover {
  text-decoration: underline;
}
.footer__upper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 20px;
}
@media (min-width: 769px) {
  .footer__upper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}
.footer__upper__produced-by {
  margin-bottom: 20px;
}
@media (min-width: 769px) {
  .footer__upper__produced-by {
    text-align: left;
    width: 20%;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 0;
  }
}
.footer__upper__produced-by span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
@media (min-width: 769px) {
  .footer__upper__produced-by span {
    margin-bottom: 40px;
  }
}
.footer__upper__funded-by {
  margin-bottom: 20px;
}
@media (min-width: 769px) {
  .footer__upper__funded-by {
    text-align: left;
    width: 30%;
    margin-right: 10px;
    margin-bottom: 0;
    margin-left: 10px;
  }
}
@media (min-width: 769px) and (min-width: 769px) {
  .footer__upper__funded-by img {
    width: 45%;
  }
}
.footer__upper__funded-by span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
@media (min-width: 769px) {
  .footer__upper__funded-by span {
    margin-bottom: 40px;
  }
}
.footer__upper__copy {
  text-align: left;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 20px;
}
@media (min-width: 769px) {
  .footer__upper__copy {
    width: 45%;
    margin-bottom: 0;
  }
}
.footer__upper__copy p {
  font-size: 14px;
  margin-bottom: 15px;
}
.footer__lower {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
@media (min-width: 769px) {
  .footer__lower {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}
.footer__lower__copyright {
  margin-bottom: 20px;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 14px;
}
@media (min-width: 769px) {
  .footer__lower__copyright {
    margin-bottom: 0;
  }
}
.footer__lower__links {
  margin-right: 10px;
  margin-left: 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media (min-width: 769px) {
  .footer__lower__links {
    margin-left: 20px;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
}
.footer__lower__links a {
  font-size: 14px;
  margin-right: 10px;
  margin-left: 10px;
  color: #fff;
  text-decoration: underline;
}
.footer__lower__links .privacy-link {
  font-weight: 700;
}
