.popup-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    z-index: 11;
    opacity: 0;
    transition: all 1s;
}
.popup-container.active {
	opacity: 1;
}
.popup-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
}
.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: white;
    box-shadow: 0px 0px 20px 5px rgba(187,181,174,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    max-width: 640px;
}
.popup-content-out {
	max-height: 100vh;
	overflow-y: auto;
}
.popup-content-out::-webkit-scrollbar {
	width: 6px;
}

/* Track */
.popup-content-out::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
.popup-content-out::-webkit-scrollbar-thumb {
  background: #000; 
  border-radius: 10px;
}
.popup-content {
	width: 100%;	
	display: flex;
	flex-direction: column;
	align-items: center;
    padding: 40px 20px;
}



.close-popup {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    transition: all 0.2s;
    flex-direction: column;
    outline: none;
    color: #000;
    padding: 0;
    font-weight: normal;
}
.close-popup:hover {
    color: white;
    background: #000;
    cursor: pointer;
}

.popup-title {
	font-size: 20px;
    font-family: serif;
}
.popup-sub-title {
	font-size: 18px;
    font-family: serif;
}
.popup-content p {
	margin: 0 0 1rem 0;
}
.popup-content img {
	max-width: 100%;
}
.popup-links {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.popup-link {
	color: #444444;
	transition: all 0.3s;
}
.popup-link:hover {
	color: #666666;
}