:root {
    font-family: 'gotham pro', monospace, sans-serif;
    font-size: 20px;
    background-color: #242524;
}

* {
    box-sizing: border-box;
    transition: all .35s linear;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    background-image: url(/static/img/bg_2.png);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    -ms-background-position: center top;
    background-position: center top;
}


.group.hidden {
    display: none;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input:focus {
    outline: none;
}

input:hover {
    border-color: #00aa99;
    color: #00aa99;
}

@media (max-width: 600px) {
    .ask {
        font-size: 20px;
        padding: 35px 25px;
        color: #fff;
        text-align: left;
        background-color: rgba(0, 0, 0, .8);
        height: 81%;
        font-weight: bold;
    }
}

.ask {
    font-size: 2.57vw;
   // padding: 195px 0px 65px 0px;
    color: #fff;
    text-align: left;
    /*background-color: rgba(0, 0, 0, .8);*/
    height: 81%;
    /*font-weight: bold;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}


.ask1 {
    font-size: 2.57vw;
    padding: 65px 195px 65px 55px;
    color: #fff;
    text-align: left;
    background-color: rgba(0, 0, 0, .8);
    height: 81%;
    /*font-weight: bold;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
}


.ask .quest{
    font-size: 2.85vw;
    padding: 370px 65px 65px 330px;
    color: #fff;
    text-align: right;
    font-weight: bold;
    text-transform: none;
    z-index: 2;
    position: initial;
}

.pict {
    font-size: 2.57vw;
    padding: 65px 55px;
    color: #fff;
    height: 81%;
    /*font-weight: bold;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    /*background-color: rgba(0, 0, 0, .8);*/
    background-color: rgba(136, 208, 247, 1);
    background-image: url(img/bg_1.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


.group-start {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fea60c;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0 30px;
    height: 95px;
    border-top: 4px solid #fff;
}


.group-start > input {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 2.85vw;
    justify-content: center;
    align-items: center;
    display: flex;
    align-content: center;
    font-weight: bold;
    font-family: 'gotham pro', monospace, sans-serif;
    border: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    outline: none;
    background: #fea60c;
    cursor: pointer;
    border: 2px solid white;
    padding: 10px 30px;
}

.group-start > input:hover {
    background: #fff;
    color: #fea60c;
}

.group-start .start-txt {
    position: initial;
    text-align: left;
    transform: translateY(0);
    font-size: 2.85vw;
    font-weight: 500;
}

.group-start .start-txt span{
    
    font-size: 4.28vw;
    font-weight: bold;
}

.group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fea60c;
    text-align: left;
    position: absolute;
    /*left: 55px;*/
    bottom: 0;
    /*right: 55px;*/
    height: 70px;
    font-weight: bold;
    width: 100%;
    height: 95px;
    border-top: 4px solid white;
}

.group > input {
    color: #ffdeb3;
    text-transform: uppercase;
    text-decoration: none;
    /*width: 50%;*/
    font-size: 2.5vw;
    justify-content: center;
    align-items: center;
    display: flex;
    align-content: center;
    font-weight: bold;
    font-family: 'gotham pro', monospace, sans-serif;
    border: none;
    -webkit-appearance: none;
    margin: 0 10px;
    padding: 9px 14.4px;
    border-radius: 0;
    outline: none;
    background: rgba(255,255,255, 0.0);
    /*cursor: pointer;*/
    border: 2px solid #ffdfb3;

}

.group > input:first-child {
    /*margin-left:0;*/
}
.group > input:hover {
    color: #fff;
    background: #d40000;
}


.group > input[type=submit]:hover {
    /*color: gainsboro;*/
    transition: all .5s ease;
    color: #fff;
    cursor: pointer;
    border: 2px solid #d40000;
}


.group > input[type=text] {
    background: #fff;
    color: #000;
    border: 0;
    width: 12.7%;
    text-align: center;
    /*font-size: 20px;*/
    border: 2px solid white;
}

.yl-win {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #fea60c;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 52vw;
    height: 48.8vh;
    transform: translateY(50%);
    background-image: url(img/trophy.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 50% 0%;
}

.yl-lose {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #fea60c;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 52vw;
    height: 55.8vh;
    transform: translateY(35%);
    background-image: url(img/icon.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 50% 0%;
}

.yl-win h1 {
    color: #fff;
    position: absolute;
    font-size: 4.28vw;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    text-align: center;
    text-transform: uppercase;
}


.yl-lose h1 {
    color: #fff;
    position: absolute;
    font-size: 4.28vw;
    left: 0;
    right: 0;
    top: 35%;
    transform: translateY(-50%);
    display: block;
    text-align: center;
    text-transform: uppercase;
}

.yl-lose .p1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 2.28vw;
    text-transform: uppercase;
    display: block;
    text-align: center;
    top: 62%;
    transform: translateY(-50%);
}

.yl-lose .p2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 2vw;
    text-transform: uppercase;
    display: block;
    text-align: center;
    top: 77%;
    transform: translateY(-50%);
}

h1 span {
    color: #fff;
    font-size: 2.28vw;

}

p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 2.85vw;
    text-transform: uppercase;
    display: block;
    text-align: center;
    top: 70%;
    transform: translateY(-50%);
}


@media screen and (orientation:portrait) {
.group-start {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fea60c;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0 30px;
    height: 135px;
    border-top: 4px solid #fff;
}

.group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* background: #fea60c; */
    text-align: left;
    position: absolute;
    left: 0px;
    bottom: 0;
    right: 0px;
    height: 90px;
    font-weight: bold;
}
}

