@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Poppins:wght@400;500&display=swap');

* {
	margin: 0;
	padding: 0;
}
.modal {
position: absolute;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
z-index: 99;
visibility: hidden;
}
.modalContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 10px;
  position: absolute;
    width: 80%;
    max-width: 700px;
    height: 20%;
    min-height: 300px;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	transition: all 0.3s ease;
  z-index: 100;
  	background-color: black;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 5px 5px 8px -5px #000000;
	border: solid #ddd 1px;
	justify-content: center;
}
.modalIcon {
width: 4em;
margin-bottom: 1em;
}
.modalButton {
margin: 1em;

}
.dataprotectionnotice {
font-size: 0.8em;
a {
color: black;
}

}


body {
	font-family: 'poppins', 'sans-serif';
	font-size: 1em;
	background-color: #f6f6f6;
	overflow: hidden;
}

.background-image {
    background-image: url('../img/ep_background_trans.png');
    background-attachment: fixed;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#heroes {
    position: absolute;
    bottom: 4vh;
    height: 25vw;
    width: 25vw;
    background-image: url(../img/heroes.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -2;
}

#header {
	text-align: center;
	width: 100%;
	z-index: 99;
	position: absolute;
}

.tagline {
	height: 4vh;
	margin: 3vh;
}

#bottombar1 {
	background-color: #273070;
	position: absolute;
	height: 4vh;
	width: 100vw;
	bottom: 0;
	z-index: -2;
}

#bottombar2 {
	background-color: #494e53;
	position: absolute;
	height: 6vh;
	width: 100vw;
	bottom: 0;
	z-index: -3;
}

/* OBJECTS */


#quiz-form, #question-section, #points, #instructions {
	position: absolute;
	/*top: -3%;
    left: 35%;*/
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	transition: all 0.3s ease;


}

#referral {

	align-items: center;
	width: 47vw;
	height: 83vh;
	margin-left: 10px;
	text-align: center;
	display: flex;
	justify-content: center;
	z-index: -2;
	position: relative;
}

.referral img {

	max-height: 100%;
	max-width: 100%;
	margin: 0px;
}

#example {

	align-items: center;
	width: 57vw;
	height: 83vh;
	margin-left: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	z-index: -2;
	position: relative;
	overflow: hidden;
	padding: 20px 10px;
	box-sizing: border-box;

	background-color: black;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 5px 5px 8px -5px #000000;
	border: solid #ddd 1px;
}

.example img {

	max-width: 100%;
	min-height: 0;
	max-height: 100%;
	object-fit: contain;
	flex-shrink: 1;
}

#box {
	position: relative;
	display: flex;
	z-index: 10;
	justify-content: center;
}

.inactive {
	opacity: 0;
	z-index: 0;
}

.active {
	opacity: 1;
	z-index: 5;
}

.container {
	/*width: 35%;*/
	width: 90%;
	max-width: 800px;
	height: 80%;
	/*margin: 100px auto;*/
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	border-radius: 10px;
	background-color: #eee;
	align-items: center;
	box-shadow: 5px 5px 8px -5px #000000;
	border: solid #ddd 1px;
}

.title-container {
	/*      width: 100%; */
	display: flex;
	justify-content: space-between;
	margin: 0;
	text-align: center;
}

#error {
	position: relative;
	top: 5%;
	left: -20%;
	color: #ff3860;
	font-size: 90%;
}

.title {
	text-align: center;
	/* margin: 50px 40% 0 20%; */
	color: #1051a1;
	/* width: 35%; */
	font-size: 2.5em;

}

