@charset "UTF-8";

.area-check{

    max-width:900px;
	width: 100%;
    margin:auto;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.area-header{

    background:#504520;
    color:#fff;
    text-align:center;
    padding:20px;

}

.area-header h2{

    font-size:28px;
    margin-bottom:10px;

}

@media screen and (max-width: 768px) {
  .area-header h2 {
    font-size:18px;
  }
}




.area-header p{

    opacity:.9;

}

.progress{

    height:10px;
    background:#ddd;

}

.progress span{

    display:block;
    width:0%;
    height:100%;
    background:#4CAF50;
    transition:.4s;

}

.area-content{

    padding:40px;

}

.question{

    animation:fade .4s;
}

@keyframes fade{

from{

opacity:0;
transform:translateY(20px);

}

to{

opacity:1;
transform:none;

}

}

.question h3{

    font-size:24px;
    margin-bottom:30px;

}




.cards{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;

}

.card{

padding:10px;

background:#fff;

border:2px solid #ddd;

border-radius:10px;

cursor:pointer;

transition:.3s;

text-align:center;

}

.card:hover{

border-color:#2196F3;

background:#EAF5FF;

transform:translateY(-3px);

}

.card .icon{

font-size:48px;
margin-bottom:10px;

}

.card h4{

font-size:20px;

}

@media screen and (max-width: 768px) {
	.card h4{
		font-size:16px;
	}	
}

.result{

display:none;

}

.rank{

margin:20px 0;
padding:20px;
background:#f8f8f8;
border-radius:10px;

}

.rank h3{

color:#2196F3;
margin-bottom:10px;

}

.cta{

margin-top:40px;

background:#FFF6E8;

padding:30px;

border-radius:10px;

text-align:center;

}

.cta a{

display:inline-block;

margin-top:20px;

background:#ff7b00;

color:#fff;

padding:18px 40px;

text-decoration:none;

border-radius:8px;

font-size:20px;

font-weight:bold;

transition:.3s;

}

.cta a:hover{

transform:translateY(-3px);

}

@media screen and (max-width: 768px) {
.cta a{
	padding:18px 10px;
	font-size:16px;
}
	
}

.restart{

display:block;

margin:40px auto 0;

padding:15px 40px;

background:#666;

color:#fff;

border:none;

border-radius:8px;

cursor:pointer;

font-size:18px;

}

@media(max-width:768px){

.area-content{

padding:20px;

}

.question h3{

font-size:18px;

}

.cards{

/*grid-template-columns:1fr;*/

}

.card{

padding:8px;

}

}
