body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
}

.news h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
}

.news article {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.news article h4 a {
    color: #4caf50;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.news article h4 a:hover {
    text-decoration: underline;
}

.news article p {
    color: #bdbdbd;
    font-size: 14px;
}

.news .date {
    color: #888888;
    font-size: 12px;
    display: block;
    margin-top: 8px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1B1B1B;
    padding: 15px 20px;
    color: white;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

#search {
    background: #1e1e1e;
    color: #ffffff;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
}

.fa-search {
    position: absolute;
    right: 10px;
    color: gray;
    cursor: pointer;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.embed-responsive video,
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

#tvContainer {
    width: 100%;
    margin: 20px auto;
    max-height: 200px;
}
#tvContainer video {
    width: 100%;
    max-height: 200px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.news img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #ee5252;
}

@media (max-width: 1023px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    main {
        margin-top: 70px;
    }
}

@media (min-width: 1024px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    #tvContainer {
        position: fixed;
        top: 70px;
        left: 20px;
        width: 600px;
        max-width: 600px;
        z-index: 1100;
        max-height: 300px;
    }

    #tvContainer video {
        width: 100%;
        max-height: 300px;
        display: block;
        border-radius: 8px;
        object-fit: contain;
    }

    .columns-container {
        margin-top: 70px;
        padding: 20px;
    }

    .news-wrapper {
        margin-left: 640px;
        width: calc(100% - 640px);
        padding: 20px;
        box-sizing: border-box;
    }

    main {
        margin-top: 70px;
    }

    #app {
        margin-left: 640px;
    }
}

@media (max-width: 768px) {
    .news article h4 a {
        font-size: 16px;
    }
    .news article p {
        font-size: 13px;
    }
    .news .date {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .news h3 {
        font-size: 18px;
    }
    .news article {
        padding: 10px;
    }
    .news article h4 a {
        font-size: 14px;
    }
    .news article p {
        font-size: 12px;
    }
    .news .date {
        font-size: 10px;
    }
    
    #search {
        width: 120px;
    }
}

/* ===== Estilos do Menu Responsivo ===== */
#menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
}

#menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

#menu ul li {
  margin: 20px 0;
}

#menu ul li a {
  color: white;
  font-size: 24px;
  text-decoration: none;
}

/* Botão de fechar o menu */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: white;
  z-index: 2100;
}


.img-responsiva {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  border-radius: 8px;
}
