@charset "utf-8";

body{
	font-family: 'Roboto';
	background: #85a5d4;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;	
	height: 100vh;
}

.block{
	max-width:100%
}

.items{
	width: 100%;
	height: 340px;
	padding: 0 40px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: #ffffff;
	border-radius: 5px;
	-webkit-box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 0px 10px 20px 0px rgba(50, 50, 50, 0.5);
}

.item{
	width: 280px;
	height: 310px;
	padding: 20px 30px;
    text-align: center;
    -webkit-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
}

.item:hover{
	background: #faf6f5;
	border-radius: 5px;
}

.item__top{
	margin-bottom: 20px;
}

.item__middle{
	height: 135px;
}

.item__middle h2{
	text-transform: uppercase;
	color: #5572d6;
	font-size: 20px;
	letter-spacing: 2px;
	margin: 0 0 15px;
}

.item__middle p{
	font-size: 14px;
	color: #aea9a7;
	line-height: 24px;
	margin: 0;
}

.item__bottom{
	color: #5572d6;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.item__bottom span{
	font-size: 40px;
	font-weight: 500;
}

.item__num{
	position: relative;
	padding-left: 25px
}

.item__num:before{
	content: '$';
	width: 9px;
	height: 15px;
	position: absolute;
	top: 8px;
	left: 22%;
}

.item__mon{
	margin-top: 22px;
}


@media screen and (max-width: 767px) {

	.items{
		padding: 0 10px;
	}

	.item__middle {
    	height: 155px;
	}

}

@media screen and (max-width: 650px) {

	body{
		height: 100%;
	}
	
	.block{
		padding: 30px;
		width: 100%;
		height: 100%;
	}

	.items{
		width: 100%;
		height: 100%;
		padding: 30px;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;		
		width: 100%;
	}

	.item{
		width: 100%;
	}

	.item__middle {
    	height: 135px;
	}
}
