html
{
	--bg-gradient-1: #9a9996;
	--bg-gradient-2: #241f31;
	--bg-rotation: -9deg;
	--music-cover:url('commonassets/icons/svgrepo/image-white-svgrepo-com.svg');
}

body
{
	background: linear-gradient(var(--bg-rotation), var(--bg-gradient-2), var(--bg-gradient-1));
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: white;
	margin: 0;
	border: 0;
	padding: 0 0 5rem 0;
	font-family: 'Ubuntu', system-ui;
}

#langbtn
{
	position: absolute;
	right: 0.5rem;
	top: 0.5rem;

	padding: 0.5rem;
	font-size: 0.8rem;

	filter: drop-shadow(0.3rem 0.5rem 0.2rem rgba(1,1,1,0.2));
	background-color: var(--bg-gradient-2);

	color: #f6f5f4;
	border: 0;
	border-radius: 0.7rem;
	cursor: pointer;
	font-family: 'Ubuntu', system-ui;
	transition: transform 80ms cubic-bezier(.39,.58,.57,1);
}

#langbtn:hover
{
	text-decoration: underline;
	transform: scale(1.1);
}


#contentScreen
{
	border: 0;
	margin: 0;
	padding: 0;
}

.container
{
	width: 100%;
	display: flex;
	justify-content: center;
}

#contentScreen header
{
	text-align: center;
	filter: drop-shadow(0 0.4rem 0.5rem rgba(1,1,1,0.1));
	backdrop-filter: sepia(40%);
	color: white;
	width: 100%;
	margin: 0;
	border: 0;
	padding: 3rem 0;
	border-radius: 0 0 1rem 1rem;
}

h1
{
	font-size: clamp(1.5rem, 8vw, 4rem);
	margin: 0.3em 0;
}

/*.header-tooltip
{
	padding: 2rem 0 0 0;
	margin: 0;
}*/

.h2-container-container
{
	padding: 2rem 0;
	display: flex;
	justify-content: center;
}

.h2-container
{
	filter: drop-shadow(0.3rem 0.5rem 0.2rem rgba(1,1,1,0.2));
	backdrop-filter: sepia(40%);
	width: fit-content;
	padding: 0.5rem;
	margin: 0;
	border-radius: 0.7rem;
}

.h2-container h2
{
	margin: 0;
}

article a img
{
	width: 25rem;
	max-width: 70vw;
	cursor: pointer;
	transition: transform 100ms cubic-bezier(.39,.58,.57,1);
	filter: drop-shadow(0.5rem 0.7rem 0.3rem rgba(1,1,1,0.3));
}

article a img:hover
{
	transform: scale(1.1);
}

article
{
	margin-bottom: 1rem;
}

footer
{
	padding: 2rem 0 0 0;
}

.musiccontainercontainer
{
	display: flex;
	justify-content: center;
}

.musiccontainer
{
	filter: drop-shadow(0.3rem 0.5rem 0.2rem rgba(1,1,1,0.2));
	backdrop-filter: sepia(40%);
	max-width: 80vw;
	width: 37.5rem; /*article witdh + half article width*/
	display: block;
	/*grid-template-columns: 1fr 2fr;*/
	/*grid-template-rows: 12.5rem fit-content(10rem);*/
	border-radius: 0.7rem;
	text-align: center;
	padding: 1rem 0 0.3rem 0;
}

.musiccontainer>div
{
	padding: 1rem;
}

.musiccover
{
	grid-column: 1; grid-row: 1;
	background-image: var(--music-cover);
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	/*height: 12.5rem; /*Half article width*/
	margin: 0.5rem;
	cursor: pointer;
	width: 30%;
	aspect-ratio: 1/1;
	border-radius: 0.4rem;
	filter: drop-shadow(0.3rem 0.5rem 0.2rem rgba(1,1,1,0.2));
	transition: transform 100ms cubic-bezier(.39,.58,.57,1);
}

.musiccover:hover
{
	transform: scale(1.1);
}

.musicinfo
{
	grid-column: 2; grid-row: 1;
}

.musictitle
{
	margin-bottom: 0.5rem;
}

.musicalbum
{
	margin-bottom: 0.3rem;
}

.musictitle a
{
	font-size: 2rem;
	font-weight: bold;
	text-decoration: none;
	color: white;
}

.musicalbum a
{
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
	color: white;
}

.musicartist a
{
	font-size: 1rem;
	text-decoration: none;
	color: white;
}

.musictitle a:hover,
.musicalbum a:hover,
.musicartist a:hover
{
	cursor: pointer;
	text-decoration: underline;
}

.listenlink img
{
	height: 2rem;
	margin: 1rem 0 0 0;
	cursor: pointer;
	transition: transform 100ms cubic-bezier(.39,.58,.57,1);
}

.listenlink img:hover
{
	transform: scale(1.2);
}

/*
@media (max-width: 40rem)
{
	.musiccontainer
	{
		display: block;
		text-align: center;
		padding-top: 1rem;
	}

	.musiccover
	{
		height: auto;
		width: 50%;
		aspect-ratio: 1/1;
		display: inline-block;
	}
}
*/

.textcenter
{
	text-align: center;
}

.contacticon
{
	transition: transform 100ms cubic-bezier(.39,.58,.57,1);
	filter: drop-shadow(0.5rem 0.7rem 0.3rem rgba(1,1,1,0.3));
}

.contacticon:hover
{
	cursor: pointer;
	transform: scale(1.2);
}

.contacticon-container,
.contacticon-container:visited,
.contacticon-container:active
{
	text-decoration: none;
}

.githubcontacticon
{
	width: 3rem;
	padding: 0 0.5rem 0 0.5rem;
}

.emailcontacticon
{
	width: 3rem;
	padding: 0 0.5rem 0.25rem 0.5rem;
}

.word-container
{
	display: inline-block;
	margin: 0.4rem 0;
}

.whitespace
{
	display: inline-block;
	width: 0.3ch;
	opacity: 0;
}

.dancing-text
{
	animation: dancing-text var(--velocity) cubic-bezier(.45,.05,.55,.95) var(--dancing-text-delay) infinite, appear-after-delay calc(var(--velocity)/3) linear var(--dancing-text-delay) 1 forwards;
	display: inline-block;
	opacity: 0;
}

@keyframes dancing-text
{
	0%
	{
		transform: translateY(-0.3rem) rotateZ(-7deg);
	}
	50%
	{
		transform: translateY(0.3rem) rotateZ(3deg);
	}
	100%
	{
		transform: translateY(-0.3rem) rotateZ(-7deg);
	}
}

@keyframes appear-after-delay
{
	0%
	{
		opacity: 0;
		scale: 1.5;
	}
	100%
	{
		opacity: 1;
		scale: 1;
	}
}
