@import url('https://fonts.googleapis.com/css2?family=Gravitas+One&display=swap');

body {
	background-image: url("burgerbackground.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

p {
	padding: 10px;
	margin: 10px;
	background: rgba(256,256,256,0.8);
	color: rgb(43, 8, 43);
  	font-family: "Gravitas One", serif;
	border-radius: 10px;
	border: rgb(43, 8, 43) solid 3px;
}

h1, h2 {
	padding: 10px;
	margin: 10px;
	color: rgb(256,256,256);
	background: rgba(43, 8, 43,0.8);
  	font-family: "Gravitas One", serif;
	border-radius: 40px;
	border: rgba(256,256,256) solid 3px;
	text-align: center;
}

button img { 	
	pointer-events: none;
	height: 100px;
}

#burger_status img {
	width: 200px;
	display: block;
	margin-bottom: -50px;
	position: relative;
}

#burger_status {
	position: absolute;
	top: 40px;
	right:0;
	background: white;
	border: red solid 2px;
	border-radius: 10px;
	padding: 50px;
	margin: auto;
}

#price {
	position: absolute;
	top: 0px;
	right: 0px;
	text-align: right;
	margin: auto;
}

/* --- Concepts bar & instructions link (game page) --- */

#concepts-bar {
	text-align: center;
	margin: 10px auto 20px;
}

.concept-tag {
	display: inline-block;
	background-color: rgba(43, 8, 43, 0.85);
	color: white;
	font-family: "Gravitas One", serif;
	font-size: 0.8em;
	padding: 6px 14px;
	border-radius: 20px;
	margin: 4px;
}

.instructions-link {
	text-align: center;
	background: none;
	border: none;
}

.instructions-link a {
	display: inline-block;
	background-color: #2b082b;
	color: white;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: bold;
	font-family: Arial, sans-serif;
}

.instructions-link a:hover {
	background-color: #4a1a4a;
}

/* --- Instructions page layout --- */

.instructions-body {
	text-align: left;
	font-family: Arial, sans-serif;
	background-image: none;
	background-color: #fdf3fb;
}

.instr-header {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px 25px 10px;
	text-align: center;
}

.instr-eyebrow {
	font-family: "Gravitas One", serif;
	font-size: 0.85em;
	color: rgb(43, 8, 43);
	margin: 0 0 6px;
	background: none;
	border: none;
	padding: 0;
}

.instr-header h1 {
	font-family: "Gravitas One", serif;
	font-size: 1.9em;
}

.back-to-game {
	display: inline-block;
	margin-top: 10px;
	color: rgb(43, 8, 43);
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9em;
	font-family: Arial, sans-serif;
}

.back-to-game:hover {
	text-decoration: underline;
}

.quick-nav {
	max-width: 700px;
	margin: 0 auto 10px;
	padding: 0 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.quick-nav a {
	font-family: Arial, sans-serif;
	font-size: 0.82em;
	font-weight: bold;
	color: #222;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid rgba(43, 8, 43, 0.3);
	padding: 5px 14px;
	border-radius: 20px;
	transition: background-color 0.15s;
}

.quick-nav a:hover {
	background-color: #f3e6f3;
	border-color: rgb(43, 8, 43);
	color: rgb(43, 8, 43);
}

.info-section {
	max-width: 650px;
	margin: 22px auto;
	background-color: rgba(255, 255, 255, 0.95);
	border: rgba(43, 8, 43, 0.85) solid 3px;
	border-radius: 20px;
	padding: 22px 26px;
	font-family: Arial, sans-serif;
	color: #222;
	scroll-margin-top: 20px;
}

.info-section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin-bottom: 4px;
}

.info-icon {
	font-size: 1.3em;
	line-height: 1;
}

.info-section h2 {
	text-align: center;
	font-family: "Gravitas One", serif;
	color: rgb(43, 8, 43);
	margin: 0;
	background: none;
	border: none;
	padding: 0;
}

.cooldown-note {
	font-size: 0.85em;
	background-color: #fff3cd;
	border: 1px solid #ffe08a;
	border-radius: 8px;
	padding: 8px 12px;
}

#certificate-section p {
	text-align: center;
}

/* --- Hint Helper --- */

.hint-card {
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background-color: #fafafa;
}

.hint-label {
	margin: 0 0 10px;
	font-size: 1em;
	color: #222;
}

.hint-text {
	background-color: #f3e6f3;
	border-radius: 6px;
	padding: 8px 12px;
	margin: 8px 0;
	font-size: 0.92em;
}

.hint-answer {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
}

.hint-answer code {
	display: inline-block;
	margin-top: 4px;
	font-family: "Courier New", monospace;
	white-space: pre-wrap;
}

.hint-btn {
	margin-top: 8px;
	background-color: rgb(43, 8, 43);
	border: none;
	color: white;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
}

.hint-btn:disabled {
	background-color: #aaa;
	cursor: default;
}

/* --- Predict & Check --- */

.predict-question {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #ddd;
}

.predict-question:last-child {
	border-bottom: none;
}

.predict-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.predict-option-btn {
	text-align: left;
	background-color: #f3e6f3;
	color: #222;
	font-size: 0.95em;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	cursor: pointer;
}

.predict-option-btn:hover:not(:disabled) {
	background-color: #e6cce6;
}

.predict-option-btn:disabled {
	cursor: default;
	opacity: 0.75;
}

.predict-correct {
	background-color: #d4edda !important;
	border: 2px solid #28a745 !important;
	opacity: 1 !important;
}

.predict-wrong {
	background-color: #f8d7da !important;
	border: 2px solid #dc3545 !important;
	opacity: 1 !important;
}

.predict-feedback {
	margin-top: 10px;
	font-size: 0.9em;
}

.predict-feedback-correct {
	color: #1e7e34;
}

.predict-feedback-wrong {
	color: #a71d2a;
}

#creativity-section ul {
	padding-left: 20px;
}

#creativity-section li {
	margin-bottom: 10px;
}
