/* Conteúdo Principal */
.main-content {
    display: flex;
    justify-content: center;
    margin: 30px 20px;
}

.job-details {
    width: 100%;
    max-width: 900px; /* Limitar a largura máxima */
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Título da vaga */
.job-details h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

/* Informações gerais da vaga */
.job-details p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Seções de descrição, benefícios e requisitos */
.section {
    margin-bottom: 30px;
}

.section h2 {
    color: black;
    font-size: 22px;
    margin-bottom: 10px;
}

.section p,
.section ul {
    font-size: 16px;
    color: #333;
}

.section ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Centralizar apenas os botões */
.buttons-container {
    display: flex;
    justify-content: center; /* Centraliza os botões horizontalmente */
    gap: 20px; /* Espaçamento entre os botões */
    margin-top: 20px; /* Espaçamento superior para separar dos outros elementos */
}

/* Ajustar os botões para ficarem com o mesmo tamanho */
.button {
    padding: 10px 20px;
    background-color: #17568c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    min-width: 150px; /* Largura mínima para uniformidade */
}

.button a {
    text-decoration: none;
    color: white;
}

.button:hover {
    background-color: #1f70b6;
}

/* Responsividade: ajusta layout para telas menores */
@media (max-width: 768px) {
    .job-details {
        padding: 15px;
    }

    .job-details h1 {
        font-size: 24px;
    }

    .job-details h2 {
        font-size: 20px;
    }

    .section p, .section ul {
        font-size: 14px;
    }

    .button {
        padding: 8px 16px; /* Ajusta o padding para telas menores */
    }
}
