/*RESET*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, center,
dl, dt, dd, ol,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* GENERAL */

:root {
	--bg-deep: #1a1410;
	--bg-surface: #261c16;
	--bg-elevated: rgba(28, 20, 15, 0.82);
	--bg-overlay: rgba(14, 10, 8, 0.86);
	--text-main: #f6eddc;
	--text-soft: #d7c6af;
	--accent: #c99b47;
	--accent-bright: #e2bb73;
	--accent-cool: #8fae9d;
	--accent-danger: #d86a57;
	--border-soft: rgba(240, 223, 193, 0.2);
	--shadow-strong: rgba(0, 0, 0, 0.45);
}

html, body {
	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
	font-family: "Oswald" !important;
	font-size: 20px;
	color: var(--text-main);
	background:
		radial-gradient(circle at top, rgba(201, 155, 71, 0.1), transparent 32%),
		linear-gradient(180deg, #211711 0%, var(--bg-deep) 55%, #140f0c 100%);
	-webkit-overflow-scrolling: touch;
}

body {
	line-height: 1.5;
}

*:focus {
    outline: none;
}

.column {
    float: left;
    width: 50%;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

input:not([type='checkbox']), select {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

textarea, input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

::placeholder {
  color: var(--text-soft);
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: var(--text-soft);
}	

/* FONTS & TEXT */

h2, h3, h4, h5, h6 {
	margin-top: 15px;
}

h2 {
	text-transform: uppercase;
	color: var(--accent-bright);
	text-stroke: 3px #000;
	font-size: 35px;
	text-shadow:
		2px 2px 0 #000,
		-1px -1px 0 #000,  
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

h3 {
	text-transform: uppercase;
	color: var(--accent);
}

p {
	margin: 10px 0px 10px 0px;
}	

/* MAIN CONTENT (below video) */

.main-content {
	/* main content wrapper */
	position: relative;
	color: var(--text-main);
	padding: 0;
	width: 100%;
	text-align: left;
	clear: both;
}

.mc-block-wide {
	background-repeat: no-repeat !important;
	background-position: center center !important;
    background-size: cover !important;
	position: relative;
	padding: 15px 15px 15px 15px;
	width: 100%;
	box-sizing: border-box;
	color: var(--text-main);
	float: left;
	clear: both;
}

.mc-block-wide a,
.mc-block a {
	word-break: break-word;
}
	
/* LINKS */

a {
	font-weight: bold;
	text-decoration: none !important;
	color: var(--accent-bright) !important;
}

a:hover {
	text-decoration: underline !important;
}

a.nice-link {
	display: inline-block;
	background: rgba(26, 20, 16, 0.68);
	border: 1px solid var(--border-soft);
	text-transform: uppercase;
	text-align: center;
	color: var(--text-main) !important;
	padding: 5px 8px 5px 8px;
	transition: border .3s ease, color .3s ease, background-color .3s ease;
	position: relative;
	top: 10px;
	backdrop-filter: blur(4px);
}

a.nice-link:hover {
	border: 1px solid var(--accent);
	color: var(--accent-bright) !important;
	background: rgba(44, 31, 22, 0.78);
	cursor: pointer;
	text-transform: uppercase;
	text-decoration: none !important;
}



/* BIG IMAGE LINKS ON MAIN PAGE */

.hidden-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.80);
}

#full-overlay {
    position: fixed; /* Covers the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index: 300;
    background: rgba(0, 0, 0, 0.90); /* Semi-transparent background */
    display: none; /* Initially hidden */
}

/* QUICK STYLES */

.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.big {
	font-size: 75px;
	font-family: "Anton";
}

.small {
	font-size: 20px;
}

.centered {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
}

.centered-bg {
	background-repeat: no-repeat !important;
	background-position: center center !important;
    background-size: cover !important;
}

.narrow {
	max-width: 75%;
	display: inline-block;
}

/* MISC */

/* IMAGE STYLING */

img.blur {
	filter: blur(10px);
	webkit-filter: blur(10px);
}

/* FORMS, GENERAL */

#form-response, .form-response {
	margin-top: 20px;
	margin-bottom: 10px;
}

.input-error {
	border: 1px solid var(--accent-danger) !important;
}

/* FORMS, USER LOGIN & REGISTRATION */

form.wwj-form label, 
form.wwj-form input, 
form.wwj-form select {
	display: block;
}

form.wwj-form label {
	margin-top: 15px;
}

form.wwj-form input, 
form.wwj-form select, 
form.wwj-form textarea {
	font-family: "Oswald";
	font-size: 18px;
	margin-top: 7px;
	box-sizing: border-box;
	background:
		linear-gradient(180deg, rgba(39, 30, 25, 0.92), rgba(20, 16, 14, 0.96));
	padding: 10px 12px;
	width: 400px;
	max-width: 100%;
	border: 1px solid rgba(201, 155, 71, 0.75);
	border-radius: 10px;
	color: var(--text-main);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	transition: border .3s ease, color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .2s ease;
}

