/* Estilização do fundo do popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Fundo semitransparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden; /* Inicialmente oculto */
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Estilização do conteúdo do popup */
.popup-content {
  /* background: #fff; */
  /* padding: 20px; */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  max-width: 700px;
  width: 90%;
}

/* Estilização da imagem dentro do popup */
.popup-content img {
  width: 120%;
  height: auto;
  max-width: 100%;
}

/* Botão de fechar o popup */
.popup-close {
  position: absolute;
  top: -20px; /* Move o botão para cima */
  right: -20px; /* Move o botão para fora do contêiner à direita */
  font-size: 24px;
  font-weight: bold;
  color: red; /* Cor vermelha */
  background: #fff;
  border: 2px solid red;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

/* Exibição do popup */
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}