 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
 body {
     font-family: 'Arial', sans-serif;
     background: #fffafa;
     color: black;
     margin: 0;
     padding: 20px;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     margin: 0 auto;
}
 .container {
     max-width: 500px;
     background: #dbdbdb;
     border-radius: 10px;
     padding: 20px;
     box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
     margin: 0 auto;
}
 a{
     text-decoration: none;
     color: blue;
}
 .texto {
     width: 100%;
     margin: 0 auto;
     padding: 20px;
     text-align: justify;
}
 .conteudo{
     background: #f5f5f5;
     border-radius: 10px;
     margin: 0 auto;
}
 footer {
     width: 100%;
     margin: 0 auto;
     padding: 20px;
     color: #fff;
     padding: 30px 5px 30px 5px;
     border-radius: 3px;
     margin-top: 10px;
     position: relative;
}
 .politicas {
     width: 100%;
     margin: 0 auto;
}
 .politicas-item {
     margin-bottom: 10px;
}
 .politicas-item iframe{
     width: 100%;
     height: 800px;
}
 .politicas-titulo {
     background: lightgray;
     color: black;
     padding: 10px;
     border-radius: 5px;
     cursor: pointer;
     border: 1px solid #555;
     transition: background 0.3s ease, color 0.3s ease;
}
 .politicas-titulo:hover {
     background: #DCDCDC;
}
 .politicas-texto {
     display: none;
     padding: 10px;
     color: black;
     background: #DCDCDC ;
     border: 1px solid #666;
}
 .politicas-titulo.active + .politicas-texto {
     display: block;
}
 #cookie-banner {
     background-color: rgba(255, 206, 128, 0.9);
     color: black;
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     padding: 15px;
     text-align: center;
     font-family: Arial, sans-serif;
     font-size: 16px;
     z-index: 1000;
}
 #cookie_conteudo{
     width: 95%;
}
 #cookie-banner button {
     background-color: #333;
     color: #fff;
     border: none;
     cursor: pointer;
     font-size: 16px;
     border-radius: 5px;
     margin-top: 15px;
}
 #cookie-banner button:hover {
     background-color: #555;
}
 #darkModeToggle {
     width: 60px;
     height: 30px;
     background: linear-gradient(to bottom right, #001f2d, #2a2a2a);
     border: none;
     border-radius: 15px;
     box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
     position: fixed;
     top: 20px;
     right: 20px;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 5px;
     z-index: 10;
}
 #darkModeToggle .indicator {
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background-color: #e0e0e0;
    /* Lua no modo claro */
     position: relative;
     transition: transform 0.3s ease, background-color 0.3s ease;
     transform: translateX(30px);
    /* Indicador à direita */
}
 #darkModeToggle .indicator::before {
     content: '';
     position: absolute;
     top: 1px;
     left: 6px;
     width: 15px;
     height: 15px;
     border-radius: 50%;
     background-color: #1e1e1e;
}
 h1 {
     font-size: 2.5rem;
     margin-bottom: 20px;
}
 h2 {
     font-size: 1.8rem;
     margin-top: 20px;
}
 p {
     font-size: 1rem;
     line-height: 1.6;
     margin-bottom: 20px;
}
 ul, ol{
     list-style-position: inside;
     margin-left: 20px;
}
 ul li {
     margin-bottom: 10px;
     list-style-type: none;
}
 ol li {
     margin-bottom: 10px;
     list-style-type: none;
}
 h3 {
     margin-top: 15px;
     margin-bottom: -5px;
}
 input, textarea {
     width: 100%;
     border-radius: 8px;
     border: 1px solid #444;
     padding: 12px;
     font-size: 16px;
     background: whitesmoke;
     color: black;
     outline: none;
}
 textarea {
     resize: none;
     height: 140px;
     font-family: "Arial Unicode MS", "Segoe UI", sans-serif;
     line-height: 1.6;
}
 textarea::placeholder, input::placeholder {
     color: #888;
}
 .button-group {
     display: flex;
     justify-content: center;
     gap: 15px;
}
 button {
     width: 100px;
     padding: 0 10px 0 10px;
     height: 40px;
     border-radius: 6px;
     border: none;
     font-size: 14px;
     font-weight: bold;
     cursor: pointer;
     border: 1px solid lightgray;
}
 button.copy, button.clear, button.paste, button.generate-link {
     background-color: rgb(240,240,240);
     color: #000;
     transition: filter 0.3s ease;
     filter: brightness(1);
}
 button.copy:hover, button.clear:hover, button.paste:hover, button.generate-link:hover {
     filter: brightness(0.85);
}

