
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

body {
  font-family: 'Press Start 2P', monospace;
  background-color: #e6b16a;
  color: #3a1e0e;
  overflow-x: hidden;
  -webkit-font-smoothing: none;
}


body::before, body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  background-image: url('imagens.nuvens.png');
  background-repeat: repeat-x;
  background-size: 30%;
  opacity: 0.8;
  z-index: -1;
  animation: clouds-move 90s linear infinite;
}

body::after {
  background-image: url('imagens.nuvens2.png');
  opacity: 0.4;
  animation-duration: 160s;
}

@keyframes clouds-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 232, 180, 0.85);
  border: 2px solid #b57638;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

#jar-header h1 span {
  display: block;
  text-align: center;
  color: #3a1e0e;
  font-size: 20px;
}

#jar-header h2 span {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #5a2f1a;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background: rgba(60, 40, 20, 0.85);
  color: #fce8b5;
  padding: 18px 10px;
  overflow-y: auto;
}

.sidebar a {
  color: #fce8b5;
  text-decoration: none;
}

.sidebar h3 span {
  color: #fce8b5;
  font-size: 10px;
}

.main {
  margin-left: 240px;
  padding: 20px;
}

h3 span {
  display: inline-block;
  background: #fcd37c;
  color: #3a1e0e;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  box-shadow: inset 1px 1px rgba(255,255,255,0.3);
}

p {
  font-size: 11px;
  line-height: 1.6;
  color: #3a1e0e;
}

#jar-footer {
  text-align: center;
  font-size: 10px;
  margin-top: 20px;
  color: #3a1e0e;
}

#jar-footer a {
  color: #5a2f1a;
  text-decoration: none;
}

@media (max-width: 900px) {
  .sidebar { position: static; width: 100%; height: auto; }
  .main { margin-left: 0; }
}
