@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
	margin: 0px;
	padding: 0px;
	font-family: "Kanit", sans-serif;
}
body{
	min-height: 100vh;
	background-color: #dbd6d2;
}
h1 {
  	font-weight: 700;
}
h2 {
  	font-weight: 600;
}
h3 {
  	font-weight: 500;
}
h4 {
  	font-weight: 300;
}
h5 {
  	font-weight: 200;
}
h6 {
  	font-weight: 100;
}
p {
  	font-weight: 300;
}

.restart-container {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	top: 15px;
	right: 33px;
}
#restart {
	color: white;
	background-color: red;
	padding: 5px;
	border: none;
	border-radius: 5px;
}
#restart:hover {
	cursor: pointer;
}

.top-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#resetBtn {
	padding: 3px 5px;
	border: none;
	color: white;
	border-radius: 4px;
	background-color: rgb(167, 153, 135);
}
#resetBtn:hover {
	cursor: pointer;
}

.container{
	padding: 20px 0px 0px 30px;
	display: flex;
	gap: 0;
	max-width: 100vw;
	overflow-x: hidden;
	justify-content: flex-start;
}
.column-left{
	flex: 2;
	display: flex;
	flex-direction: column;
}
.column-right{
	flex: 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.output-row{
	display: flex;
	justify-content: space-evenly;
}
#editor{
	height: 500px;
	border: 0px;
	box-sizing: border-box;
	overflow-x: hidden;
}
.CodeMirror{
	font-size: 20px;
	width: 100% !important;
	height: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	white-space: pre-wrap;
}
iframe{
	width: 400px;
	height: 350px;
	border: 0px;
	background-color: rgb(255, 255, 255);
}
canvas{
  	display: none;
}

.score-container{
	display: flex;
	justify-content: space-evenly;
}
.score{
	margin-top: 10px;
}
.buttons{
	display: flex;
	justify-content: flex-end;
}
.score-button{
	background-color: #7b7374;
	color: #fff;
	margin: 22px;
	padding: 20px 40px;
	font-size: 15px;
	border-radius: 20px;
	font-weight: 500;
	border: 0px;
}
.score-button:hover{
	cursor: pointer;
	background-color: #433E3F;
}

.full-level-container {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	bottom: 25px;
	right: 25px;
	background-color: rgb(71, 71, 71);
	padding: 25px;
}
#levels-complete {
	margin-bottom: 10px;
	color: white;
}

.level-container {
	display: flex;
	align-items: center;
	bottom: 25px;
	right: 25px;
	gap: 10px;
	background-color: rgba(255, 255, 255, 0.441);
	padding: 15px;
	border-radius: 15px;
}
.level-arrow {
	display: flex;
	border: none;
	background-color: #ffffff00;
}
.level-arrow.locked {
	color: lightgray;
	cursor: not-allowed;
}
.level-arrow.unlocked {
	color: black;
	cursor: pointer;
}

@media (max-width: 1385px) {
	.container {
		gap: 10px;
		margin: 0 10px;
	}

	.column-right {
		flex: 1;
	}

	.column-right .output-row{
		flex-direction: column;
	}
}
