/* CSS for Modal */
.cmp-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cmp-button {
    text-decoration: none;
    font-size: .875rem;
    font-weight: 300;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 1.5rem;
    background-color: #fff;
    color: #9191E9;
    padding: 1rem 2rem;
}

.cmp-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
	padding-top: 100px;
    width: 100vw;
    height: 100vh;
   bottom: 0px;
    right: 0;
    background-color: rgba(0, 0, 0, .80);
     z-index: 10000;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: .64s ease-in-out;
}
.cmp-popup:target {
    visibility: visible;
    opacity: 1;
}
.cmp-popup-inner {
   /* position: relative;*/
    bottom: -100vw;
    right: -100vh;
    display: flex;
    align-items: center;
    max-width: 1000px;
    max-height: 800px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: rotate(0deg);
    transition: .64s ease-in-out;
}
.cmp-popup-inner:target {
    bottom: 0;
    right: 0;
    transform: rotate(0);
}

.cmp-popup__photo{
	    background: antiquewhite;
    width: 50%;
    height: 100%;
	
}
.cmp-popup__photo img {
      width: 100%;
    height: 100%;
    object-fit: cover;
}
.cmp-popup__text {
    padding: 2rem;
	width:50%;
	height: 100%;
    overflow-y: auto;
}
.cmp-popup__text h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #0A0A0A;
}
.cmp-popup__close {
    position: absolute;
    right: -1rem;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.875rem;
    font-weight: 300;
    border-radius: 100%;
    background-color: #0A0A0A;
    z-index: 10000;
    color: #fff;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.cmp-popup__close:hover {
	text-decoration: none;
	 color: #F3AF32;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.cmp-popup-inner{
		width: 90%;
		display: flex;
    flex-direction: column;
    height: 100%;
	}
	
	.cmp-popup__photo{
		    background: antiquewhite;
    width: 100%;
    height: 30%;
	}
	
	.cmp-popup__text {
    padding: 2rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
	}
	
	
}
