*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
 
.popup
{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: block;
  z-index: 9999;
}
.contentBox
{
  position: relative;
  width: 600px;
  height: 400px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding:0 10%;
}
.popup .imgBx
{
  position: relative;
   
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup .imgBx:before
{
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: #e7ffe0;
  border-radius: 50%;
}
.popup .imgBx img
{
  position: relative;
  max-width: 250px;
  z-index: 1;
}
.popup .content
{
  position: relative;
  width: 100%;
  max-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup .content h3
{
  color: #333;
  line-height: 1em;
  font-size: 2em;
  font-weight: 500;
  margin-top:50px;
}
.popup   h5
{
  color: #FFFFFF;
  background: #ff4d54;
  width: 100%;
  margin-top: 0px;
  text-align: center;
  line-height: 2.5em;
  font-size: 2.2em;
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px 20px 0 0;
}
.popup .content h2
{
  font-size: 4em;
  line-height: 1em;
  color: #333;
  color: #ff4d54;
}
.popup .content h2 span
{
  color: #333;
  font-size: 0.75em;
  text-transform: uppercase;
}
.popup .content p
{
  font-weight: 300;
}
.popup .content a
{
  display: inline-block;
  padding: 10px 20px;
  background: #ff4d54;
  color: #fff;
  margin-top: 30px;
  text-decoration: none; 
  border-radius: 10px;
   
}
.close
{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #f3f3f3 url(404.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}
 
 
@media (max-width: 768px)
{
  .contentBox
  {
    width: 300px;
    height: auto;
    flex-direction: column;
  }
  .popup .imgBx
  {
    height: 200px;
    transform: translateY(-50px);
  }
  .popup .imgBx:before
  {
    background: #fff;
  }
  .popup .content
  {
    height: auto;
    text-align: center;
    padding:10%  5%;
   
  }
  .popup   h5
{
  color: #FFFFFF;
  background: #ff4d54;
  width: 100%;
  margin-top: 0px;
  text-align: center;
  line-height: 2em;
  font-size: 2em;
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px 20px 0 0;
}
  .popup .content h3
{
  color: #333;
  line-height: 1em;
  font-size: 1.2em;
  font-weight: 500;
}
.popup .content h4
{ 
  line-height: 1.5em;
  font-size: 0.9em; 
}
  .popup .content a
    {
    
    margin-top: 15px; 
    }
  .close
  {
    top: -50px;
    right: -10px;
    background: #fff url(404.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
  }
}