@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto.ttf");
}

body {
	margin: 0;
	padding: 0;
}

.maincontainer {
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
}

.innercontainer {
	display: flex;
	flex-direction: column;
}

.playercontainer {
	width: 100%;
	height: 20%;
	display: flex;
	flex-direction: row;
	font-family: Roboto;
}

.playeralbumart {
	height: 100%;
	box-sizing: border-box;
	padding: 10px;
}

.inneralbumart {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	padding: 10px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}

.playpausebutton {
	font-size: 300%;
	color: yellow;
	padding: 15px 40px;
	border: 2px solid yellow;
	border-radius: 10px;
	cursor: pointer;
	background-color: #a6a6a68a;
	box-shadow: 0 0 10px 0 black;
	transition-property: border-color, background-color;
	transition-duration: 0.5s, 0.5s;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

.playersongelement {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.audioplayer {
	display: hidden;
}

.songtextfield {
	padding: 0;
	margin: 3px;
}

.songscontainer {
	width: 100%;
	height: 80%;
	border-top: 1px solid lightgray;
	box-sizing: border-box;
	overflow-y: scroll;
}

.songelement {
	width: 98%;
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
	border: 1px solid lightgray;
	background-color: #dbdbdb;
	margin: 1%;
	cursor: pointer;
	border-radius: 5px;
}

.songelement:hover {
	background-color: #e1e1e1
}

.albumartelement {
	width: 15%;
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
}

.songinfoelement {
	width: 85%;
	font-family: Roboto;
	box-sizing: border-box;
	padding-left: 20px;
}

.titleelement {
	padding-top: 20px;
	padding-bottom: 10px;
	font-size: 200%;
}

.albumelement {
	padding-bottom: 20px;
}

@media (orientation: landscape) {
	
	.playeralbumart {
		width: 30%;
	}
	
	.playersongelement {
		width: 70%;
	}
	
	.innercontainer {
		width: 70%;
		height: 100%;	
	}
}

@media (orientation: portrait) {

	body {
		font-size: 150%;
	}
	
	.playeralbumart {
		width: 35%;
	}
	
	.playersongelement {
		width: 65%;
	}

	.songinfoelement {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	.innercontainer {
		width: 100%;
		height: 100%;
	}
}

.progresscontainer {
	width: 90%;
	height: 20px;
	margin-top: 20px;
	background-color: lightgray;
	box-shadow: inset 0 0 3px 0 darkgray;
	border: 1px solid darkgray;
}

.progressbar {
	height: 100%;
	background-color: darkolivegreen;
	transition-property: width;
	transition-duration: 0.5s;
}
