
.bloc-milieu{
	height: fit-content;
	min-height: 55vh;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;

    background:  linear-gradient(to right ,  rgb(199, 230, 235),rgb(76, 172, 236));


	border-radius: 5px;

	grid-template-columns: 1fr;
	display: grid;
}

.bloc-milieu .titre{
	grid-row: 1/1;
	grid-column: 1/1;
	margin-bottom: 2rem;
}

.bloc-milieu .content-title{
	padding: 2.1rem;
	margin: 2.5rem;
	border-radius: 4px;
	background: linear-gradient(to right ,  rgb(139, 202, 245),rgb(193, 241, 241));
}

.worships {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: 3vw;
	margin-right: 3vw;
}

.player {
	width: clamp(10rem, 17rem + 10vw, 36rem);
	height: fit-content;
	margin: 2% 2%;
    margin-bottom: 5%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 2% 2%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.212);
    border: 1px solid #469fff8b;
	margin: 3% auto;
}

.player .title {
	font-size: 1.2rem;
	margin: 2% auto 7% auto;
    padding: 1% 10%;
    box-shadow: 0 0.45rem 0.45rem rgba(0, 0, 0, 0.212);
    border: 1px solid #469fff8b;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.lowerSection {
	display: flex;
}

.player #copyright {
	box-shadow: 0 0.3rem 0.3rem rgba(0, 0, 0, 0.212);
	border: 1px solid #469fff8b;
	padding: 0.1rem 0.3rem;
	font-weight: normal;
	margin: auto auto;
	font-size: 0.85rem;
	margin-left: 0.4rem;
	margin-right: 0.4rem;
}

.player #creation_date {
	float: left;
	box-shadow: 0 0.3rem 0.3rem rgba(0, 0, 0, 0.212);
    border: 1px solid #469fff8b;
	padding: 0.1rem 0.3rem;
	font-size: 0.95rem;
	text-align: center;
	width: 7rem;
}

.shareButton {
	box-shadow: 0 0.3rem 0.3rem rgba(0, 0, 0, 0.212);
    border: 1px solid #469fff8b;
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	float: right;
	margin: auto auto;
	cursor: pointer;
	text-align: center;
	margin-left: 0.4rem;
    margin-right: 0.4rem;
}

.shareButton i {
	position: relative;
	top: calc(50% - 10px);
}

.downloadButton {
	box-shadow: 0 0.3rem 0.3rem rgba(0, 0, 0, 0.212);
    border: 1px solid #469fff8b;
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	float: right;
	margin: auto auto;
	cursor: pointer;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.4rem;
    margin-right: 0.4rem;}

.downloadButton i {
	position: relative;
	top: calc(50% - 10px);
	text-decoration: none;
	color: black;
	margin: auto;
}

.player audio {
	border: 1px solid #469fff8b;
	border-radius: 30px;
	box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.212);
	width: 100%;
	height: 3.2rem;
}

.player-wrapper {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1; /* Place the overlay above other elements */
    background-color: rgba(0, 0, 0, 0); /* Make the overlay transparent */
    pointer-events: auto; /* Allow clicks to pass through the overlay to underlying elements */
}

/* Customize the color of the audio player controls */
audio::-webkit-media-controls-panel
{
	background-color: #8fc5ff8b; /* Change this to the desired color */
	border-radius: 15px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
	border-radius: 15px;
	background-color: #50a5ff57;
	border: 1px solid #469fff;
	box-shadow: 0 0.2rem 0.2rem rgba(0, 0, 0, 0.212);
	z-index: 3;
	margin-right: 0.5rem;

}

@keyframes vertical-shaking {
	
	0% { 
		transform: translateY(0); 
		border: 1px solid #469fff8b;
	}
	25% { 
		transform: translateY(-2px); 
	}
	50% { 
		transform: translateY(-5px);
		border: 1px solid #31A2EC;  
	}
	75% { 
		transform: translateY(-2px);
	}
	100% { 
		transform: translateY(0); 
		border: 1px solid #469fff8b;
	}
}

.focusedElement {
    animation: vertical-shaking 1s ease infinite;
}

@media screen and (min-width: 351px) {
	#copyright {
		float: right;
	}
}

@media screen and (max-width: 350px) {
	#copyright {
		float: left;
	}
}
