@font-face {
    font-family: 'Blacksword';
    src: url('blacksword-webfont.woff2') format('woff2'),
         url('blacksword-webfont.woff') format('woff');
  }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    background-color: #FFFFFF;
}

div.pagina {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: center;
    flex-direction: column; 
    text-align: center;
}

figure {
    max-width: 100%;
    margin: 0;
}

header img {
    max-width: 100%;
    flex-shrink: 0;
}

section img {
    max-width: 100%;
    flex-shrink: 0;
}

section.titulo {
    margin: 0 0 20px 0;
    background-color: #7e2519;
    padding: 10px 20px;
}

section.titulo h1 {
    color: #FFFFFF;
    font-family: 'Blacksword', serif;
    font-weight: normal;
    font-size: 50px;
    margin: 0;
}

section.titulo h2 {
    color: #FFFFFF;
    text-align: center;
}

section.texto {
    margin-bottom: 40px;
}

section.texto p {
    font-size: 20px;
    line-height: 1.4;
}

section.texto ul li {
    font-size: 20px;
    line-height: 1.4;
}

section.texto a {
    color: #7e2519;
    text-decoration: none;
    font-weight: bold;
}

section.texto a:hover {
    color: #b43221;
}

section.botoes {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 30px 0 80px 0;
}

section.botoes a {
    width: 100px;
    background: #7e2519;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    width: 300px;
    padding: 10px;
    margin: 0 20px;
    cursor: pointer;
}

section.botoes a:hover {
    background: #b43221;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

footer img {
    width: 60px;
    margin-top: 10px;
}

footer p {
    font-size: 20px;
    margin: 0;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 300px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1200px) {
    section.texto {
        padding: 0 40px;
    }
}