* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background: #93acdd;
	color: #000;
	font-family: 'Langar', cursive;
}

a {
	color: inherit;
	text-decoration: none;
}

.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.topbar {
	height: 78px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px 0 17px;
	gap: 24px;
	flex-wrap: wrap;
}

.brand {
	font-size: 32px;
	line-height: 1;
	white-space: nowrap;
}

nav {
	display: flex;
	align-items: center;
	gap: 39px;
	font-size: 20px;
	white-space: nowrap;
}

.nav-link {
	position: relative;
	padding-bottom: 2px;
}

.nav-link.active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-bottom: 1px dotted #000;
}

.hero {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 134px 51px 0 50px;
	display: grid;
	grid-template-columns: minmax(0, 665px) minmax(0, 626px);
	align-items: center;
	column-gap: 51px;
}

.copy {
	min-width: 0;
}

.copy h1 {
	margin: 0 0 41px;
	font-size: 40px;
	line-height: 1;
	font-weight: 400;
		width: fit-content;
}

.intro-text {
	max-width: 665px;
	font-size: 32px;
	line-height: 1.28;
	color: #fff;
	text-align: justify;
}

.intro-text p {
	margin: 0 0 31px;
}

.intro-text p:last-child {
	margin-bottom: 0;
}

.image-card {
	margin: 0;
	width: 100%;
	max-width: 626px;
	border: 5px solid #eee0ff;
	border-radius: 10px;
	box-shadow: 0 4px 4px 5px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.15);
}

.image-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 85px 51px 32px 50px;
}

.cta p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 32px;
	line-height: 1;
	flex-wrap: wrap;
}

.start-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 134px;
	height: 34px;
	margin: 0 10px;
	padding: 0 20px;
	border-radius: 20px;
	background: #83fff7;
	color: #000;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.start-button:hover,
.start-button:focus-visible {
	filter: brightness(0.97);
	transform: translateY(-1px);
	outline: none;
}

.materials-page {
	min-height: 100vh;
}

.materials-layout {
	position: relative;
	width: 100%;
	max-width: 1440px;
	min-height: calc(100vh - 78px);
	margin: 0 auto;
	padding-top: 37px;
	background: #93acdd;
}

.materials-list {
	position: absolute;
	left: 0;
	top: 37px;
	width: 529px;
	display: flex;
	flex-direction: column;
	gap: 31px;
	padding-left: 10px;
}

.materials-list h1 {
	margin: 0;
	font-size: 40px;
	line-height: 1;
	font-weight: 400;
	color: #000;
}

.material-block {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 134px;
	border-radius: 0 10px 10px 0;
	color: #fff;
	font-size: 32px;
			justify-self: start; /* Keep mobile layout unchanged */
			width: 100%; /* Keep mobile layout unchanged */
}

.material-block span {
	display: block;
	transform: translateY(2px);
}

.material-paracord {
	background: #bd1487;
}

.material-scissors {
	background: #8824b6;
}

.material-tape {
	background: #587bdd;
}

.material-lighter {
	background: #a7dd58;
}

.materials-images {
	position: absolute;
	left: 700px;
	top: 27px;
	width: 802px;
	height: 795px;
}

.materials-images img {
	position: absolute;
	display: block;
	object-fit: cover;
	box-shadow: none;
}

.image-paracord {
	left: 49px;
	top: 0;
	width: 339px;
	height: 226px;
}

.image-scissors {
	left: 485px;
	top: 150px;
	width: 317px;
	height: 199px;
}

.image-tape {
	left: 0;
	top: 303px;
	width: 291px;
	height: 160px;
}

.image-clips {
	left: 470px;
	top: 467px;
	width: 307px;
	height: 175px;
}

.image-lighter {
	left: 119px;
	top: 614px;
	width: 271px;
	height: 181px;
}

