:root {
    --title-background-color: #DADADA;
    --title-text-color: #3B3B3B;
    --title-with-host-color: #5c5c5c;

    --gameboard-background-color: #113145;
    --text-color: #a38b3c;
    --input-background: #a38b3c2e
}



html {
    -webkit-text-size-adjust: 100%;
}
html, body, main, .content {
    font-family:mycomfortaa;
    height: 100%;
}
body {
    background-color: var(--gameboard-background-color);
    font-size: 16pt;
    color: var(--text-color);
    margin: 0;
}
input[type='text'],
input[type='number'],
textarea {
    font-family: inherit;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    margin: 2px 0 16px;
    outline: none;
    padding: 8px 10px 7px;
    box-sizing: border-box;
    transition: 0.3s;
    font-size: 14pt;
    color: inherit;
    background: var(--input-background);
    resize: vertical;
}
label {
    font-size: 14pt;
    cursor: text;
}
button {
    font-family: inherit;
    outline: none;
    border-radius: 30px;
    font-size: 16pt;
    background: var(--input-background);
    padding: 15px;
    border: 1px solid var(--text-color);
    align-self: center;
    color: inherit;
    touch-action: manipulation;
}
button:hover {
    cursor: pointer;
}
.disabled,
input:disabled,
textarea:disabled,
button:disabled {
    opacity: 0.35;
    pointer-events: none;
}
input[type=text]:focus,
input[type='number']:focus,
button:focus,
textarea:focus {
    background: #f1e6c4d6;
    color: black;
}
ol {
    font-size: 12pt;
    margin: 0 0 16px -16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
li:before {
    margin-left: 5px;
}
ul {
    font-size: 14pt;
    margin: 10px 0 0 -15px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}



.title_block {
    position: absolute;
    bottom: 10px;
    right: 8px;
    padding: 4px 4px 0;
    border-radius: 5px;
    display: none; /* flex; */
    flex-direction: column;
    background-color: var(--title-background-color);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    opacity: 0.8;
}
.title {
    font-size: 22px;
    font-family: myPeignot;
    letter-spacing: -0.03em;
    color: var(--title-text-color);
}
.title span {
    display: inline-block;
}
.title span.active {
    animation: shrinkjump 500ms ease-in-out;
    transform-origin: bottom center;
}
@keyframes shrinkjump {
    0%, 20% {
        transform: scale(1);
    }    
    
    20%, 60% {
      transform: scale(1, 0.75);
    }
    
    60%, 65% {
      transform: scale(1) translateY(-10px);
    }
    
    90% {
      transform: scale(1) translateY(0);
    }
}
.host_block {
    display: flex;
    align-self: end;
    color: var(--title-with-host-color);
    position: relative;
    height: 20px;
    width: 100%;
}
.with_host {
    font-size: 8pt;
    position: absolute;
    right: 42px;
    letter-spacing: -0.08em;
}
.host_name {
    font-family:myFendysa;
    font-size: 13pt;
    transform: rotate(-10deg);
    letter-spacing: 1px;
    position: absolute;
    right: 1%;
    bottom: 20%;
}


.game_board {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: auto;
}
.inner_game_board {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    padding: 15px 10px;
    height: calc(100% - 30px);
    width: calc(100% - 20px);
    overflow: visible;
    max-width: 500px;
    transition: opacity 600ms;
}
.console {
    font-family:myVT220;
    color: #00ff41;
    font-size: 12pt;
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
}
.console_header_column {
    width: 96px;
    display: inline-block;
}
.console_caret {
    display: inline-block;
    letter-spacing: -0.4em;
    transform: translateX(-2px);
    user-select: none;
}
.console_blink_caret {
    animation: console_caret 1s steps(1) infinite;
}
@keyframes console_caret {
    50%  {
        visibility: hidden;
    }
}
.fade_in {
    transition: opacity 600ms;
}
.focus_in {
    letter-spacing: 0;
    text-indent: 0;
    text-shadow: 0 0 0 white;
}
.header {
    white-space: nowrap;
    font-weight: bold;
    font-size: 30pt;
    margin-bottom: 16px;
    text-align: center;
}
.registration_form {
    display: flex;
    flex-direction: column;
}
.add_number_button {
    position: relative;
    height: 40px;
    width: 40px;
    margin-top: 2px;
    font-size: 20pt;
}
.center_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.current_number {
    width: 28px;
    text-align: center;
    transform: translateY(2px);
    font-size: 20pt;
}
.game_token {
    text-transform: uppercase;
    width: 39px;
    text-align: center;
    padding: 8px 0 7px !important;
}
.submitted_response {
    margin: 4px 0 22px 0;
    padding: 8px 26px 6px;
    background: #424242;
    width: fit-content;
    min-height: 24px;
}
.question_subheading {
    font-size: 12pt;
    margin-bottom: 4px;
    text-decoration: underline;
}
.multiple_choice_block {
    display: flex;
    flex-direction: column;
    margin: 2px 0 22px;
}
.question_image {
    height: auto;
    width: 100%;
    object-fit: contain;
}
.response_type {
    font-size: 8pt;
    width: fit-content;
    padding: 3px 6px 2px;
    margin: 4px 0;
    border-radius: 8px;
    color: var(--gameboard-background-color);
    background: var(--text-color);
    font-weight: bold;
}
.radio-item [type="radio"] {
	display: none;
}
.radio-item + .radio-item {
	margin-top: 15px;
}
.radio-item label {
	display: block;
	padding: 15px 0px 13px 60px;
	background: var(--input-background);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	cursor: pointer;
	min-width: 250px;
	position: relative;
	transition: 0.4s ease-in-out 0s;
}
.radio-item label:after,
.radio-item label:before {
	content: "";
	position: absolute;
	border-radius: 50%;
}
.radio-item label:after {
	height: 19px;
	width: 19px;
	border: 1px solid var(--text-color);
	left: 19px;
	top: calc(50% - 12px);
}
.radio-item label:before {
	background: var(--text-color);
    height: 22px;
    width: 22px;
    left: 19px;
    top: calc(50% - 12px);
	transform: scale(5);
	opacity: 0;
	visibility: hidden;
	transition: 0.4s ease-in-out 0s;
}
.radio-item [type="radio"]:checked ~ label {
	border-color: var(--text-color);
}
.radio-item [type="radio"]:checked ~ label::before {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}
.submit_button_wrapper {
    position: relative;
    width: fit-content;
    align-self: center;
}
#submit_button {
    margin-bottom: 30px;
    position: relative;
}
.lds-spinner {
    display: none;
    position: absolute;
    left: calc(100% + -20px);
    top: 11px;
}
.lds-spinner div::after {
    width: 2px;
    height: 6px;
    background: var(--text-color);
}
.lds-spinner div {
    transform-origin: 38px 15px;
}
.top_right {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}
.drop_curtain {
    display: none;
    position: absolute;
    width: 100%;
    height: 0;
    z-index: 2;
    background: rgba(0,0,0,0.85);
    overflow: hidden;    
    overflow: clip;
    transition: height 400ms;    
}
.drop_curtain_content_wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75vh;
    width: 100%;
}
.close_button {
    padding: 7px;
    border-radius: 50%;
    height: 40px;
    width: 40px;
}
.close_x {
    fill: none;
    height: 24px;
    width: 24px;
    stroke: currentColor; 
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}
.message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}