@import url(/styles/core.css);
@import url(/styles/modules/rem20px.css);
@import url(/styles/utility-classes.css);
@import url(/styles/themes/tiles/black/polkahearts32-e46p.css);

body {
	background-color: hsl(0, 75%, 17%);
	background-image: var(--page_tile), radial-gradient(circle, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 1));
	margin: 0;
	color: gainsboro;
}

a {
	color: red;
	text-decoration: none;
	&:hover {
		color: red;
		text-decoration: underline;
	}
}

.main-wrapper {
	position: relative;
}

.illus {
	width: min(45rem, 100%);
	margin-inline: auto;
	img {
		width: 100%;
		height: auto;
		filter: saturate(65%) brightness(85%);
	}
}

.main-content {
	background-image: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0.3));
	border: 5px solid black;
	padding: max(1.042vw, 1rem);
	margin-inline: 0.5rem;

	.header {
		display: flex;
		flex-direction: column;
		text-align: center;
		h1.name {
			font-size: 8vw;
			margin: 0;
			line-height: 1;
			letter-spacing: 0.2em;
		}
		span.talent {
			font-size: 3vw;
			letter-spacing: 0.85vw;
		}
	}

	.body {
		flex-grow: 1;
	}

	p {
		letter-spacing: 0.5vw;
		line-height: 1.5;
		&:first-child {
			margin-top: 0;
		}
		&:first-of-type {
			&::first-letter {
				font-size: 150%;
				line-height: 1;
			}
		}
		.txt-uppercase:first-child {
			font-size: 110%;
			font-weight: bold;
		}
	}

	.footer {
		font-size: 0.6em;
		letter-spacing: 0.3em;
		text-align: right;
		line-height: 1;
	}

	h2 {
		text-transform: lowercase;
		margin: 0;
		line-height: 1;
		font-size: 1.1rem;
		letter-spacing: 0.15em;
		font-style: italic; 
		&::after {
			content: ' "';
		}
	}
}

@media (min-width:1140px) {
	.illus {
		margin-inline: 0;
	}
	.main-content {
		width: 20rem;
		height: 27rem;
		margin-inline: 0;

		display: flex;
		flex-direction: column;

		position: absolute;
		top: 7rem;
		left: 25rem;

		padding: 0;
		
		.header {
			padding: 0.75rem;
			h1.name {
				font-size: 1.5rem;
			}
			span.talent {
				font-size: 0.8rem;
				letter-spacing: 0.3em;
			}
		}
		.body {
			padding: 0.75rem;
			overflow: scroll;
			p {
				font-size: 0.6rem;
				letter-spacing: 0.3em;
			}
		}
	}
}

@media (min-width: 1300px) {
	.illus {
		width: 1200px;
	}
	.main-content {
		width: 33rem;
		height: 46rem;
		left: 38.5rem;
		
		.header {
			h1.name {
				font-size: 2.2rem;
			}
			span.talent {
				font-size: 1rem;
				letter-spacing: 0.3em;
			}
		}
		.body {
			p {
				font-size: 0.8rem;
				letter-spacing: 0.15em;
			}
			.footer {
				font-size: 0.6rem;
			}
		}
	}
}


.confessions {
	display: none;
	margin-bottom: 1rem;

	background-color: rgba(0, 0, 0, 0.7);
	border: 3px solid hsl(0, 84%, 10%);
	padding: 0.5em;
	
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	
	&:target {
		display: block;
	}

	ul {
		margin: 0;
		padding-left: 1em;
		list-style-type: circle;
	}

	p {
		margin-bottom: 0.5em;
		&::first-letter {
			font-size: inherit !important;
			font-weight: normal !important;
		}
	}
}