/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*------------GENERAL STYLES--------*/

html{
	
	font-size: 16px;
	color:#e2e3ed;
	
}

body{
	
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	
}

ul, ol {
	
}

a{
	color:#e2e3ed;
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
	
}

h1, h2, h3{font-family: 'Poppins', sans-serif;
}



p{
	font-size: 1.1em;
	line-height: 1.5em;
}

img{
	
	width: 100%;
	
}

figure{
	margin: 0;
	
}

address{
	font-style: normal;
}

.content-wrapper{
	width: 90%;
	margin: 50px 0px;
	
}




/*-----------------Base Header - Footer Styles for all the pages ------------------*/

header,
footer{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row wrap;
}

h1{
	font-size: 2em;
	margin: 0px;
}  /* 36pt*/

h2{ 
	font-size: 1.875em;
	
}   /*30pt*/

h3{ 
	font-size: 1.125em
	
} /*18pt*/

p{
	font-size: 0.875em;
}  /*14pt*/


header{
	background-color: #202322;
}



header .header-divider{
	border: .25px solid #FFFFFF;
	margin: 15px 0px;
	width: 100%;
}

header .content-wrapper{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row wrap;
	margin: 25px 0px 15px 0px;
	width:100%;
	
}

header figure{
	width: 70%;
}


header nav{
	width: 60%;
	display: flex;
	justify-content: center;
	align-items: center;
	
}


header nav ul{
	display: flex;
	list-style: none;
	justify-content:space-around;
	width: 100%;
	padding: 0px;
}


footer{
	background-color: #202322;
	color: #FFFFFF;
}
footer p{
	margin: 0px;
	
}

footer .content-wrapper{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: column wrap;
	width: 100%;
	margin: 50px 0;

	
}

footer .contact{
	text-align: center;
	
	
}

footer .social{

	text-align: center;
	margin-top: 50px;
}

footer .copyright{
	margin-top: 50px;
}

footer p{
	font-size: 1.125em;
}

footer .social-icons{
	display: flex;
	font-size: 1.25em;
	justify-content: space-between;
	text-align:center;
	
}
footer .social-icons p{	
	height: 45px;
	width: 45px;
	border-radius: 50%;
	background: #527158;
	display: flex;
	justify-content: center;
	align-items: center;	
}


/*---------------mobile homepage styles -----------*/

/*---------hero--------*/

.hero-area{
	display: flex;
	justify-content: center;
	background: url("../img/jake-melara-30679-unsplash.jpg") center no-repeat;
	background-size: cover;
	min-height: 500px;
}
.hero-area h1{
	width: 85%;
}
.hero-area .content-wrapper{
	margin: 55px 0px 100px 0px;
}

/*-------aside----*/

aside{
	background-color:#527158;
	display: flex;
	align-content: center;
	justify-content: center;
	flex-flow: row wrap;
}

aside .content-wrapper{
	margin-top:30px;
	
}

input[type=text] {
	box-sizing: border-box;
	width: 100%;
	color:#2a423a;
	font-style: italic;
	padding: 1em;
	
}

input[type=button]{
	padding: 20px 0;
	width: 100%;
	background-color: #2a423a;
	font-family: 'Poppins', Helvetica, Arial, sans-serif;
 	font-weight: 500;
 	font-size: 1.125em;
  	color: #e2e3ed;
  	border: none;
  	text-align: center;
  	text-transform: uppercase;
}


/*---------feautures------*/
.feautures{
	display: flex;
	justify-content: center;
	align-content: center;
	flex-flow: row wrap;
	background: url("../img/rawpixel-800820-unsplash1.jpg") center no-repeat; 
	background-size: cover;
}

	
.feautures h2{
	margin-bottom: 100px;
	width: 90%;
}
.feautures .feature-items{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: row wrap;
}
.feautures p{
	margin: 0px;
	text-align: center;
}
.feautures i{
	font-size: 3.75em;
	margin-bottom: 40px;
}
.feautures article{
	display:flex;
	align-items: center;
	flex-flow: column wrap;
	width: 60%;
	margin-bottom: 100px;
}

/*-----reviews------*/
.reviews{
	display: flex;
	align-content: center;
	justify-content: center;
	background:#2a423a;
}

.reviews article{
	width: 100%;
}

.reviews h2{
	width: 100%;
}

.reviews figure{
	width:100%;
}

.reviews .team-building-text h3{
	width: 50%;
}


/*-----------About page------------*/

.mission{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row wrap;
	background-color: #527158;
}

.mission-content{
	width: 90%;
}


/*----MAP----*/

.map figure{
	position: relative;
	padding-bottom: 125%;
	overflow: hidden;
	height: 0px;
	width: 100%;
	
}

.map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
}

/*---contact--*/

.contact-section{
	background-color: #2a423a;
	display: flex;
	justify-content: center;
	align-items: center;
}

/*-----------FAQ page ------------*/


.faq {
	background-color: #527158;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row wrap;
}

.faq-content{
	color: #ffffff;
	width: 100%;
}

.faq p{
	margin-bottom: 50px;
}

.faq h1{
	color: #ffffff;
	margin: 0px;
	width:75%;
}

