#popUpDivWrapper {
  position: fixed;
  bottom: 1.5vh;
  right: 1.5vh;
  z-index: 1000;
  min-width: 550px;
  width: 550px;
  max-width: 80vw;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  font-family: "Heebo", Arial, sans-serif;
  color: #222;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.8s ease-in-out;
  overflow: visible;
}

#popUpHeader {
  background: #0066cc;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.7em;
  border-radius: 5px 5px 0 0;
}

#popUpSection {
  padding: 1em;
  text-align: center;
  cursor: pointer;
  min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
font-size:14px;
}

#popUpSection p {
  margin: 0.7em 0;
  line-height: 1.5;
}

#popUpSection .main-word {
  font-size: 2em;
  color: #0066cc;
}

#popUpSection .example {
  font-size: 1.2em;
  color: #333;
}

#popUpCloseElement {
  position: absolute;
  top: -0.6rem;
  left: -0.6rem;
  background: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  width: 1.8rem;
  height: 1.8rem;
  text-align: center;
  line-height: 1.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

#popUpCloseElement:hover {
  background: #e2e2e2;
}

/* smooth popup entrance */
@keyframes slideUp {
  from {
    transform: translate(0, 300px);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@media (max-width:992px) { 
    #popUpDivWrapper { 
        min-width:0 !important; 
        max-width:80vw !important;
    }
}
