/*
BeSure! Environmental Stewardship - Growmingmatters.org
*/

/*
Basic Cross Browser Resets
*/

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

html,
body,
address,
blockquote,
div,
form,
fieldset,
caption,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
ul,
li,
ol,
ul,
table,
tr,
td,
th,
p,
img {
	margin: 0;
	padding: 0;
}

hr {
	display: none;
}

a {
	text-decoration: none;
}

ol,
ul {
	list-style: none;
}

img,
fieldset {
	border: none;
}

/*
Typography - Roboto headings and Nunito body text.
*/

@font-face {
	font-family: 'Roboto';
	src: url('https://res.cloudinary.com/one50one/raw/upload/besure/fonts/roboto-black-custom.woff2')
			format('woff2'),
		url('https://res.cloudinary.com/one50one/raw/upload/besure/fonts/roboto-black-custom.woff')
			format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Nunito';
	src: url('https://res.cloudinary.com/one50one/raw/upload/besure/fonts/nunito-regular-custom.woff2')
			format('woff2'),
		url('https://res.cloudinary.com/one50one/raw/upload/besure/fonts/nunito-regular-custom.woff')
			format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

body {
	color: #4b3d2a;
	background-color: #fff;
	font-family: 'Nunito', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
#introduction p em {
	font-family: 'Roboto', sans-serif;
}

p,
li {
	font-size: 1.414rem;
	line-height: 160%;
}

h2 {
	font-size: 4vw;
	line-height: 3.8vw;
	letter-spacing: -0.03em;
	margin: 0 0 1.5vw 0;
}

h3 {
	font-size: 3vw;
	line-height: 3.8vw;
	letter-spacing: -0.03em;
	margin: 0 0 1.5vw 0;
}

#nav .container li {
	/* Size navigation Links */
	font-size: 2.5vw;
}

#nav .container li a {
	color: #fff;
}

/*
Base Layout
*/

html,
body {
	height: 100%;
	position: relative;
}

.section {
	height: 100%;
	min-height: 100%;
	width: 100%;
}

.container {
	height: 100vh;
	width: 100%;
	padding: 4vw 4vw 0;
}

.container p {
	/* Add bottom margin for all section paragraphs*/
	margin: 0 0 1.5vw 0;
}

.content {
	position: absolute;
}

.nextButton,
.toTopButton {
	padding: 1vw 1.9vw;
	font-size: 2vw;
	border-radius: 50%;
}

.nextButton {
	border-radius: 50%;
	background-color: #97d700;
	z-index: 99;
}

.nextButton span:nth-child(1) {
	display: none;
}

.nextButton span:nth-child(2):before {
	content: '\2193';
	color: #fff;
}

.toTopButton {
	background-color: #205b47;
	position: fixed;
	z-index: 98;
	bottom: 4vw;
	right: 4vw;
}

.toTopButton span:nth-child(1) {
	display: none;
}

.toTopButton span:nth-child(2):before {
	content: '\2191';
	color: #fff;
}

#nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	visibility: hidden;
	opacity: 0;
}

#nav .container {
	background: #205b47
		url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_1600,c_scale,q_auto:good,f_auto/besure/images/soybean_field_wide.jpg')
		no-repeat center bottom;
	background-size: cover;
}

.menu,
.navOff {
	right: 4vw;
	top: 4vw;
}

.navOff {
	visibility: hidden;
	position: absolute;
	opacity: 1;
}

.menu {
	position: fixed;
	visibility: visible;
	z-index: 99;
}

.navOn span,
.navOff span {
	font-size: 2vw;
}

.navOn span:before,
.navOff span:before {
	color: #fff;
	padding: 0.5vw 1vw;
}

.navOn span:before {
	/* Add menu icon */
	background-color: #205b47;
	content: '\2630';
}

.navOff span:before {
	/* Add close icon */
	content: '\2716';
}

#nav:target {
	visibility: visible;
	opacity: 1;
}

#nav:target .navOff {
	visibility: visible;
}

