/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
  /* width: 100%;
  height: 100%; */
  padding: 0;
  margin: 0;
  background: rgb(43, 73, 154);
  background: linear-gradient(0deg, rgba(43, 73, 154, 1) 0%, rgba(18, 26, 56, 1) 100%);
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
img,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
  font-family: "Poppins", Arial, sans-serif;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.wrapper {
  width: 90%;
  margin: 0 5%;
}


/* ==============
    MOBILE: Menu
   ============== */

nav ul {
  margin: 0;
  padding: 0;
}

nav li {
  position: absolute;
  z-index: 10;
}

nav li.sec-focused {
  z-index: 11;
}

nav li .section-avatars {
  position: relative;
}

nav li .section-avatars .section-avatars-pic {
  position: absolute;
  width: 45px;
  top: -35px;
  right: -35px;
  pointer-events: none;
}

nav li button {
  display: block;
  padding: 4px 8px;
  text-align: center;
  text-decoration: none;
  color: white;
  background: #000;
  border: none;
  border-radius: 3px;
  background: #050C29;
}

/* nav a:hover,
nav a:visited {
    color: white;
} */

nav li button:hover {
  background: #FFA100;
}

#section-links {
  font-size: 0.8em;
  font-family: "Inter", sans-serif;
  width: 100%;
  height: 100%;
}

#section-links li {
  opacity: 0.9;
}

.section-accessbut {
  width: 110px;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.section-accessbut-hid {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.section-accessbut-played {
  background-color: #aaa;
}

.section-playedbut {
  color: white;
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%), #696D7D;
  background-blend-mode: overlay, normal;
  box-shadow: 0px 4.159px 8.318px 0px rgba(0, 0, 0, 0.14), 0px 8.318px 10.398px 0px rgba(0, 0, 0, 0.12), 0px 2.08px 20.796px 0px rgba(0, 0, 0, 0.20);
  text-shadow: 0px 2.08px 2.08px rgba(0, 0, 0, 0.22), 0px 2.08px 4.159px rgba(0, 0, 0, 0.20);
  font-family: "Dela Gothic One";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 10px;
  padding: 10px 0;
}

.section-tileimage {
  display: none;
}

.section-fulldescription {
  background: #050C29;
  color: white;
  width: 180px;
  padding: 10px;
  flex-shrink: 0;
  border-radius: 6px;
  margin-left: -45px;
  text-align: center;
  transition: opacity 0.3s linear;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin-top: 0;
}

.section-fulldescription-vis {
  transition: all 0.3s linear;
  opacity: 1;
  visibility: visible;
  max-height: 300px;
  margin-top: -21px;
}

.section-fullname {
  font-weight: bold;
}

.section-fullinfo {
  margin-bottom: 10px;
}

.section-fullstartbut {
  display: block;
  position: relative;
  border-radius: 15px;
  padding: 16px 40px 16px 10px;
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%), #102269;
  background-blend-mode: overlay, normal;
  box-shadow: 0px 4.159px 8.318px 0px rgba(0, 0, 0, 0.14), 0px 8.318px 10.398px 0px rgba(0, 0, 0, 0.12), 0px 2.08px 20.796px 0px rgba(0, 0, 0, 0.20);
  color: white;
  text-shadow: 0px 2.08px 2.08px rgba(0, 0, 0, 0.22), 0px 2.08px 4.159px rgba(0, 0, 0, 0.20);
  font-family: "Dela Gothic One";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  text-align: left;
  transition: all 0.3s ease;
}

.section-fullstartbut:hover,
.section-fullstartbut:visited,
.section-fullstartbut:link,
.section-fullstartbut:active {
  text-decoration: none;
}

.section-fullstartbut:hover {
  background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%), #204480;
  transition: all 0.3s ease;
}

.section-fullstartbut-arrow {
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 100px;
  border: 2px solid #3dc388;
  background: linear-gradient(0deg, rgba(53, 178, 130, 1) 0%, rgba(20, 107, 105, 1) 100%);
  box-shadow: 0px 0px 0px 5px rgba(6, 14, 47, 0.5);
}

.section-fullstartbut-arrow svg {
  margin-left: 6px;
  margin-top: 10px;
}

