.audio-section {
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.audio-section h2 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #333;
}

.audio-section .controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.audio-section .download-link {
	display: inline-flex;
	align-items: center;
	padding: 10px 15px;
	background-color: #3B82F6;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.audio-section .download-link:hover {
	background-color: #2563EB;
}

@media (max-width: 768px) {
	.audio-section {
		padding: 15px;
	}

	.audio-section h2 {
		font-size: 20px;
	}
}

.chords-section {
	max-width: 600px;
	margin: 0 auto;
	padding: 1rem;
	position: relative;
	/* Garante que o z-index funcione */
	z-index: 1;
	/* Valor baixo para não interferir com modais */
}

.chords-section iframe {
	width: 700px;
	height: 200px;
	float: right;
	margin-left: 20px;
	border: none;
	position: relative;
	z-index: 2;
	/* Garante que o iframe fique acima do conteúdo de acordes */
}

.chords-section pre {
	white-space: pre-wrap;
	font-size: 16px;
	line-height: 1.5;
	max-height: 700px;
	overflow-y: auto;
	padding: 10px;
	background: #f9f9f9;
	border: 1px solid #ddd;
}

.chord {
	color: #d32f2f;
	font-weight: bold;
}

.controls {
	margin-bottom: 10px;
}

.controls button {
	padding: 8px 12px;
	margin-right: 10px;
	cursor: pointer;
}

.controls input {
	width: 60px;
	padding: 5px;
}

/* Media Queries para telas menores */
@media (max-width: 768px) {
	.chords-section iframe {
		float: none;
		max-width: 100%;
		margin: 0 auto 1rem;
		display: block;
	}

	.chords-section pre {
		max-height: 50vh;
	}

	.controls {
		text-align: center;
		margin: 5px;
	}
}

@media (max-width: 480px) {
	.chords-section {
		padding: 0.5rem;
	}

	.controls {
		text-align: center;
	}

	.chords-section h2 {
		font-size: clamp(1.2rem, 5vw, 1.5rem);
	}

	.controls {
		flex-direction: column;
		align-items: flex-start;
	}

	.controls button {
		margin: 5px;
	}

	.controls button,
	.controls input {
		width: 100%;
		max-width: 200px;

	}
}