#nav:target ~ .menu {
	visibility: hidden;
}

li {
	margin: 0 0 1vw 0;
}

#introduction p em {
	display: block;
}

@supports (display: flex) {
	.container {
		padding: 0 4vw 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
	}
}

/*
Base Presentation
*/

h1 {
	background: url('https://res.cloudinary.com/one50one/image/upload/besure/images/growing_matters-logo-rgb.svg')
		left center no-repeat;
	background-size: 100%;
	margin: 0 0 2vw 0;
}

h1 span {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
}

h1 a {
	display: block;
}

h1,
h1 a {
	width: 10vw;
	height: 4.75vw;
}

.footerLogos {
	margin: 0 0 2vw 0;
}

.footerLogos li {
	display: inline-block;
	margin: 0 2vw 0 0;
	width: 10vw;
	height: 4.75vw;
}

.footerLogos li:first-child {
	/* ASTA Logo */
	background: url('https://res.cloudinary.com/one50one/image/upload/besure/images/asta-logo-rgb.svg')
		no-repeat left center;
}

.footerLogos li:nth-child(2) {
	/* NPSEC Logo */
	background: url('https://res.cloudinary.com/one50one/image/upload/besure/images/npsec-logo-rgb.svg')
		no-repeat left center;
}

.footerLogos li span {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
}

.section01 {
	background-color: #fff;
}

#introduction {
	background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.9) 94%,
			rgba(255, 255, 255, 0.1) 100%
		),
		url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_1600,c_scale,q_auto:good,f_auto/besure/images/corn_field.jpg'),
		#fff;
	background-size: 100%;
	background-position: center top, center bottom;
	background-repeat: no-repeat;
}

#introduction p em {
	margin-top: 1vw;
}

#introduction p a {
	margin-right: 1rem;
	color: #205b47;
}

#introduction p a::before {
	content: '';
	background: url('https://res.cloudinary.com/one50one/image/upload/v1584746467/besure/images/green_soybean_bullet.png')
		no-repeat left bottom;
	background-size: 100%;
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-right: 0.3rem;
}

.section02 {
	background-color: #1f1911;
}

#introduction p span {
	display: none;
}

#neonicotinoids {
	background: url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_800,c_scale,q_auto:good,f_auto/besure/images/r_nicotides.png'),
		url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_1600,c_scale,q_auto:good,f_auto/besure/images/under_cornfield.jpg'),
		linear-gradient(
			180deg,
			rgba(31, 25, 17, 1) 40%,
			rgba(52, 42, 29, 1) 70%,
			rgba(75, 61, 42, 1) 80%
		),
		#1f1911;
	background-position: 101% 50%, center top;
	background-repeat: no-repeat;
	background-size: 50%, contain, 100%;
	color: #fff;
}

.section03 {
	background-color: #4b3d2a;
}

#labelDirections {
	background: linear-gradient(
			180deg,
			rgba(75, 61, 42, 0.8) 100%,
			rgba(75, 61, 42, 0.8) 100%
		),
		url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_800,c_scale,q_auto:good,f_auto/besure/images/bee_warning.jpg'),
		#4b3d2a;
	background-repeat: no-repeat;
	background-position: center top, 50% 90%, center top;
	background-size: 100%, 50%, 100%;
	color: #fff;
}

.section04 {
	background-color: #666;
}

#stewardship {
	background: url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_1600,c_scale,q_auto:good,f_auto/besure/images/underground.png'),
		linear-gradient(
			180deg,
			rgba(102, 102, 102, 0.8) 80%,
			rgba(102, 102, 102, 0.1) 100%
		),
		url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_800,c_scale,q_auto:good,f_auto/besure/images/man_with_laptop.jpg'),
		#666;
	background-position: center top, center top, left bottom;
	background-size: contain, 100%, 50%;
	background-repeat: no-repeat;
	color: #fff;
}

.section05 {
	background-color: #97d700;
}

#industryEffort {
	background: #97d700
		url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_1600,c_scale,q_auto:good,f_auto/besure/images/soybean_field_close.jpg')
		no-repeat bottom center;
	background-size: 100%;
	color: #333;
}

