/*#386641
#6a994e
#a7c957
#f2e8cf
#bc4749*/

html {
	font-size: 62.5%;
}

.red {
	color: red;
}

body {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	background: url(img/bg1.png);
	background-size: 150px;
	color: #f2e8cf;
	padding: 6rem;
  background-attachment: fixed;
}
@media (max-width: 600px) {
	body {
		padding: 1.8rem;
	}
}
a {
	text-decoration: underline;
}
button {
	font-family: "Open Sans", sans-serif;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
	transition: 0.15s ease-out;
	color: black;
	border-radius: 4px;
	position: relative;
}

ol {
	list-style-position: inside;
	line-height: 1.2;
	margin: 2rem;
}
ol li {
	margin-bottom: 1rem;
	font-style: italic;
}

.content {
	background: #000000;
	padding: 24px;
	border: 5px solid white;
	box-shadow : 0px 0px 55px 0px #ffffff7a;
}

input[type="text"] {
	border: 1px solid white;
	background: black;
	color: white;
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	font-size: 2rem;
	font-family: "Open Sans", sans-serif;
	width: 100%;
	background: #bc4749;
	box-shadow: 3px 3px #a32426;
}
input[type="text"]:focus-visible {
	outline: 2px solid #a32426;
}
input[type="text"]::placeholder {
	color: white;
}

h1 {
  font-family: "DynaPuff", system-ui;
  font-size: 4rem;
  text-align: center;
  display: flex;
  align-items: center;
	justify-content: center;
	color: #bc4749;
	text-shadow :2px 2px 0px #a32426;
}
h1 svg {
  fill: white;
  width: 4rem;
  margin-left: 2rem;
}

h1 + .level {
	margin-top: 4rem;
}

.level {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 800;
	position: relative;
}
.level:before {
	content: "";
	position: absolute;
	bottom: -1rem;
	left: 50%;
	margin-left: -5rem;
	width: 10rem;
	height: 1px;
	background: #bc4749;
}

h1 + .level:after {
	content: "";
	position: absolute;
	top: -1rem;
	left: 50%;
	margin-left: -5rem;
	width: 10rem;
	height: 1px;
	background: #bc4749;
}

.question {
	margin-top: 3rem;
	font-size: 2rem;
	text-align: center;
	position: relative;
	line-height: 1.2;
	margin-left: auto;
	margin-right: auto;
	max-width: 80rem;
}

.question:after {
	content: "";
	position: absolute;
	bottom: -2rem;
	left: 50%;
	margin-left: -5rem;
	width: 10rem;
	height: 1px;
	background: #bc4749;
}
.question p + p {
	margin-top: 1rem;
}
.question p i {
	font-style: italic;
	font-size: 0.8em;
}
.question sup {
  vertical-align: super;
  font-size: 0.7em;
}
.question .img {
	position: relative;
}
.question .img a{
	display: block;
}
.question .img:before {
	content: '';
	position: absolute;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}
.question img {
	max-width: 35rem;
	margin-top: 2rem;
	pointer-events: none;
}
@media (max-width: 600px) {
	.question img {
		max-width: 100%;
	}
}

.iframe {
	padding-top: 12px;
}

/* =========================================================================  */
/* FORM */
/* =========================================================================  */

.form {
	margin-top: 4rem;
}
.form-container {
	width: 100%;
	max-width: 30rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.form label {
	font-size: 2rem;
}

.submit {
	margin-top: 2rem;
	position: relative;
	z-index: 0;
	color: white;
	cursor: pointer;
}

.submit:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #bc4749;
	border-radius: 4px;
	transition: 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
	z-index: -1;
	box-shadow: 3px 3px #a32426;
}
.submit:hover:after {
	width: calc(100% + 1rem);
	transform: translateX(-0.5rem);
}

.form.wrong input {
	animation: shake 0.2s ease-in-out 0s 2;
	border-color: red;
	color: red;
}
@keyframes shake {
  0% {
    transform: translateX(0rem);
  }
  25% {
    transform: translateX(0.5rem);
  }
  75% {
    transform: translateX(-0.5rem);
  }
  100% {
    transform: translateX(0rem);
  }
}
.correct p {
	display: none;
	margin-top: 1rem;
	font-size: 3rem;
}
.correct.visible p {
	display: block;
	animation: bounce 0.5s cubic-bezier(0, 0, 0.41, 1.44) forwards;
	text-align: center;
}
.loader {
	width: 100%;
	height: 1px;
	background: #a32426;
  transform-origin: left center;
  margin-top: 0.5rem;
}
.correct.visible .loader {
	animation: load 4.1s linear infinite;
}

@keyframes load {
	from {
		transform: scaleX(100%);
	}
	to {
		transform: scaleX(0%);
	}	
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================================================================  */
/* BRAVO */
/* =========================================================================  */
.bravo {
	text-align: center;
	font-size: 20px;
	max-width: 80%;
	padding: 40px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.2;
}
.bravo img {
	width: 30vw;
	margin-top: 20px;
}
.bravo p + p {
	margin-top: 12px;
}