@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
	font-family: "Work Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;

	font-size: 12px;

	/*
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-style: normal;
	*/
}

/* Main beautiful header */
h1 {
	font-family: "Rouge Script", cursive;
	font-weight: 400;
	font-style: normal;

	/*
	font-family: "Tangerine", cursive;
	font-weight: 400;
	font-style: normal;
	*/
	
	font-size: 4em;
	margin-bottom: 0.2em;
}

/* By default make ALL links without decoration */
a {
	text-decoration: none;
	color: black;
}

/*
|-------------------------------------------------------------------------------
| Layout & scaffolding
|-------------------------------------------------------------------------------
*/

/*

"Boxes" are these white-with-black-border sections.

They don't by themselves have paddings, since the content might need to be
further split.

*/

/*
Main heading, takes up as much space as it needs.
*/
.boxes-heading {
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid black;
}

/*
A full width section, with squarish proportions.
*/
.boxes-full {
	height: 45vw;
	border-bottom: 2px solid black;
	background-color: white;
}
.boxes-full-dynamic {
	border-bottom: 2px solid black;
	background-color: white;
}
.boxes-last {
	border-bottom: 0 !important;
}

/*
A section split into two, vertically
*/
.boxes-split-row {
	height: 45vw;
	display: flex;
	flex-direction: row;
	gap: 2px;
	border-bottom: 2px solid black;
	background-color: black;
}
.boxes-split-row-dynamic {
	display: flex;
	flex-direction: row;
	gap: 2px;
	border-bottom: 2px solid black;
	background-color: black;
}
.boxes-split-row > div, .boxes-split-row-dynamic > div {
	flex: 1 0 0;
	background-color: white;
}

/*
Splits horizontally instead.
*/
.boxes-split-column {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background-color: black !important;
	width: 100%;
}
.boxes-split-column > div {
	flex: 1 0 0;
	background-color: white;
}

/*
Adds padding to a single box
*/
.box-padding-standard {
	padding: 10px;
	box-sizing: content-box;
}

.boxes-nav {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.boxes-nav > a {
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
}
.boxes-nav > a.router-link-active {
	background-color: black;
	color: white;
}

/*
|-------------------------------------------------------------------------------
| Guest grid
|-------------------------------------------------------------------------------
*/

.guest-grid {
	display: grid;
	/*width: 100%;*/
	gap: 10px;
	font-size: 0.8em;
	justify-content: center;
	justify-items: center;
	margin-top: 10px;
}
.guest-grid-2 {
	grid-template-columns: 1fr 1fr;
}
.guest-grid-4 {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.guest-grid-name {
	font-weight: bold;
}
.guest-grid-relation {
	color: #888;
	font-style: italic;
}

/*
|-------------------------------------------------------------------------------
| Generic, misc
|-------------------------------------------------------------------------------
*/

.center-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.background-image {
	background-size: cover;
}

.image-fit {
	width: 100%;
	font-size: 0;
	display: block;
}

.guest-photo {
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background-size: cover;
	display: inline-block;
}

.decoration {
	width: 50px;
	height: 50px;
	position: absolute;
	background-size: cover;
	z-index: 0;
}


/*
|-------------------------------------------------------------------------------
| Nice links and inputs
|-------------------------------------------------------------------------------
*/

a.nice, button.nice {
	background-color: white;
	color: black;
	padding: 10px;
	border: 1px solid black;
	text-decoration: none;
	box-shadow: 5px 5px black;
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline-block;
	font-size: 1em;
}
button.nice.nice-danger {
	background-color: red;
}

select.nice {
	background-color: white;
	color: black;
	padding: 10px;
	border: 1px solid black;
	text-decoration: none;
	box-shadow: 5px 5px black;
	font-size: 1em;
	display: inline-block;
}

input[type="text"].nice {
	background-color: white;
	color: black;
	padding: 10px;
	border: 1px solid black;
	font-size: 1em;
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline-block;
}

/*
|-------------------------------------------------------------------------------
| RSVP page
|-------------------------------------------------------------------------------
*/

.rsvp-save-notice {
	padding: 10px;
	text-align: center;
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	top: 0px;
	color: black;
	background-color: lightgreen;
}


.rsvp-guest {
	padding-bottom: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid black;
}

.rsvp-guest-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.rsvp-guest-name {
	font-size: 1.5em;
}

/*
|-------------------------------------------------------------------------------
| Admin page
|-------------------------------------------------------------------------------
*/

.admin {
	font-size: 16px;
}
.admin-invite {
	display: flex;
	margin-bottom: 20px;
}


table td, table th {
	padding-left: 10px;
	padding-right: 10px;
}

/*
|-------------------------------------------------------------------------------
| Admin page
|-------------------------------------------------------------------------------
*/

.error-wrapper {
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
.error {
	background-color: red;
	color: white;
	padding: 10px;
	width: 70vw;
	position: absolute;
	left: 50px;
	top: 50px;
	box-shadow: 0px 0px 20px black;
}
















.padding {
	padding-top: 10px;
	padding-bottom: 10px;
}
