* {
	box-sizing: border-box;
}

html {
	background: #122e40;
	background-attachment: fixed;
}

body {
	margin: 20px;
	font: 24px/1 "Brandon Grotesque", sans-serif;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
}

a {
	color: #ffefb2;
	text-decoration: none;
}

h1,
h2 {
	margin: 0 0 0 140px;
	font-weight: normal;
	text-align: center;
}

h1 {
	margin-bottom: 10px;
	font-size: 60px;
	color: #ffefb2;
	font-weight:700;

}

h2 {
	margin-bottom: 20px;
	font-size: inherit;
}

.quiz-container {
	margin: 60px auto;
	min-width: 800px;
	max-width: 1200px;
}

.side {
	float: left;
	width: 120px;
	margin-right: 20px;
}

.toast {
	margin-top: -20px;
	width: 120px;
	height: 150px;
	transform: translateY(0);
	animation: toast 5s infinite;
}
@keyframes toast {
	50% {
		transform: translateY(10px);
	}
	100% {
		transform: translateY(0);
	}
}

.neutral-toast {
	background-image: url(https://crownpointdesigns.com/wp-content/uploads/2026/06/CPD_Logo_Icon.svg); background-repeat:no-repeat;
}

.happy-toast {
	background-image: url(https://crownpointdesigns.com/wp-content/uploads/2026/06/happy-bear.png);
}

.sad-toast {
	background-image: url(https://crownpointdesigns.com/wp-content/uploads/2026/06/sad-bear.png);
}

.main {
	margin-left: 140px;
}

.start {
	width: 100%;
	margin: 0;
	padding: 10px 20px;
	border: solid 6px rgba(255, 255, 255, 0.8);
	border-radius: 16px;
	font: 40px "Brandon Grotesque", sans-serif;
	color: #fff;
	background: #447891 linear-gradient(rgba(255, 255, 255, 0.3), transparent);
	background-size: auto 180%;
	background-position: 0 80%;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: background-position 0.2s;
}
.start:hover {
	background-position: 0 0;
}
.start:focus {
	outline: none;
}

.started {
	display: none;
}

.input {
	width: 100%;
	margin: 0;
	padding: 10px 20px;
	border: solid 6px rgba(255, 255, 255, 0.8);
	border-radius: 16px;
	font: 40px "Museo Sans", sans-serif;
	color: #ffefb2;
	background-color: rgba(255, 255, 255, 0.3);
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2), 0 0 6px rgba(0, 0, 0, 0.2);
}
.input:focus {
	outline: none;
}
.input:disabled {
	opacity: 0.3;
	transition: opacity 0.5s;
}

.status {
	padding: 10px 0;
	margin-bottom: 10px;
}
.status::after {
	content: "";
	display: block;
	clear: both;
}

.status-timer {
	float: left;
}

.status-current-score {
	float: right;
}

.status-final-results {
	display: none;
	float: left;
}

.status-toggle-answers {
	display: none;
	float: right;
}

.time-remaining {
	color: #ffefb2;
}

.answers {
	margin: 0;
	padding: 20px 0 10px;
	border-top: dotted 2px rgba(255, 255, 255, 0.8);
}
.answers::after {
	content: "";
	display: block;
	clear: both;
}

.answers li {
	display: block;
	float: left;
	margin: 0 10px 10px 0;
	padding: 10px;
	border: solid 1px rgba(255, 255, 255, 0.8);
	font-family: "Museo Sans", sans-serif;
	text-shadow: none;
	background-color: rgba(255, 255, 255, 0.3);
	opacity: 0;
	transform: translateY(-40px);
	animation: answer 0.5s ease-out forwards;
}


@keyframes answer {
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
.answers li:last-child {
	margin-right: 0;
}

.scored-answers {
	color: #43d20b;
}

.missed-answers {
	display: none;
	color: #fff;
}

.footnote {
	display: none;
	padding-top: 20px;
	border-top: dotted 2px rgba(255, 255, 255, 0.8);
	text-align: right;
}

/* image gallery */
.icon-gallery {background:#efefef; margin:60px auto; padding:15px;}
.quiz-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr); /* Creates 4 equal-width columns */
  gap: 1rem; /* Space between columns */
	margin:10px auto;
}

/* 2. Center the content inside each column */
.logo-column {
  display: grid;
  place-items: center;   
  }

.logo-container {
  position: relative; /* Needed for absolute positioning of the checkmark */
  display: inline-block;
}
.logo-container img {max-width:60px; height:auto;}

/* This creates the checkmark overlay */
.logo-container.answered-correctly::after {
  content: '✔'; /* You can replace this with a background-image URL for a custom icon */
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: green;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Tablet view: collapses to 2 columns */
@media (max-width: 900px) {
  .responsive-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile view: collapses to 1 single column */
@media (max-width: 600px) {
  .responsive-row {
    grid-template-columns: 1fr;
  }
}