@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,500;0,600;1,100;1,900&display=swap');


body>*,
.data>:nth-child(2){
	display:none;
	font-family: 'Poppins', sans-serif;
}

.done{
	color: #AFA !important;
}
.pend{
	color:#FAA !important;
}

body{
	margin: 0;
	background: #000;
	overflow: hidden;
}

body>:not(footer,error){
	background: url(img/bg_intro.jpg?3) left top no-repeat;
	background-size: contain;
	position: absolute ;
	width: 100vw;
	aspect-ratio: 20/12;
	top: calc(50svh - 33.333333svw);
}

body>.check,
body>.person{
	background-image: url(img/bg_content_colas.jpg?3);
}

body>.cokes{
	background-image: url(img/bg_content_choice.jpg?3);
}

body>.last{
	background-image: url(img/bg_finish.jpg?3);
}

body.login>.login,
body.intro>.intro,
body.check>.check,
body.person>.person,
body.cokes>.cokes,
body.last>.last,
.data[p="2"]>:nth-child(2){
	display:block
}

choice{
	display: none;
	position: absolute;
	z-index: 100;
	inset: 0;
	color: #fff;
	background: rgba(0 0 0 / .84);
	padding: 4vw;
	text-align: center;
}
choice.show{
	display: block;
}

choice h1{
	display: block;
	border-bottom: 1px solid #fff;
	font-size: 3vw;
	font-weight: 500;
	margin: 0 0 4vw 0;
	padding: 0 0 2.5vw;
}
choice>div{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	font-weight: 100;
	font-size: 1.75vw;
	line-height: 4vw;
}

choice.lng>div{
	grid-template-columns: 1fr;
}
choice.lng>div>div{
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 35vw;
}

footer{
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	display:block;
	width: 20px;
	height: 20px;
	font-size: 12px;
	text-align: center;
	line-height: 20px;
}
footer.ok{
	color:#090 !important;
}
footer.nok{
	color: #990;
}
footer.ok:before{
	content:"⦿";
}
footer.nok:before{
	content:"◎";
}

input:is([type="text"],[type="date"]){
	display: block;
	background: transparent right 0.5vw center no-repeat;
	border: none;
	border-bottom: 1px solid #fff;
	width: 25vw;
	font-size: 1.75vw;
	font-family: inherit;
	font-weight: 100;
	padding: 0.5vw;
	margin-bottom: 1.5vw;
	height: 2.5vw;
	line-height: 2.5vw;
	color: #fff;
}
input:is([type="text"],[type="date"]):placeholder-shown,
input:is([type="text"],[type="date"])::placeholder{
	color: #fff;
}

/* input:is([readonly],[type="date"]){ */
input.choice{
	background-image: url(img/arrow.svg);
	background-size: 2vw auto;
	cursor: pointer;
}
input[type=date]::-webkit-clear-button,
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-calendar-picker-indicator {
    display: none;
}
input[type="date"]:not(.has-value){
	color: transparent;
}
input[type="date"]:not(.has-value):before{
	color: #fff;
	content: attr(placeholder);
}


.bt{
	position: absolute;
	right: 0;
	bottom: 3.75vw;
}
.bt.next,
.bt.playground,
.bt>input{
	height: 6vw;
	line-height: 6vw;
	padding: 0 3vw;
	font-family: inherit;
	font-size: 4.4vw;
	font-weight: 900;
	font-style: italic;
	background: #fff;
	color: #000;
	border: 0;
	margin:0;
	text-transform: uppercase;
}
.bt.playground{
	left: 0;
	right: auto;
}

.bt.back{
	right: auto;
	left: 3.75vw;
	height: 6vw;
	line-height: 6vw;
	font-family: inherit;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-weight: 100;
	font-size: 1.6vw;
	font-style: italic;
}

.bt>input{
	margin-left: 1vw;
	color: #fff;
	background: #E31A1D;
	min-width: 34vw;
	text-align: center;
}
.bt>input+input{
	background: #0067B3;
}

form.login>span{
	position: absolute;
	right: 5vw;
	bottom: 17.5vw;
}
form.login .bt.next{
	color: #fff;
	background: #1D8ACB;
}

form.check>span:first-child{
	position: absolute;
	left: 8vw;
	bottom: 16.25vw;
	color: #fff;
	font-size: 1.75vw;
	width: 60vw;
}


form.check label{
	display: block;
	margin-top: 4vw;
	font-weight: 100;
	font-size: 1.4vw;
	line-height: 2vw;
}
form.check input[type='checkbox']:not(:checked){
	appearance: none;
}
form.check input[type='checkbox']{
	float: left;
	background: #151515;
	border: 1px solid #fff;
	width: 2vw;
	height: 2vw;
	margin: 0 .8vw 0 0;
}

div.person>div{
	position: absolute;
	top: 21vw;
	left: 8vw;
}

div.person>div>span{
	color: #fff;
	background: #E31A1D;
	font-size: 2.5vw;
	height: 3.75vw;
	line-height: 3.5vw;
	font-weight: 900;
	font-style: italic;
	display: block;
	margin-left: -8vw;
	padding-left: 8vw;
	margin-bottom: 4vw;
}

div.person[p="2"]>div>span::after{
	content: " 1";
}
div.person[p="2"]>div+div>span::after{
	content: " 2";
}


div.person>div+div{
	left: 42vw;
}
div.person>div+div>span{
	margin-left: -4vw;
	padding-left: 4vw;
	background: #0A67B3;
}

div.cokes [readonly]{
	opacity: 0;
}
div.cokes input[value="pepsi"].done~[val="pepsi"]{
	background: #0E67B3;
}
div.cokes input[value="cola"].done~[val="cola"]{
	background: #E31A1D;
}
div.cokes input[value="pepsi"].pend~[val="pepsi"]{
	border-color: #0E67B3;
}
div.cokes input[value="cola"].pend~[val="cola"]{
	border-color: #E31A1D;
}
div.cokes div input[type="button"]{
	position: absolute;
	bottom: 21vw;
	left: 4vw;
	width: 24vw;
	color: #fff;
	box-sizing: border-box;
	border: 1px solid #fff;
	background: transparent;
	height: 10vw;
	font-size: 2.5vw;
	font-weight: 900;
	font-style: italic;
}
div.cokes div input[val="cola"]{
	left: auto;
	right: 4vw;
}
div.cokes[p="2"] div input[type="button"]{
	height: 4.5rem;
}
div.cokes[p="2"] div input[type="button"]{
	bottom: 25vw;
}
div.cokes[p="2"] div+div input[type="button"]{
	bottom: 17vw;
}

cancel{
	position: absolute;
	display: block;
	height: 3vw;
	line-height: 3vw;
	width: 3vw;
	text-align: center;
	right: 1vw;
	top: 1vw;
	z-index: 900;
	font-size: 2.5vw;
	background: #E31A1D;
	color: #fff;
	cursor: pointer;
}


error{
	position: absolute;
	display: block;
	inset: -40px 0 auto 0;
	/* inset: calc(100svh) 0 auto 0; */
	z-index: 100;
	background: #E31A1D;
	text-align: center;
	font-size: 15px;
	line-height: 40px;
	color: #fff;
	transition: top ease .3s;
}

error.playground{
	background: #0067B3;
}

[data-mode="playground"]>error.playground,
.asynchron>error.asynchron,
.form>error.form,
.birthday>error.birthday{
	/* top: calc(100svh - 40px); */
	top: 0;
}