@import url("https://fonts.googleapis.com/css2?family=Coming+Soon&display=swap");

* {
	padding: 0;
	margin: 0;
    box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
    --main-color: #2c2ca5;
}

body {
	min-height: 100vh;
	font-family: "Coming Soon", sans-serif;
	background-color: #8a8ab8;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%231d0446' fill-opacity='0.4' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E");
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10px;
	position: relative;
}

.container {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	max-width: 600px;
	min-height: 500px;
	background-color: #f0eaf8;
	box-shadow: 0 1rem 2rem 0.5rem rgba(0, 0, 0, 0.5);
	border: 1px solid var(--main-color);
	border-radius: 2rem;
	padding: 1rem 1.5rem;
	position: relative;
}

.question-container {
	width: 100%;
}

.title {
	font-size: 3rem;
	color: var(--main-color);
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 0.2rem 0.3rem rgba(185, 185, 185, 0.5);
}

#question-info {
	font-size: 0.95rem;
	display: flex;
	justify-content: space-between;
	color: #666;
	align-self: flex-start;
	margin-bottom: 1.5rem;
}
#question-info p {
	margin: 3px 5px;
}

#question {
	text-align: center;
	font-size: 1.6rem;
}

#answers p {
	font-size: 1.2rem;
	background-color: #ebebf7;
	margin: 0.4rem 0;
	padding: 0.4rem 0.6em;
	border: 3px solid var(--main-color);
	border-radius: 1rem;
}
#answers p:hover {
	background-color: #e3dfe7;
	cursor: pointer;
}

.btn-container {
	display: flex;
	position: relative;
	width: 100%;
}

button {
	min-height: 51px;
	min-width: 51px;
	cursor: pointer;
	background-color: var(--main-color);
	color: #fdfdfd;
	outline: none;
	font-family: inherit;
	font-size: 1.3rem;
	font-weight: bold;
	border-radius: 1rem;
	padding: 0.5rem 0.7rem;
	border: 1px solid rgba(0, 0, 0, 0.4);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
	user-select: none;
	margin-top: 1rem;
}
button:hover {
	filter: brightness(105%);
}
button:active {
	transform: scale(0.97);
	box-shadow: 0 0.3rem 0.4rem rgba(0, 0, 0, 0.5);
	filter: brightness(98%);
}
#new-question {
	margin-left: auto;
	margin-right: auto;
}
#settings-toggle {
	position: absolute;
	top: 0;
	right: 0;
}

#loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.wrong,
.wrong:hover {
	background-color: red !important;
	color: white !important;
}
.correct,
.correct:hover {
	background-color: green !important;
	color: white !important;
}

/* SETTINGS */
#settings {
	position: absolute;
	top: 50%;
	left: 50%;
	/* transform: translate(-50%, -50%); */
	width: 600px;
	max-width: calc(100% - 20px);
	min-height: 500px;
	transition: all 500ms;
}
#settings-form {
	width: 100%;
}

.form-group {
	display: flex;
	justify-content: space-between;
	margin: 15px 0;
}
.form-group label {
	width: 100px;
}
.form-group select {
	flex: 1;
	overflow: hidden;
	width: 100%;
}

#form-submit {
	margin-left: auto;
	margin-right: auto;
}

#settings-return {
	align-self: end;
}

/* Utility */
.show {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, -50%);
}
.hide {
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, calc(-50% - 500px));
}