
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-display: swap;
  src: url("fonts/montserrat-italic.woff2") format('woff2');
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  src: url("fonts/montserrat.woff2") format('woff2');
}

@font-face {
    font-family: "Font Awesome";
    font-style: normal;
    font-weight: 900;
	  src: url("fonts/fa-solid-900.woff2") format("woff2"), url("fonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome Brands";
    font-style: normal;
    font-weight: 400;
	  src: url("fonts/fa-brands-400.woff2") format("woff2"), url("fonts/fa-brands-400.ttf") format("truetype");
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Montserrat", Verdana, Helvetica, sans-serif;
	line-height: 2em;
}

body {
	--background-page : #FFF;
	--background-page-alt: #0078C1;
	--background-page-alt: linear-gradient( 180deg, #0078C1 0%, #00639E 100%);
	--background-page-altsoft: #e8f1f8;
	--background-button : #ED7700;
	--background-button-alt : #FFF;

	--background-button-hover: #EDB200;


	--color-text: #333;
	--color-text-alt: #FFF;
	--color-nav-text: #0078C1;
	--color-nav-text-alt: #FFF;
	--color-header: #0078C1;
	--color-header-alt: #FFF;
	--color-button : #FFF;
	--color-button-alt : #ED7700;
	--color-link: #ED7700;
	--color-link-alt: #ED7700;

}

h1, 
h2, 
h3, 
h4 {
	color: var(--color-header);
	text-transform: uppercase;
	text-align: center;
}

h1 strong, 
h2 strong, 
h3 strong, 
h4 strong {
	display: block;
	font-size: 1.3em;
	font-weight: 800;
}

h1 {
	font-size: 5em;
	max-width: 800px;
	margin: 0 auto;
	padding-bottom: 0.5em;
	line-height: 1.1em;
}

h2 {
	font-size: 4em;
	max-width: 800px;
	margin: 0 auto;
	padding-bottom: 0.5em;
	line-height: 1.1em;
}

h3 {
	font-size: 3em;
	max-width: 800px;
	margin: 0 auto;
	padding-bottom: 0.75em;
	line-height: 1.1em;
}

p {
	margin: 0;
	padding-bottom: 1em;
}

a {
	color: var(--color-link);
}

button,
a.button {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.125em;
	display: inline-block;
	color: var(--color-button);
	background: var(--background-button);
	border-radius: 10px;
	padding: 0.1em 1.5em 0 1.5em;
	box-shadow: 0px 3px 5px rgba(0,0,0,0.5);
	line-height: 2.75em;
	margin-top: 1em;
	transition: background 0.25s;
	border: 0;
}

button:hover,
a.button:hover {	
	background: var(--background-button-hover);
}

.inner {
	width: 95%;
	width: calc(100% - 100px);
	max-width: 1160px;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}

.background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-position: center;
	background-size: cover;
	opacity: 0.15;
}

nav {
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	height: 117px;
	z-index : 10;
}

nav a.logo {
	display: block;
	width: 165px;
	height: 117px;
	background-image: url("../images/sfg-logo-blue.svg");
	background-position: center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
}

.home nav a.logo {
	background-image: url("../images/sfg-logo-white.svg");
}

nav .buttonToggleMobile {
	display: none;
}

nav ul {
	position: absolute;
	top: 33.5px;
	right: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav li {
	display: inline-block;
	margin: 0 0 0 30px;
	;
}

nav ul li a {
	color: var(--color-nav-text);
	text-decoration: none;
	display: block;
	height: 50px;
	line-height: 50px;
	text-transform: uppercase;
	font-weight: bold;
	border-bottom: 3px solid transparent;
	transition: border-bottom 0.25s;
}

.home nav ul li a {
	color: var(--color-nav-text-alt);
}

nav ul li.selected a {
	border-bottom: 3px solid var(--background-button);
}

nav ul li a:hover,
nav ul li.selected a:hover {
	border-bottom: 3px solid var(--background-button-hover);
}



nav ul li.cta a {
	color: var(--color-button);
	background: var(--background-button);
	border-radius: 10px;
	padding: 0 1.25em;
	box-shadow: 0px 3px 5px rgba(0,0,0,0.5);
	transition: background 0.25s;
	border-bottom: 0;
}

nav ul li.cta a:hover {
	background: var(--background-button-hover);
}

nav ul li.selected.cta a {
	border-bottom: 0;
}


header {
	padding-top: 250px;
	padding-bottom: 0px;
	position: relative;
	z-index: 1;
}

.home header {
	padding-bottom: 100px;
}

section {
	padding-top: 100px;
	padding-bottom: 100px;
	background: var(--background-page);
	color: var(--color-text);
}

header + article section {
	padding-top: 50px;
}

.home header + article section {
	padding-top: 100px;
}


section.alt {
	background: var(--background-page-alt);
	color: var(--color-text-alt);
}

section.alt h1,
section.alt h2,
section.alt h3,
section.alt h4,
section.alt p {
	color: var(--color-text-alt);
}

section.altsoft {
	background: var(--background-page-altsoft);
	color: var(--color-text-altsoft);
}


body.home header {
	background: var(--background-page-alt);
	color: var(--color-text-alt);
	text-align: center;
}

body.home header h1 {
	color: var(--color-text-alt);
}

body.home header p {
	color: var(--color-text-alt);
	font-size: 1.5em;
	line-height: 1.75em;
	max-width: 600px;
	margin: 0 auto;
	padding-bottom: 1em;
}

body.home header p strong {
	font-size: 1.125em;
}

body.home header a.button {
	margin-top: 1em;
	font-size: 1.25em;
	padding: 0.1em 1.5em 0 1.5em;
	line-height: 2.75em;
}

.threeKeyItems {
	display: flex;
	justify-content: space-between;
	margin-top: 3em;
}

.threeKeyItems > * {
	width: 300px;
}

.threeKeyItems img {
	display: block;
	width: 250px;
	height: 250px;
	margin: 1.5em auto;
}

.threeKeyItems h3 {
	font-size: 2.5em;
	padding-bottom: 0.5em;
}

.textAndImage {
	display: flex;
	justify-content: space-between;
	padding: 2.5em 0;
	align-items: center;
}

.textAndImage > div {
	width: 30%;
}

.textAndImage > div + div {
	width: 60%;
}

.textAndImage.flipped > div {
	order: 1;
}

.textAndImage.flipped > div + div {
	order: 0;
}

.textAndImage h1,
.textAndImage h2,
.textAndImage h3,
.textAndImage h4 {
	text-align: left;
}

.textAndImage img {
	width: 100%;
	height: auto;
	padding: 20px 20px 80px 20px;
	box-shadow: 0px 3px 5px rgba(0,0,0,0.5);
	rotate: 3deg;
	box-shadow: 0px 3px 5px #0078c130;
	border-radius: 20px;
}

.textAndImage.flipped img {
	rotate: -3deg;
}


.heroText {
	text-align: center;
	font-size: 1.25em;
	font-weight: 600;
	max-width: 800px;
	margin: 0 auto;
}


.cards {
	display: flex;
	justify-content: space-between;
	padding: 2.5em 0;
}

.cards > div {
	background: var(--background-page);
	box-shadow: 0px 5px 9px #0078c130;
	border-radius: 20px;
	width: 350px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.cards > div .image {
	overflow: hidden;
	height: 250px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.cards > div .content {
	min-height: 250px;
	box-sizing: border-box;
	padding: 2em;
	text-align: center;
}

.cards > div .content h3 {
	font-size: 2em;
	padding-bottom: 1em;
}


.cards > div .cta {
	height: 100px;
	text-align: center;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.cards > div .cta a.button {
	margin: 0;
}


footer {
	background: #333333;
	color: #fff;
}

footer .inner {
	display: flex;
	justify-content: space-between;
	padding: 4em 0;
	align-items: center;
}

footer .footerNav {
	width: calc(45% - 152px);
	order: 1;
}

footer .footerNav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

footer .footerNav a {
	color: #fff;
	text-decoration: none;
	transition: color 0.25s;
}

footer .footerNav a:hover {
	color: var(--background-button-hover);
}

footer .logo {
	display: block;
	width: 304px;
	height: 216px;
	background-image: url("../images/sfg-logo-white.svg");
	background-position: center;
	background-size: cover;
	top: 0;
	left: 0;
	order: 2;
}

footer .socialNews {
	width: calc(45% - 152px);
	text-align: right;
	order: 3;
}

footer .socialNews p {
	font-weight: strong;
}

footer .socialNews .socialIcons {
	display: flex;
	justify-content: flex-end;
	margin-top: 2em;
}

footer .socialNews .socialIcons a {
	display: block;
	width: 40px;
	height: 40px;
	background: var(--background-button);
	color: var(--color-button);
	border-radius: 50%;
	margin-left: 15px;
	box-shadow: 0px 3px 5px rgba(0,0,0,0.5);
	position: relative;
	transition: background 0.25s;
}

footer .socialNews .socialIcons a:hover {
	background: var(--background-button-hover);
}

footer .socialNews .socialIcons a img {
	display: block;
	width: 24px;
	height: 24px;
	margin: 8px;
}

footer .socialNews button {
	margin-top: 0;
}




@media screen and (min-width: 761px) {
	.mobile {
		display: none !important;
	}
}


/*
Mobile
*/

@media screen and (max-width: 760px) {

	.inner {
		width: calc(100% - 30px);
	}

	nav {
		top: 17px;
	}

	nav a.logo {
		display: block;
		width: 82.5px;
		height: 58.5px;
	}

	nav button.buttonToggleMobile {
		display: block;
		position: absolute;
		top: 10px;
		right: 5px;
		width: 40px;
		height: 40px;
		background: transparent;
		border: 0;
		padding: 0;
		margin: 0;
		line-height: 40px;
		box-shadow: none;
	}

	nav button.buttonToggleMobile:before {
		font-family: "Font Awesome";
		font-weight: 900;
		content: "\f0c9";
		font-size: 36px;
		text-align: center;
		width: 40px;
		height: 40px;
		color: var(--color-nav-text);
	}

	.home nav button.buttonToggleMobile:before {
		color: var(--color-nav-text-alt);
	}

	nav button.buttonToggleMobile:hover {
		cursor: pointer;
	}

	nav ul {
		position: relative;
		display: block;
		top: 80px;
		left: 0;
		height: auto;
		width: 100%;
		z-index: 10;
		background: #fff;
		border-radius: 15px;
		box-shadow: 0px 3px 5px rgba(0,0,0,0.5);
		box-sizing: border-box;
		padding: 10px;
		display: none;
	}

	nav ul.shown {
		display: block;
	}

	nav li {
		display: block;
		margin: 0;
		padding: 0;
	}

	nav ul li a {
		display: block;
		min-height: 50px;
		height: auto;
		width: 100%;
		line-height: 50px;
		box-sizing: border-box;
		text-align: center;
	}

	.home nav ul li a {
		color: var(--color-nav-text);
	}

	nav ul li.cta a {
		box-shadow: none;
		border-top: 0;
		color: var(--color-button);
	}

	h1 {
		font-size: 3em;
	}

	h2 {
		font-size: 2em;
	}

	h3 {
		font-size: 1.5em;
	}

	header {
		padding-top: 120px;
	}

	body.home header p {
		font-size: 1.25em;
	}

	header + article section {
		padding-top: 0;
		padding-bottom: 50px;
	}

	.home header + article section {
		padding-top: 50px;
	}

	.threeKeyItems {
		display: block;
	}

	.threeKeyItems > * {
		width: 300px;
		text-align: center;
		margin: 0 auto;
	}

	.threeKeyItems img {
		display: block;
		width: 250px;
		height: 250px;
		margin: 1.5em auto;
	}

	.threeKeyItems h3 {
		font-size: 2.5em;
		padding-bottom: 0.5em;
	}

	.textAndImage {
		display: block;
	}

	.textAndImage > div {
		width: 80%;
	}

	.textAndImage > div + div {
		width: 100%;
		padding-top: 1.5em;
	}

	.textAndImage > div img {
		margin-left: 5%;
	}

	footer .inner {
		display: block;
		padding: 3em 0;
		align-items: center;
	}

	footer .inner > * {
		width: 100%;
	}

	footer .footerNav {
		text-align: center;
		padding: 3em 0 2em 0;
	}

	footer .logo {
		width: calc(304px * 0.75);
		height: calc(216px * 0.75);
		margin: 0 auto;
	}

	footer .socialNews {
		text-align: center;
	}

	footer .socialNews .socialIcons {
		display: flex;
		justify-content: center;
		margin-top: 2em;
	}

	footer .socialNews .socialIcons a {
		margin: 0 7.5px;
	}

}