/* ==============
    MOBILE: Main
   ============== */

.main-container {
  background-image: url('../img/bg-clouds1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
}

.main-container.main-container-game {
  min-width: 1400px;
  min-height: 1400px;
}

.main {
  color: white;
}

.main article h1 {
  font-size: 2em;
}

.main aside {
  color: white;
  padding: 0px 5% 10px;
}

.map {
  text-align: center;
  margin: auto;
}

.map img {
  width: 100%;
  height: 100%;
}

.footer-container footer {
  color: white;
  padding: 20px 0;
}

#player-loader {
  width: 100%;
  height: 100%;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url('../img/player-loader.svg');
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  transition: opacity 0.3s linear;
}

.player-loader-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s linear;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
  padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.clear {
  clear: both;
}

.question-wrapper {
  display: none;
}

.header-container {
  color: #000;
}

.header-container-home {
  margin-top: 2em;
}

.header-container-game .header-title {
  position: fixed;
  top: 20px;
  left: 20px;
}

.title {
  color: #FFF;
  text-align: center;
  font-family: "Dela Gothic One", cursive;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.title span {
  display: block;
  font-weight: normal;
  font-size: 0.5em;
  font-family: "Quicksand", sans-serif;
}

.title span img {
  border-radius: 100px;
}

.header-container-game .title {
  text-align: left;
  font-size: 18px;
}

.footer-container {
  color: #000;
}

#time-to-start {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  color: white;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
}

#contestants-list {
  position: fixed;
  right: 20px;
  bottom: 20px;
  list-style-type: none;
  z-index: 11;
}

.contestant-item {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 35px;
  background-color: #0C183E;
  border-radius: 20px;
  text-align: right;
  line-height: 20px;
  color: white;
  font-size: 0.8em;
  padding: 0 0 0 60px;
  transition: bottom 1s ease;
}

.contestant-rel {
  position: relative;
  margin-bottom: 20px;
  list-style-type: none;
}

.contestant-ppic {
  width: 32px;
  height: 32px;
  border-radius: 100px;
  display: inline-block;
  border: 2px solid black;
}

.contestant-avatar {
  width: 32px;
  height: 32px;
  position: absolute;
  right: 18px;
  bottom: 24px;
  transform: rotate(-45deg);
}

.contestant-name {
  margin-right: 10px;
  display: none;
}

.contestant-score {
  color: #E2BE30;
  font-weight: bold;
  position: absolute;
  left: 24px;
  top: 8px;
  font-size: 1.2em
}

.contestant-icon-leader {
  position: absolute;
  left: -20px;
  top: -2px;
  width: 24px;
  height: 20px;
  display: none;
  border: 2px solid #676F8C;
  padding: 6px 4px;
  border-radius: 100px;
  background-color: #0C183E;
}

.contestant-item.contestant-leader .contestant-icon-leader {
  display: block;
}

.button-round {
  border-radius: 20px;
  border: 0;
}

.button-outline {
  width: 64px;
  width: 64px;
  border-radius: 100px;
  color: #9fa7c2;
  border: 2px solid #9fa7c2;
  cursor: pointer;
  background: none;
  transition: all 0.3s ease-out;
}

.button-outline:hover {
  color: white;
  border: 2px solid white;
  transition: all 0.3s ease-out;
}

.button-outline-close {
  font-size: 1.5em;
  line-height: 2.4em;
  float: right;
  position: relative;
  z-index: 12;
}

.button-orange {
  background: rgb(255, 107, 0);
  background: linear-gradient(0deg, rgba(255, 107, 0, 1) 0%, rgba(255, 215, 0, 1) 100%);
  color: #FFF;
  text-align: center;
  text-shadow: 0px 2.08px 2.08px rgba(0, 0, 0, 0.22), 0px 2.08px 4.159px rgba(0, 0, 0, 0.20);
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  transition: all 0.3s ease-out;
  text-transform: uppercase;
}

.button-orange:hover {
  background: rgb(227, 135, 14);
  background: linear-gradient(0deg, rgba(88, 38, 0, 1) 0%, rgba(227, 135, 14, 1) 100%);
  transition: all 0.3s ease-out;
}

