@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&display=swap");

body {
	font-family: Poppins;
	display: flex;
	width: 100%;
	height: 100vh;
	margin: 0;
	align-items: center;
	box-sizing: border-box;
	flex-direction: column;
}

div.header {
	width: 100%;
	min-height: 280px;
	background: #e0d8d3;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	font-weight: bold;
	background-image: url(../img/pearl_banner.png);
	/* background-size: auto;
	background-repeat: no-repeat;
	background-position: 70% top; */
	background-size: auto clamp(200px, 100vw, 700px);
	background-repeat: no-repeat;
	background-position: center 25%;
	user-select: none;
}

div.header div.inner span {
	background: #e0d8d3a6;
	border-radius: 60px;
	padding: 10px 20px;
}

div.navbar {
	display: flex;
	width: 100%;
	justify-content: center;
	transform: translateY(-50%);
	user-select: none;
}

div.navbar div.inner {
	display: flex;
	padding: 0 20px;
	flex-wrap: wrap;
}

div.navbar a {
	color: black;
	text-decoration: none;
	margin-right: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
}

div.navbar a:last-of-type {
	margin-right: 0;
}

div.navbar div.button {
	padding: 8px 20px;
	background: white;
	border-radius: 12px;
	font-size: 18px;
	transition: outline ease 0.1s;
	outline: #e0d8d3 2px solid;
}

div.navbar div.button:hover {
	outline: #ffbe83 2px solid;
}

div.inner {
	flex: 1;
	max-width: 1100px;
	height: auto;
	padding: 20px;
	box-sizing: border-box;
}

div.content {
	flex: 1;
	width: 100%;
	margin-top: -20px;
}

div.content div.pup {
	display: flex;
	margin-bottom: 20px;
}

div.content div.pup:nth-of-type(even) {
	flex-direction: row-reverse;
	background: #e0d8d3;
	border-radius: 20px;
}

div.content div.pup div.desc :last-child {
	margin-bottom: 0;
}

div.content div.pup:nth-of-type(even) div.image {
	border-radius: 0 20px 20px 0;
}

div.content div.pup div.image {
	width: 30vw;
	height: auto;
	max-width: 420px;
	min-height: 22vw;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 20px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	box-shadow: inset 0 0 75px #00000017;
	transition: transform 0.1s ease;
}

/* div.content div.pup div.image:hover {
	background-size: cover;
	transform: scale(1.02);
} */

div.content div.pup div.image div.alt {
	color: #d3d3d3;
	margin: 10px;
	padding: 4px;
	border-radius: 4px;
	background: #00000098;
	font-size: 14px;
	line-height: 1;
	user-select: none;
}

div.content div.pup div.desc {
	padding: 20px;
	font-size: 18px;
	flex: 1;
}

div.content div.pup div.desc div.title {
	font-size: 26px;
	font-weight: bold;
}

div.content div.pup div.desc table {
	border-collapse: collapse;
}

div.content div.pup div.desc table td,
div.content div.pup div.desc table th {
	border: 1px solid #c2c2c2;
	padding: 5px 10px;
	font-size: 16px;
}

div.content div.pup div.desc table td {
	min-width: 180px;
}

div.content div.pup div.desc table th {
	background: #e2e2e2;
	width: auto;
}

div.content div.pup div.desc a.extra {
	text-decoration: none;
	display: block;
	width: fit-content;
	color: #3275cb;
}

div.content div.pup div.desc a.extra span {
	display: inline-block;
	margin-right: 5px;
	user-select: none;
	transition: margin-right ease 0.1s;
}

div.content div.pup div.desc a.extra:hover span {
	margin-right: 10px;
}

div.content div.pup div.desc a:first-of-type {
	margin-top: 1em;
}

div.footer {
	padding: 32px 0;
	background: #4b4a48;
	color: white;
	width: 100%;
	display: flex;
	justify-content: center;
	user-select: none;
}

div.footer a {
	color: #578ead;
	text-decoration: none;
}

div.footer a:hover {
	text-decoration: underline;
}

div.dev {
	background: rgb(93, 102, 121);
	inset: 0;
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

div.dev div.heading {
	font-size: 62px;
	color: white;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 20px;
	text-align: center;
}

div.dev p {
	color: rgba(255, 255, 255, 0.788);
	font-size: 36px;
	line-height: 1;
	margin: 0;
	max-width: 800px;
	text-align: center;
}

@media screen and (max-width: 550px) {
	div.content div.pup {
		flex-direction: column;
		background: #dddddd;
		border-radius: 20px;
	}

	div.content div.pup:nth-of-type(even) {
		flex-direction: column;
	}

	div.content div.pup div.image {
		width: 100%;
		height: 50vw;
		max-width: none;
		border-radius: 20px 20px 0 0 !important;
	}

	div.content div.pup table {
		width: 100%;
	}

	div.content div.pup table td {
		min-width: auto !important;
	}

	div.content div.pup table th {
		text-wrap: nowrap;
		width: 35% !important;
		min-width: fit-content;
	}

	div.navbar {
		background: #e0d8d3;
		padding: 5px 0;
	}

	div.navbar div.inner a div.button {
		padding: 4px 12px;
	}

	div.navbar div.inner {
		justify-content: center;
	}

	div.header {
		text-align: center;
	}
}