.next-page-button {
	position: absolute;
	right: 53px;
	bottom: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 172px;
	height: 31px;
	border-radius: 20px;
	background: #83fff7;
	color: #000;
	font-size: 32px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.next-page-button:hover,
.next-page-button:focus-visible {
	filter: brightness(0.97);
	transform: translateY(-1px);
	outline: none;
}

.assessment-page {
	min-height: 100vh;
}

.assessment-layout {
	position: relative;
	width: 100%;
	max-width: 1440px;
	min-height: calc(100vh - 78px);
	margin: 0 auto;
	background: #93acdd;
}

.tutorial-panel {
	position: absolute;
	left: 54px;
	top: 43px;
	width: 761px;
	margin: 0;
}

.tutorial-panel h1 {
	margin: 0 0 16px;
	font-size: 40px;
	line-height: 1;
	font-weight: 400;
	color: #000;
}

.tutorial-frame {
	margin: 0;
	width: 761px;
	height: 761px;
	border: 10px solid #6806af;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
}

.tutorial-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.assessment-copy {
	position: absolute;
	left: 859px;
	top: 262px;
	width: 533px;
	color: #000;
	font-size: 24px;
	line-height: 1.4;
}

.assessment-note {
	margin: 0 0 30px;
	white-space: pre-wrap;
}
.assessment-page-content {
	position: relative;
	width: 100%;
	max-width: 1440px;
	min-height: calc(100vh - 78px);
	margin: 0 auto;
	padding: 118px 54px 0;
	background: #93acdd;
}

.assessment-title {
	margin: 0 auto 63px;
	max-width: 900px;
	font-size: 40px;
	line-height: 1;
	font-weight: 400;
	text-align: center;
	color: #c80302;
	text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff;
}

.quiz-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 54px;
	align-items: start;
	justify-content: center;
}

.quiz-card {
	font-size: 24px;
	line-height: 1.25;
	color: #000;
}

.quiz-card h2 {
	margin: 0 0 28px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 400;
}

.quiz-card ul {
	list-style: none;
	padding: 0 0 0 42px;
	margin: 0 0 30px;
}

.quiz-card li {
	margin: 0 0 8px;
}

.quiz-card p {
	margin: 0;
}

.quiz-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.quiz-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 24px;
}

.quiz-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	line-height: 1.25;
}

.quiz-option input {
	margin-top: 7px;
	accent-color: #000;
}

