/* Estilos para o layout e o efeito de imagens maiores */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.container {
  margin-top: 5rem;
}

.row {
  display: flex;
  justify-content: center;
}

.col-12 {
  margin-bottom: 1.5rem;
}

img.img-fluid {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

img.img-fluid:hover {
  transform: scale(1.05); /* Aumenta ligeiramente a imagem */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Efeito de sombra */
}

/* Estilo de cor do texto para títulos */
h2, h4, h3 {
  color: rgb(336, 85, 6);
}


h3 {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: #333;
}

@media (min-width: 768px) {
  .col-md-5 {
    max-width: 45%;
  }
}

/* Estilos do Modal - Popup de Imagem */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
    margin-top: 100px;
}

.modal-content {
  position: relative;
  margin: 10% auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.7); /* Fundo semitransparente para o X */
  padding: 10px;
  border-radius: 50%;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
