.popup-container2{
  position: fixed;
  top: -200%;
  left: 0;
  z-index: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  opacity: 0;
  overflow-y: auto;
  transition: opacity 1s ease-in-out, top 0.6s linear;
	
}
.popup-container2.active{
  top: 0;
  opacity: 1;
}
.popup-background{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}
.popup2 {
	background: url(../img/fon-banner-5-vect.jpg) no-repeat center;
	position: relative;
  z-index: 400;
  width: 100%;
  max-width: 400px;
  padding: 16px;
  line-height: 1.2;
 
  border-radius: 6px;

}
.popup2 .fa-close{
  position: absolute;
  top: 6px;
  right: 12px;
  z-index: 10;
  display: inline-block;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
	text-align: center;
}
.popup2 .fa-close:hover{
  transform: scale(1.2);
}
.popup2 h2{
  margin-top: 10px;
  margin-bottom: 14px!important;
font-size: 20px;
	text-align: center;
	padding: 0 20px;
	font-weight: 600!important;
	color: #fff;
}
.bimg img {
	height: 260px!important;
}
.button-p {
  font-size: 18px;
  padding: 15px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: 'Open Sans',Arial,sans-serif;
  line-height: 1.55;
  font-weight: 600;
  border-width: 1px;
  background-position: center center;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  margin-bottom: 10px;
  min-width: 280px;
  max-width: 576px;
  margin: 0 auto 10px;
  background: linear-gradient(to bottom, #e4c86e 5%, #8a7651 100%);
    background-color: rgba(0, 0, 0, 0);
  background-color: #e4c86e;
  border-radius: 30px;
  cursor: pointer;
  color: #000;
  font-weight: 400;
  text-decoration: none;
}

@media screen and (max-width: 500px) {

.popup2 h2 {
  margin-top: 10px;
  margin-bottom: 14px !important;
  text-align: center;
  padding: 0 0px;
  font-weight: 600 !important;
	font-size: 20px;
}
.bimg img {
  height: 260px!important;
}
.button-p {
margin-top: 0;	
	margin-bottom: 10px;
}
}
@media screen and (max-height: 500px){
.bimg img {
  height: 200px!important;
}
}