/* default styles */
*{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: hsl(218, 44%, 22%);
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	background: hsl(212, 45%, 89%);
}

.attribution{
	display: flex;
}

.attribution a { 
	color: hsl(228, 45%, 44%);
	background-color: rgba(0,0,0,0);
}

.attribution:hover {
	cursor: pointer;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card { 
	width: 20%;
	height: fit-content;
	margin: auto;
	padding: 16px;
	text-align: center;
	transition: 0.3s;
	border-radius: 5px;
	background: hsl(0, 0%, 100%);
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

img{
	width: 95%;
	border-radius: 5px;
	background-color: rgba(0,0,0,0);
}

h3{
	padding-top: 20px;
	background-color: rgba(0,0,0,0);
}

p{
	font-size: 15px;
	padding: 10px 0;
	background-color: rgba(0,0,0,0);
}

footer{
	font-size: xx-small;
	background-color: rgba(0,0,0,0);
}

@media only screen and (max-width: 375px) {
	.attribution {
		display: flex;
		margin: 0 auto;
	}

	.card { 
		width: 80%;
		height: fit-content;
		margin: auto;
		padding: 16px;
		border-radius: 5px;
		box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
		background-color: hsl(0, 0%, 100%);
	}
	
}

@media only screen and (max-width: 600px) {
	.attribution {
		display: flex;
		position: absolute;
		top: 50%;
	}
	
	.card { 
		width: 50%;
		height: fit-content;
		margin: 0 auto;
		padding: 16px;
		transition: 0.3s;
		border-radius: 5px;
		background: hsl(0, 0%, 100%);
		box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	}

}
