/* Set our variables */
:root {
	--light-green: #6ee88a;
	--dark-green: #036600;
	--light-grey: #eeeeee;
	--grey: #585858;
	--dark-grey: #222222;
	--blue: #004178;
	--white: #ffffff;
	--hiddenstc: 'HiddenSTC', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	--roboto: 'Roboto Condensed', Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}
/* Pull in our HiddenSTC font */
@font-face {
    font-family: 'HiddenSTC';
    src: url('../fonts/hiddenstcmedium-1.0-webfont.woff2') format('woff2'), url('../fonts/hiddenstcmedium-1.0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/* Make some nice transitions */
* {
    z-index: 1;
}
/* Basic styling */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--roboto);
    font-weight: 400;
	background: var(--dark-grey) url('../images/logo-white.png') center center no-repeat;
	background-size: 20vw;
}
strong {
    font-weight: 700;
}
em {
    font-style: italic;
}
a {
    color: inherit;
}
a:hover, a:focus {
    opacity: 0.5;
}
/* Main container and sub-section styling */
.wrapper {
	max-width: 1500px;
    margin: 0 auto;
    position: relative;
}
.container {
	max-width: 1500px;
	margin: 0 auto;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}
.section, .scroll-section {
    width: 100%;
    background-size: cover;
    display: flex;
    position: relative;
	overflow: hidden;
}
.intro {
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: flex;
    position: relative;
    overflow: hidden;
}
.footer {
    height: auto;
}
/* Next button */
.next {
    position: absolute;
    width: 3em;
    height: 3em;
    background: var(--white) url('../images/arrow-down.png') center center no-repeat;
	background-size: contain;
    border-radius: 50%;
    left: 50%;
    bottom: 2em;
    margin-left: -1.5em;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.25);
	transition: margin 0.25s ease;
	z-index: 100;
}
.intro .next {
	bottom: 15vh;
}
.next:hover, .next:focus {
    cursor: pointer;
    opacity: 0.5;
}
/* Nice background zoom stuff */
.parallax-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    padding-top: 20vh;
    transition: padding 10s linear, opacity 10s linear;
    background-size: cover !important;
}
.parallax-bg.halftone {
    background: transparent url('../images/halftone.png') center center no-repeat;
    opacity: 0;
}
.parallax-bg.halftone-dark {
    background: transparent url('../images/halftone-dark.png') center center no-repeat;
    opacity: 0;
}
.halftone-background {
	background: var(--light-grey) url('../images/halftone.png') center center no-repeat;
	background-size: cover;
}
/* Hide stuff until we can fade them in */
.first, .fade-in, .fade-in-2 {
    opacity: 0;
}
.fade-top, .fade-top-2 {
    opacity: 0;
    margin-top: 2em;
}
.fade-bottom, .fade-bottom-2 {
    opacity: 0;
    margin-bottom: 2em;
}
.fade-left, .fade-left-2 {
    opacity: 0;
    margin-left: -2em;
}
.fade-right, .fade-right-2 {
    opacity: 0;
    margin-right: -2em;
}
/* Stackable classes */
.hiddenstc {
    font-family: var(--hiddenstc);
}
.xxl {
    font-size: 3em;
}
.xl {
    font-size: 2.5em;
}
.lg {
    font-size: 2em;
}
.med {
    font-size: 1.5em;
}
.sm {
    font-size: 1em;
}
.blue {
    color: var(--blue);
}
/* Different margins for paragraph tags */
p {
    margin-top: 0;
    margin-bottom: 1em;
    text-transform: uppercase;
    line-height: 1.25em;
	width: 100%;
}
p.xxl {
    margin-bottom: 0.33em;
}
p.xl {
    margin-bottom: 0.4em;
}
p.lg {
    margin-bottom: 0.5em;
}
p.no-margin {
    margin-bottom: 0 !important;
}
/* Different flexbox positioning */
.left, .right {
	width: 50%;
	height: 100%;
	position: relative;
	overflow: hidden;
}
.top, .bottom {
    width: 100%;
    height: 50%;
	position: relative;
	overflow: hidden;
}
.flex-bottom-right {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-items: flex-end;
    height: 100%;
}
.flex-top-left {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    align-content: flex-start;
}
.flex-center {
    display: flex;
    align-items: center;
    align-content: center;
    height: 100%;
    width: 100%;
}
.flex-bottom-right, .flex-top-left, .flex-center {
    padding: 3em;
    box-sizing: border-box;
}
.justify-start {
    justify-content: flex-start !important;
}
.justify-end {
    justify-content: flex-end !important;
}
.justify-center {
    justify-content: center !important;
}
.justify-none {
    justify-content: unset !important;
}
.flex-wrap {
    flex-wrap: wrap;
}
/* Adding the ability to layer images */
.layer1, .layer2, .layer3 {
	position: absolute;
}
.layer1 {
	z-index: 10;
}
.layer2 {
	z-index: 15;
}
.layer3 {
	z-index: 20;
}
.layer1 img, .layer2 img, .layer3 img {
	width: 100%;
	height: auto !important;
}
/* Stepped text design for over graphics */
.step-text {
    font-family: var(--hiddenstc);
    overflow: hidden;
    padding-bottom: 0.4em;
}
.step-text span {
    display: inline-block;
    width: auto;
    padding: 0.5em;
    text-align: left;
    background: var(--white);
    float: left;
    clear: left;
    line-height: 1em;
    white-space: nowrap;
    margin-bottom: -0.4em;
}
.step-text.right-text span {
    text-align: right;
    float: right;
    clear: right;
}
/* Styling for first section */
.first {
    width: 100%;
    text-align: center;
    padding: 3em;
}
.first img {
    width: 90%;
    max-width: 600px;
    height: auto;
}
.issue {
    opacity: 0;
    background: var(--dark-green);
    padding: 1em;
    letter-spacing: 0.1em;
    margin: 3em auto 1em;
    color: var(--white);
}
.intro {
    background: linear-gradient(-45deg, var(--dark-green), var(--light-green), #dfe885, var(--light-green), var(--dark-green));
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
/* Styling for footer */
.footer {
	background: linear-gradient(-45deg, var(--dark-green), var(--light-green), #dfe885, var(--light-green), var(--dark-green));
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
	color: var(--dark-green);
	min-height: 100vh;
	width: 100%;
	position: relative;
	display: flex;
	align-content: center;
}
.footer>div {
    display: flex;
    padding: 0 3em 3em 3em;
    width: 100%;
	box-sizing: border-box;
}
.footer .columns {
    gap: 3em;
}
.footer .columns div {
    min-width: 30%;
}
.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer .nav ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 3em;
}
.footer a {
    text-decoration: none;
}
.footer li {
    margin-bottom: 1em;
}
.footer .nav li a:hover,
.footer .nav li a:focus {
    opacity: 0.8;
}
.footer .nav ul {
    align-items:center;
}
.footer .nav ul li {
    display: block;
}
.footer .nav ul li:nth-child(2) a {
    max-width: 6em;
}
.footer .nav ul li a {
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--white);
    max-width: 3em;
    border-radius: 50%;
}
.footer .nav ul li a.none {
	opacity: 0.2;
}
.footer .nav ul li a img {
    width: 100%;
    height: 100%;
}
.footer .header {
    font-family: var(--hiddenstc);
    font-size: 1.25em;
    display: block;
}
.footer .copyright {
    font-size: 1.25em;
    text-align: center;
    display: block;
}
.footer .columns li a:hover,
.footer .columns li a:focus {
	opacity: 0.8;
}
.footer .columns ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    padding-top: 1em;
    align-items: stretch;
	justify-content: stretch;
}
.footer .columns ul li {
    margin-bottom: 0;
	flex-grow: 1;
}
.footer .columns ul li a {
    display: block;
    font-size: 1.25em;
    color: var(--dark-green);
    padding: 0.5em;
    background: var(--white);
    height: 100%;
    box-sizing: border-box;
	border-radius: 0.5em;
}
.footer .columns ul li a.current {
    background: var(--light-grey);
}
.footer .center-column li a span,
.footer .right-column li a span {
    font-size: 0.5em;
    display: block;
    color: var(--grey);
    font-weight: bold;
}
/* Some gradient options */
.gradient1 {
	background: linear-gradient(-45deg, #bb6d33, #b13b2c, #b85284, #9da7d5, #58588e, #bb6d33);
    background-size: 400% 400%;
	animation: gradient 30s ease infinite;
}
.gradient2 {
	background: linear-gradient(-45deg, #8432ba, #97abb2, #55b9ce, #efafd7, #97abb2);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
}
.gradient3 {
	background: linear-gradient(-45deg, #7f82bd, #13e6bd, #7f82bd, #c90abe, #7f82bd);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
}
.gradient4 {
	background: linear-gradient(-45deg, #f7ac74, #91e295, #55b9ce, #91e295, #f7ac74);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
}
@keyframes gradient {
	0% {
	background-position: 0% 50%;
	}
	50% {
	background-position: 100% 50%;
	}
	100% {
	background-position: 0% 50%;
	}
}
/* Top Navigation */
.nav-toggle {
    width: 2em;
    height: 2em;
    position: absolute;
    right: 1.5em;
    top: 1.5em;
    background: transparent url('../images/menu-closed.png') center center no-repeat;
	background-size: contain;
    z-index: 999999;
	cursor: pointer;
}
.nav-toggle.open {
	background-image: url('../images/menu-opened.png');
}
.top-nav {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    align-items: center;
    align-content: center;
    justify-content: center;
    background: var(--white);
    padding: 3em;
    box-sizing: border-box;
	display: none;
	opacity: 0;
}
.nav-section {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 2em
}
.top-nav .nav-title {
    display: block;
    font-family: var(--hiddenstc);
    margin-bottom: 1em;
    color: var(--grey);
    text-align: center;
}
.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.top-nav ul li {
    display: block;
    min-width: 15vw
}
.top-nav ul li a {
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 0.5em;
    margin-bottom: 1em;
    color: var(--grey);
    border: 1px solid var(--light-grey);
}
.top-nav ul li a:hover,
.top-nav ul li a:focus {
    border: 1px solid var(--light-green);
    background: var(--light-green);
	opacity: 1 !important;
}
.top-nav div:nth-child(2) ul li a span,
.top-nav div:nth-child(3) ul li a span {
    display: block;
    font-size: 0.7em;
}
.top-nav li a.current {
	background: var(--light-grey);
}
.links-block {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}
.links-block a {
    display: block;
    padding: 0.5em;
    text-decoration: none;
    background: var(--white);
    border-radius: 0.5em;
}
.links-block a:hover,
.links-block a:focus {
    background: var(--blue);
    color: var(--white);
    opacity: 1;
}
/* Addendum stuff */
a.button {
    margin-top: 1.5em;
    background: var(--white);
    color: var(--blue);
    display: block;
    width: 100%;
    border-radius: 0.5em;
    padding: 1em;
    font-size: 1em;
    border: 2px solid var(--blue);
    box-shadow: 0px 5px var(--blue);
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}
a.button:hover,
a.button:focus {
    opacity: 1 !important;
    background: var(--light-grey);
}
.section.addendum .hiddenstc span {
    display: block;
    font-size: 0.5em;
    line-height: 1em;
}
.revealed {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.revealed img {
    max-width: 80%;
	max-height: 80%;
}
/* Global Reponsive stuff */
@media only screen and (max-width: 1000px) {
	.xxl {
		font-size: 2.5em;
	}
	.xl {
		font-size: 2em;
	}
	.lg {
		font-size: 1.5em;
	}
	.med {
		font-size: 1.25em;
	}
	.sm {
		font-size: 1em;
	}
	.footer {
        font-size: 80%;
    }
    .footer .columns,
    .footer .nav ul {
        gap: 1.5em !important;
    }
}
@media only screen and (max-width: 739px) {
	.revealed {
		height: 40% !important;
		max-height: 40% !important;
		width: 100% !important;
	}
	.install-section .right {
		max-height: 60% !important;
		height: 60% !important;
	}
}
@media only screen and (max-width: 739px) {
	.xxl {
		font-size: 2em;
	}
	.xl {
		font-size: 1.5em;
	}
	.lg {
		font-size: 1.25em;
	}
	.med {
		font-size: 1em;
	}
	.sm {
		font-size: 0.8em;
	}
	.left, .right {
		width: 100%;
		height: 50%;
	}
	.wrap-mobile {
		flex-wrap: wrap;
	}
	.top-text-mobile {
		align-content: flex-start;
	}
	.flex-bottom-right, .flex-top-left, .flex-center, .first {
		padding: 1.5em;
	}
	.parallax-bg {
		padding-top: 10vh;
	}
	.next {
		width: 2em;
		height: 2em;
		margin-left: -1em;
	}
	.footer .columns,
    .footer .nav ul {
        flex-wrap: wrap;
        gap: 1em !important;
    }
	.footer .columns div {
		width: 100%;
	}
	.footer .columns li {
		font-size: 1.25em;	
	}
	.footer .columns li a {
		text-align: center;
	}
	.footer .columns li a span {
		display: none;
	}
	.footer .columns ul {
        gap: 1em;
    }
    .footer .nav ul li:nth-child(2) a {
        max-width: 5em;
    }
    .footer .copyright {
        font-size: 0.8em;
    }
	.top-nav {
        font-size: 80%;
    }
    .nav-section {
        flex-wrap: wrap;
        gap: 1em;
    }
    .nav-section .nav-title {
        text-align: left;
        font-size: 0.9em;
    }
    .top-nav .nav-section div:first-child {
        width: 100%;
    }
    .top-nav .nav-section div:first-child ul {
        display: flex;
        gap: 1em;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 1em;
    }
    .top-nav .nav-section div:first-child ul li {
        display: inline-block;
        flex-grow: 1;
        margin-bottom: 0;
        flex: 1 1 0px;
        min-width: 40%;
    }
    .top-nav .nav-section div:first-child ul li a {
        margin-bottom: 0;
    }
    .top-nav .nav-section div:nth-child(2),
    .top-nav .nav-section div:nth-child(3) {
        flex-grow: 1;
        flex: 1 1 0px;
    }
	.top-nav div ul li a span {
        display: none !important;
    }
	a.button {
        padding: 0.5em;
        margin-top: 0.5em;
    }
}


@media only screen and (min-width: 739px) {
	.left, .right {
		align-self: flex-start;
		width: 50%;
		height: 100%;
	}
}

@media (max-height: 600px) {
	body {
		font-size: 60% !important;
	}
	.intro {
		align-content: flex-start;
	}
	.first {
		padding-top: 5em;
		padding-bottom: 0;
	}
	.first img {
		max-height: 30vh;
		height: auto;
		width: auto;
		max-width: 80vw;
	}
	.intro .next {
		bottom: 20vh;
	}
	.top-nav div ul li a span {
        display: none !important;
    }
	.install-section .left, .install-section .right {
		width: 50% !important;
		max-height: 100% !important;
		height: 100% !important;
	}
}