@charset "UTF-8";

div.btnleft {
	position: absolute;
	background-image: url("../bilder/btnleft.png");
	background-size: 70% 70%;
	background-repeat: no-repeat;
	cursor: pointer;
	bottom: 4px;
	margin-left: calc(50vw - 70px);
	width: 64px;
	height: 62px;
}

div.btnright {
	position: absolute;
	background-image: url("../bilder/btnright.png");
	background-size: 70% 70%;
	background-repeat: no-repeat;
	cursor: pointer;
	bottom: 4px;
	margin-left: calc(50vw + 6px);
	width: 64px;
	height: 62px;
}

div.btnleft:active {
	margin-top: 3px;
	transform: scale(0.99);
	background-image: url("../bilder/btnleftpressed.png");
}

div.btnright:active {
	margin-top: 3px;
	transform: scale(0.99);
	background-image: url("../bilder/btnrightpressed.png");
}

div.container {
	/*margin: calc(21vh + 10px) 0% 3% 3%;*/
	margin-top: 42vh;
	margin-left: 1%;
}

.scroll-container {
	width: 100%;
	overflow: hidden;
	position: relative;
	background: transparent;
	border-radius: 8px;
	/*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
	margin-bottom: 10px;
}

.content-wrapper {
	display: flex;
	transition: transform 0.3s ease;
	padding-top: 10px;
}

.content-wrapper.snapping {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.item {
	flex: 0 0 350px;
	min-height: 25vw;
	margin: 0 10px 0 10px;
	/*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 18px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}
.item.active{
	transform: scale(1.2);
}

.songname{
	color: darkgray;
	margin-bottom: 4px;
	text-align: center;
	font-size: 2vw;
	font-family: Calibri, Arial;
	color: #818962;
}
img.coverimage{
	max-width: 310px;
	height: 310px;
	margin: 10px;
}


@media only screen and (orientation: portrait) and (width <= 26cm) {
	
	div.btnleft {
		visibility: hidden;
	}
	div.btnright {
		visibility: hidden;
	}
	
	.scroll-container {
		overflow-x: hidden;
		overflow-y: scroll;
	}
	.content-wrapper {
		display: flex;	
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	div.container {
		margin-top: 340px;
	}
	.item {
		flex: 0 0 auto;
		width: 40vw;
		min-height: 40vw;
	}
	
	img.coverimage{
		max-width: 34vw;
		height: 34vw;
		margin: 10px;
	}
	.songname{
		font-size: 4vw;
	}
	
}
@media only screen and (orientation: landscape)and (width <= 26cm) {
	.item {
		flex: 0 0 220;
		min-height: 30vh;
		font-size: 10px;
	}
	img.coverimage{
		max-width: 200px;
		height: 200px;
		margin: 10px;
	}
	.content-wrapper {
		padding-top:4px;
	}
}
