body {
  margin: 0px;
  background: #F6F7EB;
  font-family: 'Montserrat', sans-serif;
}

#header {
  background: #FFA300;
  padding: 10px;
  padding-top: 20px;
  padding-left: 20px;
  text-align: center;
}

#logo {
  height: 80px;
  cursor: pointer;
}
  #logo:hover {
    animation: pulse;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
  }


#header_right {
  position: absolute;
  top: 22px;
  right: 10px;
  color: white;
  font-size: 50px;
}
#header_right .fas{
  margin-right: 10px;
  cursor: pointer;
}
  #header_right .fas:hover{
    opacity: 0.6;
  }

@media ( max-width: 510px) {
  #header_right{
    display: none;
  }
}

  #footer {
    color: #4D4D4D;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
  }


  /* Shared wrappers */
  .main_wrap {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }


  /* Narrow items (e.g. Login) */
  .narrow_wrap {
    margin: 0 auto;
    max-width: 500px;
  }

    .narrow_wrap h1 {
      margin: 0px;
      text-align: center;
      margin-top: 10px;
      margin-bottom: 10px;
    }

  #login_buyone {
    text-align: center;
    margin-top: 0px;
  }

    #login_buyone a {
      text-decoration: none;
      color: black;
    }

  /* Homepage */
  #home_top_hero {
    height: 300px;
    margin-top: 0px;
    padding: 20px;
    position: relative;
    overflow: hidden;
  }

    #home_top_hero iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 430px;
      border: 0px;
      z-index: -1;
    }

    #home_top_hero h1,
    .fancyHeading {
      background: #FFA300;
      padding: 6px;
      color: white;
      display: inline-block;
      border-radius: 5px;
      margin-bottom: 5px;
    }

    #home_top_hero h2,
    .fancySubHeading {
      background: white;
      padding: 6px;
      color: #FFA300;
      display: inline-block;
      border-radius: 5px;
      margin-bottom: 5px;
      margin-top: 0px;
    }

  #heading_quest_locations {
    text-align: center;
  }

  @media ( max-width: 1020px) {
    #home_top_hero h1 {
      font-size: 27px;
    }

    #home_top_hero h2 {
      font-size: 15px;
    }
  }

  @media ( max-width: 760px) {
    #home_top_hero h2 {
      margin-top: 50px;
    }
  }

  /* Product screen */
  #buy_wrap {
    padding-top: 20px;
    padding-bottom: 20px;
    background: white;
    text-align: center;
  }

  /* Dashboard items */
  .city_wrap {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background: white;
    display: flex;
    margin-bottom: 20px;
  }

  .clickable {
    cursor: pointer;
  }

  .city_wrap.mission_complete {
    background-image: url('../img/mission_complete.png');
    background-repeat: no-repeat;
    background-position: right 10px top 10px;
  }


  .city_img {
    width: 30%;
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .city_txt {
    width: 68.5%;
    margin-left: 1.5%;
    display: block;
    padding-bottom: 10px;
    padding-right: 20px;
  }

.city_wrap.clickable:hover {
  animation: pulse;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

  #hero_game_city {
    background-position: center center;
    background-size: cover;
    padding: 15px;
    color: white;
    text-shadow: 0px 0px 9px rgb(0,0,0);
    max-width: 480px;
    min-height: 300px;
    margin: 0 auto;
    background-repeat: no-repeat;
  }

  #hero_game_city_outer {
    background-position: center center;
    background-size: cover;
    color: white;
    min-height: 300px;
    margin: 0 auto;
  }


  #incorrect_gamecode {
    background-color: red;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    text-align: center;
  }

  #game_final_fail {
    display: none;
  }

  #confetti-canvas {
    position: absolute;
    top: 0px;
  }

  #confirmWrap {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.5);
  }

  #confirmWindow {
    width: 280px;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: white;
    text-align: center;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }


  /* Specific cities */
  .city_img.city_stalbans {
    background-image: url('../img/hero_stalbans.jpg');
  }

  #hero_game_city.city_stalbans {
    background-image: url('../img/hero_stalbans.jpg');
  }

  #hero_game_city_outer.city_stalbans {
    background-image: url('../img/hero_stalbans_blur.jpg');
  }


  /* Shared elements */
  input {
    padding: 5px;
    border-radius: 10px;
    border: solid 2px #4D4D4D;
    font-size: 25px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    width: calc( 100% - 44px );
    margin-left: 15px;
    margin-bottom: 15px;
  }

    input[type=checkbox] {
      width: auto;
    }

  .button {
    color: white;
    font-weight: 900;
    text-align: center;
    background: #FFA300;
    width: calc( 100% - 40px );
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 15px;
    margin-top: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
  }

    .button:hover {
      background: #c17d02;
      animation: pulse;
      animation-duration: 1.5s;
      animation-iteration-count: infinite;
    }

    .button.half {
      width: calc( 50% - 40px );
    }

    .button.inline {
      width: auto;
      padding-left: 25px;
      padding-right: 25px;
    }

    .button.secondary {
      background: #ff3d00;
    }

      .button.secondary:hover {
        background: #b1310b
      }

    .button.inactive {
      background: grey;
      cursor: not-allowed
    }

  .whole_wrap {
    width: 100%;
    padding: 10px;
    display: flex;
  }

    .whole_wrap.align_right {
      flex-flow: row-reverse;
    }

  .half_wrap {
    width: calc( 50% - 20px);
    padding: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
  }

  .third_wrap {
    width: calc( 33% - 20px);
    padding: 10px;
    display: flex;
    align-items: center;
  }

  .two_third_wrap {
    width: calc( 67% - 20px);
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 20px;
  }

  .shunt_up {
    margin-top: -100px;
  }

  .half_wrap img,
  .third_wrap img {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 9px;
  }

  .two_third_wrap h1 {
    background: #FFA300;
    padding: 6px;
    color: white;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 5px;
  }

  @media ( max-width: 1020px) {
    .two_third_wrap h1 {
      font-size: 25px;
    }

    .half_wrap {
      width: calc( 33% - 20px);
    }

      .half_wrap.main_half {
        width: calc( 67% - 20px);
      }

      .half_wrap.login {
        width: calc( 50% - 20px);
      }
  }

  @media ( max-width: 760px) {
    .whole_wrap {
      display: block;
      padding: 0px;
    }

    .two_third_wrap,
    .third_wrap {
      width: calc( 100% - 20px);
    }

    .half_wrap.login {
      width: calc( 100% - 20px);
    }

      .half_wrap.login .hilight_box {
        padding: 0px;
        background: transparent;
        box-shadow: none;
      }
  }

  .hilight_box {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding-bottom: 20px;
    background: white;
  }

  .align_center {
    text-align: center;
  }

  /* Cookies */
  #cookies {
    width: calc( 100% - 20px );
    position: relative;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
    font-size: 10px;
    text-align: center;
    position: fixed;
    z-index: 100;
    bottom: 0px;
  }

    #cookies a {
      color: white !important;
    }

  .toast {
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #ef476f;
    z-index: 100;
    text-align: center;
    font-weight: 900;
  }

  /* Loading */
  #loading {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ef476f, #fb8b24);
    opacity: 0.8;
  }

  #loading_inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    color: white;
    text-align: center;
    font-size: 100px;
  }