#industryEffort .nextButton {
	background-color: #333;
}

#industryEffort .nextButton span:nth-child(2):before {
	color: #97d700;
}

.section06 {
	background-color: #fff;
}

#resources {
	background-color: #fff;
}

.section07 {
	background-color: #222;
}

.footer {
	background-color: #222;
	color: #fff;
}

/* Animations */

.menu,
.navOff,
.nextButton,
.toTopButton {
	/* Bounce Animations */
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.menu:hover,
.menu:focus,
.menu:active,
.navOff:hover,
.navOff:focus,
.navOff:active,
.nextButton:hover,
.nextButton:focus,
.nextButton:active,
.toTopButton:hover,
.toTopButton:focus,
.toTopButton:active {
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
	-webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
	transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

#nav .container a {
	/* Grow Animations */
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}

#nav .container a:hover,
#nav .container a:focus,
#nav .container a:active {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/*
Media Queries
*/

@media (max-width: 1460px) and (orientation: landscape) {
	/* 1460px Landscape */
	p,
	li {
		font-size: 1rem;
		line-height: 180%;
	}
}

@media (max-width: 1120px) and (orientation: landscape) {
	/* 1120px Landscape */

	.content,
	#nav .container {
		/* Remove flex for mobile landscape*/
		display: block;
	}

	.section {
		min-height: 80vw;
	}

	.container {
		height: 80vw;
		min-height: 80vw;
		width: 100%;
		padding: 4vw 4vw 0;
	}

	h1,
	h1 a {
		width: 15vw;
		height: 7.13vw;
	}

	h1 {
		margin: 0 0 4vw 0;
	}

	.menu,
	.navOff {
		right: 6vw;
		top: 6vw;
	}

	.toTopButton {
		background-color: #205b47;
		position: fixed;
		z-index: 98;
		bottom: 6vw;
		right: 6vw;
	}

	.navOn span,
	.navOff span {
		font-size: 3vw;
	}

	.navOn span::before,
	.navOff span::before {
		padding: 0.75vw 1.5vw;
	}

	.nextButton,
	.toTopButton {
		padding: 1.5vw 2.85vw;
		border-radius: 50%;
		font-size: 3vw;
	}

	#neonicotinoids {
		background-size: 95% 140% 100%;
	}

	#labelDirections {
		background-size: 100%, 95%, 100%;
	}

	#stewardship {
		background-position: center top, center top, left bottom;
		background-size: 100%, 100%, 140%;
	}

	.footerLogos {
		margin: 0 0 4vw 0;
	}

	.footerLogos li {
		display: inline-block;
		margin: 0 4vw 0 0;
		width: 15vw;
		height: 7.13vw;
	}
}

