section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.titulo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.containerimg {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
}

.image img {
  max-width: 100%;
  height: auto;
  border: 2px solid #242857;
  border-radius: 3%;
}

.text {
  max-width: 500px;
  text-align: center;
}

.text h1 {
  color: #d00408;
}

.text p {
  text-align: justify;
}

.openModalButton {
  padding: 10px 20px;
  background-color: #4067b4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

/* Modal */
#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#modalOverlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#modal {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 700px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 80vh;
  position: relative;
  border: solid 5px #4067b4;
}

#closeButton {
  background-color: #d00408;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  top: 10px;
  right: 10px;
}

#closeButton2 {
  background-color: #d00408;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  top: 10px;
  right: 10px;
}

#modalBody {
  overflow-y: auto;
  max-height: 60vh;
  gap: 20px;
}

#modalBody h1 {
  color: #d00408;
}

/* Conteúdo do modal */
#modalTitle {
  color: #d00408;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 1em;
  color: #2e2e2e;
}