.username-container {
	width: 100%;
	margin: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.username-container input:focus {
	outline: 0;
}

.start-view-leaderboard {
	text-decoration: underline;
	color: #1051a1;

}

.username {
	margin: 0;
	width: 60%;
	height: 20px;
	border: 3px solid #1051a1;
	border-radius: 10px;
	background-color: #fff;
	color: black;
	padding: 15px;
	z-index: 1;
	font-size: 17px;
}

.error {
	border-color: #ff3860;
}

.success {
	border-color: #09c372;
	;
}




.button-container {
	margin-left: 10%;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.button-container-instructions {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

button {
	cursor: pointer;
	width: 40%;
	padding: 10px;
	background-image: url("../img/textballoonbackground.png");
	background-size: cover;
	font-style: italic;
	color: black;
	font-weight: bold;
	font-size: 1.2em;
	border: 0.1em solid black;
	box-shadow: 5px 5px #1051a1;
	text-transform: uppercase;
	z-index: 1;

}

.top-left-blob {
	z-index: 0;
	width: 13%;
	left: 15%;
	top: 20%;
	position: relative;
}

.top-left-blob2 {
	z-index: -1;
	width: 13%;
	left: -30%;
	top: 5%;
	position: relative;
}

.top-right-blob {
	position: relative;
	top: 0%;
	left: -8%;
	z-index: 0;
	width: 17%;
}

.bottom-left-blob {
	position: relative;
	top: -40%;
	left: -65%;
	z-index: 0;
	width: 18%;
}

.bottom-right-blob {
	position: relative;
	top: 0%;
	left: -29%;
	z-index: 0;
	width: 17%;
}

.center-small-blob {
	width: 15%;
}

.hidden {
	display: none;
}


/* Question section */
#questions {
	/*width: 100%;*/
	width: 30vw;
	height: 83vh;
	/*margin: 60px auto;*/
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 10px;
	background-color: #fff;
	align-items: center;
	box-shadow: 5px 5px 8px -5px #000000;
	border: solid #ddd 1px;
}

#instructions {
	/*width: 100%;*/
	width: 45vw;
	height: 83vh;
	/*margin: 60px auto;*/
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 10px;
	align-items: center;
	box-shadow: 5px 5px 8px -5px #000000;
	z-index: 1;
	background-color: #fff;
	width: 90%;
	max-width: 800px;
	min-height: 80%;
}

.question-box-background {
	background-color: #eee;
	width: 100%;
	height: 200px;
	border-radius: 10px;
}

#footer {
	color: #ddd;
	font-size: 10px;
	position: fixed;
	bottom: 0.8vh;
	text-align: center;
	width: 100%;
    z-index:-1;
}

.question-box {
	display: flex;
	width: 90%;
	height: 30%;
	margin: 10% auto;
	padding: 50px 0;
	border-radius: 8px;
	background-color: #FFFFFF;
	border: 4px solid #fee06a;
	color: #1051a1;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

.question-text {
	margin-top: 20px;
	width: 80%;
}

.title-box {
	display: flex;
	width: 80%;
	margin: auto;
	border-radius: 8px;
	background-color: #FFFFFF;
	border: 4px solid #fee06a;
	color: #1051a1;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	position: relative;
	z-index: 2;
	top: 0vh;
}

.text-box {
	padding-top: 2em;
	width: 70%;
	z-index: 2;
	position: relative;
	font-size: 1em;
}

.text-box p {
	padding-bottom: 1em;
	font-size: 1em;

}

.goodieslist {
	color: #71b544;
	font-size: 1em;
	text-align: center;
	font-weight: normal;
	list-style-type: none;
}

.instructionslist li {
	color: black;
	font-size: 1em;
	padding-bottom: 0.5em;
	font-weight: normal;

}

.instructionslist {
	margin-bottom: 1em;
}



.title-text {
	margin: 20px;
	font-size: 1.7em;
}

.question-background-right-blob {
	width: 15%;
	position: relative;
	top: 26%;
	left: 63%;
}

.question-background-small-blob {
	width: 13%;
	position: relative;
	left: 20%;
}

.circular-progress {
	position: relative;
	z-index: 1;
	top: -129%;
	left: 50%;
	margin-left: -60px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: conic-gradient(#fee06a 360deg, #ededed 0deg);
	display: flex;
	justify-content: center;
	align-items: center;
}

.circular-progress::before {
	content: "";
	position: absolute;
	height: 100px;
	width: 100px;
	border-radius: 50%;
	background-color: #fff;
}

.scores {
	position: relative;

	width: 90%;
	display: flex;
	justify-content: space-between;
}

.scores span {
	display: inline-block;
	width: 40px;
	height: 12px;
	border-radius: 10px;
}

.scores .correct span {
	background-color: #71b544;
	margin-left: 6px;
}

.scores .wrong span {
	background-color: #ff3860;
	margin-right: 6px;
}

.correct {
	color: #71b544;
}

.wrong {
	color: #ff3860;
}

.progress-value {
	position: relative;
	font-size: 30px;
	font-weight: bold;
	color: #1051a1;
}

.option-list {
	width: 80%;
	height: 250px;
}

.option {
	background: #7ccbeb3d;
	border: 1px solid #1051a1;
	color: #1051a1;
	padding: 8px 10px;
	margin: 0 0 8px 0;
	display: flex;
	justify-content: space-between;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9em;
}

.option:hover {
	color: #fff;
	background: #44bbec;
}

.option:first-child {
	margin-top: 60px;
}

.option:last-child {
	margin-bottom: 0px;
}


.icon.tick {
	color: #09c372;
}

.icon.cross {
	color: #ff3860;
}


#questions footer {
	display: flex;
	height: 30px;
	width: 100%;
	padding: 0 20px;
	align-items: center;
	justify-content: space-between;
}

.total-questions {
	text-align: center;
	width: 100%;
	margin: 15px;
	margin-bottom: 25px;
	font-size: 13px;
	color: #1051a1;
}

.total-questions span {
	color: #b4d33a;
	font-weight: bold;


}


/* Points section */
.points-container {
	/*    width: 900px;
    height: 650px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #fff;
    align-items: center;
    box-shadow: 5px 5px 8px -5px #000000;
  position:absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  */
	/*width: 100%;*/
	width: 40vw;
	height: 83vh;
	/*margin: 60px auto;*/
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	background-color: #fff;
	align-items: center;
	box-shadow: 5px 5px 8px -5px #000000;
	position: relative;
	width: 90vw;
	max-width: 800px;
}

#leaderboard-container {
	/*    width: 900px;
    height: 650px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #fff;
    align-items: center;
    box-shadow: 5px 5px 8px -5px #000000;
  position:absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  */
	/*width: 100%;*/
	width: 40vw;
	height: 83vh;
	/*margin: 60px auto;*/
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	background-color: #fff;
	align-items: center;
	box-shadow: 5px 5px 8px -5px #000000;
		border: solid #ddd 1px;
	width: 90vw;
	max-width: 800px;


}

