@import url('https://fonts.googleapis.com/css?family=Fira+Sans:400,700');

html, body {
  height: 100%;
  margin: 0;
}

body{
	padding: 0;
	margin: 0;
	font-family: 'Fira Sans', sans-serif;
}


h1, h2, h3, h4, h5, h6{
	color: #30B109;
    font-weight: 300;
    padding: .1em;
    margin: .1em 0;
    font-family: "Fira Sans", sans-serif;
    font-weight: bold;
}

h1{
	text-align: center;
	padding: 0;
	margin: 5px;
	font-size: 24px;
}

/*Styles for all the header*/

header div{
	margin-top: 10px;
	width: 100%;
	display: flex;
	flex-direction: row;
	margin-bottom: 10px;
}

header div img{
	width: 150px;
	height: 100px;
	top: 40px;
	padding-left: 20px;
}

header div h1{
	width: 150px;
	margin: 0;
	padding: 0;
	color: #30B109;
	margin-left: 30px; 
	margin-top: 40px;
	font-size: 42px;

}

nav{
	width: 100%;
	background-color: #424242;
	margin-bottom: 30px;
}

nav ul{
	max-width: 750px;
	margin: 0 auto;
	list-style: none;
}

nav ul li{
	display: inline-block;
	width: 135px;
	padding: 25px 0; 
	margin: 0 auto;
	position: relative;
	right: -30px;
	
}

nav ul li a{
	text-decoration: none;
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
	padding: 25px 19px;
	position: relative;
	bottom: 0;
}

nav ul li a:hover{
	background-color: #FE6719;
}

nav ul li a:visited{
	color: #30B109;
}

nav ul li a:active{
	color: #666666;
}


/* Styles for main section */

main div{
	display: flex;
	flex-direction: row;
	width: 700px;
	margin: 0 auto;
}


/*Animation for the banner*/


#image-1, #image-2, #image-3{
	position: absolute;
  	width: 100%;
  	height: 100%;
}

@keyframes fade1
{
  0%   {opacity:1}
  33.333% { opacity: 0}
  66.666% { opacity: 0}
  100% { opacity: 1}
}
@keyframes fade2
{
  0%   {opacity:0}
  33.333% { opacity: 1}
  66.666% { opacity: 0 }
  100% { opacity: 0}
}
@keyframes fade3
{
  0%   {opacity:0}
  33.333% { opacity: 0}
  66.666% { opacity: 1}
  100% { opacity: 0}
}


#home-images{
	width: 90%;
  	height: 500px;
  	margin: 20px auto;
  	position: relative;
  	box-shadow: 10px 10px 5px #888888;
}

#image-1{
	animation: fade1 15s infinite;
}

#image-2{
	animation: fade2 15s infinite;
}

#image-3{
	animation: fade3 15s infinite;
}

.profile-content{
	display: flex;
	flex-direction: column;
	margin-left: 10px;
	padding: 20px;
}

.row{
	display: flex;
	flex-direction: column;
}

.row div{
	margin: 0 auto;
}

.row div p{
	margin: 0 auto;
}

main ul{
	color: #000000;
    font-size: 16px;
    list-style: none;
  	padding: 0;
  	margin: 0;
}


/*Adding styling for bullets*/

main li {
  padding-left: 2em; 
  text-indent: -.7em;
}

main li::before {
  content: "• ";
  color: #FE6719; 
}



main p{
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding: 5px;
	text-align: left;
	font-size: 16px;
}

main figure{
	width: 179px;
	margin: 30px auto;
}

#introduction{
	padding: 30px 80px;
}

main .gallery:hover{
	box-shadow: 10px 10px 5px #888888;
}

main figure img {
    border: solid 2px #424242;
}

main figcaption{
	text-align: center;
	color: #FE6719;
	font-size: 20px;
	font-weight: bold;
}

main a:hover{
	color: #30B109;
}


main a{
	color: #FE6719;
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;	
}

/* Styles footer section */

footer{
    background-color: #424242;
    width: 92.5%;
    text-align: left;
    font: normal 16px sans-serif;
    padding: 50px 50px 85px;
    margin-top: 50px;
}

.footer .wrapper{
	width: 750px;
	margin: 0 auto;
}

.footer .footer-left p{
    color:  #8f9296;
    font-size: 14px;
    margin: 0;
    max-width: 180px;
}

/* Footer links */

.footer p.footer-links{
    font-size: 18px;
    font-weight: bold;
    color:  #ffffff;
    margin: 0 0 10px;
    padding: 0;
}

.footer p.footer-links a{
    display:block;
    line-height: 1.8;
    text-decoration: none;
    color:  #FE6719;
}

.footer p.footer-links a:hover{
	color: #30B109;
}

.footer p{
	color: #ffffff;
	font-weight: 300;
}

.footer a{
	margin: 0 40px;
}


