* {
	font-family: 'Comic Sans MS', 'Comic Sans';
	color: white;
}

body {
    overflow: hidden;
    margin: 0;
}

#zoom-modal {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: background-color 500ms ease;
}

#zoom-modal.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

#rotate-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    background: rgba(0,0,0,1);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    text-align: center;
}

.background-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

#escape-room > div {
    position: absolute;
    cursor: pointer;
}

#question {
	font-size: 2.5em;
	margin-bottom: 5vh;
}

#answers > * {
    margin: 1vw;
	width: 23vw;
	height: 40vh;
	border-radius: 32px;
	font-size: 2em;
	border: none;
	vertical-align: middle;
}

#answers > *:nth-child(1) {
	background-color: #ff0000;
}
#answers > *:nth-child(2) {
	background-color: #00b14f;
}
#answers > *:nth-child(3) {
	background-color: #ffc100;
}
#answers > *:nth-child(4) {
	background-color: #0070c1;
}

#backButton {
	margin-top: 5vh; 
	padding: 4vh 8vw;
	border-radius: 32px;
	border: none;
	color: black;
}

h1, h2 {
	text-align: center;
	margin: 0;
}

#zoom-modal > img {
    max-height: 40vh;
}


#score-counter {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 2em;
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 15px;
    z-index: 3000;
}
