.content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.box {
	margin: 30px auto;
	padding: 15px 32px 15px 32px;
	border-radius: 10px;
	width: fit-content;
	text-align: center;
	background-color: var(--color-background);
	box-shadow: 0 0 10px var(--color-main);
}

.info-box {
	display: flex;
	align-items: center;
	gap: 2rem;
	border-radius: 0.5rem;
	background-color: var(--color-background);
}

.divider {
	width: 2px;
	height: 250px;
	margin: 0 20px;
	border-radius: 5px;
	background-color: #addeb3;
}

.info-box img {
	display: block;
	margin: 0 auto 0;
	width: 200px;
	height: 200px;
	border-radius: 20%;
	border: 2px solid var(--color-accent);
	box-shadow: 0 0 10px var(--color-main);
}

.info-subtext {
	text-align: center;
	margin-top: 10px;
	font-size: 0.75rem;
}


.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 20px;
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
}

.gallery-item {
	position: relative;
	width: 100%;
	min-width: 0;
	aspect-ratio: 16 / 9;
	background-color: var(--color-background);
	border-radius: 16px;
	overflow: hidden;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.gallery-item.loaded img {
	opacity: 1;
}

.gallery-item.loaded img:hover {
	transform: scale(1.05);
	transition: transform 0.2s;
	transition-timing-function: ease-in;
}

.gallery-item.loaded img:not(:hover) {
	transform: scale(1);
	transition: transform 0.2s;
	transition-timing-function: ease-out;
}

.gallery-loader {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-color: var(--color-background);
}

.gallery-water {
	position: absolute;
	left: -10%;
	bottom: 0;
	width: 120%;
	height: var(--progress, 0%);
	background-color: var(--color-main);
	transition: height 0.15s linear;
}

.gallery-water::before {
	content: "";
	position: absolute;
	left: -10%;
	top: -30px;
	width: 120%;
	height: 60px;
	background-color: var(--color-main);
	border-radius: 50%;
	animation: wave 1.4s ease-in-out infinite;
}

.gallery-water::after {
	content: "";
	position: absolute;
	left: -10%;
	top: -20px;
	width: 120%;
	height: 45px;
	background-color: var(--color-main);
	border-radius: 50%;
	opacity: 0.7;
	animation: wave-reverse 1.1s ease-in-out infinite;
}

@keyframes wave {0%, 100% {transform: translateX(-5%) rotate(-2deg);} 50% {transform: translateX(5%) rotate(2deg);}}

@keyframes wave-reverse {0%, 100% {transform: translateX(5%) rotate(2deg);} 50% {transform: translateX(-5%) rotate(-2deg);}}

.gallery-item.loaded .gallery-loader {
	opacity: 0;
	transition: opacity 0.7s ease;
	pointer-events: none;
}


/* Mobile View */
@media (max-width: 768px) {
	body {
		font-size: 18px;
		margin: 0;
		padding: 0 0px;
		background: url("/assets/background/phone_background.webp") no-repeat center center fixed;
		background-size: cover;
	}

	.box {
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 95%;
		box-sizing: border-box;
		text-align: center;
	}

	.gallery {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 12px;
		padding: 12px;
	}

	.divider {
		margin: 20px 20px;
		position: absolute;
		rotate: 90deg;
	}
}
