.popupOverlay {
    background-color: rgba(0, 0, 0, 0.8);
    border: solid 2px #666;
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 2;
}

.popupContentContainer {
    position: relative;
    background-color: #fff;
    border: solid 2px #666;
    border-radius: 4px;
    box-shadow: 3px 3px 6px rgba(0,0,0,.3);
    height: fit-content;
    max-height: calc(100% - 3rem);
    box-sizing: border-box;
    z-index: 3;
}

.scrollPopup {
    overflow: auto;
    padding: 2rem;
    /* height: calc(100vh - 8rem); */
    max-height: calc(100vh - 8rem);
    position: relative;
    box-sizing: border-box;
    z-index: 4;
}
.closePopup {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    height: 3rem;
    width: 3rem;
    background-image: url('/images/close-round.svg');
    background-size: contain;
    z-index: 5;
}

.closePopup:hover {
    filter: brightness(120%);
    transform: scale(1.1);
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid;
    border-color: #000 #0000;
    animation: l1 1s infinite;
  }
  @keyframes l1 {to{transform: rotate(.5turn)}}