@import url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&family=Ysabeau+SC:wght@1..1000&display=swap');

:root {
	--yellow: #F0BC22;
	--black: #424242;

}


/* @font-face {
	font-family: 'LackLine';
	src: url('fonts/lack-line-regular.otf') format('opentype');
} */

* {
	padding: 0;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Rubik Doodle Shadow", system-ui;
}

a {
	font-family: "Rubik Doodle Shadow", system-ui;
	color: #ffffff;
}

a.vk,
a.yamus,
a.tg {
	font-family: "Rubik Doodle Shadow", system-ui;
	color: #BFE3F2;
	text-decoration: none;
	font-size: 1.5em;
	margin: .5em;
	display: inline-block;
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #5f5f5f;
	font-family: "Ysabeau SC", sans-serif;
	color: #fff;
	height: 100%;
	/* добавлено */
	overflow-x: hidden;
	/* добавлено для предотвращения горизонтальной прокрутки */
}

.bg-container {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	/* установите фиксированную высоту */
	z-index: 1;
	overflow: hidden;
	/* предотвращает прокрутку содержимого */
}

.bann {
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	/* изменено на 100%, чтобы занять всю ширину контейнера */
	background-position: center;
	filter: grayscale(100%);
}

.bann:nth-child(2),
.bann:nth-child(3),
.bann:nth-child(4) {
	display: none;
}

.wrap {
	margin: auto;
	min-width: 960px;
	position: relative;
	z-index: 2;
	padding: 5% 10%;
	box-sizing: border-box;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s ease, transform 1s ease;

}

.wrap.visible {
	opacity: 1;
	transform: translateY(0);
}

.content {
	backdrop-filter: blur(3px);
	background-color: rgb(79 79 79 / 50%);
	padding: 5%;
	background-image: url(/images/anarchy.webp);
	background-size: 100%;
	background-size: contain;
	max-width: 1200px;
	margin: auto;
}

.listen {
	margin: 4% 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: center;
	min-height: 50vh;
}

.listen iframe {
	min-height: 50vh;
}

.listen h2 {
	width: 100%;
}

.player {
	border-radius: 10px;
	padding: 2% 0;
	text-align: center;
	width: 300px;
}

.cover-container {
	margin: 20px 0;
}

.cover {
	width: 100%;
	max-width: 200px;
	border-radius: 10px;
}

.controls {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

button {
	padding: 10px;
	background-color: #FFF7C6;
	color: #3b3b3b;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

button.play {
	background-color: #CBFD6D;
}

button.pause {
	background-color: #FFEA6E;
}

input[type="range"] {
	width: 100%;
}

span {
	font-size: 14px;
}

ul {
	list-style: none;
	padding: 0;
	margin-top: 20px;
}

li.track {
	padding: 10px;
	background-color: #a3a3a3;
	margin-bottom: 5px;
	cursor: pointer;
	border-radius: 5px;
}

li.track:hover {
	background-color: #424242;
}

.slide {
	display: none;
	width: 80%;
	height: 100%;
	background-size: contain;
	background-position: center;
	justify-content: center;
	align-items: center;
}

#slideshow {
	width: calc(95% - 300px);
	padding: 2% 0;
	display: flex;
	justify-content: center;
}

@media screen and (max-width: 959px) {
	h1 {
		font-size: 1.6em;
	}

	.wrap {
		margin: auto;
		width: 100%;
		min-width: unset;
	}

	.content {
		padding: 10%;
	}

	.cover-container {
		display: none;
	}

	.listen {
		margin: 10% 0;
	}

	.player {

		padding: 5% 0;
		width: 100%;
	}

	.bann {
		height: 25vh;
		background-size: cover;
		background-repeat: no-repeat;
		width: auto;
		margin: auto;
		background-position: center;
		filter: grayscale(100%);
		opacity: 0;
		transform: scale(0.5);
		animation: zoomIn 1s forwards;
	}

	.bann:nth-child(2),
	.bann:nth-child(3),
	.bann:nth-child(4),
	.bann:nth-child(5) {
		display: block;
	}

	.bann:nth-child(2) {
		animation-delay: 0.5s;
	}

	.bann:nth-child(3) {
		animation-delay: 1s;
	}

	.bann:nth-child(4) {
		animation-delay: 1.5s;
	}

	.bann:nth-child(5) {
		animation-delay: 2s;
	}

	@keyframes zoomIn {
		0% {
			opacity: 0;
			transform: scale(0.5);
		}

		100% {
			opacity: 1;
			transform: scale(1);
		}
	}
}