/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
  font-family: 'Roboto', sans-serif; /* Fonte mais moderna e legÃ­vel */
  line-height: 1.6; /* Melhor espaÃ§amento entre linhas */
  background-color: #ffedd5; /* Fundo mais suave */
  color: #333;
}

    #buscador {
        display: none;
        width: 100%;
    }
	
/* Classe para títulos e texto ocultos visualmente, mas acessíveis para leitores de tela */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Cabeçalho */
.header {
    background-color: #280033;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 10px solid orange;
}

.logo a {
    text-decoration: none;
    color: white;
    font-weight: bold;
} 

    header {
      background-color: #2c3e50;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
/*      position: fixed; */
      width: 100%;
      top: 0;
      z-index: 1000;
    }

    header h1 {
      font-size: 20px;
    }

    nav {
      display: flex;
      gap: 20px;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      font-weight: bold;
    }

    nav a:hover {
      text-decoration: underline;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      width: 30px;
      height: 24px;
      cursor: pointer;
      position: relative;
    }

    .hamburger span {
      position: absolute;
      height: 3px;
      width: 100%;
      background-color: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .hamburger span:nth-child(1) {
      top: 0;
    }

    .hamburger span:nth-child(2) {
      top: 10px;
    }

    .hamburger span:nth-child(3) {
      top: 20px;
    }

    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg);
      top: 10px;
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg);
      top: 10px;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #34495e;
      padding: 60px 20px;
      box-shadow: 2px 0 5px rgba(0,0,0,0.2);
      transition: left 0.3s ease;
      z-index: 999;
    }

    .mobile-menu.open {
      left: 0;
    }

    .mobile-menu a {
      display: block;
      color: white;
      text-decoration: none;
      margin-bottom: 20px;
      font-size: 18px;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0,0,0,0.4);
      display: none;
      z-index: 998;
    }

    .overlay.show {
      display: block;
    }

    @media (max-width: 768px) {
      nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }
    }
	
	/* Layout Principal */
.main-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #ffedd5;
}

/* Seções de Conteúdo */
.sinopse-content, .posts {
    width: 70%;
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.7;}

	
.sinopse-content img, .posts img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.sinopse-content h2 {
    color: #c0392b;
}

.sinopse-content p {
    color: 999;
    margin-bottom: 10px;
}

/* Posts */
.posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 15px;
    border: 1px solid #ddd;
    border: 1px solid gray;
}

.post h3 {
    margin-bottom: 5px;
}

.date {
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}

.post p {
    margin-bottom: 10px;
    color: #555;
}

.post a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.post a:hover {
    text-decoration: underline;
}

/* Sinopse */
.sinopse-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.genre, .rating {
    font-size: 16px;
    color: #777;
    margin-bottom: 10px;
}

.sinopse-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.sinopse-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    display: inline;
}

.btn-voltar {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-voltar:hover {
    background-color: #004a99;
}

/* Barra Lateral */
.sidebar {
    width: 30%;
    padding: 10px;
    position: sticky;
    top: 20px;
}

.sidebar h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.ad {
    background-color: #ddd;
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: bold;
}

.recommendation {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.recommendation-image {
    width: 60px;
    height: 90px;
    border-radius: 5px;
    margin-right: 10px;
    object-fit: cover;
}

.recommendation-info h4 {
    font-size: 18px;
    margin: 0;
}

.recommendation-info a {
    color: #c0392b;
    text-decoration: none;

}

.recommendation-info a:hover {
    text-decoration: underline;
}

.recommendation-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

/* Rodapé */

    .footer {
      background-color: #0b1f3a;
      color: #fcd980;
      text-align: center;
      padding: 30px;
      font-size: 22px;
      border-bottom: 10px solid orange;
      margin-top: 40px;
    }

    .footer h2 {
      margin: 0;
    }
	/* Responsividade */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 0;
    }

    #buscador {
        display: block;
    }
	
    .posts {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        position: relative;
    }

    .sinopse-content {
        width: 100%;
    }
}


/* Seção de Busca */
.search-section {
    width: 100%;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-form button {
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: #004a99;
}

/* Resultados */
.results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
    align-items: center;
}

.result-image {
    width: 60px;
    height: 90px;
    border-radius: 5px;
    object-fit: cover;
}

.result-info h3 {
    margin: 0 0 10px;
}

.result-info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsividade para busca */
@media (max-width: 768px) {
    .results {
        grid-template-columns: 1fr;
    }

    .search-section, .result {
        width: 100%;
    }
}

    blockquote {
      border-left: 5px solid var(--accent-color);
      background-color: #fceeee;
      padding: 20px;
      margin: 30px 0;
      font-style: italic;
      color: #555;
    }