@font-face {
	font-family: 'Satisfy-Regular';
	src: url('./fonts/Satisfy-Regular.ttf');
}

body {
	overflow: hidden;
}

#page-content {
	overflow-y: scroll;
	display: flex;
	flex-direction: column;
	height: 100vh;
	background: white;
	margin: 0;
	padding: 2em;
	box-sizing: border-box;
}

.title {
	font-family: 'Satisfy-Regular', 'serif';
	font-size: 36px;
	color: #3f5376;
	display: flex;
	justify-content: center;
	margin: 12px;
}

.inspirations-container {
	display: flex;
	flex-wrap: wrap;
	gap: 100px;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 100px;
}

.inspirations-container .item {
	position: relative;
	perspective: 1000px;
}

.image,
.shadow,
.details {
	transform: rotateX(45deg) rotateZ(-25deg);
	transform-style: preserve-3d;
	transition: 0.3s;
}

.image {
	position: relative;
}

.image img {
	vertical-align: bottom;
	filter: grayscale(100%);
	transition: 0.3s;
	width: 300px;
}

.image::before,
.image::after {
	content: '';
	position: absolute;
}

.image::before {
	bottom: -8px;
	left: 0;
	background-color: #d0d0d0;
	width: 100%;
	height: 16px;
	transform: rotateX(90deg) translateY(-8px);
}

.image::after {
	top: 0;
	left: -8px;
	width: 16px;
	height: 100%;
	background-color: #bbb;
	transform: rotateY(90deg) translateX(8px);
}

.item:hover .image,
.item:hover .shadow,
.item:hover .details {
	transform: rotate(0);
}

.item:hover .image img {
	filter: grayscale(0);
}

.details {
	padding: 1em;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transform-origin: center;
	position: relative;
	left: 60px;
	top: -40px;
}

.item:hover .details {
	left: 0;
	top: 0;
}

.details .title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.details h3 {
	margin: 0.5em 0;
	font-size: 1em;
	color: #333;
}

.details-link img {
	width: 24px;
	height: 24px;
	margin-top: 0.5em;
	cursor: pointer;
	transition: transform 0.2s;
}

.details-link img:hover {
	transform: scale(1.2);
}

.details p {
	margin: 0;
	font-size: 0.9em;
	color: #666;
}

@media (max-width: 768px) {
	.details h3 {
		font-size: 0.9em;
	}

	.details p {
		font-size: 0.8em;
	}
}

.vspace-100 {
	height: 100px;
}
