@import url('https://fonts.googleapis.com/css2?family=Material+Icons');
#title{
	color: white;
}
body {
	display: flex;
	flex-direction: column;
	height: 100vh;
	margin: 0;
	font-family: 'Garamond', 'Times New Roman', serif;
	background-color: #333;
	background-image: url(../img/wall.webp);
	color: #fff;
}
#controls {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#editor, #preview {
	width: 50%;
	height: calc(100% - 10px); /* Controlsの高さを差し引く */
	border: solid 2px #555;
	box-sizing: border-box;
	margin: 5px;
}
#editor {
	padding: 10px;
	font-family: 'Courier New', monospace;
	background-color: #fff;
	max-width: 600px;
}
#preview {
	background-color: #fff;
	background-image: url(../img/paper.webp);
	max-width: 600px;
	padding: 0;
	pointer-events: none; 
}
button {
	margin-left: 10px;
	padding: 5px 8px;
	background-color: #004Bcc;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	border-radius: 0.3rem;
	border-bottom: 5px solid #0686b2;
	background: #27acd9;
}
button:hover {
	margin-top: 3px;
	border-bottom: 2px solid #0686b2;
	color: #fff;
}
.material-icons{
	font-size: 16px;
}
#download:hover {
	background-color: #0056b3;
}
h1{
	text-align: center;
}
h2{
	padding-top: 1em;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Garamond', 'Times New Roman', serif;
	margin:0;
	color: #660000;
	padding-left: 10px;
}
#container {
	display: flex;
	flex-grow: 1;
	justify-content: center;
}
#fileName{
	background: #eee;
}
#saveWarning, #loadWarning, #deleteWarning {
	color: #000;
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid #ccc;
	background: #fff;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#settings {
	color: #000;
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid #ccc;
	background: #fff;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#alert {
	display: none;
	position: fixed;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	background: #4caf50;
	color: white;
	padding: 10px;
	border-radius: 5px;
	opacity: 0;
	transition: opacity 1s ease-out;
}
.gear-icon {
	color: #ddd;
	font-size: 25px;
	cursor: pointer;
	position: fixed;
	top: 8px;
	right: 10px;
}
#fileName{
	font-size: 1.2em;
	border-radius: 5px;
	margin: 10px;
	padding: 5px;
	min-width: 80px;
}