@import url('https://fonts.googleapis.com/css?family=ABeeZee');

html, body{
	background:url("http://www.designbolts.com/wp-content/uploads/2012/12/SubtleNet-White-Simple-Seamless-Patterns-For-Website-Backgrounds.jpg");
	font-family:'ABeeZee';
}

a{
    width: 210px;
}

.header{
	background-color:#fff;
	border-radius:6px;
	padding:30px;
	color:#8A8A8A;
	text-align:center;
	border-radius:6px;
	width:50%;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:30px;
	display:block;
	font-size:40px;
	border:1px solid #D6D6D6;
}

.img{
	width:50%;
	padding-top:40px;
	padding-bottom:20px;
	background-color:#fff;
	border-radius:4px;
	text-align:center;
	transition: 0.5s;
}

.img:hover{ 
-webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
 -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 255, 0, 0.67);
-moz-box-shadow:    0px 0px 30px 0px rgba(0, 255, 0, 0.67);
box-shadow:         0px 0px 30px 0px rgba(0, 255, 0, 0.67);
}

.cap{
	width:50%;
	margin-left:auto;
	margin-right:auto;
	margin-top:-10px;
	margin-bottom:40px;
	display:block;
	padding:20px;
	background-color:#fff;
	border-radius:4px;
	text-align:center;
	font-size:18px;
}

@media screen and (max-device-width : 780px){
	.wrap{
		width:95%;
	}
	.img{
		width:95%
	}
	.cap{
		width:95%;
		font-size:28px;
	}
	.header{
		font-size:70px;
		width:95%;
	}
	.popup{
		width: 95%;
	}
	.navbar{
		font-size:50px;
	}
	.navbar img{
		height:50px;
	}
	.content{
		width:100%;
	}
}



.button {
  cursor: pointer;
}

.wrap{
	width:100%;
	margin-left:auto;
	margin-right:auto;
	display:block;
	text-align:center;
	
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 140px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 80%;
  position: relative;
  transition: all 5s ease-in-out;
  font-size:20px;
}

.popup h2 {
	font-size:36px;
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: -150px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
