html, body {
	height: 100%;
	margin: 0;
}

body {
	background-image: url(./images/bg.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #ffd8f0;
	 background-attachment: fixed;  /* makes the bg image cover the whole page*/

	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;

	color: #6D4C41;
	font-family: verdana;
	text-align: center;
}

p::selection, em::selection, h1::selection, h2::selection {
	color: white;
	background-color: #3E2723;
	border-radius: 5px;
}

.page-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	width: 100%;
	padding: 40px 20px 60px;
	box-sizing: border-box;
}

h1, h2 {
	color: #3E2723;
	margin: 0;
}

h1 {
	font-size: 3.5em;
}

h2 {
	font-size: 1.6em;
}

/* member name buttons row */

.members-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
}

.member-btn {
	display: flex;
	align-items: center;
	justify-content: center;

	background-color: #ffcdf8;
	width: 220px;
	height: 80px;

	border-radius: 20px;
	font-size: 16px;
	cursor: pointer;

	box-shadow: 0 8px 20px rgba(109, 76, 65, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	color: #3E2723;
}

.member-btn:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(62, 39, 35, 0.3);
}

.member-btn:active {
	transform: translateY(1px);
}

/* iframe preview area */

.preview-area {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;


}

.member-preview-frame {
	display: none;
	width: 100%;
	max-width: 960px;
	height: 680px;
	border-radius: 20px;
	border: none;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	background: white;
}

#group-photo {
	width: 100%;
	max-width: 960px;
	height: 680px;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

a {
	text-decoration: none;
}