form.wwj-form select option {
	background-color: #18120f;
	color: var(--text-main);
}

form.wwj-form input:focus, 
form.wwj-form select:focus, 
form.wwj-form textarea:focus {
	border: 1px solid var(--accent-cool);
	background:
		linear-gradient(180deg, rgba(43, 34, 29, 0.96), rgba(24, 19, 16, 0.98));
	box-shadow: 0 0 0 3px rgba(143, 174, 157, 0.12);
	outline: none;
}

.wwj-form button {
	font-size: 18px;
	background:
		linear-gradient(180deg, rgba(36, 28, 24, 0.9), rgba(20, 16, 14, 0.96));
	border: 1px solid rgba(215, 198, 175, 0.5);
	border-radius: 10px;
	text-transform: uppercase;
	text-align: center;
	color: var(--text-soft);
	padding: 9px 12px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	transition: border .3s ease, color .3s ease, background-color .3s ease, transform .2s ease, box-shadow .3s ease;
}

.wwj-form button:hover:enabled {
	border: 1px solid var(--accent);
	color: var(--accent-bright);
	background:
		linear-gradient(180deg, rgba(53, 39, 29, 0.94), rgba(28, 21, 17, 0.98));
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
	cursor: pointer;
}

form.wwj-form input[type="text"]:disabled, 
textarea[type="text"]:disabled {
	border: 1px solid rgba(215, 198, 175, 0.25);
	color: rgba(215, 198, 175, 0.55) !important;
}

/* POPUP INFO BOX */

div.big-info-box {
	display: none;
	position: fixed;
	height: 75vh;
	width: 75vw;
	color: #FFF;
	border-radius: 5px;
	z-index: 350;
	padding: 30px;
	overflow: auto;
	background: var(--bg-overlay);
	border: 1px solid rgba(201, 155, 71, 0.35);
	-webkit-box-shadow: 1px 0px 22px -3px rgba(0,0,0,0.55);
	-moz-box-shadow: 1px 0px 22px -3px rgba(0,0,0,0.55);
	box-shadow: 1px 0px 22px -3px rgba(0,0,0,0.55);
}

span.info-box-close {
	position: absolute;
	top: 5px;
	right: 8px;
	cursor: pointer;
}

/* AUTOCOMPLETE */

.ui-autocomplete {
	background: rgba(26, 20, 16, 0.96);
	border: 1px solid rgba(201, 155, 71, 0.35);
	border-radius: 10px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
	max-height: 500px;
	overflow-y: auto;
	padding: 8px;
	font-family: inherit;
	font-size: inherit;
}

.ui-autocomplete.ui-widget.ui-widget-content {
	background: rgba(26, 20, 16, 0.96);
	border: 1px solid rgba(201, 155, 71, 0.35);
	color: var(--text-main);
}

.ui-autocomplete.ui-menu {
	list-style: none;
	margin: 8px 0 0;
	padding: 8px;
}

.ui-autocomplete .ui-menu-item {
	margin: 0;
	color: var(--text-main);
	cursor: pointer;
}

.ui-autocomplete .ui-menu-item + .ui-menu-item {
	margin-top: 4px;
}

.ui-autocomplete .ui-menu-item-wrapper {
	padding: 10px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: var(--text-main);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-state-focus,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-focus,
.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper:focus {
	margin: 0;
	background: rgba(201, 155, 71, 0.16);
	border-color: rgba(201, 155, 71, 0.45);
	color: var(--accent-bright);
	border-radius: 10px;
	font-weight: 600;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	outline: none;
}

.ui-helper-hidden-accessible {
	display: none;
}

/* MOBILE */

@media only screen and (max-device-width: 860px), only screen and (max-width: 860px) {
	a.nice-link {
		box-sizing: border-box;
		width: 100%;
	}
	
	.desktop-wwj-name {
		display: none;
	}

	/* TEXT */
	
	h2 {
		font-size: 28px;
	}
	
	.big {
		font-size: 45px;
	}

	.small {
		font-size: 18px;
	}

	/* GENERAL CONTENT */
	
	.column {
		float: none;
		width: 100%;
	}

	.row:after {
		content: "";
		display: table;
		clear: both;
	}
	
	/* POPUP INFO BOX */
	
	div.big-info-box {
		max-width: 95vw !important;
		max-height: 95vh !important;
	}
	
	/* change order of boxes for mobile view */
	
	.ordered {
		display: flex;
		flex-flow: column;
	}

	.one { order: 1 }
	.two { order: 2 }
	.three { order: 4 }
	
	.narrow {
		max-width: 100%;
		display: inline-block;
	}
	
	/* FORMS */
	
	form.wwj-form input, form.wwj-form select, form.wwj-form textarea  {
		width: 100% !important;
	}
	
	.wwj-form button {
		width: 100%;
	}
	
}
