footer {
	padding: 16px;
}

footer a {
	color: inherit;
	fill: inherit;
}

.avatar {
	position: relative;
}

.avatar img {
	height: 100%;

	object-fit: cover;
}


/* default */
:root {
	--domminante: 255, 255, 255;
	--contraste: 0, 0, 0;

	--input: 30, 30, 30;
	--input-texte: 250, 250, 250;
	--input-hover: 0, 0, 0;

	--button: 240, 240, 240;
	--button-texte: 0, 0, 0;
	--button-hover: 180, 180, 180;
	--button-hover-texte: 0, 0, 0;

	--button-cta: 255, 255, 255;
	--button-cta-texte: 0, 0, 0;
	--button-cta-hover: 0, 0, 0;

	--display-name-font: sans-serif;
}
svg {
	width: 18px;
	height: 18px;
}

.main {
	position: relative;
}

.main .main-profile {
	padding: 16px;
}

.avatar-contenaire .details {
	position: relative;
	text-align: center;

	container-type: inline-size;
}

.avatar-contenaire .details h1.username {
	font-size: 10cqw; 
	margin-bottom: 8px;
}
h1.username {
	font-family: var(--display-name-font);
}


.header-content-public-profile {
	padding: 4px;

	background: rgba(255, 255, 255, 0.2);
	border: solid 1px rgba(255, 255, 255, 0.1);
	border-radius: 22px;
}
.header-content-public-profile {
	background: rgba(0, 0, 0, 0.2);
	border: solid 1px rgba(0, 0, 0, 0.1);
}

.header-content-public-profile ul {
	list-style: none;

	display: flex;
	justify-content: space-between;
}

.header-content-public-profile ul li {
	width: 100%;
}

.header-content-public-profile a {
	position: relative;
	text-decoration: none;
	text-align: center;

	display: block;

	padding: 16px;
	color: inherit;
	
	border-radius: 16px;
	border: solid 1px transparent;

	font-weight: 600;

	transition: .2s;
}

.header-content-public-profile a:hover {
	background: rgba(255, 255, 255, 0.1);
	border: solid 1px rgba(255, 255, 255, 0.1);
}
.header-content-public-profile a:hover {
	background: rgba(0, 0, 0, 0.1);
	border: solid 1px rgba(0, 0, 0, 0.1);
}

.header-content-public-profile a.focus {
	background: rgba(var(--button));
	color: rgba(var(--button-texte));
	border: solid 1px transparent;
}
.header-content-public-profile a.focus:hover {
	background: rgba(var(--button-hover));
	color: rgba(var(--button-hover-texte));
	border: solid 1px transparent;
}

.link.row {
	display: flex;
	align-content: center;
	gap: 16px;
}

