/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

@font-face {
	font-family: 'Days One';
	src: url('../font/DaysOne-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Reset */

* {padding: 0;	margin: 0; -webkit-tap-highlight-color:transparent;	-moz-user-select: none; -khtml-user-select: none; user-select: none;}
*, *:before, *:after {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
:focus, :active, a:focus, a:active {outline: none;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
	width: 100%;
	min-height: 100%;
	font-size: 100%;
	line-height: normal;
	-webkit-text-size-adjust: none
}

input, button, textarea, select {
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 0;
}
input::placeholder {opacity: 1;}
input::-ms-clear {display: none;}
button::-moz-focus-inner {padding: 0; border: 0;}
button, .button, input[type="button"], input[type=submit] {cursor: pointer;}
button[disabled], input[disabled] {cursor: default;}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {display: none;}

a, a:hover, a:visited {text-decoration: none;}
img {vertical-align: top; max-width: 100%;}

h1,h2,h3,h4,h5,h6 {font-size: inherit; font-weight: normal;}

ol, ul {list-style: none;}



		

/* Notification */
#notify {
	position: fixed;
	top: 1em;
	width: 100%;
	cursor: default;
	transition: height .45s ease-in-out;
	pointer-events: none;
	z-index: 1;
}
.notify {
	max-height: 12em;
	opacity: 1;
	will-change: opacity, transform;
	transition: all .2s linear;
	backface-visibility: hidden;
	width: 50vw;
	z-index: 2;
	border-radius: 12px;
	pointer-events: auto;
	display: flex;
	align-content: flex-start;
	align-items: flex-start;
	@media all and (max-width: 30em) {
		width: 75vw;
		max-width: none;
	}
	max-width: 20em;
	font: inherit;
	line-height: 1.25em;
	color: #fff;
	margin: 0 auto 1em auto;
	transform: translateZ(0);
	padding: 1em 1em;
}
div.notify[data-show="false"] {
	pointer-events: none;
	opacity: 0 !important;
	max-height: 0 !important;
	margin-bottom: 0 !important;
}

div.notify[data-type="info"] {
	background: #59ABE3;
	animation: out var(--timer-notify-out, 3s) linear forwards;
}

div.notify[data-type="warning"] {
	background: #F89406;
	animation: shake .9s cubic-bezier(.36,.07,.19,.97) .1s both;
}

div.notify[data-type="error"] {
	background: #f44336;
	animation: shake .6s cubic-bezier(.36,.07,.19,.97) .2s both;
}

div.notify[data-type="success"] {
	background: #00B16A;
	animation: out var(--timer-notify-out, 3s) linear forwards;
}

div.notify span {
	flex: auto;
	-webkit-flex: auto;
	-ms-flex: auto;
	padding-right: .5em;
	max-width: calc(100% - 1.25em);
}

div.notify div {
	width: 1.25em;
	height: 1.25em;
	cursor: pointer;
	font-size: 19px;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIiBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTguMyw1LjcxTDE4LjMsNS43MWMtMC4zOS0wLjM5LTEuMDItMC4zOS0xLjQxLDBMMTIsMTAuNTlMNy4xMSw1LjdjLTAuMzktMC4zOS0xLjAyLTAuMzktMS40MSwwbDAsMCBjLTAuMzksMC4zOS0wLjM5LDEuMDIsMCwxLjQxTDEwLjU5LDEyTDUuNywxNi44OWMtMC4zOSwwLjM5LTAuMzksMS4wMiwwLDEuNDFoMGMwLjM5LDAuMzksMS4wMiwwLjM5LDEuNDEsMEwxMiwxMy40MWw0Ljg5LDQuODkgYzAuMzksMC4zOSwxLjAyLDAuMzksMS40MSwwbDAsMGMwLjM5LTAuMzksMC4zOS0xLjAyLDAtMS40MUwxMy40MSwxMmw0Ljg5LTQuODlDMTguNjgsNi43MywxOC42OCw2LjA5LDE4LjMsNS43MXoiLz48L3N2Zz4=) no-repeat 0 0 / contain;
	transition: opacity .2s;
	&:hover { opacity: .6; }
}

.notify::after{
	content: '';
	width: 0;
	height: 5px;
	background: rgba(255,255,255,0.5);
	position: absolute;
	bottom: 5px;
	left: 3%;
	border-radius: 12px;
	animation: progress var(--timer-notify-out, 3s) linear forwards 0.0s;
}

@keyframes progress {
	 0%{ width: 0%; }
	 100%{ width: 94%; }
}

@keyframes out {
	 0% { opacity: 0; }
	 10% { opacity: 1; }
	 90% { opacity: 1; transform: translateY(0px);}
	 99% { opacity: 0; transform: translateY(-25px);}
	 100% { opacity: 0; }
}

@keyframes shake {
	10%, 90% {transform: translate3d(-1px, 0, 0);}
	20%, 80% {transform: translate3d(2px, 0 0);}
	30%, 50%, 70% {transform: translate3d(-4px, 0, 0);}
	40%, 60% {transform: translate3d(4px, 0, 0);}
}


/* Global */

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #FFFFFF;
	background: #19191D;
	overflow-x: hidden;
}

.page {
	width: 100%;
	min-width: 320px;
	overflow: hidden;
}

.container {
	width: 100%;
	max-width: 414px;
	margin: 0 auto;
	padding: 20px 24px 44px;
}

.cursor_pointer {
	cursor: pointer;
}

.none {
	display: none;
}


/* Header */

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	position: relative;
}

.header::before {
	content:'';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-40%,-50%);
	width: 375px;
	height: 375px;
	background: radial-gradient(50% 50% at 50% 50%, #45402D 0%, rgba(69, 64, 45, 0.00) 100%);
	z-index: -1;
}

