/* Fundo quadriculado tons pastel */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Courier New', Courier, monospace;
  background-color: #f0ebe3;
  position: relative;
  overflow-x: hidden;
}

.background-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(90deg, #e2dcd4 1px, transparent 1px),
    linear-gradient(#e2dcd4 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.container {
  display: flex;
  height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.sidebar {
  width: 220px;
  background: #fff8f0;
  border-right: 2px dashed #d7c9b6;
  padding: 1.5em 1em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.tab {
  background: #f7e9d7;
  border: 2px solid #d7c9b6;
  padding: 0.8em 1em;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #c4b29a;
  transition: background-color 0.3s ease;
  user-select: none;
}

.tab:hover {
  background-color: #edd7b5;
}

.tab.active {
  background-color: #d9c6a3;
  border-color: #b8a784;
  box-shadow: none;
}

.content {
  flex-grow: 1;
  padding: 2em;
  background: #fffdf7;
  overflow-y: auto;
  box-sizing: border-box;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.main-title {
  font-size: 4rem;
  margin-bottom: 0.5em;
  user-select: text;
  outline: none;
}

.image-area, .video-area {
  background: #f7f0e8;
  padding: 1em;
  border: 2px dashed #d7c9b6;
  border-radius: 12px;
  min-height: 200px;
  overflow-y: auto;
  font-family: monospace;
  color: #6b5e44;
  user-select: text;
  outline: none;
}

h2 {
  margin-top: 0;
  font-weight: bold;
  color: #a07840;
}
