/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
 font-family: 'Montserrat', sans-serif;
  color: #313a40;
  background-color: #f2e6cd;
}
@media only screen and (min-width: 1048px) {
  body {
    /* hide horizontal scroll bar in IE */
    overflow-x: hidden;
  }
}

a {
  color: #93a748;
  text-decoration: none;
}

/* -------------------------------- 

Main Components 

-------------------------------- */
.cd-header {position: relative;height: 100vh;background-color: #2a383f;background-image: url(../img/texture.png);z-index: 1;text-align: center;padding: 3%;display: flex;align-items: center;flex-direction: column;}
.cd-header h1 {
  width: 90%;
  color: #f2e6cd;
  text-align: center;
  font-size: 2.2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
@media only screen and (min-width: 768px) {
  .cd-header h1 {
    font-size: 3.6rem;
    font-weight: 300;
  }
}

.benefits {
	display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1100px;
}
.benefits-img {
	max-width: 200px;
    height: auto;
    object-fit: contain;
}

.cd-fixed-background {
  position: relative;
  padding: 3em 5% 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.cd-fixed-background h2, .cd-fixed-background p {
  color: #f2e6cd;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-fixed-background h2 {
  font-size: 2.4rem;
  margin-bottom: 1em;
}

.cd-fixed-background h3 {
font-size: 2.2rem;
    margin-bottom: 1em;
    font-weight: 700;
	line-height: 1.3;
	 margin-top: 8%;
}


.cd-fixed-background p {
  line-height: 1.6;
	color:#313a40;
	max-width: 680px;
	 margin-top: 3%;
}

.cd-fixed-background a {color:#313a40; transition:0.4s ease-in-out}
.cd-fixed-background a:hover {text-decoration: underline;}


.cd-fixed-background ul li {
	margin: 13px 0;
    line-height: 1.4;
}

.cd-fixed-background .cd-content::after {
  /* phone image on small devices */
  content: '';
  display: block;
  width: 100%;
  padding: 90% 0;
  margin: 2em auto 0;
}
.cd-fixed-background.img-1 {
  background-color: #acc7c2;
  padding: 10% 0 0;
}
.cd-fixed-background.img-1 .cd-content::after {
  background: url("../img/CoconutMaple-mobile.jpg") no-repeat;
  background-size: 100% auto;
}
.cd-fixed-background.img-2 {
background-color: #eebf93;
    padding: 10% 0 0;
}
.cd-fixed-background.img-2 .cd-content::after {
  background: url("../img/OrangeAlmond-mobile.jpg") no-repeat;
  background-size: 100% auto;
}
.cd-fixed-background.img-3 {
	background-color: #c2b3c3;
    padding: 10% 0 0;
}
.cd-fixed-background.img-3 .cd-content::after {
  background: url("../img/CacaoHazelnut-mobile.jpg") no-repeat;
  background-size: 100% auto;
}
.cd-fixed-background.img-4 {
  background-color: #db9537;
}
.cd-fixed-background.img-4 .cd-content::after {
  background: url("../img/img-mobile-4.jpg") no-repeat;
  background-size: 100% auto;
}
@media only screen and (min-width: 768px) {
  .cd-fixed-background {
    height: 100%;
    padding: 0;
  }
  .cd-fixed-background h2 {
    font-size: 3.6rem;
    font-weight: 300;
  }
  .cd-fixed-background p {
    line-height: 1.8;
  }
  .cd-fixed-background .cd-content {
    width: 50%;
    position: absolute;
    left: 5%;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .cd-fixed-background .cd-content::after {
    display: none !important;
  }
  .cd-fixed-background.img-1 {
    background-image: url("../img/CoconutMaple.jpg");
  }
  .cd-fixed-background.img-2 {
    background-image: url("../img/OrangeAlmond.jpg");
  }
  .cd-fixed-background.img-3 {
    background-image: url("../img/CacaoHazelnut.jpg");
  }
  .cd-fixed-background.img-4 {
    background-image: url("../img/img-4.jpg");
  }
}
@media only screen and (min-width: 1048px) {
  .cd-fixed-background {
    background-attachment: fixed;
  }
  .cd-fixed-background .cd-content {
    width: 40%;
    left: 10%;
  }
}

.cd-vertical-nav {
  position: fixed;
  z-index: 2;
  right: 3%;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: none;
}
.cd-vertical-nav a {
  display: block;
  height: 40px;
  width: 40px;
  /* image replace */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: transparent url(../img/cd-icon-arrow.svg) no-repeat center center;
  -webkit-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  -moz-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  transition: opacity 0.2s 0s, visibility 0.2s 0s;
}
.cd-vertical-nav a.cd-prev {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-bottom: 10px;
}
.cd-vertical-nav a.inactive {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
@media only screen and (min-width: 1200px) {
  .cd-vertical-nav {
    display: block;
  }
}

.no-js .cd-vertical-nav {
  display: none;
}



/* -------------------------------- 

Friends of Frank

-------------------------------- */

.logo {
    height: 15vh;
}
.logo img {width: 100%;height: 100%;object-fit: contain;}

.open-img {
    height: 70vh;
}
.open-img img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.img-benefit {max-width: 240px;}
.main-img {max-width: 100%;}

.cd-content.one {text-align: center;}

.cd-content.two img {width: 90%;     max-width: 700px; margin-bottom: 30px;}

.cd-content.three img {width: 72%;     max-width: 600px;}

.statement {max-width: 530px; width: 80%;}

.benefits {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 1100px;
	height: 15vh;
}
.benefits-img {
	max-width: 200px;
    height: auto;
    object-fit: contain;
}

.more {
position: absolute;
    right: 20px;
    bottom: 70px;
    transform: translateY(90%);
}

.more img {width: 150px;}

 .cd-vertical-nav.more {}
.cd-vertical-nav.more a {
	width: auto;
    height: auto;
    overflow: visible;
    text-indent: inherit;
    background: transparent;
}


@media only screen and (max-width: 765px) {
	.logo {padding: 6%;}
	.benefits {
		align-items: center;
    flex-direction: column;
	}
	
	.cd-header {height:auto; min-height: 100vh; justify-content: space-around;
    padding: 6% 3%;}
	.open-img, .open-img img {height:auto;}
	.cd-fixed-background h3 {margin-bottom: 0em; padding: 6% 6% 0;}
	
	.cd-content.two img {padding: 6%;}

.cd-content.three img {padding: 6%;}
	
	.cd-fixed-background p {padding: 6%;}
	.cd-fixed-background h3 {
    margin-top: 6%;
	padding: 6%;}
	.cd-fixed-background ul {padding: 6%;}
}
