html {
	background-color: #0b331c ;
	background-image: url("images/Doglandia-light-paw-01.png");
	background-repeat: repeat; 
}

body {
	background-color: white; 
	font-family: 'Spartan', sans-serif;
	max-width: 1280px;
	width: 80%;
	margin: auto;
	align-content: center;
	border: 6px solid black;
}
h1 {
	padding-top:1em;
	margin-left:1em;
	margin-right:3em;
	font-size: 1.75em;
}

h2 {
	padding-top:1em;
	margin-left:1em;
	margin-right:3em;
	font-size: 1.25em;
}

p {
	margin-left: 4em;
	margin-right: 4em;

}

.box25 {
	width:25%;
}

.box75{
	width: 75%
}

.box50{
	width: 50%;
}

.box100 {
	width:100%;
}

.imgRight	{
	float: right;
}

.imgLeft	{
	float: left;
}

a:link {
	color:#598e3f;
	cursor: pointer;
	text-decoration: underline;
	font-weight: 600;
}

a:visited {
	color:#598e3f;
}

a:hover{
	color:#00aeef;
	text-decoration: underline;
}
/*************************styles for heading***************************************/
#heading {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:flex-start;
	background-color: #00aeef;
	color:white;
	text-align: left;
	font-family: Spartan, sans-serif;
	font-weight: 600;
	padding: 10px;
	border-bottom: 6px solid #83cba4;
	max-height: 160px;
	align-items:baseline;
}



#nav-bar {
	overflow:hidden;
	padding-bottom: 20px;
}



#nav {
	list-style: none;
	padding-left: 5px;
}

#nav li {
	display: inline-block;
}

#nav li a {
	text-decoration: none;
	display: block;
	padding: 5px 15px;
	color: #eee;
	float:left;
}

#nav li.active a {
	color:black;
	background: rgba(0, 148 ,68 , .5);
}

#nav li a:hover {
	background: rgba(0, 148, 68, .5);
	color:white;
}

#Hlogo {
	width: 150px;
	margin: 10px 5px -30px 20px;
	padding: 10px;
	background-color: rgba(0, 148, 68, .5);
	}



/*************************end of header styles************************************/
/*************************styles for body intro************************************/

#intro {
	background-color: rgba(0, 148, 68, .1);
	border-bottom: 6px solid #83cba4;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:flex-start;
	max-width:100%;
}

#intro img {
	max-width: 100%;
	height: auto;
	float:right;
}
/*************************end of styles for body intro**************************/
/*************************Styles for events************************************/
#events {
	background-color: white;
	margin: 0 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	border-bottom: 6px solid #83cba4;
}

.eventsHeading {
	background-color: rgba(0, 174, 239, .5);
	align-content: center;
	text-align: center;
	margin: 0;
	width:100%;
}

/*************************end of Styles for events*****************************/
/*************************styles for popular**************************************/
#popular {
	background-color: #598e3f;
	padding: 15px 0 15px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	border-bottom: 6px solid #83cba4;
}


figure {
  display: table;
}

figcaption {
  display: table-caption;
  caption-side: top;
  background-color:#0b331c;
  color:white;
  text-align: center;
  padding:3px;
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
}

.popular img {
  width: 200px;
  height: 200px;
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
  transition: transform 0.1s linear;
}
.popular a:hover img{
  box-shadow: 6px 6px 6px rgba(0,0,0,.3)
}
.popular a:hover #img1, a:focus #img1{
  transform: rotate(-3deg) scale(1.5);
}
.popular a:hover #img2, a:focus #img2 {
  transform: rotate(5deg) scale(1.5);
}
.popular a:hover #img3, a:focus #img3{
  transform: rotate(-7deg) scale(1.5);
}
.popular a:hover #img4, a:focus #img4{
  transform: rotate(2deg) scale(1.5);
}

/*************************end of styles for popular	**************************************/

/************************styles for ABOUT page**************************/
#aboutIntro {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:flex-start;
}

#aboutIntro img {
	padding: 30px 20px;
}

#aboutus {
	background-color: #b4deee;
	margin: 0;
	padding: 8px;
	border-bottom: 6px solid #83cba4;
	clear:both;
}





/*************************styles for footer	**************************************/

footer {
	background-color: #83cba4;
	text-align: center;
	font-family: Spartan, sans-serif;
	font-weight: 600;
	border-top: 6px solid #00aeef;
	margin: auto;
}

footer p:first-of-type {
	margin-top: 10px;
}

footer p {
	margin:0;
}
#footer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:flex-start;
}



#Flogo {
	width: 150px;
	margin-bottom: -20px;
	padding-left: 20px;
	flex-wrap: nowrap;
}

#copy{
	background-color: #00aeef;
	color: white;
	text-align: center;
	font-family: Spartan, sans-serif;
	font-weight: 600;
	padding: 5px 0 5px 0;
	border-top: 6px solid #83cba4;
	margin: auto;
}

.email {
	font-size:1.5em;
}

footer a:link {
	color:#0b331c;
	cursor: pointer;
	text-decoration: underline;
}

footer a:visited {
	color:#598e3f;
}

footer a:hover{
	color:ivory;
	text-decoration: underline;
}


/***********************END of footer styles*/