/*
	Theme Name: Shine
	Author: Miroslav Rajkovic
	Author URI: https://rajkovic.cc
*/
* {
	-webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

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,
b, u, i, center,
dl, dt, dd, ol, ul, li,
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;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: "";
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
	height: 100%;
	width: 100%;
}

body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	padding: 40px 0;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	color: #EFEBE4;
	text-transform: uppercase;
	font-family: "Asap Condensed", sans-serif !important;
	font-size: 15px;
	background: #222;
	overflow: hidden;
}

#video {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 0;
}

#background {
	position: fixed;
	width: 100%;
	height: 100%;
	inset: 0;
	z-index: -1;
	background: #FFB700;
}

@-webkit-keyframes fly-in {
	100% {
		-webkit-transform: none;
			transform: none;
		opacity: 1;
	}
}

@keyframes fly-in {
	100% {
		-webkit-transform: none;
			transform: none;
		opacity: 1;
	}
}
#content {
	z-index: 10;
}

#shape {
	position: fixed;
	width: 90%;
	height: 90%;
	top: 5%;
	left: 5%;
	z-index: 1;

	/*background: url(assets/img/shape.svg) center center no-repeat;*/
	background-size: contain;
}

#shape canvas {
	transform: scale(1.3);
}

#form {
	position: relative;
	max-width: 900px;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
		-ms-flex-direction: row;
			flex-direction: row;
	gap: 64px;
	z-index: 10;
	opacity: 0;
	-webkit-transform: translateY(15%) skewY(1deg) scale(1);
		transform: translateY(15%) skewY(1deg) scale(1);
	-webkit-animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 150ms forwards;
		animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 150ms forwards;
}
#form.thank-you .left, #form.thank-you .right {
	width: 100%;
}
#form.thank-you h1 {
	font-size: 40px;
	font-weight: bold;
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(30%) skewY(1deg) scale(1);
		transform: translateY(30%) skewY(1deg) scale(1);
	-webkit-animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 150ms forwards;
		animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 150ms forwards;
}
#form .logo {
	margin-bottom: 64px;
	width: 300px;
	opacity: 0;
	-webkit-transform: translateY(100%) skewY(3deg) scale(1);
		transform: translateY(100%) skewY(3deg) scale(1);
	-webkit-animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 150ms forwards;
		animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 150ms forwards;
}
#form h1 {
	font-weight: bold;
	text-transform: uppercase !important;
	font-size: 40px;
	text-align: center;
	text-transform: none;
	line-height: 1em;
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(30%) skewY(2deg) scale(1);
		transform: translateY(30%) skewY(2deg) scale(1);
	-webkit-animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 300ms forwards;
		animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 300ms forwards;
}
#form .left, #form .right {
	width: 50%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
}
#form .left {
	position: relative;
	width: 45%;
}

#form .right {
	width: 55%;
	opacity: 0;
	-webkit-transform: translateY(10%) skewY(2deg) scale(1);
		transform: translateY(10%) skewY(2deg) scale(1);
	-webkit-animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 450ms forwards;
		animation: fly-in 2000ms cubic-bezier(0.25, 1, 0.5, 1) 450ms forwards;
}
#form .wpcf7 {
	width: 100%;
}
#form .wpcf7 form p {
	position: relative;
	margin-bottom: 32px;
	width: 100%;
}
#form .wpcf7 form p .wpcf7-not-valid-tip {
	display: none !important;
}
#form .wpcf7 form p:nth-child(6) {
	margin-bottom: 0;
}
#form .wpcf7 form span.label {
	display: block;
	margin-bottom: 8px;
	font-size: 1.5em;
	font-weight: bold;
	text-align: center;
	width: 100%;
	color: #fff;
}
#form .wpcf7 form .wpcf7-radio {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
		-ms-flex-pack: justify;
			justify-content: space-between;
	gap: 8px;
}
#form .wpcf7 form .wpcf7-radio span {
	margin: 0;
	width: 100%;
}
#form .wpcf7 form input, #form .wpcf7 form textarea {
	width: 100%;
	padding: 12px;
	border-radius: 12px;
	border: 0;
	border-bottom: 3px solid rgba(0, 0, 0, 1);
	background: #FAC46D;
	resize: none;
	outline: none;
	color: #000;
	font-family: inherit;
	font-size: 1.1em;
	-webkit-transition: all 800ms;
	transition: all 800ms;
}
#form .wpcf7 form input::-webkit-input-placeholder, #form .wpcf7 form textarea::-webkit-input-placeholder {
	color: #00000070;
}
#form .wpcf7 form input::-moz-placeholder, #form .wpcf7 form textarea::-moz-placeholder {
	color: #00000070;
}
#form .wpcf7 form input:-ms-input-placeholder, #form .wpcf7 form textarea:-ms-input-placeholder {
	color: #00000070;
}
#form .wpcf7 form input::-ms-input-placeholder, #form .wpcf7 form textarea::-ms-input-placeholder {
	color: #00000070;
}
#form .wpcf7 form input::placeholder, #form .wpcf7 form textarea::placeholder {
	color: #00000070;
}
#form .wpcf7 form input:hover, #form .wpcf7 form textarea:hover, #form .wpcf7 form input:focus, #form .wpcf7 form textarea:focus {
	background: #FEFFC1;
}
#form .wpcf7 form input[type=radio], #form .wpcf7 form textarea[type=radio] {
	display: none;
}
#form .wpcf7 form input[type=radio] + span, #form .wpcf7 form textarea[type=radio] + span {
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url(assets/img/radio.png);
	aspect-ratio: 1/1;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	padding: 8px;
	width: 100%;
	color: #000;
	text-align: center;
	border-radius: 20px;
	cursor: pointer;
	-webkit-transition: all 500ms;
	transition: all 500ms;
	font-size: 1em;
	font-weight: bold;
}
#form .wpcf7 form input[type=radio] + span:hover, #form .wpcf7 form textarea[type=radio] + span:hover {
	background-image: url(assets/img/radio_active.png);
	transform: scale(1.1);
}
#form .wpcf7 form input[type=radio]:checked + span, #form .wpcf7 form textarea[type=radio]:checked + span {
	background-image: url(assets/img/radio_active.png);
	transform: scale(1.1);
}
#form .wpcf7 form input[type=submit], #form .wpcf7 form textarea[type=submit] {
	background: #FFB700;
	border-bottom: 3px solid rgba(0, 0, 0, 1);
	color: #000;
	font-weight: bold;
	font-size: 1.2em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 12px;
	-webkit-box-shadow: none;
		box-shadow: none;
	padding: 16px;
	-webkit-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
