
.close-btn img {
    pointer-events: none;
}
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #7c5e19;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
    border-radius: 8px;
    text-align: center;
}

.popup-content2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #7c5e19; color:#fff;
    padding: 20px 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
    border-radius: 8px;
    text-align: justify;
	height: auto;
    max-height: 80vh;
	display: flex;
    flex-direction: column;
}
.popup-header {
    position: relative;
    padding: 15px 40px 15px 20px;
    background: #7c5e19;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
	margin-bottom:10px;
}

.popup-body {
    padding: 20px 10px;
    overflow-y: auto;   /* only body scrolls */
    flex-grow: 1;
}

.popup-content h2 {color:#fff}

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    font-size: 20px;
	z-index:90
}


@media screen and (min-width: 300px) {
	.popup-content {width:94%;}
	.popup-content2 {width:96%;}
}

@media screen and (min-width: 480px) {
	.popup-content {width:80%;}
}

@media screen and (min-width: 768px) {
	.popup-content {width:60%;}
	.popup-body {padding: 20px;}
	.popup-content2 {padding: 20px;}
}
@media screen and (min-width: 1024px) {
	.popup-content {width:50%;}
	.popup-content2 {width:70%;}
}

@media screen and (min-width: 1366px) {
	.popup-content {width:35%;}
}
@media screen and (min-width: 1600px) {
	.popup-content {width:30%;}
	.popup-content2 {width:70%;}
}
.popup-body p {margin-bottom:20px}