.link.column {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.button-social {
	text-decoration: none;
	color: inherit;
	background: rgba(var(--button));
	color: rgba(var(--button-texte));
	fill: rgba(var(--button-texte));
	padding: 16px;
	border-radius: 16px;
	display: block;
	transition: .2s;

	width: calc(100%);
}

.button-social:hover {
	background: rgba(var(--button-hover));
	color: rgba(var(--button-hover-texte));
	fill: rgba(var(--button-hover-texte));

	transition: .2s;
}

.button-social span.icon {
	display: flex;
	align-items: center;
}

.button-social span.icon { display: flex; }

.button-social.text-center span.icon { justify-content: center; }

.button-social span.icon svg { margin-right: 12px; }
.button-social.icon span.icon svg { margin-right: 0; }
.button-social.icon span.icon span.text { display: none; }

.input:nth-child(1) { margin-top: 0; }
.input {
	margin-top: 16px;
}

.input label,
.input textarea,
.input input {
	display: block;
}

.input button,
.input textarea,
.input input {
	padding: 16px;
}

.input label {
	margin-bottom: 4px;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

.input textarea,
.input input  {
	width: 100%;
}

.input textarea {
	resize: none;

	height: 80px;
}

.input .don-tips-form-contenaire {
	display: flex;
	align-items: center;
	justify-content: space-between;

	background: rgba(0, 0, 0, 0.2);
	border: solid 1px rgba(0, 0, 0, 0,1);

	padding: 4px;
	border-radius: 22px;
}

.input .don-tips-form-contenaire button {
	border: none;

	border-radius: 16px;

	background: rgba(var(--button));
	color: rgba(var(--button-texte));
	transition: .2s;

	cursor: pointer;
}

.input .don-tips-form-contenaire button:hover {
	background: rgba(var(--button-hover));
	color: rgba(var(--button-hover-texte));
	transition: .2s;
}

.input button.total-donnate-ttc {
	border: none;
	display: block;
	width: 100%;

	border-radius: 16px;
	background: rgba(var(--button-hover));
	color: rgba(var(--button-hover-texte));
	transition: .2s;

	cursor: pointer;

	margin-bottom: 16px;
}
.input button.total-donnate-ttc:hover {
	background: rgba(var(--button));
	color: rgba(var(--button-texte));
	transition: .2s;
}

.input textarea,
.input input  {
	border: solid 1px rgba(200, 200, 200);
	border-radius: 12px;
}


.share-contenaire {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	background-color: rgba(0, 0, 0, .8);

	display: none;
}

.share-contenaire button.close-popup {
	z-index: 9;
	position: absolute;
	top: 0;
	left: 0;

	margin: 16px;
}

.share-contenaire button {
	color: inherit;
	fill: inherit;

	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;

	text-decoration: none;

	padding: 12px;
	border-radius: 8px;

	cursor: pointer;

	border: solid 1px  rgb(240, 240, 240, 0.2);
	background: rgb(240, 240, 240, 0.1);
	color: #fff;
	fill: #fff;

	backdrop-filter: blur(4px);
	transition: .3s;
}
.share-contenaire button:hover {
	border-color: rgb(240, 240, 240, 0.4);
	background: rgb(240, 240, 240, 0.3);

	transition: .3s;
}

.share-block {
	position: relative;
	atop: 50%;
	aleft: 50%;
	atransform: translateY(-50%) translateX(-50%);

	border: solid 1px  rgb(240, 240, 240, 0.2);
	background: rgb(240, 240, 240, 0.1);

	width: 350px;
	height: 680px;
	border-radius: 16px;
	overflow: hidden;

	margin-bottom: 16px;

	animation: displayOn 0.3s linear;
}

@keyframes displayOn {
	from {
		transform: rotateY(55deg) rotateZ(2deg);
	}
	to {
		transform: rotateY(0deg) rotateZ(0deg);
	}
}

.share-block .cover-img {
	height: 100%;

	object-fit: cover;
	user-select: none;
	pointer-events: none;
	background-size: cover;
	background-position: center;
}

.share-block span.shadow-box {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	background: radial-gradient(
		ellipse 220% 60% at 50% 100%,
		rgba(var(--domminante)) 10%,
		transparent 100%
	);
}

.share-block .content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	padding: 32px;
	margin-top: 128px;

	display: flex;
	align-items: center;
	justify-content: flex-end;

	flex-direction: column;

	container-type: inline-size;
	user-select: none;
	pointer-events: none;
}

.share-block .content #qr {
	margin-bottom: 16px;

	border-radius: 16px;
	overflow: hidden;
}

.share-block .content h1 {
	font-size: 10cqw; 
}

.progress-caroussel {
	position: relative;

	display: flex;
	flex-wrap: nowrap;
	gap: 16px;

	overflow-y: hidden;
	overflow-x: hidden;
}

.boss-bar-caroussel {
	position: relative;
}

.boss-bar-caroussel::before {
	content: "";

	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;

	width: 64px;
	background: linear-gradient(-90deg, rgba(var(--domminante)) 0%, transparent 100%);
}


