
<style>
       * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
             font-family: "Roboto", sans-serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
            background: #090201;
            color: #e2e8f0;
            line-height: 1.7;
            min-height: 100vh;
            align-items: center;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;

            
        }
       a{
              color:#fcae11;
       }
        .container {
            align-items: center;
            display: grid;
            gap: 2rem;
        }

        .card {
            background: rgba(255, 255, 255, 0.05);
            max-width:75vw;
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding:18px;
            margin-top:1em;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(79, 70, 229, 0.3);
        }

        h3 {
            font-size: 2rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, #4f46e5, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        h4 {
            font-size: 1.6rem;
            font-weight: 600;
            color: #e2e8f0;
            margin: 1.5rem 0 1rem;
            position: relative;
        }

        h4::after {
            content: '';
            width: 50px;
            height: 3px;
            background: #4f46e5;
            position: absolute;
            bottom: -6px;
            left: 0;
            border-radius: 3px;
        }

        p {
            font-size: 1.1rem;
            color: #cbd5e1;
            margin-bottom: 1rem;
        }

        ul, ol {
            margin: 1.5rem 0;
            padding-left: 1.5rem;
        }

        ul li, ol li {
            font-size: 1.1rem;
            color: #cbd5e1;
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1rem;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        ul li:hover, ol li:hover {
            color: #4f46e5;
            transform: translateX(5px);
        }

        ul li::before {
            content: '✦';
            color: #4f46e5;
            font-size: 1rem;
            position: absolute;
            left: -1rem;
            top: 0.3rem;
        }

        ol li::before {
            color: #4f46e5;
            font-weight: 600;
        }

        code {
            background: rgba(0, 0, 0, 0.2);
            padding: 0.3rem 0.6rem;
            border-radius: 8px;
            font-family: "Roboto", sans-serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
            color: #f472b6;
            font-size: 0.95rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: background 0.3s ease;
        }

        code:hover {
            background: rgba(0, 0, 0, 0.4);
        }

       footer {
            background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, transparent 70%);
            margin-top: auto; /* Empurra o footer para o final do container */
            position:relative;
            bottom:-170px;
            padding: 2rem;
            width:100vw;
            text-align: center;
            color: #94a3b8;
            font-size: 0.95rem;
            background: rgba(0, 0, 0, 0.1);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        footer::before {
            content: '✨';
            margin-right: 0.5rem;
        }
       img{
              border-radius:18px;
              
       }
.container p {
    text-indent: 3.5em;
    text-align: justify;
}
.imagecontainer {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px auto; /* Alinha horizontalmente no centro */
    font-size: 12px;
    width: 100vw; /* Adiciona largura para alinhar ao centro */
    max-width: 500px; /* Opcional: controla a largura máxima */

        }

#loading-spinner {
    position: fixed; /* Garante que fica fixo na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo translúcido */
    display: flex; /* Habilita flexbox para centralização */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    z-index: 9999; /* Garante que fica acima de outros elementos */
    display: none; /* Oculto por padrão */
}

        /* Spinner */
        .spinner {
            position:relative;
            top:40vh;
            left:50vw;
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #3498db;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* Animação */
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
    .sendbutton {
      background: rgba(0, 0, 0, 0.4);
      color: white;
      font-size: 11px;
      height:30px;
      font-weight: 100;
      padding: 10px 15px;
      border: 2px solid rgba(255, 255, 255, 0.6);
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    #sendbutton:hover {
      background: rgba(0, 0, 0, 0.6);
      border-color: white;
      transform: scale(1.1);
    }
@media (max-width: 768px) {
       .result-item {
            background: rgba(255, 255, 255, 0.05);
            max-width: 75vw;
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 18px;
            margin-top: 1em;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }
 .container {
            align-items: center;
            display: grid;
        }
.card {
            background: rgba(255, 255, 255, 0.05);
            max-width:95vw;
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding:18px;
            margin-top:1em;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }
.infoimg{
       width:auto;
       height: auto; 
} 
}
      

.prettyInput{
    width: 90vw;
    max-width: 400px;
    font-size: 16px; /* Tamanho da fonte */
    border-radius: 8px; /* Cantos arredondados */
    outline: none; /* Remove o contorno padrão */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Animações */
} 
.chapter-selector {
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            padding: 20px;
            width: 90%;
            max-width: 600px;
        }

        .header {
            text-align: center;
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 15px;
        }

        .chapters {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .chapter-title{
               color:#fff;
        }
        .chapter {
            display: flex;
            align-items: center;
            position:relative;
            left:-30px;
            width:115%;
            padding: 15px;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: bold;
            text-transform: uppercase;
            text-decoration: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .chapter:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .chapter:active {
            transform: translateY(2px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        .chapter-summary {
            margin-left: 15px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.85);
            font-weight: normal;
        }
   body_ {
        margin: 0;
        font-family: 'Roboto Mono', monospace;
        background: #090201;
    }

    .header_a {
        background-color: #090201;
        padding: 15px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }

    .logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: white;
    }

    .nav {
        display: flex;
        gap: 15px;
    }

    .nav a {
        color: #fff;
        text-decoration: none;
        padding: 5px 10px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .nav a:hover {
        background-color: #333;
    }
       .search-section {
                   margin-bottom: 20px;
               }
       
       .result-item {
           display: flex;
           min-width:45vw;
           align-items: flex-start; /* Alinha a imagem e o conteúdo no topo */
           background: #ffffff;
           border-radius: 12px;
           padding: 20px;
           margin: 15px auto;
           max-width: 800px;
           box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
           transition: transform 0.3s ease, box-shadow 0.3s ease;
       }
       
       .result-item:hover {
           transform: translateY(-5px);
           box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
       }
       
       .result-image {
           width: 100px;
           height: 100px;
           object-fit: cover; /* Garante que a imagem preencha o espaço sem distorção */
           border-radius: 10px; /* Bordas levemente arredondadas */
           margin-right: 20px; /* Espaço entre a imagem e o conteúdo */
           border: 1px solid #e0e0e0; /* Borda sutil para sofisticação */
       }
       
       .result-content {
           flex: 1; /* O conteúdo ocupa o espaço restante */
           display: flex;
           flex-direction: column; /* Organiza o conteúdo verticalmente */
       }
       
       .result-content h3 {
           font-size: 1.5rem;
           color: #1e3a8a;
           margin: 0 0 10px;
           font-weight: 600;
       }
       
       .result-content p {
           font-size: 1rem;
           color: #4b5563;
           margin: 5px 0;
       }
       
       .result-content a {
           color: #3b82f6;
           text-decoration: none;
           font-weight: 500;
           transition: color 0.3s ease;
       }
       
       .result-content a:hover {
           color: #1e3a8a;
           text-decoration: underline;
       }
       
       /* Responsividade */
       @media (max-width: 600px) {
           .result-item {
               flex-direction: column; /* Empilha imagem e conteúdo em telas menores */
               align-items: center; /* Centraliza o conteúdo */
               text-align: center;
           }
       
           .result-image {
               margin-right: 0; /* Remove margem à direita */
               margin-bottom: 15px; /* Adiciona espaço abaixo da imagem */
               width: 80px; /* Reduz tamanho da imagem em telas menores */
               height: 80px;
           }
       }

    </style>
