.popup
{
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: none;
  z-index: 11;
}

.contentBox
{
  position: relative;
  width: 600px;
  height: 400px;
  top: 25%;
  left: 30%;
  border-radius: 20px;
  display: flex;
}


.contentBox .imgBx 
{
  position: relative;
  width: 300px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contentBox .imgBx img
{
 position: relative;
 max-width: 250%;
 left: 135px;
 top: 10px;
 z-index: 1; 
}

.contentBox .content
{
 position: relative;
 width: 300px;
 height: 400px;
 display: flex;
 justify-content: center;
 align-items: center; 
}

.contentBox .content h3
{
  color: #333;
  line-height: 1em;
  font-weight: 300;
  font-size: 2em; 

}

.contentBox .content h2
{
  font-size: 4em;
  color: #ff4d54;
  line-height: 1em;
}

.contentBox .content h2 span
{
  color: #333;
  font-size: 0.75em;
  text-transform: uppercase;
}

.contentBox .content p
{
  font-weight: 300;
}

.contentBox .content a
{
  display: inline-block;
  padding: 10px 20px;
  background: #ff4d54;
  color: #fff;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 10px;
}

.close 
{
  position: absolute;
  top: 10px;
  right: -50px;
  width: 40px;
  height: 40px;
  background: #f3f3f3 url(../images/close.png);
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

@media (max-width: 767px)
{
 .contentBox
    {
        height: auto;
        left: 1%;
        top: 15%;
        flex-direction: column;
        margin: auto;
 
    }
    .contentBox .imgBx
    {
        height: 150px;
        transform: translateY(-50px);
    }
    .contentBox .imgBx::before
    {
      content: '';
      position: absolute;
      width: 150px;
      height: 150px;
      background: #ff1a04;
      border-radius: 50%;
    }
    .contentBox .imgBx img 
    {
      position: relative;
      max-width: 160px;
    }
    .contentBox .content
    {
        height: auto;
        text-align: center;
        padding: 20px;
        padding-top: 0;
        left: -10px;
    }


 .close 
 {
  top: -50px;
  right: -10px;
  background: #f3f3f3 url(../images/close.png);
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
 }
}