#cipherKey {
    padding-right: 100px;
}
 .container > div {
     display: flex;
     flex-direction: column;
     gap: 10px;
}
 .sobre {
     font-size: 12px;
     padding: 1px;
     margin-top: -5px;
}
 .toggle-visibility {
     position: absolute;
     top: 50%;
     right: 0;
     transform: translateY(-50%);
     background: none;
     border: none;
     color: #888;
     font-size: 15px;
     cursor: pointer;
     transition: color 0.3s ease;
}
 .toggle-visibility:hover {
     color: #5e5d5d;
}
 .input-wrapper {
     position: relative;
}
 #error-message {
     display: none;
     font-size: 12px;
     color: orange;
}
 .mensagens{
     height: 50px;
}
 @keyframes pulse-red {
     0% {
         color: orange;
         transform: scale(1);
    }
     50% {
         color: red;
         transform: scale(1.1);
    }
     100% {
         color: orange;
         transform: scale(1);
    }
}
 .pulse-red {
     animation: pulse-red 0.3s ease-in-out;
    /* Duração de 0.5s */
}
/* Estilo do seletor de codificação */
 .seletor-codificacao {
     display: flex;
     align-items: center;
     margin: 0 auto;
}
 .seletor-codificacao select {
     padding: 2px 4px;
     font-size: 15px;
     border: 1px solid #ccc;
     border-radius: 4px;
     background-color: #fafafa;
     cursor: pointer;
     transition: border-color 0.3s ease;
}
 .seletor-codificacao select:focus {
     border-color: #6c5ce7;
     outline: none;
}
 body.dark-mode #darkModeToggle {
     background: linear-gradient(45deg, #87CEFA, #4682B4);
}
 body.dark-mode #darkModeToggle .indicator {
     transform: translateX(0);
    /* Indicador à esquerda */
     background-color: #ffcc00;
    /* Sol no modo escuro */
}
 body.dark-mode #darkModeToggle .indicator::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border-radius: 50%;
     background: transparent;
     transform: translateX(0);
    /* Sem deslocamento adicional */
}
 body.dark-mode {
     background-color: #121212;
}
 body.dark-mode label, body.dark-mode h1{
     color: lightgray;
}
 body.dark-mode .conteudo {
     background: rgb(40,40,40);
     color: whitesmoke;
}
 body.dark-mode .container {
     background: rgb(20,20,20);
     color: whitesmoke;
}
 body.dark-mode input, body.dark-mode textarea, body.dark-mode select {
     background: rgb(40,40,40);
     color: white;
     border: 1px solid rgb(50,50,50);
}
 body.dark-mode .politicas-titulo {
     background: rgb(25,25,25);
     color: whitesmoke;
     border: 1px solid rgb(10,10,10);
}
 body.dark-mode .politicas-titulo:hover {
     background: rgb(40,40,40);
}
 body.dark-mode .politicas-texto {
     color: whitesmoke;
     background: rgb(40,40,40);
    ;
     border: 1px solid rgb(10,10,10);
}
 body.dark-mode a {
     color: lightblue;
}
 @media (min-width: 200px) and (max-width: 480px) {
     .conteudo {
         max-width: 99%;
         padding: 5px;
    }
}
 @media (min-width: 481px) and (max-width: 768px) {
     .conteudo {
         max-width: 70vw;
         padding: 20px;
    }
}
 @media (min-width: 769px) and (max-width: 1024px) {
     .conteudo {
         max-width: 60vw;
         padding: 30px;
    }
}
 @media (min-width: 1025px) {
     .conteudo {
         max-width: 40vw;
         padding: 30px;
    }
}
 @media (min-width: 1000px) {
     .anuncio_vertical_esq, .anuncio_vertical_dir {
         display: block;
    }
     .anuncio1{
     display: none;
}
 .anuncio2{
     width: 100%;
     height: 10vh;
     margin: 20px auto;
}
}
 @media (max-width: 999px) {
     .anuncio_vertical_esq, .anuncio_vertical_dir {
         display: none;
    }
     .anuncio1{
     width: 100%;
     height: 10vh;
     margin: 20px auto;
}
  .anuncio2{
     width: 90%;
     height: 10vh;
     margin: 20px auto;
}
}
 .anuncio_vertical_esq{
     width: 200px;
     height: 95vh;
     top: 15vh;
     float: left;
     position: sticky;
}
 .anuncio_vertical_dir{
     width: 250px;
     height: 96vh;
     top: 15vh;
     float: right;
     position: sticky;
}

textarea::-webkit-scrollbar {
            width: 10px; /* Largura da barra de rolagem */
        }

        textarea::-webkit-scrollbar-track {
            background: transparent; /* Cor do fundo da barra */
            border-radius: 10px;
        }

        textarea::-webkit-scrollbar-thumb {
            background: #888; /* Cor da barra de rolagem */
            border-radius: 5px;
        }

        textarea::-webkit-scrollbar-thumb:hover {
            background: #555; /* Cor ao passar o mouse */
        }