.footer .footer-middle{
    float: right;
    width: 350px;
    height: 50px;
}

.footer .footer-right{
    float: right;
    margin-top: 6px;
    max-width: 180px;
}

.footer .footer-right a, .footer .footer-left a{
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #30B109;
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-left: 3px;
}


/* This are the styles for the contact form */

#contact{
	display: flex;
	flex-direction: row;
}

#contact div{
	display: flex;
	flex-direction: column;
	width: 45%;
}

#contact div address{
	padding: 10% 20%;
}

iframe{
	box-shadow: 10px 10px 5px #888888;
	width: 80%;
	margin: 0 auto;
	height: 300px;
	border: none;
}

.form {
    margin:10px auto;
    background-color: #424242;
    width: 60%;
    padding: 20px 12px 10px 20px;
    border: solid 1px #999999;
}

.form label, .form p{
    margin:0 0 3px 0;
    padding: 0;
    color: #FE6719;
    font-weight: bold;
    display:block;
    font-weight: bold;
    margin: 5px 10%;
}

.form p{
	margin: 10px 25%;
	color: #30B109;
}

.form input[type=text], 
.form input[type=email],
textarea{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #BEBEBE;
    padding: 7px;
    margin: 5px 10%;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;  
}

.form input[type=text]:focus, 
.form input[type=email]:focus,
.form textarea:focus{
    -moz-box-shadow: 0 0 8px #88D5E9;
    -webkit-box-shadow: 0 0 8px #88D5E9;
    border: 1px solid #88D5E9;
}

.form .field-long{
    width: 80%;
}

.form .field-textarea{
    height: 100px;
}

.form input[type=submit]{
    background: #30B109;
    padding: 8px 15px 8px 15px;
    border: none;
    color: #ffffff;
    display: block;
	margin: 15px 10%;

}

.form input[type=submit]:hover{
    background: #FE6719;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
}

.form .required{
    color: red;
}



/*Light box*

/* Unopened lightbox */
.lightbox {
  display: none;
}

/* Opened lightbox */
.lightbox:target {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox content */
.lightbox img {
  width: 800px;
  position: relative;
  padding: 10px;
  background-color: #ffffff;
  left: -150%;
}

/* Close button */
.lightbox .close {
  position: relative;
  display: block;
  left: -450px;
}

.lightbox .close::after {
  right: -1rem;
  top: -1rem;
  width: 2rem;
  height: 2rem;
  position: absolute;
  display: flex;
  z-index: 1;
  align-items: center;
  justify-content: center;
  background-color: black;
  border-radius: 50%;
  color: white;
  content: "×";
  cursor: pointer;
}

/* Lightbox overlay */
.lightbox .close::before {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0,0,0,.7);
  content: "";
  cursor: default;
}

.big-image{
	display: none;
}

/*Responsive styles*/

@media only screen and (max-width: 778px) {
   ul{
   		display: flex;
   		flex-direction: column;
   		padding: 0;
   		margin: 0;
   }

   nav ul li a{
   	padding: 10px 0;
   	margin: 0 35%;
   }

   nav ul li a:hover{
   	background-color: transparent;
   }

   nav ul li{
   	padding: 10px 0;
   	width: 100%;
   	margin: 0;
   	position: relative;
	right: 0;
   }

   nav ul li:hover{
   	background-color: #FE6719;
   }

   #home-images{
   	height: 300px;
   }

   #introduction{
   	padding: 30px;
   }

   #page-logo-title h1{
   	display: none;
   }

    #page-logo-title{
    	margin: 10px auto;
    }

     #page-logo-title img{
    	margin: 0 auto;
    }

   #contact{
   	display: flex;
   	flex-direction: column;
   	width: 100%;
   	margin: 0;
   	padding: 0;
   }

   main{
   		width: 100%;
   		padding: 0;
   		margin: 0;
   }

   main .form, #contact div, #contact div address{
   	width: 80%;
   	margin: 30px auto;
   	padding: 0;
   }

   main div{
   		width: 100%;
   		flex-direction: column;
   }

   footer{
   		width: 100%;
   		padding: 70px 0;
   		margin: 0;
   }

   footer div{
   	display: flex;
   	flex-direction: column;
   	width: 100%;
   }

   .footer .wrapper{
   	width: 100%;
   }

   .footer .footer-middle{
   		width: 100%;
   		order: 3;
   }

   .footer .footer-middle p{
   		font-weight: 300;
   }

   .footer .footer-left, .footer-right, .footer .footer-middle{
   		display: flex;
   		flex-direction: row;
   		margin: 10px auto;
   		width: 180px;
   }

   .footer div div a{
   		margin: 0 auto;
   }

   .footer .footer-middle{
   		display: flex;
   		flex-direction: column;
   }

   .profile-content{
   	width: 80%;
   	display: flex;
   }
}