.button-blue {
  background: #0c1c45;
  background: linear-gradient(0deg, rgba(12, 26, 69, 1) 0%, rgba(16, 35, 111, 1) 100%);
}

.button-blue:hover {
  background: #12247b;
  background: linear-gradient(0deg, rgba(18, 39, 100, 1) 0%, rgba(28, 60, 170, 1) 100%);
  transition: all 0.3s ease-out;
}

.button-shadow {
  box-shadow: 0px 0px 10px 0 rgba(0, 0, 0, 0.5);
}

.button-main {
  padding: 0.5em 2em;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.disabled {
  background: #ccc;
  background: linear-gradient(0deg, rgba(150, 150, 150, 1) 0%, rgba(200, 200, 200, 1) 100%);
  pointer-events: none;
}

/* Home page styles */
.avatars-container {
  text-align: center;
  margin-top: 30px;
}

.home-avatar {
  text-align: center;
  font-size: 24px;
  display: inline-block;
  margin-right: 6px;
  margin-left: 6px;
  width: 100px;
}

.avatar-btn {
  background: none;
  border: none;
  border-radius: 50px;
  display: inline-block;
  padding: 20px 15px;
  transition: all 0.3s ease-out;
}

.avatar-btn img {
  width: 80%;
}

.avatar-name {
  display: block;
}

.avatar-name-input {
  width: 140px;
  font-size: 18px;
  font-family: "Quicksand", sans-serif;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: white;
  text-align: center;
  margin-top: 1em;
  padding: 5px 0;
  text-shadow: 0px 2.08px 2.08px rgba(0, 0, 0, 0.22), 0px 2.08px 4.159px rgba(0, 0, 0, 0.20);
}

.avatar-name-input::placeholder {
  font-style: italic;
}

.avatar-name-input:focus {
  outline: none;
  border: none;
  border-bottom: 2px solid #FFA100;
  transition: all 0.3s ease-out;
}

.avatar-name-container {
  text-align: center;
  margin-top: 30px;
}

.avatar-selected {
  pointer-events: none;
}

.avatar-selected,
.avatar-btn:hover {
  border-radius: 19px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 43, 160, 0.80);
  box-shadow: 0px 25px 60px -10px #09102C;
  transition: all 0.3s ease-out;
}

.avatar-unavailable {
  filter: grayscale(70%);
  pointer-events: none;
}

.home-button-wrapper {
  padding: 50px 0;
  width: 200px;
  text-align: center;
  margin: auto;
}

.home-description-text {
  color: #FFF;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.9px;
  margin-top: 2em;
}

nav {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  margin-inline: auto;
  width: 1400px;
  height: 1400px;
}

.main-home-wrapper {
  height: calc(100vh - 6em);
}

.main-home {
  margin: 2em auto 2em auto;
  border-radius: 20px;
  border: 3px solid #0B2BA0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.48) 100%), rgba(11, 43, 160, 0.90);
}


/* Game page styles */
.popup-wrapper-standard {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 20;
  top: 0;
  left: 0;
  overflow: scroll;
}

.block-standard {
  max-width: 320px;
  margin: 7em auto 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.block-header-standard {
  background: rgb(231, 192, 92);
  background: radial-gradient(circle, rgba(231, 192, 92, 1) 0%, rgba(219, 155, 75, 1) 150%);
  font-weight: normal;
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 2.4em 1.6em 1.6em 1.6em;
}

.block-content-standard {
  padding: 1.2em 1.6em 1.6em 1.6em;
  color: #051243;
  font-size: 1.1em;
}

.block-head-title-standard {
  margin-top: 0;
}

.intro-block {
  background: none;
  color: white;
  position: relative;
  border: none !important;
}

.intro-block-title {
  display: flex;
  margin: auto;
  width: 90%;
  height: 29px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #FFF;
  text-align: center;
  font-family: Quicksand;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.8px;
  border-radius: 20px;
  border: 3px solid #0036FD;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 83.33%), #0B2BA0;
}

.intro-subheader-block {
  display: none;
  margin: auto;
  margin-top: 20px;
  width: 50%;
  height: 29px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #FFF;
  text-align: center;
  font-family: Quicksand;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.8px;
  border-radius: 20px;
  border: 3px solid #fdc200;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 83.33%), #b2b201;
  cursor: pointer;
}

#lt-player-readystart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.summary-block {
  border: none !important;
  box-shadow: none;
  margin: 2em auto 0 auto;
  background: none;
}

