.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}
.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 750px;
    text-align: center;
}
.pop-up-content {
  background: #ececec;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.pop-up-content > h2 {
  color: #003366;
  margin: auto 0;
  padding: 0px 10px 0 10px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.2rem;
}

.pop-up-content > h2 > span {
  color: #f05025;
}

.pop-up-content > div {
  background: #003366;
  width: 100%;
  padding: 30px 0 30px 0;
}

.pop-up-content > div > img {
  width: min(300px, 90%);
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Responsivo para 768px */
@media (max-width: 768px) {
  .popup-content {
    width: 80%;
  }
}

/* Responsivo para 425px */
@media (max-width: 425px) {
  .popup-content {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .pop-up-content > h2 {
    font-size: 1.4rem;
  }

}

/* Responsivo para 375px */
@media (max-width: 375px) {
  .popup-content {
    width: 95%;
  }
}

/* Responsivo para 320px */
@media (max-width: 320px) {
  .popup-content {
    width: 100%;
  }
}

/* Largura fixa acima de 768px */
@media (min-width: 768px) {
  .popup-content {
    width: 750px;
  }
}
