@import url('https://fonts.googleapis.com/css2?family=Oswald&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@media print {
	body {
		margin: 0 !important;
	}
}

.main-container {
	font-family: 'Lato';
	/* width: fit-content;
	margin-left: auto;
	margin-right: auto; */
	width: 100%;
	margin: auto;
}

.ck.ck-editor__editable.ck-content,
.course-main-content.ck-content {
	font-family: 'Lato';
	line-height: 1.6;
	word-break: break-word;
	overflow-wrap: anywhere;
}

/* .editor-container_classic-editor .editor-container__editor {
	min-width: 795px;
	max-width: 795px;
} */

.editor-container_include-block-toolbar {
	margin-left: 42px;
}

.ck.ck-editor__editable.ck-content h3.category,
.course-main-content.ck-content h3.category {
	font-family: 'Oswald';
	font-size: 18px;
	font-weight: bold;
	color: #555;
	letter-spacing: 2px;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	white-space: normal;
	overflow-wrap: anywhere;
}

.ck.ck-editor__editable.ck-content h2.document-title,
.course-main-content.ck-content h2.document-title {
	font-family: 'Oswald';
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: bold;
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 1.1;
	white-space: normal;
	overflow-wrap: anywhere;
}

.ck.ck-editor__editable.ck-content h3.document-subtitle,
.course-main-content.ck-content h3.document-subtitle {
	font-family: 'Oswald';
	font-size: 1.25rem;
	color: #555;
	margin: 0 0 0.75em;
	font-weight: bold;
	padding: 0;
	white-space: normal;
	overflow-wrap: anywhere;
}

.ck.ck-editor__editable.ck-content p.info-box,
.course-main-content.ck-content p.info-box {
	padding: 1rem 1.25rem;
	border: 1px solid #f9a8d4;
	background: #fff1f7;
	border-radius: 12px;
	margin: 1.25em 0;
	box-shadow: none;
}

.ck.ck-editor__editable.ck-content span.marker,
.course-main-content.ck-content span.marker {
	background: yellow;
}

.ck.ck-editor__editable.ck-content span.spoiler,
.course-main-content.ck-content span.spoiler {
	background: #000;
	color: #000;
}

.ck.ck-editor__editable.ck-content span.spoiler:hover,
.course-main-content.ck-content span.spoiler:hover {
	background: #000;
	color: #fff;
}

.ck.ck-editor__editable.ck-content pre.fancy-code,
.course-main-content.ck-content pre.fancy-code {
	border: 0;
	margin-left: 2em;
	margin-right: 2em;
	border-radius: 10px;
	white-space: pre-wrap;
	word-break: break-word;
}

.ck.ck-editor__editable.ck-content pre.fancy-code::before,
.course-main-content.ck-content pre.fancy-code::before {
	content: '';
	display: block;
	height: 13px;
	background: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NCAxMyI+CiAgPGNpcmNsZSBjeD0iNi41IiBjeT0iNi41IiByPSI2LjUiIGZpbGw9IiNGMzZCNUMiLz4KICA8Y2lyY2xlIGN4PSIyNi41IiBjeT0iNi41IiByPSI2LjUiIGZpbGw9IiNGOUJFNEQiLz4KICA8Y2lyY2xlIGN4PSI0Ny41IiBjeT0iNi41IiByPSI2LjUiIGZpbGw9IiM1NkM0NTMiLz4KPC9zdmc+Cg==);
	margin-bottom: 8px;
	background-repeat: no-repeat;
}

.ck.ck-editor__editable.ck-content pre.fancy-code-dark,
.course-main-content.ck-content pre.fancy-code-dark {
	background: #272822;
	color: #fff;
	box-shadow: 5px 5px 0 #0000001f;
}

.ck.ck-editor__editable.ck-content pre.fancy-code-bright,
.course-main-content.ck-content pre.fancy-code-bright {
	background: #dddfe0;
	color: #000;
	box-shadow: 5px 5px 0 #b3b3b3;
}
