* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4caf50;
    color: white;
    padding: 20px;
    text-align: center;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

section {
    margin-bottom: 30px;
    padding: 40px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    max-height: 600px;
}

h2 {
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    font-size: 1.5rem;
    text-align: center;
    white-space: nowrap;
}
/* Botão de Título */
.title-button {
    display: block; /* Faz o botão ocupar toda a largura disponível */
    margin: 0 auto 20px auto; /* Centraliza o botão e adiciona espaçamento abaixo */
    padding: 10px 20px; /* Espaçamento interno */
    font-size: 1rem; /* Tamanho da fonte para parecer um título */
    font-weight: bold; /* Deixa o texto em negrito */
    color: #4caf50; /* Cor do texto */
    background: none; /* Remove o fundo padrão do botão */
    border: 2px solid #4caf50; /* Adiciona uma borda verde */
    border-radius: 8px; /* Bordas arredondadas */
    cursor: pointer; /* Mostra o cursor de clique */
    text-align: center; /* Centraliza o texto */
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.title-button:hover {
    transform: scale(1.05); /* Amplia ligeiramente ao passar o mouse */
    background-color: #4caf50; /* Adiciona um fundo verde */
    color: white; /* Altera a cor do texto para branco */
}

.title-button:active {
    transform: scale(1); /* Remove a ampliação ao clicar */
    background-color: #388e3c; /* Fundo verde mais escuro */
    color: white; /* Mantém o texto branco */
}
/* popup do codigo  */
/* Overlay do Popup */
.doc-popup-overlay {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semitransparente */
    z-index: 999; /* Coloca o overlay abaixo do popup */
    transition: opacity 0.3s ease; /* Transição suave para o efeito de escurecimento */
    opacity: 0;
}
/* Exibir o overlay quando o popup estiver ativo */
.doc-popup-overlay.show {
    display: block;
    opacity: 1; /* Torna o overlay visível */
}
/* Exibir o overlay quando o popup estiver ativo */
.doc-popup.show + .doc-popup-overlay {
    display: block;
    opacity: 1;
}
/* Popup Genérico */
.doc-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0; /* Começa invisível */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Transição suave para o popup */
}
/* Estilo para os blocos de código */
.code-sections {
    margin-top: 20px;
}

.code-sections h5 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #4caf50;
}

.code-sections pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
}

.code-sections code {
    font-family: monospace;
    color: #d63384;
}
/* Exibir o popup com animação */
.doc-popup.show {
    display: block;
    opacity: 1; /* Torna o popup visível */
    transform: translate(-50%, -50%);
}
.doc-popup-content {
    text-align: left;
    position: relative;
}

.doc-popup-content h3 {
    margin-bottom: 10px;
    color: #4caf50;
}

.doc-popup-content pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
}

.doc-popup-content code {
    font-family: monospace;
    color: #d63384;
}

