html {
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

h2 {
	color: black;
	text-align: center;
	grid-area: h2;
}

.container {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto, 100px, minmax(100px, auto);
  grid-gap: 10px;
	grid-template-areas:
    "header header header header header"
    "nav nav nav nav nav"
    "main main main main main"
    "main main main main main"
    "footer footer footer footer footer";
}

#musicPlayerHolder {
	width: 550px;
	margin: 20px auto 20px auto;
	border-radius: 10px;
	border-color: black;
	border-width: 1px;
	border-style: solid;
	overflow: hidden;
}

.song {
	display: grid;
	display: -ms-grid;
	grid-template-columns: 150px auto;
	-ms-grid-columns: 150px 1fr;
	height: 150px;
}

.songImageArea {
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	background-color: white;
	position: relative;
	width: 150px;
	height: 150px;
}

.songImage {
	width: 100%;
	height: 100%;
	z-index: 1;
	position: relative;
	border-radius: 50%;
}

.spin {
	animation-name: spin;
	animation-play-state: paused;
	animation-duration: 4000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

.shade {
	background-color: rgba(0, 0, 0, 0.6);
	width: 150px;
	height: 150px;
	top: 0px;
	left: 0px;
	z-index: 1;
	position: absolute;
	border-radius: 50%
}

.toggleButton {
	width: 50px;
	height: 50px;
	z-index: 3;
	top: 50px;
	left: 50px;
	position: absolute;
}

.rightOfSongImage {
	-ms-grid-column: 2;
	-ms-grid-row: 1;
}

.songTitle {
	font-size: 20px;
	margin: 20px 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
	overflow: hidden;
}

#musicLine {
	width: 90%;
	height: 5px;
	margin: 30px auto 0 auto;
	border-radius: 5px;
	border: 1px solid black;
}

#musicFill {
	width: 0%;
	height: 100%;
	border-radius: 5px;
	background-color: black;
}

#times {
	width: 90%;
	height: 30px;
	margin: 5px auto 0 auto;
}

#selectedCurrentTime {
	display: inline-block;
	margin-left: 0px;
	margin-bottom: 0;
	float: left;
}

#selectedEndTime {
	display: inline-block;
	margin-right: 0px;
	margin-bottom: 0;
	float: right;
}

#songsHolder {
	width: 100%;
	overflow: auto;
	border-top: 1px solid black;
	-ms-overflow-style: none;
}

.playableSong {
	display: grid;
	display: -ms-grid;
	grid-template-columns: 75px auto 75px;
	-ms-grid-columns: 75px 1fr 75px;
	border-bottom: 1px solid black;
}

.playableSong:hover {
	background-color: lightgray;
}

.playableSong:last-child {
	border-bottom: 0px solid black;
}

.songNumber {
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	padding: 0;
	margin: 10px auto;
	text-align: center;
	font-size: 18px;
}


.playableSongTitleArea {
	-ms-grid-column: 2;
	-ms-grid-row: 1;
	width: 100%;
	margin: 10px auto;
	padding: 0;
}


.songLengthArea {
	-ms-grid-column: 3;
	-ms-grid-row: 1;
	width: 100%;
	margin: 10px auto;
	padding: 0;
	text-align: center;
}

@media screen and (max-width: 730px) {
	#musicPlayerHolder {
		width: 100%;
	}

	.song {
		grid-template-columns: 100px auto;
		-ms-grid-columns: 100px 1fr;
		height: 100px;
	}

	.songImageArea {
		background-color: white;
		position: relative;
		width: 100px;
		height: 100px;
	}

	.songTitle {
		margin-left: 10px;
	}
	.shade {
		width: 100px;
		height: 100px;
		top: 0px;
		left: 0px;
	}

	.toggleButton {
		width: 35px;
		height: 35px;
		z-index: 3;
		top: 35px;
		left: 35px;
		position: absolute;
	}

	#musicLine {
		margin: 5px auto 0 auto;
	}
}