.quiz-submit {
	align-self: flex-start;
	border: 0;
	border-radius: 18px;
	padding: 10px 16px;
	background: #fff;
	color: #000;
	font: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.quiz-submit:hover,
.quiz-submit:focus-visible {
	filter: brightness(0.97);
	transform: translateY(-1px);
	outline: none;
}

.quiz-feedback {
	min-height: 1.4em;
	font-size: 22px;
	line-height: 1.2;
}

.feedback-correct {
	color: #1a8f1a;
}

.feedback-incorrect {
	color: #b40101;
}

.answer {
	color: #b40101;
}

.quiz-card-right {
	text-align: left;
}

.sequence-order {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.sequence-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 6px 0;
}

.sequence-item {
	border: 0;
	border-radius: 18px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.85);
	color: #000;
	font: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: grab;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.sequence-item.is-dragging {
	opacity: 0.55;
	cursor: grabbing;
}

.sequence-check {
	align-self: center;
}

.sequence-feedback {
	text-align: left;
	min-height: 1.4em;
}

.assessment-image {
	position: absolute;
	right: 98px;
	bottom: 25px;
	margin: 0;
	width: 371px;
	height: 295px;
	border: 5px solid #000;
	border-radius: 10px;
	box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	background: #fff;
}

.assessment-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.assessment-link-block {
	margin: 0;
	white-space: normal;
}

.assessment-link-block a {
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-all;
}

.assessment-banner {
	position: absolute;
	left: 0;
	top: 283px;
	width: 595px;
	height: 82px;
	background: #5ee2ff;
	display: flex;
	align-items: center;
	padding: 0 7px;
}

.assessment-banner p {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
	color: #fff;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	white-space: nowrap;
}

@media (max-width: 1200px) {
	.hero {
		grid-template-columns: 1fr;
		row-gap: 40px;
		padding-top: 80px;
	}

	.image-card {
		max-width: 100%;
	}

	.materials-layout {
		position: static;
		min-height: auto;
		padding: 32px 20px 40px;
		display: grid;
		gap: 28px;
	}

	.materials-list,
	.materials-images,
	.next-page-button {
		position: static;
		width: 100%;
		height: auto;
	}

	.materials-list {
		padding-left: 0;
	}

	.materials-images {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.materials-images img {
		position: static;
		width: 100%;
		height: auto;
	}

	.next-page-button {
		justify-self: end;
	}

	.assessment-layout {
		position: static;
		min-height: auto;
		padding: 32px 20px 40px;
		display: grid;
		gap: 28px;
	}

	.tutorial-panel,
	.assessment-copy,
	.assessment-banner {
		position: static;
		width: 100%;
		height: auto;
	}

	.tutorial-panel {
		top: auto;
		left: auto;
	}

	.tutorial-frame {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.assessment-banner {
		padding: 16px 18px;
	}

	.assessment-banner p {
		white-space: normal;
	}

	.assessment-page-content {
		position: static;
		min-height: auto;
		padding: 32px 20px 40px;
	}

	.assessment-title {
		margin-bottom: 28px;
		font-size: 32px;
	}

	.quiz-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.assessment-image {
		position: static;
		width: min(100%, 371px);
		height: auto;
		aspect-ratio: 371 / 295;
		margin-left: auto;
	}
}

@media (max-width: 768px) {
	.topbar {
		height: auto;
		padding: 16px 20px;
	}

	.brand {
		font-size: 26px;
		white-space: normal;
	}

	nav {
		gap: 18px;
		font-size: 18px;
		flex-wrap: wrap;
	}

	.hero {
		padding: 48px 20px 0;
	}

	.copy h1,
	.intro-text,
	.cta p {
		font-size: 24px;
	}

	.intro-text p {
		margin-bottom: 20px;
	}

	.cta {
		padding: 44px 20px 24px;
	}

	.material-block,
	.materials-list h1,
	.next-page-button {
		font-size: 24px;
	}

	.materials-images {
		grid-template-columns: 1fr;
	}

	.tutorial-panel h1,
	.assessment-copy,
	.assessment-banner p {
		font-size: 24px;
	}

	.assessment-note {
		margin-bottom: 16px;
	}

	.assessment-title {
		font-size: 24px;
	}

	.quiz-card,
	.quiz-card h2,
	.quiz-card p,
	.quiz-card li,
	.quiz-submit,
	.quiz-feedback {
		font-size: 18px;
	}

	.quiz-card ul {
		padding-left: 16px;
	}

	.quiz-options {
		padding-left: 16px;
	}

	.sequence-item {
		font-size: 18px;
	}
}

.is-hidden {
	display: none;
}

.certificate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 339px;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 20px;
	background: #83fff7;
	color: #000;
	font: inherit;
	font-size: 32px;
	line-height: 1;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.sequence-certificate-link {
	align-self: center;
	text-decoration: none;
}

.sequence-certificate-link.is-hidden {
	display: none;
}

.assessment2-page {
	min-height: 100vh;
}

.assessment2-layout {
	position: relative;
	width: 100%;
	max-width: 1440px;
	min-height: calc(100vh - 78px);
	margin: 0 auto;
	background: #93acdd;
}

.assessment2-heading-wrap {
	position: absolute;
	left: 0;
	top: 106px;
	width: 731px;
	height: 134px;
}

.assessment2-title {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	font-size: 96px;
	line-height: 1;
	font-weight: 400;
	color: #ffdc69;
	white-space: nowrap;
}

.assessment2-top-image {
	position: absolute;
	right: 8px;
	top: 76px;
	margin: 0;
	width: 541px;
	height: 406px;
	border-radius: 10px;
	overflow: hidden;
}

.assessment2-top-image img,
.assessment2-bottom-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.assessment2-bottom-image {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	width: 368px;
	height: 368px;
	overflow: hidden;
	border-radius: 10px;
}

.assessment2-message {
	position: absolute;
	right: 0px;
	bottom: 53px;
	width: 1046px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding-right: 48px;
	text-align: center;
}

.assessment2-message p {
	margin: 0;
	font-size: 36px;
	line-height: 1.45;
	color: #000;
}

.assessment2-message .certificate-button {
	margin-top: 2px;
}

.assessment3-page {
	min-height: 100vh;
}

.assessment3-layout {
	width: 100%;
	max-width: 1440px;
	min-height: calc(100vh - 78px);
	margin: 0 auto;
	padding: 21px 0 29px;
	background: #93acdd;
}

.certificate-frame {
	margin: 0 auto;
	width: min(1213px, calc(100% - 56px));
	aspect-ratio: 1213 / 833;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.certificate-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.certificate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 339px;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 20px;
	background: #83fff7;
	color: #000;
	font: inherit;
	font-size: 32px;
	line-height: 1;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
	text-decoration: none;
}

.certificate-button:hover,
.certificate-button:focus-visible {
	filter: brightness(0.97);
	transform: translateY(-1px);
	outline: none;
}

@media (max-width: 1200px) {
	.assessment3-layout {
		padding: 24px 20px 32px;
	}

	.certificate-frame {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.certificate-button {
		min-width: 260px;
		font-size: 24px;
	}

	.assessment2-message {
		padding-right: 0;
	}

	.assessment2-message p {
		font-size: 24px;
	}
}
