@font-face
{
  font-family: 'ApekStage';
  src: url('fonts/ApekStage.otf') format('truetype');
}

@font-face
{
  font-family: 'Decterm';
  src: url('fonts/Decterm.ttf') format('truetype');
}

/* Seleção de cores e fontes padrão*/
body
{
  /* espaçamentos da página */
  padding: 0px;
  margin: 10px;
  border: 10px;

  background-image: url("../img/background.webp");

  /* cor de fundo */
  background-color: #333;

  /* cor, tamnanho de fonte, tipo de fonte */
  color: lightgreen;
  font-size: 2em;
  font-family: 'Decterm', 'sans-serif';
}

/* formatação dos tipos de texto */
h1
{
	font-size: 3.5rem;
	font-family: 'Decterm', 'sans-serif';
	text-align: center;
}

h2
{
	font-size: 3rem;
	font-family: 'Decterm', 'sans-serif';
	text-align: center;
}

h3
{
	font-size: 2rem;
	font-family: 'Decterm', 'sans-serif';
	text-align: justify;
}

h4
{
	font-size: 2rem;
	font-family: 'Decterm', 'sans-serif';
	text-align: justify;
}

b
{
	font-size: 2rem;
	font-family: 'Decterm', 'sans-serif';
	text-align: justify;
}

/* configuraçãoes da caixa de texto principal */
#content
{
  background-color: black;
  color: lightgreen;
  width: 770px;
  margin: 15px;
  padding: 15px;
  font-size: 2rem;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Decterm', 'sans-serif';
}

/* formatação dos links */
a.classe1:link, a.classe1:visited, a.classe1:active 
{
	text-decoration: underline;
	color: white;
}

a.classe1:hover 
{
	text-decoration: underline overline;
	color: #ed1d24;
	background-color: lightgreen;
}

/* formatação dos botões */
.button
{
  border: none;
  color: black;
  padding: 16px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 2rem;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  font-family: 'Decterm', sans-serif;
}

.button0
{
  background-color: black;
  color: lightgreen;
  border: 2px solid lightgreen;
  border-radius: 10px;
  width: 740px;
}

.button0:hover
{
  background-color: lightgreen;
  color: black;
  width: 740px;
}

.button1
{
	background-color: black;
	color: lightgreen;
	border: 2px solid lightgreen;
	border-radius: 10px;
	width: 740px;
}

.button1:hover {
	background-color: lightgreen;
  color: black;
  width: 740px;
}

.button2
{
	background-color: black;
	color: lightgreen;
	border: 2px solid lightgreen;
	border-radius: 10px;
	width: 740px;
}

.button2:hover{
	background-color: lightgreen;
	color: black;
	width: 740px;
}

.button3 {
	background-color: black;
	color: lightgreen;
	border: 2px solid lightgreen;
	border-radius: 10px;
	width: 740px;
}

.button3:hover
{
  	background-color: lightgreen;
	color: black;
	width: 740px;
}

/* formatação do botão da ficha*/
.fab
{
	position: fixed;
	bottom: 20px;
	right: 20px;
}

.fab button
{
	cursor: pointer;
	width: 55px;
	height: 55px;
	border-radius: 30px;
	background-color: lightgreen;
	border: none;
	font-family: 'Decterm', sans-serif;
	font-size: 1.8rem;
	color: black;
}

.fab button.main
{
	position: absolute;
	width: 65px;
	height: 65px;
	border-radius: 30px;
	background-color: black;
	background-image: linear-gradient(to right top, lightgreen, black);
	right: 0;
	bottom: 0;
	z-index: 20;
}

.fab button.main:before
{
	content: 'ficha';
}

.fab button.main:active,
.fab button.main:focus {
	outline: none;
	background-color: lightgreen;;
}

.fab button.main:active:before,
.fab button.main:focus:before {
	content: '';
}

/* dados para camada da ficha de personagem */
.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;
}

#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: 3rem;
	font-weight: bold;
	cursor: pointer;
}