.popup-main{
	margin: 10px auto;
	width: 95%;
}
.popup-main-inner {
float: left;
margin: 15px 30px 25px 29px;
width: 12%;
}
.popup-main-inner .box {
background: rgba(255, 255, 255, 0.2) none repeat scroll 0 0 padding-box;
border-radius: 20px / 50px;
float: left;
margin: 0;
padding: 0;
text-align: center;
width: 100%;
}

.popup-main-inner .button {
border: 2px solid #333;
border-radius: 20px / 50px;
color: #000;
cursor: pointer;
font-size: 1em;
padding: 15px 60px;
text-decoration: none;
//transition: 0.6s;
}
.popup-main-inner .button:hover {
  border:2px solid #C4242D;
  color:#C4242D;
}

.popup-main-inner .overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:99999;
}
.popup-main-inner .overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup-main-inner .popup {
  margin: 130px auto;
  padding: 20px;
  background: #C4242D;
  border-radius: 5px;
  width: 75%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup-main-inner .popup h2 {
  margin-top: 0;
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
}
.popup-main-inner .popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}
.popup-main-inner .popup .close:hover {
  color: #333;
}
.popup-main-inner .popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}