/*Basic Formatting*/
body{
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	background-color: #FEF6EA;
}

*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

a{
	text-decoration: none;
}

.mailchimp-custom-title{
	padding-left: 50px;
	font-family: Karla, sans-serif;
	font-weight: bold;
}

.mobile-title{
	display: none;
	font-family: Karla, sans-serif;
	font-weight: bold;
}

.row{
	margin:auto;
}

.card{
	margin-bottom: 2.5rem;
	background-color: #fcf7f0;
	border-radius: 0.3rem;
}

.col-md{
	margin-right: 0;
}

.card-img-top:hover{
	opacity: 0.8;
}

.card-img-top{
	border-top-right-radius: 0.3rem;
	border-top-left-radius: 0.3rem;
}


.home-link{
	color: #C69476
}

.home-link:hover{
	  color: #A78358
}

.main-box{
	background-image: url(../images/Homepage_desktop.jpg); 
	background-size: cover;
	background-position: center center;
	min-height: 25rem;
	position: relative;
}

/*font formatting*/
/*H1 page Headings*/
.index-title{	
	background-color: #fef6ea;
	color: #444444;
	font-family: Rubik;
	font-feature-settings: "'liga' 1";
	font-kerning: auto;
	font-style: normal;
	font-size: 1.8em;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.8em;
	text-align: left;	
	text-decoration: none;
	text-transform: none;
	word-spacing: 0;
	white-space: nowrap;
	margin-left: 0.625rem; 
	padding-top: 0.3rem;
}

.card-title{	
	color: #444444;
	font-family: Rubik;
	font-feature-settings: "'liga' 1";
	font-kerning: auto;
	font-style: normal;
	font-size: 1.4em;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.8em;
	text-align: left;	
	text-decoration: none;
	text-transform: none;
	word-spacing: 0;
	margin-bottom: 0;
}

/*page paragraph formatting*/
.card-text{	
	color: #333333;
	font-family: Karla;
	font-feature-settings: "'liga' 1";
	font-kerning: auto;
	font-style: normal;
	font-size: 1.1em;
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.55em;
	text-align: left;
	text-decoration: none;
	text-transform: none;
	word-spacing: 0;
	margin-bottom: 0.8rem;
	margin-top: 0;
}

.circle {
	width: 90px;
	height: 90px;
	line-height: 17px;
	border-radius: 50%;
	font-size: 15px;
	color: #444444;
	text-align: center;
	background: #fef6ea;
	font-weight: bold;
	margin: auto;
	position: absolute;
	}

@media(min-width: 1250px){
	.main-body-container{
		max-width: 1600px;
		margin-top: 5.7rem;
		margin-left: 7%;
		margin-right: 7%;
		width: auto;
	}

	.circle {
		bottom: 2rem;
		right: 2rem;
		}

	.card{
		width: 95%;
	}

	.main-box{
		margin-right: 2rem;
		margin-left: 1%;
	}

	.index-title{	
		margin-bottom: 0.6rem;
	}
}

@media(max-width: 1250px){
	/*used to match body alignement with navigation bar*/
	.main-body-container{
		margin-top: 5.3rem;
		margin-left: 2.5%;
		margin-right: 2.5%;
		width: auto;
	}

	.circle {
		bottom: 2rem;
		right: 2rem;
	}

	/*product landing card modifier*/
	.card{
		width: 100%;
	}

	.main-box{
		margin-right: 0.9rem;
		margin-left: 0.9rem;
	}

	.index-title{	
		margin-bottom: 0.3rem;
	}
}

@media(max-width: 992px){
	.card{
		width: 70%;
		margin: auto;
		margin-bottom: 2.5rem;
	}

	.main-box{
		background-image: url(../images/Homepage_mobile_3.jpg); 
		margin-right: 0;
		margin-left: 0;
	}

	.mobile-title{
		display: block;
		font-family: Karla, sans-serif;
		font-weight: bold;
	}

	.title-container{
		display: none
	}
}

@media(max-width: 800px){
	/*product landing card modifier*/
	.card{
		width: 90%; /*100% too wide, each card becomes taller than page*/
		margin: auto;
		margin-bottom: 2.5rem;
	}
}