
/* The Modal PDF(background) */
.modalPDF {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 20;
  /* 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 */
.modalPDF-content {
  background-color: #fefefe;
  margin: 5% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
  height: 80%;
}

/* The Close Button */
.closePDF {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closePDF:hover,
.closePDF:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.revista-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2em;
  align-items: start;
  margin: 2em 3em;
  max-width: 1000px;
  padding: 1em;
}

.revista-container>h3 {
  grid-column: 1 / -1;
  text-align: justify;
  font-size: 0.95rem;
  /* margin: 0 0 1.5em; */
}


.revista-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.revista-container button {
  margin-top: 1em;
  padding: 0.5em 1.2em;
  background: #005a9c;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.revista-container button:hover {
  background: #003f73;
}

.revista-text {
  margin: 1em 3em;
  font-size: 1em;
  line-height: 1.3;
}

.publicatii-text {
  margin: 3em;
  font-size: 1em;
  line-height: 1.3;
}

.revista-text h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .revista-container {
    grid-template-columns: 1fr;
  }
}
