center {
  min-width: 250px;
}

body, input, button, textarea, a {
  font: 500 1.6rem Poppins;
  color: #ffffff;
}

h1 {
  font-size: 4rem;
}

h3 {
  font-size: 1.4em;
}

h5 {
  font-size: 1.4em;
  font-weight: bold;
}

#root {
  display: flex;
  justify-content: center;
  align-content: center;
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('../img/background_man_tablet.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pagina {
  width: 100%;
  min-height: 100vh;
}

.pagina:not(.pagina-leitura) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.pagina-leitura {
  background-color: #353535;
}

.gray-background {
  display: flex;
  align-self: flex-start;
  align-items: center;
  width: 90%;
  max-width: 800px;
  background-color: rgba(0, 0, 0, .9);
  border-radius: 1.6rem;
  margin: 1rem;
}

.gray-background:hover {
  background-color: rgba(0, 0, 0, .95);
}

/* region header-component */

.header-component {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.9rem;
  box-sizing: border-box;
}

.header-component img {
  height: 6rem;
  margin: 0 0 0 6rem;
}

.header-component h1 {
  margin: 0 0 0 6rem;
}

.header-component-top img {
  height: 3rem;
  margin: 0 0 0 3rem;
}

.header-component-top h1 {
  font-size: 2rem;
  margin: 0 0 0 3rem;
}

.header-component-center {
  align-self: flex-end;
  flex-wrap: wrap;
  justify-content: center;
}

.header-component-center h1 {
  width: 100%;
  margin: 2rem 0 0 0;
  cursor: pointer;
}

.header-component-center img {
  margin-left: 0;
  height: 16rem;
  cursor: pointer;
}

.header-component-top {
  background-color: #1f1f1f;
}

.header-component > * {
  z-index: 1;
}

/* endregion header-component */

/* region form */

.form-pesquisa-component {
  justify-content: center;
}

form.form-component {
  max-width: 1000px;
  width: 90%;
  padding: 5rem 3rem 3rem 3rem;
}

form > input {
  background: transparent;
}

.form-group label {
  float: left;
}

.form-group {
  margin-bottom: 4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 1.5rem;
  padding: 3rem 0 3rem 0;
}

input.custom-input {
  outline: none;
  color: #fff;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 1rem 0.6rem;
  border: none;
  border-bottom: 2px solid #fff;
  transition: border 0.3s ease;
  background-color: transparent;
}

textarea::placeholder, input::placeholder { color: rgba(0, 0, 0, 0.63) !important; }

.label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-weight: 500;
  transition: all 0.3s ease;
  color: transparent;
  margin-left: 3rem;
}

input:focus + .label, input:not(:placeholder-shown) + .label {
  top: -0.2rem;
  color: #be0027;
  font-size: 0.8rem;
}

input:focus {
  border-bottom: 3px solid #be0027;
}

.jc-upload-container .dropzone {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #b9b9b9;
}

.form-group, a {
  color: #fff;
}

.required {
  color: red;
}

.form-validation {
  color: red;
  padding: 10px;
}

/* endregion form */

/* region download */

.download-component {
  flex-wrap: wrap;
  padding: 2rem;
  justify-content: center;
  max-width: 500px;
}

.download-component p {
  display: flex;
  width: 100%;
  justify-self: flex-start;
}

/* endregion download

/* region erro-component */

.erro-component {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  margin-top: 2rem;
  padding: 2rem;
  background-color: rgba(156, 0, 34, .7);
  border-radius: 1rem;
  max-width: 700px;
  width: 90%;
}

.erro-component:hover {
  background-color: rgba(156, 0, 34, .9);
}

#ds-titulo-erro {
  width: 100%;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
}

#ds-erro {
  display: flex;
  margin-top: 1rem;
  font-size: 1em;
  justify-content: center;
  width: 100%;
}

.erro-component div {
  width: 100%;
  display: flex;
  justify-content: center;
}

#btn-erro {
  margin-top: 1.5rem;
  color: #cc1638;
}

#btn-erro:hover, #btn-erro:focus {
  background-color: #cc1638;
  color: #fff
}

/* endregion erro-component */

/* region button */

.btn-custom {
  float: right;
  font-weight: bold;
  outline: none !important;
  border: none;
  background: #fff;
  box-shadow: none;
  line-height: 2.5rem;
  transition: 0.2s;
  color: #383838;
}

.btn-light {
  margin: 1px;
}

.btn-custom:hover, .btn-custom:focus {
  background: #383838;
  color: #fff;
}

.btn-dark {
  background: #1f1f1f;
  color: #fff;
}

.btn-dark:hover {
  background: #383838;
}

/* endregion button */

/* region galeria */

.galeria-imagens-component {
  margin-bottom: 8rem;
}

#galeria-imagens div {
  width: 80%;
  margin: 2rem 0 2rem 0;
}

#galeria-imagens div img {
  width: 100%;
  box-shadow: 0 12px 29px 0 rgba(95, 94, 94, 0.21);
}

.galeria-imagens-component #button-leitura a {
  position: fixed;
  display: none;
  background-color: #1d5987;
  color: #fff;
  bottom: 2rem !important;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
}

.galeria-imagens-component #button-leitura a:hover, .galeria-imagens-component #button-leitura a:focus {
  background-color: #163248;
}

#toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #383838;
  color: #fff;
  padding: 0.5em 0.2em 0.5em 0.2em;
}

#toolbar button, #toolbar a {
  color: #464646;
  background-color: #fff;
  border-radius: 3px;
  padding: 0.25em 0.7em;
}

#toolbar button:hover, #toolbar button:focus, #toolbar a:hover, #toolbar a:focus {
  background-color: #d0d0d0;
}

#status-doc {
  background-color: #1f1f1f;
  padding: 0.3rem;
}

/* endregion galeria */

@media (max-width: 700px) {
  :root {
    font-size: 50%;
  }

  .header-component-center {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-component-center h1, .header-component-center img {
    margin: 0;
  }

  .header-component-center h1 {
    padding-top: 1rem;
    font-size: 1.5rem;
    width: 100%;
  }

  .header-component-center h1 {
    font-size: 2rem;
  }

  .header-component-top img {
    height: 3rem;
    margin: 0 0 0 2rem;
  }

  .header-component-top h1 {
    font-size: 1.7rem;
    margin: 0 0 0 2rem;
  }

  .btn-custom {
    font-size: 2.2rem;
    line-height: 3.5rem;
  }

  #toolbar-buttons a {
    font-size: 2.1rem;
  }

  #galeria-imagens div {
    width: 95%;
  }
}

@media (max-width: 320px) {
  :root {
    font-size: 40%;
  }
}

@media (min-width: 1900px) {
  :root {
    font-size: 55%;
  }

  #galeria-imagens div {
    width: 65%;
  }
}