body {
	font-family: sans-serif;
	margin: 0;
}

.content {
	text-align: center;
	margin-inline: max(2%, calc((100% - 1200px) / 2));
	margin-block: 2rem;
	color: white;
}

.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100dvw;
	height: 100dvh;
	overflow: hidden;
	filter: brightness(50%) blur(max(1dvw,1.5dvh));
	z-index: -100;

	& > div {
		width: 100%;
		height: 100%;
		background-image: url(static/cc_foto.jpg);
		background-position-x: center;
		background-position-y: center;
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
		transform: scale(1.1)
	}
}

h1 {
	max-width: 525px;
	margin-inline: auto;
}

@media (max-width: 450px) {
	h1 {
		font-size: 1.6em;
		-webkit-text-stroke-width: 1px;
	}
}

.cc_logo {
	background-image: url(static/cc_icon.png);
	width: 20dvw;
	height: 20dvw;
	min-width: 175px;
	max-width: 264px;
	min-height: 175px;
	max-height: 264px;
	margin-inline: auto;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

@property --ig-color-1 {
	syntax: '<color>';
	initial-value: #ff7a00;
	inherits: false;
}

@property --ig-color-2 {
	syntax: '<color>';
	initial-value: #ff0169;
	inherits: false;
}

@property --ig-color-3 {
	syntax: '<color>';
	initial-value: #d300c5;
	inherits: false;
}

.prj_cards {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	max-width: 100%;
	flex-wrap: wrap;
	justify-content: space-evenly;
	
	.prj_card {
		width: 20%;
		min-width: 175px;
		max-width: 264px;
		container: card / inline-size;
		
		border: 5px solid black;
		border-radius: 30px;
		overflow: hidden;
		background-color: white;

		color: black;
		text-decoration: none !important;
		
		&:hover {
			& > .prj_icon {
				&.yt {
					background-color: #ffffff;
					color: #FF0033;
				}
				&.ig {
					--ig-color-1: #ffffff;
					--ig-color-2: #ffffff;
					--ig-color-3: #ffffff;
					color: #ff0169;
				}
				&.laberyntia {
					background-image: url(static/laberyntia.gif);
				}
			}
		}

		& > .prj_icon {
			width: 100cqw;
			height: 100cqw;

			background-position: center;
			background-size: contain;
			background-repeat: no-repeat;
			transition: background-color 0.5s, color 0.5s, --ig-color-1 0.5s, --ig-color-2 0.5s, --ig-color-3 0.5s;
			
			&.yt {
				background-color: #FF0033; 
				color: #FFFFFF;
			}
		
			&.ig {
				--ig-color-1: #ff7a00;
				--ig-color-2: #ff0169;
				--ig-color-3: #d300c5;
				background-color: var(--ig-color-2);
				background-image: linear-gradient(55.01deg,var(--ig-color-1) 12.35%,var(--ig-color-2) 56.52%,var(--ig-color-3));
				color: #FFFFFF;

				& > svg {
					width: 50%;
					height: 50%;
				}
			}
		
			&.laberyntia {
				background-size: cover;
				background-image: url(static/laberyntia.png);
				background-position-x: 100%;
			}
		}

		& > h3, & > p {
			padding-inline: 1rem;

			color: black;
		}
	}
}

footer {
	background-color: darkslategrey;
	margin-top: 2rem;
	color: white;
	padding-inline: max(2%, calc((100% - 1200px) / 2));
	padding-block: 2rem;
}