/* Importação da fonte Jolly Lodger do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jolly+Lodger&display=swap');

/* Reset básico e configurações globais */
body {
  padding: 0;
  margin: 10px;
  color: #ffd700; /* Cor do texto principal (amarelo) */
  font-size: 1.8rem; 
  font-family: 'Jolly Lodger', cursive; /* Fonte Jolly Lodger */
  box-sizing: border-box;

  /* Imagem de fundo */
  background-image: url("..//img/background.jpg"); /* Caminho da imagem de fundo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay escuro para melhorar a legibilidade */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Preto com 50% de opacidade */
  z-index: -1;
}

/* Formatação dos títulos */
h1 {
  font-size: 3.8rem; 
  font-family: 'Jolly Lodger', cursive;
  text-align: center;
  color: #cd0000; /* Cor dos títulos (vermelho) */
}

h2 {
  font-size: 3.3rem; 
  font-family: 'Jolly Lodger', cursive;
  text-align: center;
  color: #cd0000; /* Cor dos títulos (vermelho) */
}

h3 {
  font-size: 1.8rem; 
  font-family: 'Jolly Lodger', cursive;
  text-align: justify;
  color: #cd0000; /* Cor dos títulos (vermelho) */
}

/* Configurações da caixa de texto principal */
#content {
  background-color: #000000; /* Fundo preto */
  color: #ffd700; /* Texto amarelo */
  width: 770px;
  margin: 15px auto;
  padding: 15px;
  font-size: 1.8rem; 
  text-align: justify;
  font-family: 'Jolly Lodger', cursive;
  border-radius: 10px; /* Borda arredondada */
}

/* Formatação dos links */
a.classe1:link,
a.classe1:visited,
a.classe1:active {
  text-decoration: underline;
  color: #cd0000; /* Cor dos links (vermelho) */
}

a.classe1:hover {
  text-decoration: underline overline;
  color: #ff0000; /* Cor dos links ao passar o mouse (vermelho mais claro) */
}

/* Formatação dos botões */
.button {
  border: none;
  color: #000000; /* Texto preto */
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.8rem; 
  margin: 4px 2px;
  transition-duration: 0.4s; /* Duração da transição */
  cursor: pointer;
  font-family: 'Jolly Lodger', cursive;
  background-color: #ed6108; /* Cor do botão */
}

/* Efeito ao passar o mouse nos botões comuns */
.button:hover {
  background-color: #8b0000; /* Cor do botão ao passar o mouse */
  color: #ffffff; /* Texto branco ao passar o mouse */
}

/* Botão Flutuante (FAB) */
.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.fab button {
  cursor: pointer;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #ed6108; /* Cor do botão */
  border: none;
  font-family: 'Jolly Lodger', cursive;
  font-size: 1.6rem; 
  color: #000000; /* Texto preto */
  transition-duration: 0.4s; /* Duração da transição */
}

.fab button.main {
  width: 65px;
  height: 65px;
  background-color: #000000; /* Fundo preto */
  color: #ed6108; /* Texto laranja */
}

.fab button.main:before {
  content: 'ficha';
}

/* Efeito ao passar o mouse no botão flutuante */
.fab button:hover {
  background-color: #8b0000; /* Cor ao passar o mouse */
  color: #ffffff; /* Texto branco ao passar o mouse */
}

.fab button.main:hover {
  background-color: #8b0000; /* Cor ao passar o mouse */
  color: #ffffff; /* Texto branco ao passar o mouse */
}

/* Modal */
.modalVisual {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modalConteudo {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 800px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#txtImg {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.fechar {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 3.3rem; 
  font-weight: bold;
  cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
  #content {
    width: 90%;
    margin: 10px auto;
    padding: 10px;
  }

  h1 {
    font-size: 2.8rem; 
  }

  h2 {
    font-size: 2.3rem; 
  }

  .button {
    padding: 12px 24px;
    font-size: 1.5rem; 
  }
}