.leaderboard-container-fullscreen {
	/*    width: 900px;
    height: 650px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #fff;
    align-items: center;
    box-shadow: 5px 5px 8px -5px #000000;
  position:absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  */
	/*width: 100%;*/
	width: 43vw;
	height: 83vh;
	/*margin: 60px auto;*/
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	background-color: #fff;
	align-items: center;
	box-shadow: 5px 5px 8px -5px #000000;

	position: relative;

}

.points-box-background {
	background-color: #eee;
	width: 100%;
	height: 40%;
	border-radius: 10px;
}

.point-box {
	position: absolute;
	top: 10%;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	border-radius: 10px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
}

.point-text {
	text-align: center;
	color: #1051a1;

}

.point-box-circle-container {
	position: relative;
	top: 30px;
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	align-items: center;
}

.point-circle {
	z-index: 1;
	left: 41%;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: conic-gradient(#fee06a 360.6deg, #ededed 0deg);
	display: flex;
	justify-content: center;
	align-items: center;

	font-weight: bold;
}

.point-circle::before {
	content: "";
	position: absolute;
	height: 100px;
	width: 100px;
	border-radius: 50%;
	background-color: #fff;
}

.point-info {

	display: flex;
	justify-content: space-between;
	align-items: center;
}

.point-info-list {
	display: flex;
	margin: 20px 0 10px 50px;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}



.point-info-list li {
	margin: 5px;
	width: 45%;
	font-size: 1em;
	color: #1051a1;
}

.point-info-list .correct {
	color: #71b544;
}

.point-info-list .wrong {
	color: #ff3860;
}

.point-box-content {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	background-color: #FFFFFF;
	border: 3px solid #fee06a;
	border-radius: 10px;
}

.point-text {
	z-index: 1;
}

.point-text p {
	font-size: 13px;
}

.point {
	font-size: 20px;
}


/*  for restarting the game and viewing highscores */
.more-info {
	width: 100%;
	display: flex;
	position: relative;
	top: 10%;
}

.more-info ul {
	margin-top: 0px;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	display: flex;
	width: 100%;
	height: 150px;
	margin: 50px 35px;
}

.more-info-list {
	display: flex;
	justify-content: center;
}

.more-info-list a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 12px;
}

.more-info-icon img {
	width: 60%;
}

.indexlinks a {
	text-align: center;
	text-decoration: none;
	font-size: 12px;
	color: #1051a1;
}

.indexlinks ul {
	list-style-type: none;
	text-align: center;
}