@media (max-width: 1120px) and (orientation: portrait) {
	/* 1120px Portrait */
	.section {
		min-height: 100vh;
	}

	.container {
		padding: 4vh 4vh 0;
	}

	.container p {
		/* Add bottom margin for all section paragraphs*/
		margin: 0 0 1.5vh 0;
	}

	h1 {
		margin: 0 0 4vh 0;
	}

	h1,
	h1 a {
		width: 15vh;
		height: 7.13vh;
	}

	h2 {
		font-size: 4vh;
		line-height: 3.8vh;
		letter-spacing: -0.03em;
		margin: 0 0 1.5vh 0;
	}

	h3 {
		font-size: 3vh;
		line-height: 3.8vh;
		letter-spacing: -0.03em;
		margin: 0 0 1.5vh 0;
	}

	p,
	li {
		font-size: 1.414rem;
		line-height: 180%;
	}

	#nav .container li {
		/* Size navigation Links */
		font-size: 2.5vh;
	}

	.menu,
	.navOff {
		right: 6vh;
		top: 6vh;
	}

	.toTopButton {
		background-color: #205b47;
		position: fixed;
		z-index: 98;
		bottom: 6vh;
		right: 6vh;
	}

	.navOn span,
	.navOff span {
		font-size: 3vh;
	}

	.navOn span::before,
	.navOff span::before {
		padding: 0.75vh 1.5vh;
	}

	.nextButton,
	.toTopButton {
		padding: 1.5vh 2.85vh;
		border-radius: 50%;
		font-size: 3vh;
	}

	#nav {
		/* Main Navigation */
		background: #205b47
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/soybean_field_wide.jpg')
			no-repeat center bottom;
		background-size: cover;
	}

	#introduction {
		background: linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.9) 96%,
				rgba(255, 255, 255, 0.1) 100%
			),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/corn_field.jpg'),
			#fff;
		background-size: 100%, contain;
		background-position: center top, 50% 100%;
		background-repeat: no-repeat;
	}

	#neonicotinoids {
		background: url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_388,c_scale,q_auto:good,f_auto/besure/images/r_nicotides.png'),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/under_cornfield.jpg'),
			linear-gradient(
				180deg,
				rgba(31, 25, 17, 1) 40%,
				rgba(52, 42, 29, 1) 70%,
				rgba(75, 61, 42, 1) 80%
			),
			#1f1911;
		background-position: 101% 50%, center top;
		background-repeat: no-repeat;
		background-size: 75%, contain, 100%;
	}

	#labelDirections {
		background: linear-gradient(
				180deg,
				rgba(75, 61, 42, 0.8) 100%,
				rgba(75, 61, 42, 0.8) 100%
			),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_800,c_scale,q_auto:good,f_auto/besure/images/bee_warning.jpg'),
			#4b3d2a;
		background-repeat: no-repeat;
		background-position: center top, 50% 90%, center top;
		background-size: 100%, 75%;
	}

	#stewardship {
		background: url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/underground.png'),
			linear-gradient(
				180deg,
				rgba(102, 102, 102, 0.8) 80%,
				rgba(102, 102, 102, 0.1) 100%
			),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_388,c_scale,q_auto:good,f_auto/besure/images/man_with_laptop.jpg'),
			#666;
		background-position: center top, center top, left bottom;
		background-size: 160%, 100%, 80%;
		background-repeat: no-repeat;
	}

	#industryEffort {
		background: #97d700
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/soybean_field_close.jpg')
			no-repeat bottom center;
		background-size: contain;
	}

	.footerLogos {
		margin: 0 0 4vh 0;
	}

	.footerLogos li {
		display: inline-block;
		margin: 0 4vh 0 0;
		width: 15vh;
		height: 7.13vh;
	}
}

@media (max-width: 720px) and (orientation: portrait) {
	/* 720px Portrait */

	p,
	li {
		font-size: 1rem;
		line-height: 200%;
	}

	#introduction {
		background: linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.9) 94%,
				rgba(255, 255, 255, 0.1) 100%
			),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/corn_field.jpg'),
			#fff;
		background-size: 100%, contain;
		background-position: center top, center bottom;
		background-repeat: no-repeat;
	}
}

@media (max-width: 720px) and (orientation: landscape) {
	/* 720px Landscape */
}

@media (max-width: 420px) and (orientation: portrait) {
	p,
	li {
		font-size: 0.707rem;
		line-height: 200%;
	}

	#introduction {
		background: linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.9) 93%,
				rgba(255, 255, 255, 0.1) 100%
			),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/corn_field.jpg'),
			#fff;
		background-size: 100%, contain;
		background-position: center top, center bottom;
		background-repeat: no-repeat;
	}
}

@media (max-width: 340px) and (orientation: portrait) {
	/* 340px Portrait */

	#introduction {
		background: linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.9) 92%,
				rgba(255, 255, 255, 0.1) 100%
			),
			url('https://res.cloudinary.com/one50one/image/upload/dpr_auto,w_776,c_scale,q_auto:good,f_auto/besure/images/corn_field.jpg'),
			#fff;
		background-size: 100%, contain;
		background-position: center top, center bottom;
		background-repeat: no-repeat;
	}
}
