body {
  margin: 0;
  font-family: Palatino Linotype, sans-serif;
  background-color: #e5e5e5;
}

#container {
  margin: 20px 460px 100px 460px;
  background-color: white;
  padding: 25px 40px 40px 40px;
  box-shadow: 1px -1px 26px -5px rgba(0, 0, 0, 0.58);
  -webkit-box-shadow: 1px -1px 26px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow: 1px -1px 26px -5px rgba(0, 0, 0, 0.58);
}

#cabecalho {
  align-items: center;
  width: auto;
  display: flex;
  margin-bottom: 30px;
}

#left {
  height: 50px;
  width: 25%;
  padding-left: 30px;
}

.mises {
  height: 70px;
}

#center {
  height: 50px;
  width: 50%;
  padding-bottom: 15px;
}

.topo {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  line-height: 20px;
  font-size: 14px;
  text-align: center;
}

.site a {
  color: black;
}

#right {
  height: 50px;
  width: 25%;
  text-align: right;
  padding-right: 30px;
}

.brasao {
  height: 70px;
}

#linhas {
  align-items: center;
  width: auto;
  display: flex;
  height: 4px;
  margin-bottom: 40px;
}

#red {
  height: 4px;
  width: 33%;
  background-color: #cc2234;
}
#blue {
  height: 4px;
  width: 34%;
  background-color: #13345f;
}
#gray {
  height: 4px;
  width: 33%;
  background-color: #666;
}

#tipotrabalho {
  text-align: left;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: capitalize;
}

#dadosAutores {
  display: flex;
  padding-top: 20px;
}

.nomes {
  font-size: 20px;
  line-height: 1.2;
}

.orcid {
  font-size: 20px;
  margin-bottom: -4px;
  padding-left: 10px;
}

parei aqui ----------------------- .filiacao {
  font-size: 17px;
}

.titulacao {
  font-size: 14px;
}

a {
  text-decoration: none;
  color: #3f5a87;
}

p.referencias {
  text-indent: -48px;
  margin-left: 48px;
}

p {
  font-size: 18px;
}

p.citacao {
  margin-left: 150px;
  font-size: 16px;
}

p.r {
  border-top: solid 1px #13345f;
  padding-top: 10px;
}

p.p {
  border-bottom: solid 1px #13345f;
  padding-bottom: 10px;
}

/* FIGURAS -----------------------------------------------------*/

p.tfigura {
  padding-top: 40px;
  font-weight: bold;
}

p.figura {
  font-style: italic;
  font-size: 1em;
}

p.fonte {
  font-size: 1em;
  padding-bottom: 40px;
}
/* ------------------------------------------*/


h2 {
  font-size: 30px;
  font-weight: bold;
  padding-top: 40px;
}

h2.trad {
  font-size: 30px;
  padding-top: 0px;
}

h2.titulo {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

h3 {
  padding-top: 20px;
}

.formula {
  width: auto;
  vertical-align: bottom;
}

.titulo {
  padding-top: 40px;
}

.datas {
  text-align: center;
  margin-bottom: 50px;
}

#referencias {
  padding-bottom: 20px;
}

.oculto {
  display: none;
}

.voltatopo {
  position: fixed;
  bottom: 100px;
  right: 400px;
}

.seta {
  height: 36px;
}

html {
  scroll-behavior: smooth;
}

#rodape {
  bottom: 0;
  position: fixed;
  width: 100%;
  text-align: center;
  background-color: white;
  border-top: solid 1px #cc2234;
  margin-top: 50px;
}

.rodape {
  color: #13345f;
  font-size: 12pt;
}

.creative {
  margin-left: 10px;
  padding-top: 10px;
}

/* TOOLTIP -----------------------------------------------------*/

[data-ref] {
  display: inline-block;
  cursor: pointer;
  color: #3f5a87;
  font-weight: 600;
}

[data-ref]:hover .tooltip {
  display: block;
  opacity: 1;
  text-overflow: ellipsis;
}

.tooltip {
  font-size: 14px;
  display: none;
  background-color: #f0f0f0;
  color: black;
  text-align: center;
  border-radius: 6px;
  padding: 10px 20px;
  text-align: left;
  width: 100%;
  position: absolute;
  left: 0;
  margin-top: -3px;
  opacity: 0;
  transition: opacity 0.3s;
  text-overflow: ellipsis;
  word-wrap: break-word;
  animation: slide-up 0.3s ease-out forwards;
  font-weight: normal;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NOTAS TOOLTIP -----------------------------------------------------*/

[data-note] {
  display: inline-block;
  cursor: pointer;
}

[data-note]:hover .tooltip {
  display: block;
  opacity: 1;
  text-overflow: ellipsis;
}
.notes {
  display: none;
}

sup {
  color: #cc2234;
  font-weight: bold;
}

/* alterações para foto com funcionalidade de zoom */

.image-container {
  position: relative;
  display: inline-block;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 60px;
}

.zoomable-image {
  width: 100%;
  max-width: 400px;
}

.zoom-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
  z-index: 10;
}

.zoom-button img {
  width: 24px; /* Ajuste o tamanho conforme necessário */
  height: 24px; /* Ajuste o tamanho conforme necessário */
  padding: 5px;
}

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.zoom-overlay.show {
  opacity: 1;
  transform: scale(1);
}

.zoom-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  width: 50vw;
}

.zoom-container img {
  max-width: 90vw;
  max-height: 60vh;
  margin-top: 20px;
}

.zoom-container .title {
  font-size: 16px;
  margin-bottom: 10px;
}

.zoom-container .description {
  margin-top: 10px;
  color: black;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
}

/* SMARTPHONE  */

@media screen and (max-width: 1600px) {
  body {
    margin: 0;
    font-family: Palatino Linotype, sans-serif;
  }

  #container {
    margin: 0px;
    padding: 20px 24px 10px 24px;
  }

  #left {
    height: 30px;
    width: 25%;
    padding-left: 0px;
  }

  #center {
    height: 50px;
    width: 70%;
    padding-bottom: 0px;
  }

  .topo {
    font-size: 10px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
      "Lucida Sans", Arial, sans-serif;
    line-height: 1.2;
  }

  #right {
    height: 30px;
    width: 20%;
    padding-right: 10px;
  }

  #rodape {
    visibility: hidden;
  }

  p {
    font-size: 16px;
  }

  p.citacao {
    margin-left: 40px;
    font-size: 15px;
  }

  p.referencias {
    text-indent: -20px;
    margin-left: 20px;
  }

  h2.titulo {
    font-size: 18px;
    font-weight: bold;
    padding-top: 30px;
    text-transform: uppercase;
  }

  h3 {
    padding-top: 20px;
  }
  .datas {
    text-align: left;
    margin-bottom: 20px;
  }

  #cabecalho {
    align-items: center;
    width: auto;
    display: flex;
    margin-bottom: 20px;
  }

  .mises {
    height: 40px;
  }

  .brasao {
    height: 45px;
  }
  #red {
    width: 33%;
    background-color: #cc2234;
  }
  #blue {
    width: 34%;
    background-color: #13345f;
  }
  #gray {
    width: 33%;
    background-color: #666;
  }

  #red,
  #blue,
  #gray {
    height: 2px;
  }

  #dadosAutores {
    display: block;
  }
  .orcid {
    margin-bottom: -5px;
    padding-left: 0px;
    padding-right: 2px;
  }

  .oculto {
    display: none;
  }
}