.information{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    background: url("img/bg_2.jpg");
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    -ms-background-position: center top;
    background-position: center top;
}

.information .group-start{
    background: none;
    border: none;
    padding-left: 40px;
    padding-bottom: 30px;
}

#rectangles {
    width: 660px;
    height: 460px;
    background: url("img/bg1.png") repeat-y;
	padding: 20px;
	margin: 0 auto;
}
#rectangles span {
    display: block;
    float: left;
    background: url("img/smile.png") no-repeat center;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.rectangle {
    display: none;
}
.active{
    display: block;
}
.poloska {
    background: url("img/bg1.png") repeat-y;
	height: 45px;
    padding-top: 20px;
	position: relative;
    left: 13px;
}
.pl-height-block{
    background: #156ca9;
    width: 672px;
    margin: 0 auto;
    border-radius: 15px;
}
.pl-height-block img{
    position: relative;
    top: 1px;
    left: 2px;
    border-radius: 15px;
}
.procent {
    display: none;
}
#loser {
    display: none;
    opacity: 0.8;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(1, 1, 1, 0.725);
    z-index: 100;
    overflow: auto;
}
.loser-img {
    background: url("img/loser.jpg") no-repeat;
    width: 364px;
    height: 304px;
    margin: 50px auto;
    display: none;
    z-index: 200;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.winner-img {
    background: url("img/winner.jpg") no-repeat;
    width: 364px;
    height: 244px;
    margin: 50px auto;
    display: none;
    z-index: 200;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.link-reload {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 2.20vw;
    justify-content: center;
    align-items: center;
    display: inline-block;
    align-content: center;
    font-weight: bold;
    font-family: 'gotham pro', monospace, sans-serif;
    border: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    outline: none;
    background: #d40000;
    cursor: pointer;
	padding: 15px 20px;
}	

@media screen and (orientation:portrait) {
	.information {
		background-size: 600px 584px;
		background-position: left;
	}
	#rectangles{
		width: 375px;
		overflow: hidden;
		background: url(img/bg1.png) repeat-y;

	}
	.poloska {
		left: 0px; 
	}
	.ask {
		padding: 30px 0px;
	}
	#rectangles span {
		background-size: contain;
	}
	.pl-height-block{
		width:100%;
	}
	.poloska{
		width:100%!important;
	}
}	
	