.close-doc {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.close-doc:hover {
    color: #4caf50;
}

.copy-code-btn {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.copy-code-btn:hover {
    background-color: #388e3c;
}

/* container dos exemplos a serem copiados */
.example-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    justify-content: flex-start;
}
/* Contêiner dos Botões de Exemplo */
.example-buttons {
    display: flex; /* Alinha os botões lado a lado */
    flex-wrap: wrap; /* Permite que os botões quebrem linha se necessário */
    gap: 10px; /* Espaçamento entre os botões */
    margin-bottom: 20px; /* Espaçamento abaixo do grupo de botões */
    justify-content: flex-start; /* Alinha os botões à esquerda */
}

/* Estilo dos Botões de Exemplo */
.example-buttons button {
    padding: 8px 12px; /* Espaçamento interno */
    font-size: 14px; /* Tamanho da fonte */
    border-radius: 4px; /* Bordas arredondadas */
    cursor: pointer; /* Mostra o cursor de clique */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #ddd; /* Borda leve */
    background-color: #f9f9f9; /* Fundo claro */
    color: #333; /* Cor do texto */
}

.example-buttons button:hover {
    background-color: #4caf50; /* Fundo verde ao passar o mouse */
    color: white; /* Texto branco ao passar o mouse */
    transform: scale(1.05); /* Amplia ligeiramente ao passar o mouse */
}

.example-buttons button:active {
    transform: scale(0.95); /* Reduz ligeiramente ao clicar */
    background-color: #388e3c; /* Fundo verde mais escuro */
}


/* Contêiner para os botões */
.button-group {
    display: flex; /* Alinha os botões lado a lado */
    justify-content: flex-end; /* Alinha os botões à direita */
    gap: 10px; /* Espaçamento entre os botões */
    margin-top: 10px; /* Espaçamento acima do grupo de botões */
}

/* Botões */
.copy-code-btn,
.close-doc {
    padding: 8px 12px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.copy-code-btn:hover,
.close-doc:hover {
    background-color: #388e3c;
}
button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin: 0 auto;
}

button:hover {
    transform: scale(1.05);
}
/* Button Primary */
.btn-primary {
    background-color: rgb(121, 82, 179);
    color: white;
}

.btn-primary:hover {
    background-color: rgb(99, 60, 156);
}

.btn-primary:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:focus {
    outline: 2px solid rgb(121, 82, 179);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: white;
    color: rgb(10, 102, 194);
    border: 1px solid rgb(10, 102, 194);
    font-weight: bold;
    border-radius: 30px;
}

.btn-secondary:hover {
    background-color: rgb(226, 240, 254);
}

.btn-secondary:active {
    transform: translateY(2px);
    background: linear-gradient(to bottom, rgb(226, 240, 254), rgb(200, 220, 250));
    border-color: rgb(8, 80, 160);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-download {
    background-color: white;
    color: rgb(108, 117, 125);
    border: 1px solid rgb(108, 117, 125);
}

.btn-download:hover {
    background-color: rgb(108, 117, 125);
    color: white;
}

.btn-download:active {
    transform: scale(0.95);
    background-color: rgb(90, 100, 110);
    color: white;
}

.btn-sign {
    background-color: rgb(255, 216, 20);
    border-radius: 15px;
}

.btn-sign:hover {
    background-color: rgb(245, 205, 3);
}

.btn-sign span {
    margin-right: 8px;
}

.btn-sign:active {
    transform: scale(0.9);
    background-color: rgb(230, 190, 10);
    box-shadow: 0 0 10px rgb(255, 216, 20);
}

.btn-sign:focus {
    outline: 2px solid rgb(255, 216, 20);
    outline-offset: 4px;
    box-shadow: 0 0 8px rgba(255, 216, 20, 0.5);
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    button {
        width: 100%;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.modal-group {
    margin-bottom: 20px;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.modal-content {
    text-align: center;
}

.modal-content p {
    margin-bottom: 20px;
}

.modal-content .close-modal {
    margin-top: 10px;
}

.btn-modal-action {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-modal-action:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.btn-modal-action:active {
    transform: scale(0.95);
    background-color: #003f7f;
}

.btn-modal-2 {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-modal-2:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

.btn-modal-2:active {
    transform: scale(0.95);
    background-color: #d84315;
}

.modal-overlay-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 87, 34, 0.7);
    z-index: 999;
    display: none;
}

.modal-2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffe0b2;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    animation: fadeInScale 0.4s ease-in-out;
}

.modal-2 .modal-content {
    text-align: center;
    color: #d84315;
    font-size: 18px;
}

.tooltip {
    position: relative;
    font-size: 13px;
    display: inline-block;
    cursor: pointer;
    padding: 4px 8px;
    background-color: rgb(186, 186, 186);
    color: #000000;
    border: 1px solid #000000;
    border-radius: 2px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tooltips-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.tooltip::after {
    font-weight: normal;
    content: attr(data-tooltip);
    position: absolute;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.tooltip-top::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    border: 2px solid #2e7d32;
}

.tooltip-top:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.tooltip-bottom::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff5722;
    color: white;
    border: 2px solid #e64a19;
}

.tooltip-bottom:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.tooltip-left::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2196f3;
    color: white;
    border: 2px solid #0d47a1;
}

.tooltip-left:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

.tooltip-right::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #9c27b0;
    color: white;
    border: 2px solid #6a1b9a;
}

.tooltip-right:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

.switch-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(25px);
}

.switch-model-1 .slider {
    background: linear-gradient(45deg, #ff5722, #ff9800);
}

input:checked + .slider {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
}

.switch-model-2 {
    width: 60px;
    height: 30px;
}

.switch-model-2 .slider {
    background-color: #e0e0e0;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.switch-model-2 .slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.switch-model-2 input:checked + .slider {
    background-color: #673ab7;
}

.switch-model-2 input:checked + .slider:before {
    transform: translateX(30px);
    background-color: #d1c4e9;
}

.spinner-container {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner-group {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4caf50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-group p {
    margin-top: 10px;
    margin-left: 5px;
    font-size: 16px;
    color: #4caf50;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-reverse {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.spin-reverse {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid hsl(266, 64%, 41%);
    border-radius: 50%;
    animation: spin-reverse 2s linear infinite;
}

.spinner-reverse p {
    margin-top: 10px;
    margin-left: 5px;
    font-size: 16px;
    color: hsl(266, 64%, 41%);
}

@keyframes spin-reverse {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}


/* Estilo Base do Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.dropdown-button:hover {
    background-color: #388e3c;
}

.caret {
    margin-left: 8px;
    font-size: 12px;
    color: white;
    transition: transform 0.3s ease;
}

/* Dropdown que abre para baixo */
.dropdown-down .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
    white-space: nowrap;
}

.dropdown-down:hover .dropdown-menu {
    display: block;
}

.dropdown-down:hover .caret {
    transform: rotate(180deg);
}

/* Dropdown que abre para o lado */
.dropdown-side .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
    white-space: nowrap;
    transform: translateX(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.dropdown-side:hover .dropdown-menu {
    display: block;
    transform: translateX(0);
    opacity: 1;
}

.dropdown-side:hover .caret {
    transform: rotate(100deg);
}

/* Estilo das Opções do Menu */
.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

/* Divisores */
.dropdown-divider {
    height: 1px;
    background-color: #ddd;
    margin: 5px 0;
    width: 100%;
    border-top: 1px dashed #ddd;
}



/* Estilo Geral para os Cards */
.card {
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 140px;
}

.card:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Card 1: Estilo com Borda Lateral */
.card-1 {
    background-color: #f9f9f9;
    border-left: 5px solid #4caf50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.card-1 h3 {
    color: #4caf50;
    font-size: 18px;
    margin-bottom: 10px;
}

.card-1 p {
    color: #333;
    font-size: 14px;
}

/* Card 2: Estilo com Gradiente e Texto Centralizado */
.card-2 {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

.card-2 h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-2 p {
    font-size: 14px;
}

/* Card 3: Estilo Moderno com Ícone Decorativo */
.card-3 {
    background: linear-gradient(135deg, #ff5722, #ff8a50);
    color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card-3::before {
    content: "★"; /* Ícone decorativo */
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2); /* Ícone translúcido */
    transform: rotate(15deg);
}

.card-3 h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-3 p {
    font-size: 14px;
    color: #fce4ec;
}





#progress-bars h2 {
    color: #4caf50;
    margin-bottom: 20px;
}

/* Container das Barras */
.progress-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Wrapper de Cada Barra */
.progress-wrapper {
    text-align: left;
}

.progress-wrapper p {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Estilo Base da Barra de Progresso */
.progress-bar {
    width: 100%;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 20px;
    position: relative;
}

.progress {
    height: 100%;
    color: white;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    transition: width 0.3s ease;
}

/* Estilo 1: Básico */
.progress-bar-primary .progress {
    background-color: #007bff;
}

/* Estilo 2: Listras Estilizadas */
.progress-bar-striped .progress {
    background: repeating-linear-gradient(
        45deg,
        #28a745,
        #28a745 10px,
        #34d058 10px,
        #34d058 20px
    );
}

/* Estilo 3: Animação de Preenchimento */
.progress-bar-animated .progress {
    background-color: #ffc107;
    animation: fillProgress 1.5s ease-in-out;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: 30%;
    }
}

/* Estilo 4: Gradiente */
.progress-bar-gradient .progress {
    background: linear-gradient(90deg, #ff5722, #ff9800);
}
/* Footer */
#main-footer {
    background-color: #4caf50; /* Fundo verde */
    color: white; /* Texto branco */
    padding: 20px; /* Espaçamento interno */
    text-align: center; /* Centraliza o texto */
    margin-top: 30px; /* Espaçamento acima do footer */
    font-size: 14px; /* Tamanho da fonte */
    border-top: 2px solid #388e3c; /* Linha superior */
}

.footer-container {
    max-width: 1200px; /* Largura máxima */
    margin: 0 auto; /* Centraliza o conteúdo */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Espaçamento entre os elementos */
}

.footer-links {
    list-style: none; /* Remove os marcadores da lista */
    display: flex; /* Exibe os links em linha */
    gap: 15px; /* Espaçamento entre os links */
    padding: 0;
    margin: 0;
}

.footer-links li a {
    color: white; /* Cor do texto dos links */
    text-decoration: none; /* Remove o sublinhado */
    font-weight: bold; /* Texto em negrito */
    transition: color 0.3s ease; /* Transição suave */
}

.footer-links li a:hover {
    color: #c8e6c9; /* Cor mais clara ao passar o mouse */
}
/* responsividade */
@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
    }

    section {
        padding: 20px;
        max-height: 600px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    .close-doc {
        max-width: 25px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2rem;
    }

    button {
        font-size: 14px;
    }

    section {
        padding: 15px;
        max-height: 600px;
    }
}