/* Leaderboard section */
#leaderboard {
	color: #1051a1;
	z-index: 1;
	position:absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.leaderboard-box-background {
	background-color: #eee;
	width: 100%;
	/*height: 270px;*/
	border-radius: 10px;
}

.top-three-ranking {
	box-sizing: border-box;
	width: 80%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin: auto;
	position: relative;

}

.top-three-ranking .number-one {
	order: 1;
	background-color: #fff;
	height: 25vh;
	/* width: 200px; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	box-shadow: -10px 0px 13px -7px #ccc, 10px 0px 13px -7px #ccc, 5px 5px 15px 5px #ccc;
	padding: 0px 2vw;
	width: 60vw;

}

.top-three-ranking p {
	text-align: center;
}

.top-three-ranking .number-two {
	order: 0;
	background-color: #fff;
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 29% 100%);
	/* width: 30%; */
	height: 20vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0px 30px 0px 70px;
	min-width: 20%;
}

.top-three-ranking .number-three {
	order: 2;
	background-color: #fff;
	/* width: 30%; */
	height: 15vh;
	clip-path: polygon(0 0, 100% 0, 72% 110%, 1% 100%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0px 70px 0px 30px;
	min-width: 20%;
}

.leaderboard-number {
	font-size: 40px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

.leaderboard-crown {
	margin-bottom: 10px;
}

.leaderboard-name {
	font-weight: bold;
}

.leaderboard-point {
	font-size: 13px;
	font-weight: 500;
}

.other-players-list {
	position: relative;
	display: flex;
	justify-self: center;
	margin-top: 2vh;
	margin-bottom: 2vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-self: center;
	align-items: center;
	overflow: overlay;
	font-size: 0.9em;
}

.other-players-list {
	-ms-overflow-style: none;
	/* Internet Explorer 10+ */
	scrollbar-width: none;
	/* Firefox */
}

.other-players-list::-webkit-scrollbar {
	display: none;
	/* Safari and Chrome */
}

.other-players-list .player {
	border-bottom: 3px solid #ccc;
	background-color: #eee;
	color: #333;
	width: 80%;
	margin-bottom: 5px;
	padding: 5px;
	border-radius: 10px;

}

.totalPlayers {
	position: relative;
	display: flex;
	justify-self: center;
	margin-top: 0vh;
	margin-bottom: 2vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-self: center;
	align-items: center;
	overflow: overlay;
	font-size: 0.8em;
}
.totalPlayers {
	-ms-overflow-style: none;
	/* Internet Explorer 10+ */
	scrollbar-width: none;
	/* Firefox */
}

.totalPlayers::-webkit-scrollbar {
	display: none;
	/* Safari and Chrome */
}
.more-features {
	position: relative;
	top: 150px;
	width: 80%;
	display: flex;
	justify-content: space-between;
}

.leaderboard-clear-all {
	cursor: pointer;
	transform: all 0.8s ease-out;
}

.leaderboard-start-quiz {
	text-decoration: none;
	color: #1051a1;
}

.player {
	display: flex;
	justify-content: space-evenly;

}

.leaderboard-start-quiz {
	text-decoration: underline;
}

.leaderboard-clear-all {
	text-decoration: underline;
}

.other-player-name {
	width: 60%;
	text-align: center;
}

#quiz-form {
}

/* Correct answer display */
.correct-answer-container {
	text-align: center;
	width: calc(100% - 20px);
	padding: 15px 10px;
	margin: 0 10px 10px 10px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 10px;
	flex-shrink: 0;
	border: 3px solid #09c372;
	box-sizing: border-box;
}

.correct-title {
	color: #09c372;
	font-size: 1.8em;
	font-weight: bold;
	text-transform: uppercase;
}

/* Red flags error display */
.redflag-error-container {
	text-align: center;
	width: calc(100% - 20px);
	padding: 15px 10px;
	margin: 0 10px 10px 10px;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 10px;
	flex-shrink: 0;
	border: 3px solid #d32f2f;
	box-sizing: border-box;
}

.error-title {
	color: #d32f2f;
	font-size: 1.8em;
	font-weight: bold;
	text-transform: uppercase;
}

.redflag-next-button {
	background: #7ccbeb3d;
	border: 1px solid #1051a1;
	color: #1051a1;
	padding: 8px 10px;
	margin: 60px 0 8px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9em;
	pointer-events: auto;
	z-index: 100;
	width: 100%;
}

.redflag-next-button:hover {
	color: #fff;
	background: #44bbec;
}