body {
            font-family: Arial, sans-serif;
            font-size: 20px;
            background-color: #ffffff;
            margin: 0;
            padding-top: 50px; /* Adiciona espaço para a barra de busca fixa */
        }


        .result-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            max-width: 92%;
            margin: 0 auto;
            margin-top: 5.5rem;
            margin-bottom: 4.5rem;
        }

        .result {
            overflow: hidden;
            background-color: #FFFFFF;
            border-radius: 10px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.3s ease;
        padding: 5px; /* Aumenta o padding para dar mais espaço dentro de cada item */
        width: 100%; /* Faz com que cada item ocupe todo o espaço disponível em sua célula da grid */
        }

        .result:hover {
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
        }

        .result img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 10px 10px 0 0;
        }

        .result h2 {
            font-size: 18px;
            margin: 10px;
            font-weight: 700;
            color: #333333;
        }

        .result p {
            font-size: 14px;
            margin: 10px;
            color: #666666;
            line-height: 1.5;
        }



@media (max-width: 768px) {
    .full-text {
        display: none; /* esconde o texto completo em telas pequenas */
    }

    .short-text {
        display: inline; /* mostra o texto curto em telas pequenas */
    }
}


        @media (min-width: 4800px) {
            .result-list {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }
        }

@media (max-width: 768px) {
    .search-bar {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .search-bar input[type="text"] {
        flex: 1;
    }
    
    #search-button {
        flex-shrink: 0;
        width: 40%; /* ajuste esta porcentagem conforme necessário */
    }
}
@media (max-width: 768px) {
    #search-button span {
        font-size: 95%; /* ajuste este valor conforme necessário */
    }
}

.search-bar {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #FFFFFF;
    border-radius: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    padding: 1rem;
    max-width: 100%;
    width: 90%;
    margin-top: .5rem;
    margin-bottom: 1rem;
    margin-left: auto; /* Centraliza horizontalmente */
    margin-right: auto; /* Centraliza horizontalmente */
}


        .search-bar input[type="text"] {
            flex-grow: 1;
            font-size: 1.6rem;
            border: none;
            border-radius: .5rem;
            padding: 1rem;
            margin-right: .2rem;
            height: 1rem;
            background-color: #F7F7F7;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.2s ease-in-out;
        }

        .search-bar input[type="text"]:focus {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
            outline: none;
            margin-top: 1px;
            margin-bottom: 1px;
        }

        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #ff0000;
            text-align: center;
            margin-top: 5px;
        }

        .logo {
            color: #ff0000;
            font-size: 300%;
            margin-top: 5rem;
            margin-bottom: .2rem;
        }

        .search-bar {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: .4rem;
            padding: .2rem;
            margin-top: .5rem;
            margin-bottom: 1rem;
        }

        #search-query {
            width: 80%;
            font-size: 1.3rem;
            border: none;
            background-color: transparent;
            margin-right: 1rem;
        }

        #search-button {
            background-color: #ff0000;
            border: none;
            border-radius: .4rem;
            color: #ffffff;
            cursor: pointer;
            font-size: 1.5rem;
            font-weight: bold;
            height: 2rem;
    width: 30%; /* ajuste esta porcentagem conforme necessário */
            outline: none;
            transition: background-color 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
    overflow: visible; /* permite que o conteúdo ultrapasse os limites do botão */
  margin-right: 5px;
}

        #search-button:hover {
            background-color: #990000;
        }

    .result {
        border: 1px solid #ccc;
        padding: 5px;
        margin-bottom: 5px;
    }



    .result p {
        margin: 0;
        line-height: 1.4;
    }

    .result a {
        color: #000000;
        font-weight: bold;
    }

    .result img {
        margin-right: 10px;
    }

    .embed-holder {
        position: relative;
        padding-bottom: 56.25%; /* Proporção 16:9 */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        height: auto;
    }

    .embed-holder iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Estilos para o rodapé */
    footer {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
        font-size: 8px;
        padding: 3px;
        background-color: #f2f2f2;
        border-top: 1px solid #ccc;
    }

    .search-input {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
        max-width: 100%;
        width: 90%;
    }

