@charset "UTF-8";
/* CSS Document */
#content_container { 
	font-family: Raleway, sans-serif; 
	padding: 30px 10px; 
	max-width: 1000px; 
	margin: auto; 
}

.ttl_quiz {
	font-size: 1.8em;
	line-height: 1.2em;
	margin-bottom: 8px;
}
.txt_quiz {
	font-size: 1.2em;
}

   .question, #result {
      max-width: 600px;
      margin: 30px auto;
      background: #fff;
      padding: 1em;
      border-radius: 4px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      display: none;
	     opacity: 0;
      transition: opacity 0.3s;
    }

    .question.active {
      display: block;
      opacity: 1;
    }

    .options {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.8em;
      margin-top: 1.5em;
    }

    .option-card {
      padding: 0 0 0.8em 0;
      border: 1px solid #ddd;
      border-radius: 10px;
      background: #fdfdfd;
      text-align: center;
      cursor: pointer;
      transition: transform 0.1s, box-shadow 0.3s;
    }

    .option-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .option-card img {
      width: 100%;
		border-radius: 4px;
      margin-bottom: 0.5em;
    }

    .result-card {
      text-align: center;
    }

    .result-image {
      width: 100%;
      border-radius: 15px;
      margin-bottom: 1em;
    }

.percentage-note {
	font-weight: bold;
}

.btn-link, .restart-btn {
      display: inline-block;
      margin-top: 1em;
      padding: 0.8em 1.5em;
      border-radius: 2px;
      color: white;
      text-decoration: none;
      font-size: 0.9em;
      transition: background 0.3s;
    }

.btn-link {
     background: #ED9300;
	border: 2px solid #000;
}
.btn-link:hover {
    background: #F4C16C;
 }

.restart-btn {
	background: #007bff;
	display:block;
	margin: 1em auto;
	text-align: center;
}
.restart-btn:hover {
      background: #5DAAFD;
}




}


@media only screen and (max-width: 600px) {

#content_container { 
	padding: 30px 0; 
	max-width: 100%; 
}
	
.question, #result {
      width: 100%;
      margin: 0;
      background: #fff;
      padding: 1.5em;
      border-radius: 4px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      display: none;
      transition: opacity 0.3s;
    }
	
	
	

}