* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {

	text-align: center;
	padding: 30px;
	min-height: 100vh;
}

footer {
	position: absolute; 
	bottom: 0;
	width: 100%;
	padding: 10px;
	background: #3b3b3b;
	left: 0;
}

footer p {
	color: white;
	font-size: 13px;
	text-align: center;
}

/* Rating */
.rating {
	background: white;
	border-radius: 25px;
	padding: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 90%;
	height:50px;
	margin: 30px auto 0;
}

.rating input {
	display: none;
}

.rating label {
	font-size: 0;
}

.rating label.stars::before, .rating label.hearts::before {
	content: '';
	display: block;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.rating label.stars::before {
	background: url(../img/star-solid.svg) no-repeat center center;
	background-size: 25px;
}

.rating label.hearts::before {
	background: url(../img/heart-solid.svg) no-repeat center center;
	background-size: 25px;
}

.rating  input#rating4_4:checked ~ label[for="rating4_4"],input#rating4_4:checked ~ label[for="rating3_3"],input#rating4_4:checked ~ label[for="rating2_2"], input#rating4_4:checked ~ label[for="rating1_1"]{
background: url(../img/Star_G4.PNG);	
	
}
/* Hover effect */
.rating.effect input:checked + label ~ label.stars::before, .rating.effect:hover input:hover + label ~ label.stars::before {
	background: url(../img/star-regular.svg) no-repeat center center;
	background-size: 25px;
	opacity: .3;
}








/* TABLET */
@media ( min-width: 768px ) {
	body {
		padding: 0;
	}
	
	main {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: calc(100vh - 39px);
	}
	
	.rating {
		width: 35%;
	}
}

/* PC */
@media ( min-width: 1024px ) {
	.rating {
		width: 40%;
	}
}