@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

:root {
	--accent-color:#0d6efd;
}

* ,*::before,*::after{
	box-sizing: inherit;
	margin: 0;
}
html{
	height: 100%;
	box-sizing: border-box;
	font-size: 10px;
}
body {
	height: 100%;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}
h1,h2,h3,h4 { font-weight: 700; }
h1 {
	margin-top: 20px;
	text-align: center;
}
h2 { font-size: 3rem; }
h1 + p {
	margin-top: 10px;
	text-align: center;
}
img {
	max-width: 100%;
	height: auto;
}
video {
	display: block;
	width: 100%;
	height: auto;
}
button {
	border: none;
	outline: none;
	background-color: transparent;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
}

.form-control {
	font-size: 1.8rem;
	font-family: inherit;
	font-weight: inherit;
}
.form-control::placeholder {
	color: #777;
	font-weight: 300;
  }
input[type="range"] {
	cursor: pointer;
}
progress {	appearance: unset;}
.container {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
}

main { 
	margin: 0 1.5rem;
	flex-grow: 1; 
}

.btn {
	padding: 3px 5px;	
	border-radius: 5px;
	transition: 0.2s ease-in-out;
}
.btn-dark {
	border: 2px solid #333;
}
.btn-accent {
	border: 2px solid var(--accent-color);
}
.btn::after {
	display: inline-block;
	margin-left: 5px;
}
.btn + .btn { margin-left: 10px; }
.btn:hover {
	border-color: #333;
	background-color: #333;
	color: #fff;
	box-shadow: 0 0 8px 5px#333;;
}
#enterTestBtn {
	margin: 0 auto;
	max-width: 175px;
	width: 100%;
	line-height: 30px;
}


/* ======== FIRST PAGE ======== */
.pricing-header {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
/* ======== // FIRST PAGE ======== */


/* ======== SECOND PAGE ======== */


/* ======== // SECOND PAGE ======== */


/* ======== THIRD PAGE ======== */

/* Question List */
.question {
	margin-bottom: 50px;
}
.question-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}
.question-list {
  position: relative;
  z-index: 1;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  grid-gap: 1em;
  margin: 1em;
  list-style: none;
}
.question-list li {
  position: relative;
  background: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  max-width: 150px;
}
.question-list li img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  filter: brightness(0.5) grayscale(1);
  border-radius: 5px;
  z-index: 2;

}
.question-list li:hover {
   border: 3px solid #0095ff;
}
.question-list li.passed img {
  filter: brightness(1) grayscale(0);
}
.question-list a {
	display: block;
	text-decoration: none;
}
.question-list span {  
	display: block;
	color: #eeeeef;
	padding: 10px;
	font-size: 2.55em;
	position: relative;
	z-index: 10;
}
.passed.wrong {
	border: 3px solid #ff0000;
	text-shadow: 3px 3px #ff0000;
	box-shadow: 0 0 12px #ff0000
}
.passed.right {
	border: 3px solid #00bb00;
	text-shadow: 3px 3px #00bb00;
	box-shadow: 0 0 12px #00bb00
}
/* ------answer-page------- */
.answer-page {
	position: relative;	
	margin-bottom: 50px;
	min-height: 400px;
}

.answer-modal {
	display: block;
	margin: 0 15px;
	padding: 15px;
	position: absolute;
	z-index: 100;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 600px;
	width: 100%;
	height: auto;
	background: #fff;
	overflow-y: auto;
	border: 0;
	font-family: sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.25;
	color: #0b0c0c;
}
@media (max-width: 767px) {
	.answer-modal {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		transform: none;
		width: 100%;
		max-width: unset;
	}
}

.video-container {margin: 30px 0 20px;}
.video-container.fullscreen {
	margin: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #111;
}
#video-player {
	margin-bottom: 35px;
	border-radius: 5px;
}
#video-player.fullscreen {
	margin-bottom: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	transform: translate(-50%, -50%);
}

.progress-bar {
	position: relative;
	width: 100%;
	margin-bottom: 35px;
	overflow: inherit;
	z-index: 1;
}
.progress-bar span.top {
	color: #db005b;
	margin-left: 10px;
}
.progress-bar span.middle {
	margin-top: -5px;
	margin-left: -3px;
	font-size: 15px;
	font-weight: 700;
}
.progress-bar span.bottom {
	display: block;
	margin-left: -5px;
	width: 20px;
	height: 20px;
	color: #fff;
	border: 1px solid #111;
	background-color: #111;
	border-radius: 50%;
	font-size: 13px;
	line-height: 1.4;
	font-family: serif;
	font-weight: 700;
	text-align: center;
	
}
.progress-bar.fullscreen {
	position: absolute;
	display: block;
	bottom: -10px;
	left: 1%;
	width: 98%;
	transition: opacity 0.2s ease-in-out;
}

.marker-block {
	position: absolute;
	margin-left: -10px;
	top: -26px;
	z-index: 5;
	width: 20px;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}
#progress {
	width: 100%;
	height: 10px;
	border-radius: 50%;
	cursor: pointer;
}
  progress::-webkit-progress-bar {
	background-color: #fff;
	border: 1px solid #777;
	border-radius: 8px;
  }
  progress::-webkit-progress-value {
	background-color: #046cff;
	border-radius: 8px;
  }

/* #play::after {content: "►";} */
#pause::after {content: "❚❚";}
#stop::after {content: "↺";}

.video__btn-block.fullscreen {
	position: absolute;
	bottom: 60px;
	right: 20px;
	opacity: 0.2;
	transition: opacity 0.2s ease-in-out;
}
.video__btn-block.fullscreen:hover {
	opacity: 1;
}
.volume__block {
	display: inline-block;
	margin-left: 20px;
}
.volume__block::before, .volume__block::after {
	position: relative;
	top: 2.5px;
	display: inline-block;
	width: 18px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
.volume__block::before {
	content: '';
	left: -5px;
	background-image: url('../images/v-off.png');
}
.volume__block::after {
	content: '';
	right: -7px;
	background-image: url('../images/v-up.png');
}
.video__btn-block.fullscreen > .volume__block::before,
.video__btn-block.fullscreen > .volume__block::after {
	filter:invert();
}
/* === modal success/error === */
.result {
	position: absolute;
	padding: 40px;
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	  font-weight: 700;
	  font-size: 16px;
	  font-size: 1rem;
	  line-height: 1.25;
	  box-sizing: border-box;
	  margin-bottom: 15px;
	  padding: 35px;
	  border: 5px solid transparent;
	  text-align: center;
  }
  .result.success {
	background-color: #00bd5c;
  }
  .result.fail {
	background-color: #d4351c;
  }
  
  .result__title {
	text-transform: uppercase;
	font-size: 36px;
	letter-spacing: 1px;
  }
  .result__text {
	font-size: 1.5rem;
  }
/* === // modal success/error === */

/* ======== // THIRD PAGE ======== */