.HeldenPopUp {
  position: fixed;
  top: 10vh;
  left: 50%;
  color: rgb(40, 40, 40);
  transform: translateX(-50%);
  background: rgb(211, 251, 211);
  padding: 1rem 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  border-radius: 12px;
  border: solid 1px red;
  z-index: 1000;
  text-align: center;
  max-width: 700px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, width 0.4s ease-in-out, max-width 0.4s ease-in-out;
  pointer-events: none;  
  max-height: 80vh;      
  overflow-y: auto;         
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.HeldenPopUp.wide {
  max-width: 700px;
  width: 90%;
}

.HeldenPopUp.visible {
  opacity: 1;
  pointer-events: auto;
}

.HeldenPopUp h2 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: rgb(40, 40, 40);
}

.HeldenPopUp h3, h4 {
  margin-bottom: 0.5rem;
  color: rgb(40, 40, 40);
}

.HeldenPopUp .popup-buttons {
  display: flex;
  justify-content:center;
  gap: 1rem;
  border-top: 1px solid #272727;
  padding-top: 0.7rem;
  margin-top: 1.7rem;
  margin-bottom: 1.rem;
}

.HeldenPopUp button {
  padding: 0.5rem 1rem;
  font-weight: 525;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.HeldenPopUp .btn-close {
  border: 1px solid #272727;
}

.HeldenPopUp .btn-more {
  background: #272727;
  color: white;
}

.HeldenPopUp .ulSection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;      
  justify-content: flex-start;
  margin: 1.5rem 1.5rem;
}

.HeldenPopUp .ulSection ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}
.HeldenPopUp .ulSection li {
  width: 100%;
  text-align: left;
}

@media (max-width: 768px) {
  .HeldenPopUp {
    top: 20vh;
    max-height: 78vh;
    width: 96%;
    padding: 0.5rem 0.7rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
  }
  .HeldenPopUp .ulSection {
    margin: 0.5rem 0.1rem;
  }
  .HeldenPopUp .ulSection ul {
    max-width: 98%;
  }
}