/* Base Styling */
.retro-theme body {
  font-family: 'Courier New', Courier, monospace; /* Simple retro typewriter font */
  background-color: #f4f4f1; /* Off-white background */
  color: #333333; /* Dark text color */
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Title */
.retro-theme #title {
  font-size: 3rem;
  font-weight: bold;
  color: #1a1a1a; /* Deep black */
  margin: 20px 0;
  border-bottom: 3px solid #1a1a1a;
  padding-bottom: 10px;
  letter-spacing: 2px;
}

/* Subtitle */
.retro-theme #subtitle {
  font-size: 1.25rem;
  color: #666666; /* Softer grey */
  margin-bottom: 40px;
}

/* Navbar Styling */
.retro-theme #navbar ul {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  background-color: #e0e0e0; /* Light gray background */
  border-bottom: 2px solid #1a1a1a;
}

.retro-theme #navbar li {
  margin: 0 20px;
}

.retro-theme #navbar a {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  border: 1px solid #1a1a1a; /* Black border for structure */
  background-color: #cccccc;
  transition: all 0.3s ease;
}

.retro-theme #navbar a:hover {
  background-color: #999999;
  color: #ffffff;
}

/* Editor Container */
.retro-theme #editor-container {
  width: 70%;
  margin: auto;
  padding: 15px;
  border: 2px solid #1a1a1a;
  border-radius: 5px;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Toolbar */
.retro-theme #toolbar {
  margin-bottom: 15px;
  display: flex
}

.retro-theme #toolbar button {
  padding: 10px;
  background-color: #cccccc;
  border: 1px solid #1a1a1a;
  color: #333333;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.retro-theme #toolbar button:hover {
  background-color: #999999;
}

/* Editor */
.retro-theme #editor {
  min-height: 300px;
  padding: 10px;
  background-color: #f4f4f1; /* Soft off-white */
  color: #1a1a1a;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  outline: none;
  white-space: pre-wrap;
}

/* Menus Styling */
.retro-theme #settings-menu,
.retro-theme #file-menu,
.retro-theme #keywords-menu, 
.retro-theme #ls-menu
{
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  padding: 15px;
  background-color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none; /* Hidden by default */
}

.retro-theme #settings-menu h3,
.retro-theme #file-menu h3,
.retro-theme #keywords-menu h3 {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 20px;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 10px;
}

/* Menu Buttons */
.retro-theme #settings-menu button,
.retro-theme #file-menu button,
.retro-theme #keywords-menu button {
  padding: 10px;
  background-color: #cccccc;
  border: 1px solid #1a1a1a;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.retro-theme #settings-menu button:hover,
.retro-theme #file-menu button:hover,
.retro-theme #keywords-menu button:hover {
  background-color: #999999;
  color: #ffffff;
}

/* Codeblock */
.retro-theme .codeblock {
  background-color: #333333;
  color: #00ff00; /* Bright green like old terminals */
  font-family: 'Courier New', monospace;
  padding: 10px;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  white-space: pre;
  overflow: auto;
}

/* Overlay */
.retro-theme #overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

/* Button Hover Animation */
.retro-theme button:hover {
  transition: transform 0.2s;
  transform: scale(1.05);
}

.retro-theme #saving-pop {
  padding: 10px 5px;
  background-color: #CCCCCC;
  border: 1px solid #1A1A1A;
  color: #333333;
  font-size: 1rem;
  cursor: pointer;
}

.retro-theme #saving-pop-icon {
    content: "saving...";
}
