.timeline {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.event {
  position: relative;
  padding: 20px 20px 20px 40px;
  margin-bottom: 20px;
  border-left: 4px solid #3498db;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.event::before {
  content: "📍";
  position: absolute;
  left: 10px;
  top: 20px;
  font-size: 1.2em;
}

.event h3 {
  margin: 0 0 10px;
  color: #2c3e50;
}

.event p {
  margin: 0;
  color: #555;
}

#btnSideBar {
  color:white;
  border:none;
  background-color:#2c3e50;
}

.comment-area textarea {
  width: 100%;
  height: 80px;
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
  margin-bottom: 10px;
}

.comment-area button {
  padding: 8px 16px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.comment-area button:hover {
  background-color: #2980b9;
}

.comment-box {
  background-color: #f0f8ff;
  border-left: 4px solid #3498db;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

.comment-header {
  font-weight: bold;
  margin-bottom: 5px;
  color: steelBlue;
}

.comment-input:focus {
  outline: none;
  border: 2px solid #ADD8E6; /* azul claro */
  box-shadow: 0 0 5px #ADD8E6;
}

.reply-box {
  background-color: #e8f4ff;
  margin-left: 20px;
  margin-top: 5px;
  padding: 8px;
  border-radius: 5px;
  border-left: 3px solid #85c1e9;
}

.reply-area textarea {
  width: 100%;
  height: 60px;
  padding: 8px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
  margin-bottom: 5px;
}

.reply-area button {
  padding: 6px 12px;
  background-color: #2e86c1;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.reply-area button:hover {
  background-color: #21618c;
}

.comment-box button {
  padding: 6px 12px;
  background-color: #5dade2;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  margin-top: 8px;
}

.comment-box button:hover {
  background-color: #3498db;
}

.dropdown-menu {
	width: max-content; /* ajusta à largura do conteúdo */
}

.dropdown-item {
	width:auto;		
	padding-right: 10px;
}

.tab-bloco {
    border: 1px solid #aaa;
    border-radius: 6px;
    margin: 10px 0;
    background-color: #f9f9f9;
}

.tab-titulo {
    background-color: #ccc;
    color: #fff;
    padding: 8px 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
}

.tab-titulo:focus {
    border: 1px solid #add8e6;
    box-shadow: 0 0 0 2px #add8e6;
    outline: none; /* remove o contorno padrão */
}  

.tab-conteudo {
    display: none;
    padding: 10px;
    border-top: 1px solid #aaa;
}

.tab-editor {
    min-height: 80px;
    border: 1px solid #ccc;
    padding: 8px;
}

.tab-editor:focus {
    border: 1px solid #add8e6;
    box-shadow: 0 0 0 2px #add8e6;
    outline: none; /* remove o contorno padrão */
}   

.tab-conteudo.collapsed {
    display: none;
}

.tab-conteudo.active {
    display: block;
}

.comment-input:focus {
  outline: none;
  border: 2px solid #ADD8E6; /* azul claro */
  box-shadow: 0 0 5px #ADD8E6;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-conteudo {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.fechar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#editor pre {
  background: #282c34;
  color: #abb2bf;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

.bloco-codigo button {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
}

.bloco-codigo button:hover {
  background-color: #666;
}

pre {
    border-radius: 5px;
}

.video-youtube {
  width: 680px;
  height: 480px;
  max-width: 100%; 
}

/* Para telas menores (ex.: celulares) */
@media (max-width: 600px) {
  
}


@media (max-width: 768px) {
  .imagem-clickavel {
      width: 100%;
      height: 50%;
  }
  body {
    font-size:80%;
  }
  .event{
    padding: 20px 10px 20px 10px;      
  }
  .video-youtube {
    width: 100%;
    height: auto; /* ajusta proporcionalmente */
    aspect-ratio: 16 / 9; /* mantém proporção do vídeo */
  }
}

@media (max-width: 480px) {
  .imagem-clickavel {
      width: 100%;
      height: 50%;
  }
  body {
    font-size:80%
  }
  .event{
    padding: 20px 10px 20px 10px;      
  }
  .video-youtube {
    width: 100%;
    height: auto; /* ajusta proporcionalmente */
    aspect-ratio: 16 / 9; /* mantém proporção do vídeo */
  }
}