.header_reverse {
	flex-direction: row-reverse;
}

.header_reverse::before {
	left: unset;
	right: 0;
	transform: translate(40%,-50%);
}


/* Title */

.title {
	min-height: 56px;
	margin-bottom: 22px;
}

.title__main {
	font-family: 'Days One', sans-serif;
	font-size: 24px;
	display: block;
	margin-bottom: 5px;
}


/* Poll */

.poll:empty {
	content:'';
	position: relative;
	/*top: 50%;*/
	left: 45%;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #E8AF3D;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	 0% { transform: rotate(0deg); }
	 100% { transform: rotate(360deg); }
}

.poll__item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-gap: 20px;
	align-items: center;
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 150px;
	padding: 8px 12px 8px 8px;
	margin-bottom: 7px;
	cursor: pointer;
	&:hover {opacity: 0.8;}
}

.outline {
	outline: #E8AF3D dashed 2px;
}

.plus::after {
	content:'✓';
	position: absolute;
	display: block;
	font-size: 30px;
	color: #ffffff;
	margin-left: 15px;
	margin-top: -50px;

}

/*@media (hover: hover){
	label.poll__item:hover {
		opacity: 0.8;
	}
}*/

.poll__radio {
	display: none;
}

.poll__checkbox {
	display: block;
	width: 32px;
	height: 32px;
	background: #19191D;
	background-position: center;
	border-radius: 150px;
	transition: 0.2s;
}

.poll__text {
	display: flex;
	align-items: center;
	/*white-space: nowrap;*/
	/*overflow: hidden;*/
	/*text-overflow: ellipsis;*/
}

.poll__text.star::before {
	content:'✮';
	font-size: 24px;
	display: block;
	color: #E8AF3D;
	margin-left: -9px;
	margin-right: 7px;
	margin-top: -2px;
}

.poll__text:not(.star)::before {
	content:'';
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 10px;
	background: #E8AF3D;
	margin-right: 7px;
}

.poll__percent {
	font-family: 'Bruno Ace', sans-serif;
	font-size: 13px;
}

.checked {
	background: #FCC208 url(../img/checkmark.svg) center no-repeat;
}

.winner {
	background: #19191D url(../img/winner.png) center no-repeat;
}


/* Sponsor checkmark.svg*/

.sponsor__item {
	font-family: 'Rubik', sans-serif;
	color: #414141;
	background: #FFF;
	padding: 5px 20px 20px;
	border-radius: 4px;
	min-height: 90px;
	margin-bottom: 21px;
	position: relative;
}

.sponsor__item::before {
	content:'';
	display: block;
	position: absolute;
	top: -10px;
	left: 9px;
	width: 24px;
	height: 24px;
	background: url(../img/checkbox.svg) center no-repeat;
	background-size: contain;
}

.sponsor__title {
	font-weight: 700;
	font-size: 18px;
	padding-left: 20px;
	margin-bottom: 5px;
}

.sponsor__text {
	font-weight: 400;
}


/* Footer */

.footer {
	margin-top: 60px;
	font-size: 10px;
}

.footer span {
	margin-left: 12px;
}



/* Adv */

#adv{
	position: fixed;
	border: 10px;
	z-index: 10001;
	bottom: 20px;
	left: 20px;
	right: 20px;
	display: none;
	flex-direction: column
}

.adv{
	max-height: 15em;
	display: flex;
	align-items: center;
	background: linear-gradient(to bottom right, #e8af3d, #ff9c0e 80.71%);
	border-radius: 7px;
	color: #fff;
	padding:0 10px 0 10px;
	margin-top: 20px;
	font: inherit;
	font-size: 13px;
	animation: adv 1s ease
}

@keyframes adv{
	 0%{transform: translateY(20px);}
	 to{transform: translateY(0);}
}

.adv span{
	padding: 10px 5px;
}

.adv img{
	width:5em;
	height: 5em;
	border-radius: 100%;
	float: left;
	margin-right: .5em;
}

/*.adv div::after {
	content:'×';
	margin-left: auto;
	width: 3.25em;
	height: 3.25em;
	cursor: pointer;
	font-size: 35px;
	&:hover { opacity: .6; }
}*/

.adv .close {
	width: 2.25em;
	height: 2.25em;
	cursor: pointer;
	text-align: right;
	font-size: 35px;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIiBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTguMyw1LjcxTDE4LjMsNS43MWMtMC4zOS0wLjM5LTEuMDItMC4zOS0xLjQxLDBMMTIsMTAuNTlMNy4xMSw1LjdjLTAuMzktMC4zOS0xLjAyLTAuMzktMS40MSwwbDAsMCBjLTAuMzksMC4zOS0wLjM5LDEuMDIsMCwxLjQxTDEwLjU5LDEyTDUuNywxNi44OWMtMC4zOSwwLjM5LTAuMzksMS4wMiwwLDEuNDFoMGMwLjM5LDAuMzksMS4wMiwwLjM5LDEuNDEsMEwxMiwxMy40MWw0Ljg5LDQuODkgYzAuMzksMC4zOSwxLjAyLDAuMzksMS40MSwwbDAsMGMwLjM5LTAuMzksMC4zOS0xLjAyLDAtMS40MUwxMy40MSwxMmw0Ljg5LTQuODlDMTguNjgsNi43MywxOC42OCw2LjA5LDE4LjMsNS43MXoiLz48L3N2Zz4=) center no-repeat;
	&:hover { opacity: .6; }
}

.adv a {
	border-bottom: 1px solid;
	&:hover { opacity: .6; }
}