body {
    font-family: Arial, sans-serif;
    font-size: 20px;
    background-color: #ffffff;
    margin: 0;
    padding-top: 50px;
}

        .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 {
            background-color: #FFFFFF;
            border-radius: 10px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.3s ease;
        }

        .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;
        }

.short-text {
    display: none; /* esconde o texto curto por padrão */
}

@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);
    display: flex;
    justify-content: space-between; /* Adicione essa linha */
    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.7rem;
            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 */
}

        #search-button:hover {
            background-color: #990000;
        }

    .result {
        border: 1px solid #ccc;
        padding: 5px;
        margin-bottom: 5px;
    }

    .result h2 {
        margin-top: 0;
    }

    .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: 85px;
  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; /* Esconde a barra de rolagem */
}

.category-buttons-wrapper::-webkit-scrollbar {
  display: none; /* Esconde a barra de rolagem no Chrome e Safari */
}


#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: #555;
        }
