/* Fonts */

@font-face {
    font-family: 'ProximaReg';
    src: url('ProximaNova-Regular.woff2') format('woff2'),
         url('ProximaNova-Regular.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'proximaBold';
    src: url('ProximaNova-Bold.woff2') format('opentype'),
         url('ProximaNova-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}


* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	outline: none;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
}

body {
	background: none;
}

#stage {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
}

a {
	color: black;
}

.container {
	position: absolute;
	width: 300px;
	height: 635px;
	top:0;
	left: 50%;
	transform:translate(-50%);
	background-color: #F5F5F2;
	overflow: hidden;
}

header {
	height: 44px;
	width: 100%;
	background-color: white;
}

.logo {
	position: absolute;
	width: 136px;
	top: 13px;
	left: 14px;
}

.mainCard {
	position: absolute;
	width: calc(100% - 28px);
	height: 274px;
	left: 14px;
	top: 44px;
	background-color: white;
	overflow: hidden;
	cursor: pointer;
}

.mainCardImg {
	position: absolute;
	width: 100%;
	height: 190px;
	background-image: url('test.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.mainCardTitle {
	position: absolute;
	font-family: 'proximaBold';
	font-size: 13px;
	top: 207px;
	left: 13px;
}

.mainCardCopy {
	position: absolute;
	top: 222px;
	height: 36px;
	padding-right: 13px;
	left: 13px;
	font-family: 'ProximaReg';
	font-size: 15px;
	line-height: 18px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cta {
	position: absolute;
	Width: 156px;
	top: 154px;
	height: 36px;
	background-color: #3F4244;
	color: white;
	font-family: 'ProximaReg';
	font-size: 14px;
	text-align: center;
	line-height: 36px;
	transition: background-color .3s ease-in-out;
}

.cta:hover {
	background-color: #2e3032;
	transition: background-color .3s ease-in-out;
}

.cards {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	top: 0;
	width: 100%;
	height: 100%;
}

.cardContainer {
	position: absolute;
	top: 332px;
	height: 303px;
	width: 100%;

	background-color: white;
}

.card {
	position: relative;
	display: inline-flex;
	width: calc(100% - 26px);
	left: 13px;
	height: 87px;
	overflow: hidden;
	background-color: #F5F5F2;
	cursor: pointer;
}

.cardImg {
	position: absolute;
	top: 0;
	left: 0px;
	height: 87px;
	width: 87px;
	background-image: url('test.jpg');
	background-size: cover;
	background-position: center center;
}

.cardTitle {
	position: absolute;
	top: 11px;
	left: 103px;
	padding-right: 13px;
	font-family: 'proximaBold';
	font-size: 13px;
	height: 14px;
	overflow: hidden;
}

.cardCopy {
	position: absolute;
	top: 26px;
	height: 51px;
	left: 103px;
	font-family: 'ProximaReg';
	font-size: 15px;
	line-height: 17px;
	padding-right: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (min-width: 375px){
	.container {
		width: 375px;
	}

	.cardImg {
		width: 137px;
	}

	.cardTitle {
		left: 153px;
	}

	.cardCopy {
		left: 153px;
	}

}

@media (min-width:600px) {
	.container {
		width: 600px;
		height: 370px;
	}

	.mainCard {
		width: 278px;
		height: 315px;
		left: 11px;
	}

	.mainCardImg {
		height: 177px;
	}

	.mainCardTitle {
		top: 195px;
	}

	.mainCardCopy {
		top: 210px;
	}

	.cta {
		top: 260px;
		left: 61px;
	}

	.cards {
		height: 315px;
		justify-content: space-between;
	}

	.cardContainer {
		left: 300px;
		height: 326px;
		top: 44px;
	}

	.card {
		width: 280px;
		height: 100px;
		left: 10px;
	}

	.cardImg {
		width: 103px;
		height: 100px;
	}

	.cardTitle {
		top: 11px;
		left: 110px;
	}

	.cardCopy {
		left: 110px;
		top: 28px;
		font-size: 13px;
		line-height: 15px;
		height: 60px;
	}

}

