@font-face {
	font-family: 'Roboto';
	src: local("Roboto"), local("Roboto-Regular"),
		url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Space Mono';
	src: local('Space Mono'),
		url("../fonts/Space_Mono/SpaceMono-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Space Mono';
	src: local('Space Mono'),
		url("../fonts/Space_Mono/SpaceMono-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Space Mono';
	src: local('Space Mono'),
		url("../fonts/Space_Mono/SpaceMono-Italic.ttf") format("truetype");
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'Space Mono';
	src: local('Space Mono'),
		url("../fonts/Space_Mono/SpaceMono-BoldItalic.ttf") format("truetype");
	font-weight: 700;
	font-style: italic;
}











/* Basics */

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

* {
	margin: 0;
	padding: 0;
}

html {
	box-sizing: border-box;
	background: #FAF6ED;
	width: 100%;
	font-size: 16px;
}

body {
	padding: 1.5rem;
	max-width: 58rem;
	margin: 0 auto;
}

main {
	box-sizing: border-box;
}

footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	max-width: 928px;
}

header {
	display: flex;
	flex-direction: row;
	padding: 0;
	gap: 2rem;
	height: fit-content;
}

a {
	color: black;
	text-decoration: none;
}

a:hover {
	color: #0075FF;
}

h4,
h3,
h2,
h1,
a {
	margin: 0;
	font-family: 'Space Mono', 'Courier New', Courier, monospace;
}

.c,
.u {
	margin: 0;
	font-family: 'Space Mono', 'Courier New', Courier, monospace;
	text-transform: uppercase;
	letter-spacing: 0.074em;
}

p {
	margin: 0;
	font-family: 'Roboto', Tahoma, Verdana, sans-serif;
	font-size: 1rem;
	line-height: 1.375rem;
	font-weight: 400;
	letter-spacing: 0.048em;
}

h1 {
	font-size: 3rem;
	line-height: 4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

h2 {
	font-size: 2.25rem;
	line-height: 2.75rem;
	font-weight: 700;
}

h3 {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

h4 {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.c {
	font-weight: 400;
	font-size: .75rem;
	line-height: 1.125rem;
}

.u {
	text-decoration: underline;
	cursor: pointer;
	font-size: .75rem;
	line-height: 1.125rem;
	font-weight: 400;
}

.u:hover {
	color: #0075FF;
}

.title {
	justify-content: stretch;
	border: 1px solid black;
	background-color: white;
}

.breadcrumbs {
	display: flex;
	flex-direction: row;
	column-gap: .5rem;
}













/* Career Path */

.career {
	position: sticky;
	top: 1.5rem;
	max-width: 100%;
	min-width: 50%;
}

.fixed {
	position: fixed;
}

.careerTitle {
	color: white;
	height: 100%;
	width: 100%;
}

.careerCaption {
	height: 1.5rem;
}

.careerProf {
	color: #FFB800;
}

.careerDescription .student {
	width: 100%;
	height: fit-content;
}

.studentName {
	font-family: 'Space Mono', 'Courier New', Courier, monospace;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2rem;
}

#codecademy {
	width: 7.8125rem;
	height: 1.6875rem;
}

#codecademy:hover {
	fill: #0075FF;
}

#qrcode {
    width: fit-content;
    height: 10rem;
}

/* Challenges */

.challenges {
	align-items: flex-start;
	width: 100%;
}

.arrow {
	width: 1rem;
	height: .75rem;
}

.arrowBox {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(90deg);
	width: 2rem;
	height: 2rem;
}

.challengeList {
	align-items: center;
	stroke: black;
	user-select: none;
}

.challengeList:hover {
	stroke: #0075FF;
}

/* Challenge */

.challenge {
	width: 100%;
	height: 100%;
}

.open:hover {
	color: #0075FF;
	fill: #0075FF;
}

.unavailable {
	border: 1px dashed black;
    color: gray
}

.challengeTitle {
	min-height: 5.5rem;
	text-align: left;
}

.challengeCaption {
	max-width: 32.5rem;
	height: 1.5rem;
}

table {
	justify-content: stretch;
	width: 100%;
	margin: 0 auto;
	border: 1px solid black;
}

th,
td {
	padding: 1rem 1.25rem;
	width: auto;
	min-width: 8.75rem;
	text-align: left;
}

th {
	color: #FFB800;
	background-color: black;
}

/* Design system */

.lineLeft {
	width: 20.5rem;
}

.lineRight {
	flex-grow: 1;
}

.color {
	justify-content: stretch;
	vertical-align: top;
	flex-grow: 1;
}

.lineFont {
	background-color: white;
	border-radius: .25rem;
}

.fontSpaceMono {
	font-family: 'Space Mono';
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.fontRoboto {
	font-family: 'Roboto';
	text-transform: uppercase;
	letter-spacing: 0.12em;
}













.flex-col {
	display: flex;
	flex-direction: column;
}

.flex-row {
	display: flex;
	flex-direction: row;
}

.border {
	border-radius: .25rem;
}

/* Gap column */

.gap-col-4 {
	column-gap: .25rem;
}

.gap-col-8 {
	column-gap: .5rem;
}

.gap-col-16 {
	column-gap: 1rem;
}

.gap-col-32 {
	column-gap: 2rem;
}

.gap-col-64 {
	column-gap: 4rem;
}

.gap-col-80 {
	column-gap: 5rem;
}


/* Gap row */

.gap-row-4 {
	row-gap: .25rem;
}

.gap-row-8 {
	row-gap: .5rem;
}

.gap-row-16 {
	row-gap: 1rem;
}

.gap-row-32 {
	row-gap: 2rem;
}

.gap-row-64 {
	row-gap: 4rem;
}

.gap-row-80 {
	row-gap: 5rem;
}


/* Paddings */

.padding {
	padding: 1rem 1.25rem;
}

.padding-top-4 {
	padding-top: .25rem;
}

.padding-top-8 {
	padding-top: .5rem;
}

.padding-top-16 {
	padding-top: 1rem;
}

.padding-top-32 {
	padding-top: 2rem;
}

.padding-top-64 {
	padding-top: 4rem;
}

.padding-top-80 {
	padding-top: 5rem;
}

/* Colors */

.color-black {
	color: black;
}

.color-white {
	color: white
}

.color-primary {
	color: #0075FF;
}

.color-secondary {
	color: #FFB800;
}

.color-success {
	color: #00A52F;
}

.color-error {
	color: #D90000;
}

/* Colors background */

.color-bg-black {
	background-color: black;
}

.color-bg-white {
	background-color: white;
}

.color-bg-primary {
	background-color: #0075FF;
}

.color-bg-secondary {
	background-color: #FFB800;
}

.color-bg-success {
	background-color: #00A52F;
}

.color-bg-error {
	background-color: #D90000;
}

.block {
	padding: 2rem;
}

.justify-left {
    display: flex;
    justify-content: left;
}

.justify-right {
    display: flex;
    justify-content: right;
}

.justify-center {
    display: flex;
    justify-content: center;
}











/* Media */

@media only screen and (max-width: 720px) {
	html {
		font-size: 14px;
	}

	.responsive {
		display: flex;
		flex-direction: column !important;
	}

	h2 {
		font-size: 2rem;
	}

	header {
		display: flex;
		flex-direction: column;
	}

	.career {
		position: unset;
	}

	.block {
		padding: 1rem !important;
	}

	.col-to-row {
        flex-direction: row;
		row-gap: 2rem;
	}

	.row-to-col {
        flex-direction: column;
		column-gap: 2rem;
	}
}

@media only screen and (min-width: 1920px) {
	html {
		font-size: 20px;
	}
}

@media only screen and (min-width: 2160px) {
	html {
		font-size: 28px;
	}
}