.media-album-page .media-album-item {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 0;
	margin: calc(var(--percentage-width) * 0.5);
	box-shadow: none;
	border-radius: 0;
	/* overflow: hidden; */
	width: calc(var(--percentage-width) * 23.5);
	height: calc(var(--percentage-height) * 24.5);
}

.media-album-thumbnail {
	display: flex;
	flex-direction: column;
	width: 22vw;
	height: 22vh;
	overflow: hidden;
	position: relative;
	border-radius: 0.4vw;
	transition: transform 0.3s ease-in-out;
}

.media-album-thumbnail img {
	height: 100%;
	width: 100%;
	filter: none;
	object-fit: cover;
	object-position: center;
	overflow-clip-margin: unset;
	overflow: visible;
}

.media-album-title {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.85);
	color: white;
	width: 100%;
	text-align: center;
	font-size: calc(var(--percentage-height) * 2);
	padding: calc(var(--percentage-height) * 0.5) 0;
	height: calc(var(--percentage-height) * 2.5);
	white-space: nowrap;
	overflow: hidden;
}

.media-album-title i {
	position: absolute;
	left: 1vw;
	display: flex;
	flex-direction: column;
	width: fit-content;
	height: 2.5vh;
	justify-content: flex-end;
}

.menu-item:focus .media-album-thumbnail {
	transform: scale(1.07);
	box-shadow: 0 0 0 0.5vw var(--illi-red), inset 0 0 0 0.5vw var(--illi-red), 0 0 1vw rgba(0, 0, 0, 0.35);
}

/* media player */
.media-album-container {
	width: 100%;
	height: 100%;
	display: block;
	background-color: black;
}

.media-album-images .image {
	width: 100%;
	height: 100%;
	position: relative;
	display: none;
}

.media-album-images .image.processing {
	background-color: white;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.media-album-images .image.processing p {
	width: 60vw;
	font-size: 3vw;
	font-weight: bold;
	text-align: center;
}

.media-album-images .image.processing i {
	font-size: 6vw;
}

.media-album-images .image.active {
	display: block
}

.media-album-images .image.active.animate img{
	animation: animate-image 60s linear;
}

@keyframes animate-image {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.25);
    }
}

.media-album-images .image.image.processing.active {
	display: flex
}

.media-album-images .image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #000;
}

.media-album-images .image .title {
	position: absolute;
	color: white;
	-webkit-text-stroke: calc(var(--percentage-width) * 0.1) black;
	text-stroke: calc(var(--percentage-width) * 0.1) black;
	width: 100%;
	bottom: calc(var(--percentage-height) * 5);
	text-align: center;
	font-size: calc(var(--percentage-width) * 5);
	font-weight: 600;
}

.media-album-controls {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	opacity: 0;
	transition: opacity 1s;
}

.media-album-controls i {
	font-size: calc(var(--percentage-height) * 13);
	margin: calc(var(--percentage-width) * 2);
	color: white;
	filter: drop-shadow(0 0 calc(var(--percentage-height) * 1) black);
	font-weight: 300;
}

.media-navigation {
	position: absolute;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: calc(var(--percentage-height) * 30);
}

.media-album-menu {
	z-index: 2;
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: calc(var(--percentage-height) * 3);
	color: white;
	display: flex;
	flex-direction: column;
}

.media-album-menu i {
	font-size: calc(var(--percentage-height) * 3);
	margin-left: calc(var(--percentage-width) * 1);
	margin-right: calc(var(--percentage-width) * 1);
}

.play-pause-button,
.open-menu-button,
.change-music-button {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	height: calc(var(--percentage-height) * 5);
	width: calc(var(--percentage-width) * 20);
	margin: calc(var(--percentage-width) * 1);
	border: calc(var(--percentage-width) * 0.2) solid white;
	border-radius: calc(var(--percentage-width) * 0.5);
	background-color: rgba(73, 73, 73, 0.603);
	filter: drop-shadow(0 0 calc(var(--percentage-width) * 1) black);
}

.media-album-menu .focusable:focus {
	outline: none;
	background-color: rgba(255, 255, 255, 0.44);
}

.play-pause-button p,
.open-menu-button p,
change-music-button p {
	margin-left: calc(var(--percentage-width) * 1);
	margin-right: calc(var(--percentage-width) * 1);
}

.media-progress {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	text-shadow: 0 0 calc(var(--percentage-width) * 0.5) black;
}

#media-album-loading-screen {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	z-index: 1;
}

.media-album-container video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.slideshow-timer-container{
	position: absolute;
	font-size: 20vw;
	z-index: 1;
	width: 100%;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: calc(var(--percentage-height) * 8);
}

.slideshow-timer{
	background-color: rgba(75, 75, 75, 0.60);
	width: calc(var(--percentage-width) * 10);
	height: calc(var(--percentage-height) * 1);
	border-radius: calc(var(--percentage-width) * 0.5);
	filter: drop-shadow(0 0 calc(var(--percentage-width)* 1) black);
}

.slideshow-timer-progress{
	background-color: rgba(255, 255, 255, 0.25);
	width: 0%;
	height: 100%;
	transition: width 0.1s linear;
	border-radius: calc(var(--percentage-width) * 0.5);
}