.category-buttons-container {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 998;
  max-width: 100%;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  white-space: nowrap;
  padding: 5px;
  background-color: transparent; /* Torna o fundo transparente */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adicione sombra para profundidade */
  overflow: hidden;
}

.category-buttons {
  display: flex;
  justify-content: space-between; /* Posiciona os botões nas extremidades */
  align-items: center;
}

.left-arrow,
.right-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #F7F7F7;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Adicione sombra para profundidade */
}

.left-arrow:hover,
.right-arrow:hover {
  background-color: #EAEAEA;
  transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

.category-button {
    margin: 0 0.5rem;
    background-color: #F7F7F7;
    border: none;
    border-radius: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: 'Arial', sans-serif; /* Substitua por qualquer fonte de sua escolha */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Adicione sombra para profundidade */
}

.category-button:hover {
    background-color: #EAEAEA;
    transform: scale(1.05); /* Adicione um efeito de "zoom" ao passar o mouse */
}

        .category-buttons-wrapper {
            display: flex;
            align-items: center;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .category-buttons-wrapper::-webkit-scrollbar {
            display: none;
        }

.category-button.all {
    background-color: #e8e9e8;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.all:hover {
    background-color: #d2d3d2;
}


.category-button.world-news {
    background-color: #e8e9e8;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.world-news:hover {
    background-color: #d2d3d2;
}

.category-button.entertainment {
    background-color: #e8e9e8;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.entertainment:hover {
    background-color: #d2d3d2;
}


.category-button.sports {
    background-color: #e8e9e8;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.sports:hover {
    background-color: #d2d3d2;
}

.category-button.videogames {
    background-color: #e8e9e8;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.videogames:hover {
    background-color: #d2d3d2;
}

.category-button.pins {
    background-color: #1f8aef;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.pins:hover {
    background-color: #d2d3d2;
}

.category-button.plus {
    background-color: #ff0000;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    border: none;
    padding: 0 5px; /* Espaçamento horizontal de 5px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.plus:hover {
    background-color: #d2d3d2;
}

.category-button.pin {
    background-color: #1f8aef;
    color: #ffffff;
    font-weight: bold;
    font-size: 30px;
    text-decoration: none;
    border: none;
    padding: 0 10px; /* Espaçamento horizontal de 10px */
    border-radius: 4px;
    line-height: 32px; /* Altura da linha para controlar o espaçamento vertical */
    transition: background-color 0.3s ease; /* Transição suave para a mudança de cor de fundo */
}

.category-button.pin:hover {
    background-color: #f8ae01;
}

/* CSS para posicionar o nome do site à direita do favicon */
.favicon-and-site {
  display: flex;
  align-items: center; /* Alinhe verticalmente ao centro */
margin-top: 10px;
margin-bottom: 5px;
}

.favicon-and-site a {
  display: flex; /* Use flexbox para alinhar os elementos horizontalmente */
  align-items: center; /* Alinhe verticalmente ao centro */
  text-decoration: none; /* Remova a decoração de link padrão */

}

.source-name {
  margin-left: 1px; /* Espaço entre o favicon e o nome do site */

}

/* CSS para manter o texto com alinhamento à esquerda */
.result {
  text-align: left; /* Define o alinhamento do texto para a esquerda */
}

.read-more-link {
  margin-top: 5px; /* Espaço de 20px acima do link */
  margin-bottom: 10px; /* Espaço de 20px abaixo do link */
  display: inline-block; /* Garante que a margem afete o espaço ao redor do link */
}

#myBtn {
            display: none;
            position: fixed;
            bottom: 40px;
            right: 12px;
            z-index: 99;
            font-size: 18px;
            border: none;
            outline: none;
            background-color: red;
            color: white;
            cursor: pointer;
            padding: 15px;
            border-radius: 4px;
        }

        #myBtn:hover {
            background-color: #d2d3d2;
        }