@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

:root {
    --primary-color: #1f5568;
    --secondary-color: #E9C46A;
    --accent-color: #F4A261;
    --background-color: #264653;
    --text-color: #FFFFFF;
    --buttom-color: #E1B92B;
}
 body {
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
  box-sizing: border-box;
}

/* Cabeçalho */
header {
  background-color: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header nav ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

header nav ul li {
  display: inline;
  margin: 0 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

header nav ul li a:hover {
  text-decoration: underline;
  color: #3498db;
}

/* Container da notícia */
.news-detail-container {
  width: 80%;
  margin: 40px auto;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  /* Impede transbordamento */
}

.news-detail-container:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Título da notícia */
.news-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #2c3e50;
  text-align: center;
  font-weight: bold;
}

/* Imagem da notícia */
.news-image-container {
  text-align: center;
  margin-bottom: 25px;
}

.news-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Conteúdo da notícia */
.news-content {
  font-size: 1.2em;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  word-wrap: break-word;
  /* Garante que o conteúdo não ultrapasse os limites */
}

/* Data de publicação */
.news-date {
  text-align: right;
  font-style: italic;
  color: #999;
  font-size: 1em;
}

.news-stats{
  display: flex;
  justify-content: center;
  align-items: center;
}

.reactions {
  margin: 30px 0;
  text-align: center;
}

.reaction-form {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.like-btn, .dislike-btn {
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.like-btn {
  background-color: #28a745;
  color: white;
}

.dislike-btn {
  background-color: #dc3545;
  color: white;
}

.like-btn:hover, .dislike-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.count {
  font-size: 1.1em;
}

.comments-section {
  background-color: white;
  width: 80%;
  margin: 30px auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.comments-section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.comment-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.comment-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.comment-form button:hover {
  background-color: #164052;
}

.comments-list {
  margin-top: 30px;
}

.comment {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid var(--secondary-color);
}

.comments-list {
  margin-top: 30px;
}

.comment {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid var(--secondary-color);
}

.comment h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.comment time {
  color: #666;
  font-size: 0.9em;
  display: block;
  margin-bottom: 10px;
}

.comment p {
  color: #333;
  line-height: 1.6;
}

.share-buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 20px;
  margin-bottom: 10px;
}

.share-button{
  text-decoration: none;
}

.facebook{
  background-color: #3498db;
  padding: 10px;
  border-radius: 5px;
  color: papayawhip;
}

.x{
  background-color: #030405;
  padding: 10px;
  border-radius: 5px;
  color: papayawhip;
  max-width: 70px;
}

.whatsapp{
  background-color: #12ac26;
  padding: 10px;
  border-radius: 5px;
  color: papayawhip;
}

.comments-list{
  display: block;
}













/* Rodapé */

.blog-footer {
  background-color: #acaca6;
  color: black;
  padding: 30px;
  align-items: center;
  justify-content: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-content {
  margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #14120c;
}


.logo {
  width: 50%;
  cursor: pointer;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo {
  height: 120px;
  margin-bottom: 0.5rem;
}

.footer-title {
  font-size: 1.2rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #14120c;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgb(7, 5, 5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f8d56b;
}

.footer-contact p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: rgb(12, 7, 7);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f8d56b;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(29, 16, 16, 0.7);
}

.developer {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}







@media (max-width: 1180px) {
  .section-header {
      align-items: center;
      justify-content: center;
      padding: 20px;
  }

  .logo-1{
      justify-content: center;
  }

  .hist-img {
      width: 97%;
  }

  .logo {
      width: 70%;
      cursor: pointer;
  }

  .comands {
      display: none;
  }

  .title {
      font-size: 15px;
  }

  .hamburger {
      display: block;
  }

  .comands {
      display: none;
      /* Oculta o menu por padrão */
      position: absolute;
      top: 70px;
      align-items: center;
      justify-content: center;
      background: var(--primary-color);
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      /* Adiciona a camada superior */
  }

  .comands ul {
      display: flex;
      flex-direction: column;
      /* Exibir itens verticalmente */
      gap: 10px;
  }

  .carousel {
      width: 100%;
      height: 250px;
  }

  .carousel-inner {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%;
      height: 100%;
      margin-right: 28px;
  }

  /* Botões de navegação */
  .prev,
  .next {
      margin-top: 10px;
  }

  .news {
      grid-template-columns: 1fr;
  }

  article img {
      height: 150px;
  }

  .title_news {
      font-size: 16px;
  }

  .btn-ler {
      padding: 6px 12px;
  }

  .footer-menu li {
      display: flex;
      margin-right: 5px;
      flex-direction: column;
  }

  h1 {
      font-size: 20px;
  }

  .section-second {
      display: flex;
      flex-direction: column;
  }

  .col-1 {
      width: 80%;
      margin: 10px;
      padding: 5px;
  }

}