.summary-head {
  background: none;
  padding: 0;
}

.summary-head-title {
  padding: 0;
  margin: 0;
  background: none;
  font-family: "Quicksand", sans-serif;
}

.summary-head-ppic {
  position: absolute;
  left: 10px;
  top: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50px;
  border: 5px solid black;
  box-shadow: 0px 0px 8px 0 rgba(0, 0, 0, 0.3);
}

.summary-content-flag {
  width: 100%;
  overflow: hidden;
}

#lt-player-flag {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 800px;
  z-index: 0;
  margin-left: -400px;
  pointer-events: none;
}

#lt-fail {
  position: absolute;
  top: -210px;
  left: 0;
  z-index: 0;
}

.game-over-block {
  margin: 2em auto 2em auto;
  border-radius: 20px;
  border: 1px solid #1F3179;
  background: #0C183E;
}

.game-over-head {
  background: transparent;
  font-weight: normal;
  position: relative;
  text-align: center;
  color: white;
}

.game-over-content {
  padding: 1.2em 1.6em 1.6em 1.6em;
  font-size: 1.1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #4A67C4;
  border: 1px solid #0036FD;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 83.33%), #0B2BA0;
}

.game-over-ppic-wrapper{
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(25,189,241, 0.7) 0%, rgb(44, 79, 196, 0) 60%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-over-ppic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0px 0px 8px 0 rgba(0, 0, 0, 0.3);
}

.intro-player {
  width: 105px;
}

.intro-head-title {
  font-weight: normal;
  font-size: 0.8em;
  text-align: center;
}

.intro-head-ppic {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  border: 2px solid black;
  box-shadow: 0px 0px 2px 0 rgba(0, 0, 0, 0.3);
  margin-left: 28px;
}

.intro-head-pavatar {
  height: 40px;
  margin-left: -20px;
  margin-top: -15px;
}

.intro-block-content {
  margin-top: 3em;
  flex-flow: row wrap;
  display: flex;
  justify-content: center;
  align-content: center;
}

.intro-block-content-loader {
  width: 40px;
  height: 40px;
}

.summary-content {
  background: none;
  position: relative;
}

.summary-content-tileimage {
  width: 280px;
  margin: 100px auto 0 auto;
  position: relative;
}

.summary-content-tileimage img {
  width: 100%;
}

.summary-foot {
  color: white;
  text-align: center;
}

.summary-foot p {
  margin: 0.3em;
}

.intro-close-button {
  padding: 0.5em 2em 0.5em 3em;
  font-size: 24px;
  text-decoration: none;
  background: #f48461 url('../img/ico-launch.png') 20% center no-repeat;
}

.intro-close-button:disabled {
  background: #ccc url('../img/ico-launch.png') 20% center no-repeat;
}

.question-header-title {
  font-size: 1.2em;
  font-weight: normal;
  color: #051243;
}

.question-secimage {
  position: absolute;
  top: -70px;
  left: 30px;
  width: 115px;
  height: 115px;
}

.question-title {
  padding-top: 2.8em;
}

#question-timer {
  width: 98px;
  height: 98px;
  position: fixed;
  margin-left: 120px;
  left: 50%;
  z-index: 100;
  top: 50px;
  box-shadow: 0px 0px 20px 0 rgba(0, 0, 0, 0.5);
  border-radius: 100px;
  background: #071A60;
}

#countdown360_question-timer {
  margin-left: -2px;
  margin-top: -2px;
}

.question-answer {
  background: #dddddd;
  cursor: pointer;
  margin-bottom: 0.7em;
  padding: 0.4em 0.8em;
}

.question-answer:hover {
  color: #F48461;
  background: #545554;
}

