.page-content   {
    max-width: 700px;
    font-family: "Roboro, San-serif";
    margin: 0 auto;
}

.page-content p {
    line-height: 2;
}

.popup-overlay  {
    background: rgb(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh; 
    width: 100%;
    opacity: 0;
    transition: all 700ms ease;

}

.popup-overlay.active  {
    opacity: 1;
}

.popup-container  {
    position: fixed;
    /*background: red;*/
    left: 50%; 
    top: 50%;
    transform: translate(-50%, calc(-50% + 50px));
    font-family: "Raleway", sans-serif;
    color: white;
    padding: 12px 0;
    box-shadow: 0 6px 55px --10px rgba(0, 0, 0, 0.7);
    /*background-image: url("images/background.jpg");*/
    background-size: cover;
    height: 60%;
    text-align: center;
  

    opacity: 0;
    pointer-events: none;
    transition: all 700ms ease;
}

.popup-overlay.active .popup-container {
transform: translate(-50%, -50%);
opacity: 1;
pointer-events: auto;
}

/*return image to its default position*/
.popup-overlay.active .left .pic-1,
.popup-overlay.active .left .pic-2 {
    transform: translateX(0);
}

.popup-container,
.popup-container * {
    box-sizing: border-box;
}

.popup-container .left img  {
    position:absolute;
    bottom: 0;
    height: 50vh;
}

/*move image from its default position*/
.popup-container .left .pic-1  {
    left: -20px;
    top: 5px;
    transform: translateX(0);
    transition: all 1700ms ease;
}

/*move image from its default position*/
.popup-container .left .pic-2  {
    left: 0;
    top: 80px;
    transform: translateX(-20px);
    transition: all 1700ms ease;
    transition-delay: 600ms;
}

.popup-container .left .pic-3  {
    left: 0;
    top: 190px;
}

.popup-container .right {
    width: 540px;
    padding: 16px;
    padding-top: 10%;
}

.popup-container .skip-button {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #000;
    padding: 2px 6px;
    font-size: 14px;
    cursor: pointer;
}

.popup-container .button {
    background: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold; 
    color: #000;
    padding: 8px 24px;
    margin-top: 8px;
    cursor: pointer;
}

.popup-container h2.popup-heading {
    font-size: 30px;
}

.popup-container p.description {
    font-family: sans-serif;
    text-align: center;
    font-size: 15px;
    line-height: 1.2;
    margin-top: 60%;
}

.popup-container .left .pic-4  {
    display: none;
}

@media (max-width: 560px) {
    .popup-container .left .pic-1,
    .popup-container .left .pic-2,
    .popup-container .left .pic-3 {
        height: 30vh;
    }
    .popup-container .right {
        width: 300px;
        padding: 16px;
        padding-top: 20%;
    }

    .popup-container .left .pic-4 {
        display: block;
        width: 100%;
    }

    .popup-container .left .pic-4 {
        position: relative;
    }

    .popup-container {
        padding: 0;
        height: 500px;
    }
  }