* {
    font-family: Nunito;
}

body {
    width: 100%;
    margin: 0px;
    background-color: black;
    overflow: hidden;
}

button {
    font-weight: bold;
    font-size: 120%;
    background-color: #029e57;
    padding: 0.25em 0.5em;
    border: none;
    outline: none;
    display: inline-block;
    cursor: pointer;
}

input {
    margin-top: 10px;
    font-size: 20px;
    color: black;
    border-radius: 4px;
    background-color: white;
    outline: 3px solid #029e57;
}

.background {
    height: 100vh;
}

.background-blur {
    position: absolute;
    width: 100vmax;
    filter: blur(24px);
}

.scene {
    z-index: 2;
}

.img-overlay-wrap {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    display: inline-block; /* <= shrinks container to image size */
}

#hitboxes svg, #hud {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
}

.hitbox {
    pointer-events: none;
    transition: 400ms;
}
.hitbox.hidden {
    opacity: 0;
}

.hitbox.hidden .hitbox-polygon {
    pointer-events: none;
}

.hitbox-polygon {
    fill: #ffffff50;
    stroke: #ffffff;
    stroke-width: 1;
    transition: 100ms;
    pointer-events: all;
}

.hitbox-polygon:hover {
    fill: #ffffff20;
    cursor: pointer;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Chrome/Safari/Opera */
	-khtml-user-select: none; /* Konqueror */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently not supported by any browser */
}

#code-input {
    position: absolute;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
    pointer-events: none;
}

.code-letter {
	height: 1.5em;
	width: 1.5em;
	padding: 0.2em;
    margin: 0px 8px 0px 8px;
	font-size: 125%;
	border: 2px solid #ffffffb0;
	border: 2px solid #ffffffb0;
	border-radius: 0.5rem;
	background-color: #ffffff80;
	outline: none;
	font-family: "Nunito";
	color: #ffffff;
	text-align: center;
	transition: 120ms;
}

.code-letter.filled {
	border-color: #029e57a0;
	background-color: #09704270;
}
.code-letter.wrong {
	border-color: #fa5c5ca0;
	background-color: #fa5c5c70;
}

.gamebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 36px;
    pointer-events: none;
    border: 1px solid white;
    border-radius: 8px;
    background-color: #000000d0;
    pointer-events: all;
    z-index: 2;
    transition: 300ms ease-in-out;
}

.gamebox {
    color: white;
}

.gamebox.hidden {
    transform: translate(-50%, -50%) scale(0);
}


.task-title {
    letter-spacing: 5px;
    font-size: 300%;
    margin-bottom: 12px;
    text-align: center;
}

.task-description {
    font-size: 140%;
    text-align: center;
}

.multiple-choice {
    width: 600px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.choice {
    width: calc(50% - 48px);
    margin: 12px;
    padding: 12px;
    text-align: left;
    color: black;
    background-color: white;
    border-radius: 6px;
    cursor: pointer;
}
.choice:hover {
    background-color: #dddddd;
}
.choice[state="1"] {
    background-color: lightblue;
}

.multiple-choice-submit.wrong {
    background-color: #aa0000;
}

.spolocenskovedny-tasks-2nd.task-description.row::after {
    content: "";
    display: table;
    clear: both;   
}

.spolocenskovedny-tasks-2nd.task-description.column {
    float: left;
    width: 50%;
    padding: 10px;
    height: 300px;
}