*{
    margin: 0;
    padding: 0;
}


@import url('https://fonts.googleapis.com/css?family=Lato');

body, html{
	font-family: 'Lato', sans-serif;
    background: url(image/958982_d0b3.jpg);
    background-size: cover;
}


.green_tab{
  color: #666;
  display: block;
  position: relative;
  width: 100%;
}

.green_tab input[type=radio]{
  position: absolute;
  visibility: hidden;
}

.green_tab label{
  display: block;
  position: relative;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
    margin-top: 10px
}



#ans{
    position: relative;
    top: -8px;
    left: 40px;
    color:#666;
}

.green_tab .check{
  display: block;
  position: absolute;
  border: 5px solid #666;
  border-radius: 100%;
  height: 20px;
  width: 20px;
  top: 0px;
  left: 20px;
	z-index: 5;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
    margin-top: 3px !important;
}


.green_tab .check::before {
  display: block;
  position: absolute;
	content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  top: 5px;
	left: 5px;
  margin: auto;
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ .check {
  border: 5px solid #000;
}

input[type=radio]:checked ~ .check::before{
  background: #000;
}

input[type=radio]:checked ~ label span{
  color: #000 !important;
}


.general{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}
.header{
    width: 1000px;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
    margin: auto;
    position: relative;
    background: #fff;
    font-family: monospace;
    height: 80px;
}
.header::before {
    content: "";
    position: absolute;
    right: 100%;
    width: 10%;
    height: 100%;
}
.quiz_variants form label{
    padding: 10px;
}
.header::before {
    top: 0px;
    background: linear-gradient(to bottom left, #fff 50%, transparent 51%);
}
.header::after {
    content: "";
    position: absolute;
    left: 100%;
    width: 10%;
    height: 100%;
}

.header::after {
    bottom: 0px;
    background: linear-gradient(to bottom right, #fff 50%, transparent 51%);
}
.variants{
    width:530px;
    margin:20px auto;
    position: relative;
    background: #fff;
}
.variants::after {
    content: "";
    position: absolute;
    left: 100%;
    width: 220px;
    height: 100%;
}

.variants::after {
    bottom: 0px;
    background: linear-gradient(to bottom right, #fff 50%, transparent 51%);
}
.variants::before {
    content: "";
    position: absolute;
    right: 100%;
    width: 220px;
    height: 100%;
}

.variants::before {
    bottom: 0px;
    background: linear-gradient(to bottom left, #fff 50%, transparent 51%);
}
.quiz_variants form{
    display: flex;
    flex-direction: column;
    padding: 0px;
    font-family: monospace;
}
.quiz_variants form span{
    padding-left: 20px;

}
.count_next{
    width: 30%;
    margin: auto;
    display: flex;
    justify-content:flex-end;
}
.count{
    width: 50%;
    text-align:center; 
    font-size: 20px;
    font-weight: 800;
    color: #000;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}
.time_title{
    width: 100px;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 0;
}
.time{
    padding: 10px;
    background: #FF6500;
    border-radius: 12px;
    color: #fff;
}
.pulse{
    animation-name: puls;
    position: relative;
    animation-duration: 0.5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    color: #fff;
}

.next {
	position: relative;
    color: rgba(255,255,255,1);
    text-decoration: none;
    background-color: rgba(219,87,5,1);
    font-family:monospace;
    font-weight: 700;
    font-size: 20px;
    display: block;
    padding: 1px;
    margin: 0px auto;
	width: 100px;
	text-align: center;
	transition: all .1s ease;
    border: none;
    border-radius: 10px;
    outline: none;
}
.next:hover{
    cursor: pointer;
}
.next:active {
    
    position: relative;
    top: 2px;
}
@keyframes puls {
    0%{background: red;padding: 10px;
    color: #fff;border-radius: 12px;}
}
.response .right, .procent, .spent_time{
    text-align: center;
    font-weight: 800;
}
.response h3{
    text-align: center;
    letter-spacing: 2px;
    font-size: 21px;
    padding: 20px
}
.responses{
    display: none;
    background: rgba(255,255,255,0.7);
}
.want{
    width: 300px;
    padding: 30px;
    position: absolute;
    top: -23%;
    left: 0;
    right: 0;
    margin: auto;
    height: 100px;
    background: #FF6500;
    border-radius: 10px;
    z-index: 2222;
}

.asks{
    width: 100%;
    text-align: center;
    padding-top: 30px;
}
.asks button:hover{
    cursor: pointer;
}
.yes, .no{
    padding: 5px;
    background: #000;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-family: monospace;
}
.response{
    display: none;
    background: #fff;
    margin-top:  20px;
}
.responses h2{
    padding-left: 30px;
}
.white_text{
    color: #000;
    font-family: monospace;
    font-size: 20px;
}
.responses p{
    padding-left: 70px;
}
.progres_bar{
    height: 4px;
    background: #000;
    transition: all 1s linear;
}

@media screen and (max-width:1200px) and (min-width:991px) {
    .header {
        width: 650px;
    }
    .header::before {
        width: 8%;
    }
    .header::after {
        width: 8%;
    }
    .variants {
        width: 400px;
    }
    .variants::before {
        width: 115px;
    }
    .variants::after {
        width: 115px;
    }
    .count{
        color: #000;
    }
}
@media screen and (max-width:991px) and (min-width:767px) {
    .header {
        width: 500px;
    }
    .header::before {
        width: 10%;
    }
    .header::after {
        width: 10%;
    }
    .variants {
        width: 270px;
    }
    .variants::before {
        width: 110px;
    }
    .variants::after {
        width: 110px;
    }
   .count_next {
        width: 50%;
    }
    .green_tab .check{
        height: 10px;
        width: 10px;
        top: 0px;
        left: 20px;
        
    }
    .green_tab .check::before{
        height: 5px;
    width: 5px;
    top: 2.4px;
    left: 3px;
    }
}






























