body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: url('tropico.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #000;
}

.georgia-semibold {
  font-family: Georgia, serif;
  font-weight: 600;
}

#sidebar {
  position: fixed;
  right: 20px;
  top: 80px;
  width: 220px;
  padding-left: 1em;
  text-align: center;
}

#sidebar img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.5em;
}

#sidebar h2 {
  font-family: Georgia, serif;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #000;
}

#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #000;
}

#sidebar a {
  color: #000;
  text-decoration: none;
  font-size: 0.85em; /* texto más pequeño */
}

#sidebar a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  padding: 0.5em 1em;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background-color: #0066cc;
  color: white;
  margin-top: 1em;
  display: block;
}

#editorContainer {
  display: none;
  margin-top: 2em;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#editor {
  height: 200px;
}

#editorControls {
  margin-top: 0.5em;
  display: flex;
  gap: 1em;
}

#posts {
  margin-top: 2em;
  max-width: 650px;
  padding-right: 260px; /* espacio para sidebar */
}

.post {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5em;
}

/* Contador de olas */
.contador-olas {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  text-align: center;
  cursor: pointer;
  user-select: none;
  width: max-content;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.4em 1em;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.oculto {
  display: none;
}

#formularioPrivado {
  margin-top: 1em;
  text-align: center;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
