* {
  box-sizing: border-box;
  font-family: 'Roboto Condensed', Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
}
body{
  background-color: #f5f5f5;
} 

h1 {
  color: #ff8200;
  font-size: 60px;
  margin-top: 0;
}
#game-over-page > h1 {
  margin-bottom: 20px;
  font-size: 90px;
}

h1>span {
  color: #ff8200;
}
h1>i {
  color: #ff8200;
}
h2 {
  font-size: 40px;
}
.page {
  position: absolute;
  top: 0;
  padding: 0;
  margin: 0 130px;
  display: flex;
  flex-direction: column;
  width: calc(100vw - 260px);
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
}
#start-page {
  max-width: 600px;
  margin: auto;
} 

#start-page h1 {
  margin-bottom: 5px;
}

#btn-lang {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 1060;
  border: 0;
  font-size: 30px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #f57c14;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
}

.lang-container {
  justify-content: center;
  align-items: center;
  display: flex;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
} 

#left-side {
  margin-left: 15px;
  margin-top: 10px;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: 50px;
/*  height: 100vh; */
  background: #f5f5f5;
  font-size: 40px;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-start;
}

.circle-dot {
  border-radius: 5px;
  padding: 0;
  width: 50px;
  height: 50px;
  position: relative;
  top: 0;
  display: flex;
  border: 1px hsl(0deg 0% 0% / 25%) solid;
  margin-top: 5px;
  margin-right: 5px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.circle-full {
  box-shadow: 1px 1px 2px 0px #888;
}
.circle-dot2 {
  border-radius: 5px;
  padding: 0;
  width: 50px;
  height: 50px;
  position: relative;
  top: 0;
  display: flex;
  border: 1px hsl(0deg 0% 0% / 25%) solid;
  margin-top: 5px;
  margin-right: 5px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.circle-current {
  border: 2px #000 dotted;
}
.circle-current.current-disable {
  border: 1px hsl(0deg 0% 0% / 25%) solid;
}
.circle-euro-win.circle-current.current-disable {
  font-size: 23px;
  border: 2px #000 solid;
  color: #000;
  text-shadow: 0px 0px 2px white;
}

.circle-dot2.level1 {
  background: hsl(28deg 92% 52% / 10%);
}
.circle-dot2.level2 {
  background: hsl(28deg 92% 52% / 40%);
} 
.circle-dot2.level3 {
  background: hsl(28deg 92% 52% / 70%);
} 
.circle-dot2.level4 {
  background: hsl(28deg 92% 52% / 100%);
}

#left-side2 {
  margin-left: 70px;
  margin-top: 10px;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: 50px;
/*  height: 100vh; */
  background: #f5f5f5;
  font-size: 40px;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-start;
}

.circle-euro {
  font-size: 23px;
  color: hwb(0deg 0% 100% / 40%);
  border: 1px hsl(0deg 0% 0% / 40%) solid;
}
.circle-euro-win {
  font-size: 23px;
  border: 2px #000 solid;
  color: #000;
  text-shadow: 0px 0px 2px white;
}
.question {
  font-family: 'Days One', sans-serif;
  color: hwb(0deg 0% 100% / 40%);
  font-size: 38px;
}
.circle-current > .question {
  font-family: 'Days One', sans-serif;
  color: hwb(0deg 0% 100% / 95%);
  font-size: 32px;
}

.header {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  position: fixed;
  font-size: 25px;
  z-index: 1000;
}

.header > div > img {
  display: block;
  height: 100px;
  padding-bottom: 10px;
  margin: 0 auto;
}

#header-left {
  width: 30%;
  padding: 15px;
}

#header-center {
  padding: 15px;
}

#header-timer{
  width: 30%;
  padding: 15px;
  text-align: right;
}


#btn-admin {
  position: fixed;
  left: 15px;
  top: 15px;
  z-index: 1060;
  border: 0;
  font-size: 30px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #f57c14;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
}

#footer {
  width: 100vw;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 25px;
}

.progress-container {
  width: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 2rem;
  overflow: hidden;
  font-size: .75rem;
  border-radius: 0.25rem;
  background-color: #e9ecef;
}

.progress-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: #ff8200;
}

.progress-bar-striped {
  background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  background-size: 1.5rem 1.5rem;
}

#progress {
  height: 2rem;
  box-sizing: border-box;
}

