/* @import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=IM+Fell+English+SC&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Crimson+Pro&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre&display=swap');

body { 
   font-family: 'Averia Serif Libre', cursive; 
   background-color: #1e1b18; 
   color: #f5f0e1;
   margin: 0;
   display: flex;
}
nav {
   width: 200px;
   background-color: #2b2621;
   padding: 20px;
   border-right: 2px solid #7c5e3c;
   box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
   height: 100vh;
}
nav h1 {
   font-size: 1.5em;
   margin-bottom: 20px;
}
nav ul {
   list-style: none;
   padding: 0;
}
nav li {
   margin: 10px 0;
}
nav a {
   color: #f5f0e1;
   text-decoration: none;
   font-size: 1.1em;
}
nav a:hover {
   color: #ffeebb;
}
#mainContent {
   flex-grow: 1;
   padding: 20px;
   text-align: center;
}
h2 {
   font-size: 2.5em;
   margin-bottom: 10px;
}
#container {
   max-width: 540px;
   margin: 0 auto;
}
canvas { 
   border: 3px solid #7c5e3c; 
   margin-top: 10px; 
   cursor: move; 
   background: #2b2621;
   box-shadow: 0 0 10px rgba(255, 238, 200, 0.3);
}
#controls, #instructions, #formArea {
   margin-top: 20px;
}
select, input[type="file"], button {
   font-family: 'Uncial Antiqua', cursive;
   font-size: 1em;
   padding: 8px 12px;
   background-color: #3a312b;
   color: #f5f0e1;
   border: 1px solid #7c5e3c;
   border-radius: 4px;
   margin: 5px;
}
button:disabled {
   opacity: 0.5;
   cursor: not-allowed;
}
#saveBtn {
   font-size: 1.2em;
   padding: 10px 20px;
}
button:hover:enabled {
   background-color: #5a4a3b;
}
#instructions {
   font-size: 1.1em;
   line-height: 1.5;
   background-color: #2b2621;
   padding: 15px;
   border-radius: 8px;
   border: 1px solid #7c5e3c;
   box-shadow: 0 0 10px rgba(255, 238, 200, 0.2);
   text-align: left;
}
#instructions ul {
   padding-left: 20px;
   margin: 0;
} 
#result {
  margin-top: 2em;
  padding: 1em;
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  text-align: left;
}
#result > div {
  margin-bottom: 1em;
}
.name {
  font-size: 1.4em;
  font-weight: bold;
  color: #ffdd88;
}
.section-title {
  font-weight: bold;
  color: #d4af37;
}