@font-face {
	font-family: 'Mona Sans';
	src: url('../fonts/MonaSans-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-display: swap;
}

@font-face {
	font-family: 'Source Code Pro';
	src: url('../fonts/Source-Code-Pro-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/MaterialIcons-Regular.woff2') format('woff2');
}

.material-icons {
	font-family: 'Material Icons';
	font-style: normal;
	display: inline-block;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'liga';
	font-size: inherit;
	line-height: inherit;
	vertical-align: top;
	text-transform: none!important;
}

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

html {
	box-sizing: border-box;
	font-size: 62.5%;
}

html,
body,
main {
	width: 100%;
	height: 100%;
	color: #001d1d;
	overflow: hidden;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
}

*:focus,
button[type="button"]:focus {
	outline: 2px solid #ed5b00;
	outline-offset: 1px;
}

[tabIndex="-1"] {
	outline: none;
}

#header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4rem;
	width: 100%;
	background: #fff;
	color: #001d1d;
	z-index: 100;
}

#conteneur-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
	margin: auto;
	width: 100%;
	height: 4rem;
}

#conteneur-header .conteneur a,
#conteneur-header .conteneur {
	display: flex;
	align-items: center;
}

#conteneur-header .conteneur:first-child {
	width: calc(100% - 75px);
}

#logo {
	width: 24px;
	height: 24px;
	background: #00ced1;
	display: inline-block;
	border-radius: 50%;
}

#titre {
	display: inline-block;
	font-family: 'Mona Sans', sans-serif;
	font-size: 2rem;
	margin-left: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#titre:before {
	content: '';
	position: absolute;
	right: 0;
	width: 100%;
	top: 100%;
	bottom: auto;
	height: 0.8rem;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.04) 50%, transparent 90%, transparent);
}

#importer,
#exporter {
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	user-select: none;
}

#exporter {
	margin-right: 15px;
}

#editeur {
	position: absolute;
	top: 4rem;
	left: 0;
	right: 0;
	bottom: 0;
}

#editeur .toolbar,
#editeur .tooltip {
	color: #595959;
}

#editeur .tab:focus,
#editeur .icon:focus {
	outline-offset: -3px;
}

@media screen and (max-width: 399px) {
	#titre {
		max-width: calc(100% - 36px);
	}

	#conteneur-header .conteneur a {
		width: 100%;
	}
}

@media screen and (max-width: 599px) {
	html {
		font-size: 56.25%;
	}
}

.lecteur-ecran {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	*:not(#conteneur-chargement *),
	*:not(#conteneur-chargement *)::before,
	*:not(#conteneur-chargement *)::after {
		animation-duration: 0.01ms!important;
		animation-iteration-count: 1!important;
		transition-duration: 0s!important;
		transition-delay: 0s!important;
		scroll-behavior: auto!important;
	}
}

#editeur .cm-s-material .cm-tag {
	color: #ff8a9e;
}
