/* Estilos Gerais */
body {
  font-family: "Arial", sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 20px;
  line-height: 1.8;
  font-size: 14px;
}

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

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #0073e6;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  color: #005bb5;
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 10px;
}

h3 {
  color: #333;
  font-size: 1.6rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

h4 {
  color: #0073e6;
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
}

p,
li {
  font-size: 18px;
}

ul,
ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

/* Estilo para as questões */
.question {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.question h4 {
  color: #005bb5;
  margin-top: 0;
  margin-bottom: 15px;
}

.question p {
  margin-bottom: 10px;
}

.question ul,
.question ol {
  margin-bottom: 10px;
}

.question li {
  margin-bottom: 8px;
}

.question b {
  font-weight: bold;
  color: #333;
}

/* Espaçamento adicional para atividades */
.question.activity {
  background-color: #e0f0ff;
  border-color: #0073e6;
}

.exemplo-ilustracao {
  background-color: #81ecec;
  border: 1px solid #00b894;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.question.activity h4 {
  color: #0073e6;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.btn-print-simplificado,
.btn-indice {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 20px;
  margin-top: 20px;
  transition: all 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-indice {
  color: #002fff;
  text-decoration: underline;
}

.btn-print-simplificado {
  color: #007bff;
}

.btn-print-simplificado:hover {
  background-color: #0056b3;
  color: #fff;
}

.btn-print:hover {
  background-color: #fff;
  color: #0056b3;
}

.btn-indice:hover {
  background-color: #007bff;
  color: #fff;
}

.citacao {
  text-align: right;
  font-size: 9px;
}

.btn-print {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-print {
  background-color: #007bff;
}

a.link-estilizado {
  position: relative;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

a.link-estilizado::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #1a73e8;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

a.link-estilizado:hover {
  color: #0049b7;
}

a.link-estilizado:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-copy {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #1abc9c;
}

.alert-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.alert-title {
  font-size: 16px;
  margin: 10px 0;
}

.alert-update {
  background-color: #3498db;
  color: #b91c1c;
  border: 1px solid #2980b9;
  border-radius: 8px;
  padding: 5px 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  font-size: 16px;
}

.alert {
  background-color: #ffe4e6;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 5px 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  font-size: 16px;
}

.warning {
  background-color: #69a1f5;
  color: #b91c1c;
  border: 1px solid #0530a8;
  border-radius: 8px;
  padding: 5px 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  font-size: 16px;
}

.livro {
  background-color: #00cec9;
  color: #2d3436;
  border: 1px solid #00b894;
  border-radius: 8px;
  padding: 5px 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.mb15 {
  margin-bottom: 15px;
}

.alert-text {
  color: black;
  padding: 0;
  margin: 0;
  text-align: center;
}

.new-alert {
  position: relative;
  margin-right: auto;
  display: block;
  margin-left: auto;
}

.justificado {
  text-align: justify;
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  color: #333; /* Cor do texto */
  background-color: #f5f5f5; /* Fundo leve */
  padding: 4px; /* Espaçamento interno */
  border-radius: 4px; /* Bordas arredondadas */
}

pre {
  background-color: #f5f5f5; /* Fundo leve */
  padding: 8px; /* Espaçamento interno */
  border: 1px solid #ddd; /* Borda leve */
  border-radius: 4px; /* Bordas arredondadas */
  overflow-x: auto; /* Adiciona rolagem horizontal, se necessário */
}

pre code {
  display: block;
  white-space: pre; /* Mantém o espaço em branco */
}

.pin-message {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
}

@media only screen and (max-width: 700px) {
  body {
    font-size: 18px;
  }
}
