.rheincenter-popup {
  position: fixed;
  inset: 0;
  z-index: 19999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rheincenter-popup[hidden] {
  display: none !important;
}

.rheincenter-popup__inner {
  width: 50%;
  height: auto;
  max-height: 50%;
  background: #fff;
  overflow: hidden;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.rheincenter-popup__content {
  width: 100%;
  height: auto;
  max-height: 100%;
  padding: 60px;
  padding-bottom: 122px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 55, 139, 0.35) transparent;
}

.rheincenter-popup__content::-webkit-scrollbar {
  width: 8px;
}

.rheincenter-popup__content::-webkit-scrollbar-track {
  background: transparent;
}

.rheincenter-popup__content::-webkit-scrollbar-thumb {
  background: rgba(0, 55, 139, 0.35);
  border-radius: 8px;
}

.rheincenter-popup__content > * {
  max-width: 100%;
}

.rheincenter-popup__close {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  background: #00378b;
  color: #fff;
  transition: all 0.2s ease;
  padding: 0.75vw 10px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: Raleway, Arial, Verdana, sans-serif;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0.2vw solid #00378b;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
}

.rheincenter-popup__close:hover {
  color: #00378b !important;
  background: #fff;
  border-color: #00378b;
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .rheincenter-popup__inner {
    width: 90%;
    max-height: 70%;
  }

  .rheincenter-popup__content {
    padding: 30px;
    padding-bottom: 92px;
  }

  .rheincenter-popup__close {
    padding: 8px 12px;
    border-width: 2px;
    font-size: 0.8rem;
  }
}