.faq-content h4{
	font-size: 1.125em;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/*===================================TABLET 768PX==================*/


@media only screen and (min-width: 768px){
	/*tablet size*/
	
	.content-wrapper{
		max-width: 650px;
		margin: 100px 0px;
	}
	
h1{
	font-size: 3em;
}

h2{ 
	font-size: 2.25em;
	
}

h3{ 
	font-size: 1.875em
	
}
	header figure{
		width:35%;
	}
	header .header-divider{
		display: none;
	}
	
	header .content-wrapper{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-flow: row wrap;
	margin: 20px 0px;
	width: 100%;
}

	header nav ul{
	display: flex;
	list-style: none;
	justify-content:space-between;
	width: 100%;
	padding: 0px;
}
	
	header nav{
		width: 25%;
		
	}

	/*---------------hero area------------------*/
	
	.hero-area {
		min-height: 600px;
	}

	
	/*-------------aside----------------*/
	
	aside{
		display: flex;
	}
	
	aside .content-wrapper{
		display: flex;
		width: 100%;
		margin: 50px 0px;
	}
	
	aside .content-wrapper .signup-form,
	aside .content-wrapper .signup-text{
		
		width: 50%;
	}
	
	aside .content-wrapper .signup-text p{
		width: 85%
	}
	
	aside .content-wrapper .signup-form{
		margin-left: 100px;
	}
	
	/*-------------features-----------*/
	
	
	.feautures h2{
		width: 100%;
		
	}
	
	
	.feautures .feature-items{
		display: flex;
		justify-content: space-around;
		flex-flow: row wrap;
		
	}
	
	
	
	.feautures article{
		display: flex;
		margin-left:0px;
		margin-right: 0px;
		flex-basis:45%;
	}
	
	.feautures .features-item-description{
		width: 85%;
		text-align: center;
		
		
}

	/*-------------review-------------*/

	.reviews .content-wrapper{
		display: flex;
		flex-flow: row wrap;
		
	}
		
	.reviews article{
		display: flex;
		justify-content: space-between;
		width: 100%;
	}
	
	.reviews figure{
		width: 48%;
	}

	.team-building-text{
		width: 48%
	}
	
	.reviews .team-building-text h3{
		margin:0px;
		padding:0px;
		width: 100%;
	}
	
	
	
	
	

/* ========================= ABOUT PAGE =================== */
	
/*------------mission------------*/	
	
	.mission .content-wrapper{
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		
	}
	
	.mission h1{
		margin-bottom: 40px;
	}
	
	.mission-content{
		width:40%;
	}
	
/*-------map-----------*/
	
	.map figure{
	position: relative;
	padding-bottom: 45%;
	overflow: hidden;
	height: 0px;
	width: 100%;
	
}
	
	/*---------contact-----------*/	
	
	
	.contact-section{
		display: flex;
		justify-content: center;
		align-items: center;
		
	}
	
	.contact-section .content-wrapper{
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}
	
	.contact-section .information,
	.contact-section .chat{
		width: 40%
	}
	
	/*======================FAQ PAGE ===================*/
	
/*----------faq-----------*/
	.faq{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.faq .content-wrapper{
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		
	}
	
	.faq h1{
		margin-bottom: 20px;
		width: 100%
	}		
	
	.faq-content{
		flex-basis: 45%;
	}	
	
	
	/*--------------footer------------*/
	
	
	


footer .footer-content{
	display: flex;
	justify-content: space-between;
	width: 90%;
}

footer .copyright{
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top:100px;
}
	
footer .social{
		margin-top: 0px;
		width: 35%
	}	
	
}

/*==================================SCREEN 1200PX=====================*/

@media only screen and (min-width:1200px){
		/* desktop size*/

.content-wrapper{
			max-width: 965px;
		}
		

/*======================HOMEPAGE===============*/
	
	
/*---------header--------*/
	

header figure{
		width: 30%;
	}
		
header nav{
		width:15%;
	}
	
/*-------hero-----*/

.hero-area h1{
			width: 65%;
		}

/*---------aside------*/

aside .content-wrapper{
			display: flex;
			justify-content: space-around;
			
		}		
aside .content-wrapper	.signup-form{
			display:flex;
			align-items: center;
			flex-flow: row wrap;
			width: 30%;
			
		}
aside .content-wrapper .signup-text{
			width: 30%;
		}
		
.signup-form input{
			width: 80%
		}
		
/*------feautures------*/
		
		.feautures article{
			display: flex;
			flex-basis: 33%;
			justify-content: center;
			align-items: center;
		}	
	
		.feautures .content-wrapper{
			display: flex;
			flex-flow: row wrap;
			justify-content: space-around;
			align-items: center;

		}
		
		.feautures .feature-items{
			width: 80%;
			display: flex;
			justify-content: space-around;
			padding-top:40px;
		}
		

/*-----reviews------*/
.reviews{
	display: flex;
	align-content: center;
	justify-content: center;
	
}

.reviews article{
	width: 97%;
}

.reviews h2{
	margin-bottom: 100px;
	width: 100%;
}	

.reviews  figure{
		
		width: 48%;
	}
.team-building-text{
		width: 48%;
	}
	
.team-building-text h3{
		margin:0px;
	}
		
/*=============================ABOUT PAGE==================*/


		.contact-section .content-wrapper{
			display: flex;
			justify-content: space-between;
		}		
		
		.contact-section h1{
			width: 100%;
		}
		
		.information{
			width: 35%;
		}
		
		.chat{
			width: 45%;
		}
	
	
	/*-------map-----------*/
	
	.map figure{
	position: relative;
	padding-bottom: 40%;
	overflow: hidden;
	height: 0px;
	width: 100%;
	
}
		
/*======================FAQ PAGE=================*/
		
	.faq h1{
		width:100%;
	}	
	
	
/*---------footer--------*/
	
footer .social{
		width: 25%
	}	
	
}
	
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

