/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * 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;
}

* {
		image-rendering: -webkit-optimize-contrast;
}

/*
 * 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;
}



/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

p {
	line-height: 2em;
}

.scroller {
	  scroll-snap-points-y: repeat(100%);
  scroll-snap-type: mandatory;
  scroll-snap-destination: 100% 0%;
}


#mainNav {
	transition: all .5s;
	z-index: 200;
}

#mainNav.active {
	background-color: #5763ef
}

nav {
	position: fixed;
	width: 100%;
	padding: 15px;
	padding-right: 15px;	
}

nav ul {
	list-style: none;
	color: #fff;
	float: right;
	margin-top: 15px;
	margin-right: 30px;
  padding-left: 0;
}

nav ul li {
	display: inline-block;
}

nav ul li a {
	color: #fff;
	text-decoration: none;
	padding: 15px 30px;
}

h2 {
	color: #ccc;
	margin-bottom: 20px;
  font-size: 80px;
  font-family: 'Merriweather', serif;
  font-weight: normal !important;
}

h3 {
  font-weight: 600;
}

h4 {
	position: absolute;
	top: -78px;
	color: #5561f1;
	margin-top: 0;
	font-size: 80px;
  font-family: 'Merriweather', serif;

}

.logo {
	background-image: url(../img/logo.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 300px;
	height: 300px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	image-rendering: -webkit-optimize-contrast;
	-webkit-filter: drop-shadow(0px 3px 10px rgba(0,0,0,.8));
        filter: drop-shadow(0px 0px 10px rgba(0,0,0,.8));

}

.buttons li {
	margin-left: 15px;
}

.buttons li a {

	background-color: #8BC34A;
	border-radius: 3px;

}

.firstSection {
	height: 100vh;
	min-height: 100%;
	background-image: url(../img/title.jpg);
  	background-size: cover;
  	transition: all .3s;
  	padding: 0px !important;
}

.firstSection.active {
	height: 100px;
}


.firstSection.active .logo {
	opacity: 0;
	z-index: -1;
}



.section {
	padding: 120px 0px;
}

.container {
	width: 85%;
	max-width: 800px;
	margin: 0 auto;
}

.aboutSection {
	position: relative;
	z-index: 10;
  padding-bottom: 320px !important;
  padding-top: 260px !important;
}

.teamSection {
	background-color: #5662f0;
	position: relative;
}

.team > .member:nth-child(3) {
	margin-left: 2%;
	margin-right: 2%;
}

.team > .member {
	background-image: url(../img/robert.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
  	transition: all .3s;
  	position: relative;
}

.team > .member:nth-child(3) {
	background-image: url(../img/ross.jpg);
}


.member:hover {
	 -webkit-filter: grayscale(0) saturate(2);
  	filter: grayscale(0) saturate(2);

}


.member:before {
content: 'Robert';
  position: absolute;
  top: -24px;
  left: 15px;
  color: #fff;
  transition: all .3s;
  box-sizing: border-box;
  font-size: 23px;
}


.team > .member:nth-child(3):before {
    content: 'Ross';
}

.member:after {
content: '';
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
  padding: 15px;
  color: #fff;
	background-color: rgba(0,0,0,.0);
	transition: all .3s;
  box-sizing: border-box;
}
.member:hover:after {
  content: 'Robert Venter is a property manager that knows how it feels to be a landlord. Having his own rental properties, Robert said that he understands the feel of having good tenants and a hassle free investment.';
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #5763efbf
}

.team > .member:nth-child(2):hover:after {
  content: 'Born and raised in Napier, Ross has a life time of experience in the Bay and has a fantastic network of people through family, work and social interests. For the past five years, Ross has been involved in the real estate industry in Napier. ';
}


.member {
	width: 32%;
	height: 360px;
	background-color: #fff;
	float: left;
}

.parallax-background {
    background-image: url('../img/house.jpg');
    background-position: 50% 0;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    -moz-transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    height: 300px;
}

.quoteSection {
	height: 400px;
	position: relative;
	background: transparent;
}

.quote {
	position: relative;
	height: 100%;
}

.quote h3 {
	color: white;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-weight:normal;
	font-size: 35px;
	margin: 0px;
  text-shadow: 0px 1px 20px rgba(0,0,0,.7);
}

.landlordSection  {
  padding-bottom: 320px !important;
}

.landlordSection ul {
margin-top: 45px;
}

.landlordSection li  {
list-style: none;
margin-bottom:15px;
font-weight: 300i;
position: relative;

}

.landlordSection li:before  {
content: '';
position: absolute;
left: -35px;
top: 10px;
height: 3px;
width: 18px;
background-color: #5763ef
}

.tenantSection {
position: relative;
z-index: 20;
}

.tenantSection p {
  color: #fff;
}

.tenantSection {
  background-color: #656565;
  padding: 70px 0px !important;
}

.tenantSection h4 {
  color: #656565;
  opacity: 1;
}

.contactSection {
    background-image: url('../img/track.jpg');
    background-position: 100% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.contactSection h2 {
  font-size: 35px;
  color: #fff;
  text-shadow: 0px 1px 20px rgba(0,0,0,.2);
}

#contact {
  max-width: 800px;
}


#contact input, textarea, #contact button {
  display: block;
  width: 100%;
  min-height: 40px;
  margin-bottom: 20px;
  background-color: #5662f0;
  border: none; 
  color: #fff;
  padding-left: 20px;
  box-sizing: border-box;
}

textarea {
  padding-top: 10px;
  height: 100px;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
}
input::-moz-placeholder, textarea::-moz-placeholder { /* Firefox 19+ */
  color: white;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder { /* IE 10+ */
  color: white;
}
input:-moz-placeholder, textarea:-ms-input-placeholder { /* Firefox 18- */
  color: white;
}

#contact input[type=submit] {
  background-color: #fff;
  color: #5662f0;
}

.footer {
  background-color: #222;
  padding: 60px 20px;
  color: #999;
  font-size: 13px;
}

.right {
  float: right;
}

.social {
  margin-left: 20px;
}


















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

/*
 * Hide visually and from screen readers
 */

.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
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * 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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

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

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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:
     * 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;
    }
}
