/* Definições gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F2E4D8;
    color: #333;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Estilo do Header */
header {
    background-color: #3E688C; /* Cor de fundo do cabeçalho (cinza escuro) */
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: center; /* Centraliza os links horizontalmente */
    align-items: center;
    flex-wrap: wrap;
}

.div-link {
    display: flex;
    gap: 30px; /* Espaço entre os links */
    flex-wrap: wrap;
}

.link {
    text-decoration: none; /* Remove o sublinhado dos links */
    color: #ffffff; /* Cor do texto branco */
    font-size: 18px; /* Tamanho do texto */
    font-weight: 500; /* Peso da fonte */
    transition: color 0.3s ease; /* Transição suave para efeito hover */
    padding: 10px 20px;
}

.link:hover {
    color: #f8d568; /* Cor amarela ao passar o mouse */
}

/* Container principal */
.container {
    margin-top: 1cm;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 70%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    padding: 1cm;
}

/* Título principal */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Campo de upload */
input[type="file"] {
    display: none; /* Esconde o botão de upload padrão */
}

input[type="number"] {
    padding: 8px;
    margin-top: 10px;
    font-size: 16px;
    width: 20%;
}

/* Estilos gerais de links */
a {
    text-decoration: none;  /* Remove o sublinhado */
    color: inherit;         /* Herda a cor do elemento pai */
    cursor: default;        /* Remove o ícone de 'mãozinha' */
}

a:hover, a:visited, a:active {
    text-decoration: none;  /* Garante que, mesmo em estados visitado/hover/ativo, não haja sublinhado */
    color: inherit;         /* Garante que a cor permaneça igual */
}

/* Botão de upload */
.upload-label {
    background-color: #233a4e;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.upload-label:hover {
    background-color: #14222e;
}

/* Exibição do nome do arquivo selecionado */
#fileName {
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

#fileNamePdfToRotate {
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

#fileNamePdfToReorder {
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

#fileNamePdfToSplit {
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

#fileName1 {
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

#fileName2 {
    font-size: 18px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}


/* Estilos do select */
label {
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Estilos do botão */
button {
    margin-top: 1vh;
    font-size: 18px;
    padding: 12px 30px;
    background-color: #75bd01;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: #72a301;
}

/* Botão especial para páginas */
.paginas button {
    background-color: #FFB300;
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    header {
        width: 100%;
    }

    .div-link{
        gap: 0;
    }

    .link {
        font-size: 16px;
    }

    h1 {
        font-size: 1.5rem; /* Tamanho da fonte ajustado */
    }

    input[type="number"] {
        width: 40%;
    }

    button {
        font-size: 0.9rem; /* Ajustado para telas pequenas */
        padding: 10px; /* Ajustado para telas pequenas */
    }

    select {
        font-size: 0.9rem; /* Ajustado para telas pequenas */
    }

    #fileName, #fileNamePdfToRotate, #fileNamePdfToReorder, #fileNamePdfToSplit, #fileName1, #fileName2 {
        font-size: 0.9rem; /* Ajustado para telas pequenas */
    }
}