#form .wpcf7 form input[type=submit]:hover, #form .wpcf7 form textarea[type=submit]:hover {
	-webkit-transform: scale(1.05);
		transform: scale(1.05);
}
#form .wpcf7 form .wpcf7-spinner {
	display: none;
}
#form .wpcf7 form .wpcf7-response-output {
	background: rgba(230, 126, 34, 0.32);
	border: 0;
	padding: 16px;
	border-radius: 12px;
	color: #fff;
	margin: 0;
	margin-top: 16px;
	text-align: center;
	text-transform: none;
}

body.form-success .wpcf7-response-output {
	display: none !important;
}

#emoji {
	position: relative;
	width: 180px;
	height: 180px;
}

#emoji canvas {
	width: 100%;
	height: auto;
}

body.page-template-template-thankyou #emoji {
	width: 150px;
}

body.page-template-template-thankyou #form .logo {
	width: 200px;
}

@media only screen and (max-width: 1200px) {
	#form {
		max-width: 800px;
		gap: 48px;
	}
	#form .left, #form .right {
		width: 50%;
	}

	#form .logo {
		width: 250px;
	}
	#emoji {
		width: 180px;
		height: 180px;
	}
	#shape {
		transform: scale(1.2);
	}
}

@media only screen and (max-width: 1024px) {
	body {
		overflow-y: auto;
		align-items: start;
	}
	
	#emoji {
		width: 160px;
		height: 160px;
	}
	#form {
		padding: 100px 40px;
		max-width: 704px;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
			-ms-flex-direction: column;
				flex-direction: column;
	}
	#form .left, #form .right {
		width: 100%;
	}
	#shape {
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
	}
}
@media only screen and (max-width: 500px) {
	body {
		-webkit-box-align: start;
			-ms-flex-align: start;
				align-items: flex-start;
		padding: 8px;
	}
	body.page-template-template-thankyou {
		-webkit-box-align: center;
			-ms-flex-align: center;
				align-items: center;
	}
	#content {
		padding-bottom: 8px;
	}
	
	#emoji {
		width: 120px;
		height: 120px;
	}

	#shape, #background {
		display: none;
	}

	body {
		background: #FF4A00;
	}

	#form .wpcf7 form .wpcf7-radio {
		display: grid;
    	grid-template-columns: repeat(10, 1fr); /* 5 columns of equal width */
    	gap: 4px; /* space between items */
	}
	
	#form {
		padding: 16px;
		gap: 32px;
		border-radius: 32px;
	}
	#form.thank-you h1 {
		padding-bottom: 24px;
	}
	#form .logo {
		margin: 32px 0 32px 0;
		width: 200px;
	}
	#form h1 {
		font-size: 32px !important;
	}
	#form span.label {
		width: 100%;
		text-align: center;
		line-height: 1.2em;
	}
	
	#form .wpcf7 form p {
		margin-bottom: 24px;
	}

	#form .left {
		margin-bottom: 40px;
	}

	.wpcf7-radio span.wpcf7-list-item {
		outline: none !important;
		box-shadow: none !important;
		 -webkit-tap-highlight-color: transparent !important;
	}
}