::-webkit-progress-value {
  background-color: #ff8200;
}

::-moz-progress-bar {
  background-color: #ff8200;
}

input[type="text"], input[type="password"] {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 3px 10px;
  display: inline-block;
  margin: 5px;
}

a:hover {
  color: #ea7800;
}
a:hover.btn {
  color: #fff;
}

table {
  width: 100%;
  margin-bottom: 1em;
  color: #212529;
  border-collapse: collapse;
}

table td, table th {
  padding: 0.1rem 0.2rem;
  vertical-align: middle;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #808080;
  font-size: 20px;
  text-align: left;
}

#start-page > table td, #start-page > table th {
  padding: 0.2rem 0.25rem;
  vertical-align: middle;
  border-top: 0;
  border-bottom: 0;
  font-size: 20px;
  text-align: left;
}

/*
tr:nth-child(even) {
  background-color: #ccc;
}
*/

input[type="checkbox"] {
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  margin-bottom: -0.18em;
  vertical-align: baseline;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  print-color-adjust: exact;
}

input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

input:checked {
  background-color: #ff8200;
  border-color: #ea7800;
}

/* For navigating through questions */
.hide {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

/* Main content on centered white card */
.main {
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 30px;
  position: fixed;
  width: inherit;
}

#start-page, #question-container, #game-over-page, #congratulations-page, #myscores-list {
  text-align: center;
}

.answers-container {
  justify-content: center;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  align-content: center;
}

#btn-myscore-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
    width: fit-content;
    margin: 0 auto;
}

/* Button stylings, hover effect */
.btn {
  border: 1px solid #ff8200;
  border-radius: 5px;
  background-color: #ff8200;
  padding: 15px 20px;
  margin: 0;
  color: white;
  font-size: 25px;
  cursor: pointer;
  text-decoration: none;
}

.btn:disabled {
  pointer-events: none;
  background-color: #ffa341;
  border-color: #ff8200;
  opacity: 0.65;
}

.answers-container > .btn {
  text-align: start;
} 

.btn > i {
  color: white;
  font-size: 25px;
}
.btn > span {
  color: white;
  font-size: 25px;
}

.btn:hover {
  background-color: #ea7800;
  border: 1px solid #d26b00;
  color: white;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
  background-color: #ea7800;
  border: 1px solid #d26b00;
  color: white;
}

/* Correct answers revealed in green */
.btn.correct {
  background-color: hsl(120, 100%, 30%);
  border-color: hsl(120, 100%, 20%);
}
/* Incorrect answers revealed in red */
.btn.wrong {
  background-color: hsl(0, 100%, 30%);
  border-color: hsl(0, 100%, 20%);
}

.swal2-styled.swal2-confirm {
  border: 1px solid #ff8200 !important;
  border-radius: 5px !important;
  background-color: #ff8200 !important;
  padding: 15px 20px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 25px !important;
}
.swal2-styled.swal2-confirm:focus {
  box-shadow: none !important;
}
.swal2-html-container {
  font-size: 1.5em !important;
}

#congratulations-page > h1, #game-over-page > h1 {
  margin-bottom: 10px;
  font-size: 58px;
}

.slide-left {
	animation: slide-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@media (max-width: 768px) {
  .header > div > img {
    height: 52px;
  }
  * {
    font-size: 18px;
  }
  .btn {
    padding: 10px 15px;
    font-size: 18px;
  }
  .btn > i {
    color: white;
    font-size: 18px;
  }
  #header-left {
    display: none;
  } 
  #header-timer {
    width: 80%;
  }
  h1 {
    font-size: 45px;
  }
  #game-over-page > h1, #congratulations-page > h1 {
    margin-bottom: 5px;
    font-size: 45px;
  }
  h2 {
    font-size: 26px;
  }
  .btn > span {
    font-size: 18px;
  }
  #left-side {
    display: none;
  }
  #left-side2 {
    display: none;
  }
  .page {
    margin: 0 15px;
    width: calc(100vw - 30px);
  }
  .answers-container {
    justify-content: center;
    align-items: center;
    display: flex;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    align-content: center;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .swal2-styled.swal2-confirm {
    padding: 10px 15px !important;
    font-size: 18px !important;
  }
  input[type="text"], input[type="password"] {
    font-size: 18px;
  }
  .progress-container {
    height: 1.5rem;
  }
  #progress {
    height: 1.5rem;
  }
}
