/* Presets */

@font-face {
  font-family: 'Montserrat';
  src: url('Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}      

html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
}

* {
	box-sizing: border-box;
}

/* Global Styles */

.bettersoil-logo {
	display: block;
	background-image: url( ../media/bettersoil-tries-logo.png );
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top center;
	text-indent: -2000px;
}
.bettersoil-logo:before {
	content: "";
	display: inline-block;
	padding-top: 30%;
}

.copy-text {
	font-size: 19.18px;
	line-height: 1.35;
}

/* Header */

.header {
	background-image: url( ../media/xmas-bg.jpg );
	background-size: 200%;
	background-repeat: no-repeat;
	background-position: top center;
}
.header:before {
	content: "";
	display: inline-block;
	padding-top: 117%;
}
.title {
	position: absolute;
	top: 42vw;
	width: 100%;
}

.title--logo {
	width: 45vw;
	margin: auto;
}

.title--text {
	display: block;
	margin: auto;
	margin-top: 2vw;
	width: 100vw;
	text-align: center;
	color: #375668;
	font-size: 7vw;
	text-transform: uppercase;
	line-height: 1;
	text-shadow: 0px 0px 1.6vw #ffffff;
}

/* Main */

.main {
	margin-top: 21px;
}

.main h2 {
	color: #59b174;
	text-align: center;
	font-size: 3vw;
	margin-top: 100px;
	margin-bottom: 0px;
}

/* Text Contents */

.teaser-text,
.bottom-text {
	color: #375668;
	width: 70vw;
	margin: auto;
	text-align: center;
}

.list {
	color: #59b174;
	list-style: none;
	padding: 0;
	text-align: center;
	margin-top: 4vw;
	margin-bottom: 4vw;
}

li {
	line-height: 2.5vw;
	margin-bottom: 18px;
}

small {
	opacity: 0.6;
	font-size: 1.5vw;
}

small a {
	color:rgb(233, 95, 18);
	font-size: 1.5vw;
	}

/* Calendar */

.calendar {
	list-style: none;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	width: 100vw;
	margin-top: 4vw;
	margin-bottom: 9vw;
	font-size: 0;
	text-align: center;
}
.calendar--item {
	display: inline-block;
	width: 40vw;
	padding: 1vw;
}

.calendar--tile {
	display: inline-block;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	text-indent: -2000px;
	opacity: 0.5;
	width: 100%;
	border-radius: 5px;
	/*transform-origin: left;*/
	transition: all 0.2s ease-in-out;
	cursor: default;
}
.calendar--tile:before {
	content: "";
	display: inline-block;
	padding-top: 73.3%;
}
.calendar--tile.current {
	opacity: 1;
	cursor: pointer;
}
.calendar--tile.current:hover {
	transform: scale(1.06);
}
/*.calendar--item:hover .calendar--tile {
	transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
}*/

/* Footer */

.footer {
	margin-top: 9vw;
	margin-bottom: 9vw;
}
.footer--logo {
	width: 26.4vw;
	min-width: 160px;
	margin: auto;
}

a {
	color: grey;
}

a:hover {
	color: black;
}

/* Breakpoints */

@media (max-width: 480px) {
	.main h2 {
		font-size: 5.5vw;
	}
}

@media (min-width: 480px) {

	.header {
		background-size: 150%;
	}

	.header:before {
		padding-top: 87.8%;
	}

	.title {
		top: 29vw;
	}

	.title--logo {
		width: 36vw;
	}

	.title--text {
		width: 80vw;
		font-size: 6.2vw;
	}

	.calendar {
		width: 90vw;
	}
	.calendar--item {
		width: 28vw;
	}		
		
}

@media (min-width: 768px) {

	.header {
		background-size: contain;
	}

	.header:before {
		padding-top: 58.5%;
	}

	.title {
		top: 21.8vw;
	}

	.title--logo {
		width: 33vw;
	}

	.title--text {
		margin-top: 1vw;
		width: 60vw;
		font-size: 4.2vw;
	}

	.list li {
		display: inline-block;
		width: 48%;
	}
	.list li:nth-child(2n+1) {
		text-align: right;
		padding-right: 1vw;
	}
	.list li:nth-child(2n+2) {
		text-align: left;
		padding-left: 1vw;
	}

	.calendar--item {
		width: 19.8vw;
	}
	
	

}

@media (min-width: 960px) {

	.copy-text {
		font-size: 2vw;
	}
	
}