.progressbar {
	width: calc(85%);
	flex: none;
	position: relative;

	color: rgba(var(--button-texte));
	fill: rgba(var(--button-texte));
}

.progressbar .head {
	display: flex;
	gap: 16px;
}

.progressbar .head svg {
	flex: none;

	width: 18px;
	height: 18px;
}

.progressbar .progress {
	height: 6px;
	background-color: rgba(var(--button));
	border-radius: 8px;

	display: block;

	margin-top: 8px;
	margin-bottom: 8px;
}

.progressbar .progress .color {
	height: 100%;
	background-color: rgba(var(--button-hover));
	border-radius: 8px;

	display: block;
}

.progressbar .status {
	display: flex;
	align-items: center;
	justify-content: space-between;
}





.activity {
	position: relative;

	padding: 16px;
	border-radius: 16px;
	border: solid 1px rgba(var(--button), 0.7);
	abackground-color: rgba(var(--button), 0.1);

	color: rgba(var(--contraste));
	fill: rgba(var(--contraste));

	user-select: none;
	cursor: pointer;

	transition: 0.3s;
}

.activity:hover {
	border: solid 1px rgba(var(--button), 1.0);

	transition: 0.3s;
}

.activity .controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.activity .controls button {
	background-color: transparent;
	border: none;
}

.activity audio {
	display: none;
}

.activity span { display: block; }

.activity .cover {
	display: flex;
	gap: 8px;
}

.activity .cover img {
	flex: none;

	margin-top: 16px;
}

.activity .cover div.cover-content {
	width: calc(100% - 80px);
}

.activity a {
	text-decoration: none;
	color: inherit;
	fill: inherit;
}
.activity a::before {
	content: "";

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.activity img {
	margin-top: 8px;

	border-radius: 12px;
}

.activity span.song-title {
	position: relative;

	text-wrap: nowrap;
	word-wrap: none;

	overflow: hidden;

	margin-top: 16px;
	margin-bottom: 2px;

	display: block;
}

.activity span.song-title .song-title-inner {
	display: inline-block;
	will-change: transform;
}
.activity span.song-title.is-overflowing .song-title-inner {
	animation: marquee var(--duration, 8s) linear infinite alternate;
}
@keyframes marquee {
	0%, 15%   { transform: translateX(0); }
	85%, 100% { transform: translateX(calc(-1 * var(--distance, 0px))); }
}

.activity span.song-title::before {
	content: "";

	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;

	width: 64px;
	background: linear-gradient(-90deg, rgba(var(--domminante)) 0%, transparent 100%);
}

.activity span.song-title::after {
	content: "";

	z-index: 1;
	position: absolute;
	top: 0;
	left: -8px;
	bottom: 0;

	width: 16px;
	background: linear-gradient(90deg, rgba(var(--domminante)) 0%, transparent 100%);
}

.activity span.song-author {
	text-wrap: nowrap;
	word-wrap: none;

	overflow: hidden;

	font-size: 12px;
	opacity: 0.5;
}

.activity .song-progress {
	display: block;

	height: 6px;
	background: rgba(var(--button));
	border-radius: 8px;

	margin: 8px 0;
}

.activity .song-progress .color {
	display: block;
	
	height: 100%;
	width: 0%;
	background: rgba(var(--button-hover));
	border-radius: 8px;
}

.activity .song-timestamp {
	display: flex;
	align-items: center;
	justify-content: space-between;
}



.main-profile {
	display: flex;
	flex-direction: column;
	gap: 32px;
}








@media (min-width: 600px) {
header { padding-left: 0; padding-right: 0; }
footer,
header,
main {
	wwidth: 100%;

	width: 746px;
}

.main {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
}

.main .avatar-contenaire {
	flex: none;
	width: 300px;
}

.main .main-profile {
	flex: none;
	width: 430px;

	padding: 0px;
}
}