/* GLOBAL RESET */
  * { box-sizing: border-box; }
  
  /* FONTS */
  @font-face {
    font-family: 'GuardianTextSans';
    src: url('https://assets.guim.co.uk/static/frontend/fonts/guardian-textsans/noalts-not-hinted/GuardianTextSans-Bold.woff2')
        format('woff2'),
      url('https://assets.guim.co.uk/static/frontend/fonts/guardian-textsans/noalts-not-hinted/GuardianTextSans-Bold.woff')
        format('woff');
    font-weight: 700;
    font-style: normal;
  }


  @font-face {
    font-family: 'GuardianTextSans';
    src: url('https://assets.guim.co.uk/static/frontend/fonts/guardian-textsans/noalts-not-hinted/GuardianTextSans-Regular.woff2')
        format('woff2'),
      url('https://assets.guim.co.uk/static/frontend/fonts/guardian-textsans/noalts-not-hinted/GuardianTextSans-Regular.woff')
        format('woff');
    font-weight: 400;
    font-style: normal;
  }

@font-face {
  font-family: "iconFont";
  src: url('guardianIcons_2014.ttf') format('truetype');
}
  

  /* BODY */
  body {
    font-family: 'GuardianTextSans', sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 15px; /* Mobile first padding */
    margin: 0;
    color: #000;
    /* min-height: 100vh; */
  }

  /* CONTAINER */
  .quiz-container {
    background-color: #ffb500;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 650px;
    margin: auto; /* Centers vertically if flex container has height */
  }

  h1 {
    text-align: center;
    color: #000;
    margin-bottom: 25px;
    font-size: 1.6rem;
  }

  /* QUESTIONS */
  .question-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
  }
  
  .question-text {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.4;
  }

  /* OPTIONS */
  .options label {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 15px 15px 15px 50px; 
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    transition: all 0.2s ease;
    font-weight: 500;
  }
  
  /* HIDE RADIO INPUT */
  .options input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* CUSTOM CHECKMARK CIRCLE */
  .checkmark {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: #eee;
    border-radius: 50%;
    border: 2px solid #ccc;
  }
  
  /* CHECKED STATE */
  .options input:checked ~ .checkmark {
      background-color: #ffb500;
      border-color: #ffb500;
  }
  .options input:checked + label {
      background-color: #e8f4fd;
      border-color: #ffb500;
  }

  /* HOVER (Only on non-touch devices) */
  @media (hover: hover) {
    .options label:hover:not(.correct-choice):not(.wrong-choice) {
      background-color: #f0f8ff;
      border-color: #bdc3c7;
    }
  }

  /* FEEDBACK COLORS */
  .correct-choice {
      background-color: #d4edda !important;
      border-color: #28a745 !important;
      color: #155724;
  }
  .correct-choice .checkmark {
       background-color: #28a745;
       border-color: #28a745;
  }

  .wrong-choice {
      background-color: #f8d7da !important;
      border-color: #dc3545 !important;
      color: #721c24;
  }
  .wrong-choice .checkmark {
       background-color: #dc3545;
       border-color: #dc3545;
  }

  /* BUTTON */
  .submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'GuardianTextSans', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
  }
  .submit-btn:hover { background-color: #34495e; }

  /* RESULTS */
  #resultBox {
    margin-top: 25px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
    display: none;
  }
  .success-message {
      background-color: #d4edda;
      color: #155724;
      border: 3px solid #28a745;
  }
  .retry-message {
      background-color: #f8d7da;
      color: #721c24;
      border: 3px solid #dc3545;
  }

  /* DESKTOP TWEAKS */
  @media (min-width: 600px) {
    body { padding: 40px; }
    .quiz-container { padding: 40px; }
    h1 { font-size: 2rem; }
  }

.bisonContent p:last-child {
  padding-bottom: 10px;
}
.invisible {
  display: none;
}

.readMore {
  position: relative;
  width: 100%;
  background: #f1f1f1;
  height:40px;
}

.readMoreIcon {
  font-family: iconFont;
  position: absolute;
  top: 5px;
  background-color: #121212;
  left: 8px;
  border-radius: 100em;
  font-size: 17px;
  width: 70px;
  height: 25px;
  text-align: center;
  display: inline;
  cursor: pointer;
  padding-top: 4px;
}
.readMoreIcon:hover {
  background-color: #f00000;
}

.readMoreIcon p{
	color:#ffffff;
	font-family: "GuardianTextSans", sans-serif;
	font-weight: 700;
	position:absolute;
	top:4px;
	right:8px;
	margin:0;
	font-size:13px;
	text-align: center;
}

#icon_show{
	fill: white;
    width: 20px;
    height: 20px;
    margin-right: 40px;
}

#icon_hide{
	fill: white;
    width: 20px;
    height: 20px;
    margin-right: 40px;
}