.question-popup {
  position: fixed;
  z-index: 40;
  width: 320px;
  top: -400px;
  left: 50%;
  margin-left: -160px;
  opacity: 0;
}

.result-button,
.summary-close-button {
  padding: 0.5em 2em 0.5em 3em;
  font-size: 24px;
  background: #F48461 url('../img/ico-next.png') 12% center no-repeat;
}

.result-title {}

.result-title,
.error-head {
  color: white;
  padding: 1.8em;
  position: relative;
}

.result-title-number,
.error-head-title {
  margin: 0;
}

.result-title::after,
.error-head::after {
  position: absolute;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  right: 40px;
  top: -40px;
  text-align: center;
  font-size: 6em;
  border-radius: 100px;
  font-family: "Quicksand", sans-serif;
  line-height: 1em;
  filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.25));
}

.result-title-wrong,
.error-head {
  background: rgb(230, 99, 80);
  background: radial-gradient(circle, rgba(233, 120, 97, 1) 0%, rgba(230, 99, 80) 150%);
}

.result-title-wrong::after,
.error-head::after {
  content: "×";
  background: #FB4B4B;
  border: 3px solid #F6BDBD;
}

.result-title-correct {
  background: rgb(103, 193, 141);
  background: radial-gradient(circle, rgba(125, 216, 187, 1) 0%, rgba(103, 193, 141) 150%);
}

.result-title-correct::after {
  content: "✔";
  background: #13C39C;
  border: 3px solid #25FFAE;
  font-size: 3em;
  line-height: 2em;
}

.notification-popup {
  position: fixed;
  z-index: 50;
  width: auto;
  top: -400px;
  right: 0%;
  opacity: 0;
  margin: 2% 2%;
  border: none;
  border-radius: 10px;
  background: #1F3179;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.25);
  color: white;
  max-width: 300px;
  min-height: 72px;
}

.notification-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.1em 40px 0.1em 40px;
  gap: 1em;
  color: white;
  font-size: 0.9em;
}

.not-avatar {
  display: block;
  position: absolute;
  width: 48px;
  left: -35px;
  transform: rotate(-50deg);
  top: -18px;
}

.not-ppic {
  width: 42px;
  height: 42px;
  border-radius: 100px;
  display: inline-block;
  position: absolute;
  left: -18px;
  top: 15px;
  border: 2px solid white;
}

.not-tileimage {
  width: 56px;
  height: 56px;
  bottom: -10px;
  right: -10px;
  position: absolute;
}

.not-section-title {
  color: #F3B89A;
}

.not-plusscore {
  color: #E8B627;
  font-size: 1.4em;
  position: absolute;
  top: 2px;
  right: 10px;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
}

.lt-plusscore {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 380px) {
  .question-popup {
    width: 380px;
    margin-left: -190px;
  }

  .block-standard {
    max-width: 380px;
  }
}

@media only screen and (min-width: 480px) {

  /* ====================
    INTERMEDIATE: Menu
   ==================== */

  nav li:first-child a {
    margin-left: 0;
  }

  nav li:last-child a {
    margin-right: 0;
  }

  .main-home {
    width: 460px;
  }

  .question-popup {
    width: 460px;
    margin-left: -230px;
  }

  .block-standard {
    max-width: 460px;
  }

  /* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

  nav ul li {
    display: inline;
  }

  .oldie nav a {
    margin: 0 0.7%;
  }
}

@media only screen and (min-width: 768px) {

  .question-popup {
    width: 520px;
    margin-left: -260px;
  }

  .block-standard {
    max-width: 520px;
  }

  .home-avatar {
    width: 120px;
  }

  .main-home {
    width: 600px;
  }

  .main-home {
    margin: 4em auto;
  }

  .header-container-home {
    margin-top: 4em;
  }

  .title {
    font-size: 30px;
  }

  .header-container-game .title {
    text-align: left;
    font-size: 24px;
  }

  .contestant-item {
    min-width: 140px;
  }

  .contestant-name {
    display: inline;
  }

}

@media only screen and (min-width: 1140px) {

  /* ===============
    Maximal Width
   =============== */

  .wrapper {
    width: 1026px;
    /* 1140px - 10% for margins */
    margin: 0 auto;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
