/* ==========================================================================
   1. GLOBAL RESETS & STYLING
   ========================================================================== */
* {
	box-sizing: border-box;
	font-family: "Bebas Neue", sans-serif;
	font-weight: 400;
	font-style: normal;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #000000;
	color: #ffffff;
}

.hidden {
	display: none !important;
}

.invert,
.filter-invert {
	filter: invert(1);
}

/* ==========================================================================
   2. INITIAL APP LOADING SCREEN
   ========================================================================== */
#loading {
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.imax-logo-wrap {
	text-align: center;
}

.imax-logo-svg {
	width: 50%;
	margin: 0 auto;
	padding: 0;
}

#app-status {
	padding-top: 1em;
}

/* ==========================================================================
   3. MAIN LAYOUT STRUCTURE
   ========================================================================== */
#main {
	display: flex;
	flex-direction: column;
}

#main > div {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}

picture {
	display: inline-block; 
}

img#title {
	display: block;
	width: 100%;
	max-width: 80%;
	height: auto;
	margin: 0 auto;
	padding-top: 2em;
	margin-bottom: 20px;
}

#main > div.bkg_wrap {
	display: block;
	background-repeat: no-repeat;
	background-size: cover;
	width: 80%;
	margin: 2em auto 0;
}

/* ==========================================================================
   4. FORM COMPONENTS & TOUCH FIELD TARGETS
   ========================================================================== */
form#form-ask {
	width: 100%;
	margin: 0 auto 1em;
	display: block;
	padding: 0 4px;
}

label {display: block;                
	text-transform: uppercase;
	color: #ffffff;
	margin-top: 1em;               
	margin-bottom: 0.25em;         
	padding-left: 0.25em;          
	font-size: 1.5em;
}

label.first {
	margin-top: 0;
}

/*
label {
	text-transform: uppercase;
	color: #ffffff;
	margin-top: 1em;
	display: block;
}

label.first {
	margin-top: 0;
}

label > span {
	display: block;
	margin: 0.5em 0.25em 0.25em;
}*/

/* Universal field styling targeting modern mobile thumbs */
input,
textarea,
select {
	box-sizing: border-box;
	width: 100%;
	display: inline-block;
	margin: 0;
	font-size: 1em;             
	padding: 12px 16px;           /* Comfortable padding sizing for mobile interaction */
	min-height: 48px;             /* Standard 48px tap targets to avoid miss-clicks */
	color-scheme: dark;           /* Native mobile keyboards/picker wheels follow dark theme */
	background-color: #1c1e21;    /* Clean, solid dark theme base */
	color: #ffffff;
	border: 1px solid #3e4247;
	border-radius: 6px;           /* Smooth modern corners */
	transition: border-color 0.2s ease;

    font-family: Arial, Helvetica, sans-serif; 
	font-size: 18px;
}

select > option.caps {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;   
	text-transform: uppercase;
    text-transform: none;
}

textarea {
	min-height: 120px;            /* Extra room to write questions comfortably */
}

/* Form Action Button Styling */
input[type="submit"]#form-submit {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.5em;
    letter-spacing: 1px;
	display: block;
	margin-top: 1em;
	text-transform: uppercase;
	background: #161616;
	cursor: pointer;
}

input[type="submit"]#form-submit:hover {
	background: #262626;
}

/* Clear focus feedback accent line when actively typing */
input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: #0070f3;
}

#form-output {
	text-align: center;
	background: none;
	font-size: 1.5em;
	margin-bottom: 5em;
	padding: 3em 1em;
}

/* ==========================================================================
   5. FOOTER & LEGAL DOCUMENTATION
   ========================================================================== */
#legalbugs {
	text-align: center;
}

#legalbugs > img {
	display: inline-block;
	vertical-align: bottom;
	max-width: 100%;
	padding: 8px;
	max-height: 100px;
}

#legal {
	margin: 2em 0 0;
	padding: 0;
}

#legal > * {
	margin-bottom: 1.5em;
}

#legal > p {
	text-align: center;
	color: #ffffffcc;
	font-size: 10pt;
	padding: 1em;
}

#legal > p.justify {
	text-align: justify;
	font-size: 8pt;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media screen and (max-width: 800px) {
	#main > div.bkg_wrap {
		width: 80%;
	}
}

@media screen and (max-width: 600px) {
	img#title {
		max-width: 100%;
		margin-bottom: 0;
	}
}