body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	background-image: linear-gradient(to right, #82f4b1, #30c67c);
}

header {
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.heading {
	cursor: pointer;
}

.currently-playing {
	background-color: lightgreen;
}

.song-container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.song {
	margin: 10px;
	padding: 10px;
	width: calc(50% - 20px);
	border: 1px solid #20a01e;
	border-radius: 5px;
	background-color: #87cbac;
}

.song img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 5px;
	background-size: cover;
}

.song h3 {
	margin-top: 10px;
	font-size: 18px;
}

.song p {
	margin-top: 5px;
	font-size: 14px;
	color: #666;
}

.song audio {
	display: block;
	margin-top: 10px;
	width: 100%;
}

.song-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.song {
	margin: 1rem;
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	text-align: center;
	flex-basis: calc(33.33% - 2rem);
	max-width: calc(33.33% - 2rem);
	box-sizing: border-box;
}

.song img {
	width: 100%;
	max-height: 200px;
	object-fit: cover;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
}

.song h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.song p {
	font-size: 1rem;
	color: #666;
	margin-bottom: 1rem;
}

.song audio {
	width: 100%;
	margin-top: 1rem;
}

.like {
	text-align: start;
	position: relative;
	background-color: grey;
	height: 15px;
	width: 15px;
	transform: rotate(45deg);

	&:before {
		content: '';
		background-color: inherit;
		height: 15px;
		width: 15px;
		position: absolute;
		border-radius: 50%;
		right: 7.5px;
	}

	&:after {
		content: '';
		background-color: inherit;
		height: 15px;
		width: 15px;
		position: absolute;
		border-radius: 50%;
		bottom: 7.5px;
	}
}

.liked {
	background-color: pink;
}

.is-liked {
	background-color: pink;
	animation: heartbeat 0.3s ease-in-out alternate;
}

@keyframes heartbeat {
	0% {
		transform: scale(0.75) rotate(45deg);
	}
	20% {
		transform: scale(1) rotate(45deg);
	}
	40% {
		transform: scale(0.75) rotate(45deg);
	}
	60% {
		transform: scale(1) rotate(45deg);
	}
	80% {
		transform: scale(0.75) rotate(45deg);
	}
	100% {
		transform: scale(0.75) rotate(45deg);
	}
}

header button {
    appearance: none;
    background-color: rgb(46, 164, 79);
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, 0.1) 0px 1px 0px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}
