/* Fonts */
@font-face {
	font-family: 'Parisienne';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/static/fonts/parisienne.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Cinzel";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("/static/fonts/cinzel.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Shippori Mincho";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/static/fonts/shippori-mincho.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Variables */
:root {
	--font-main: "Shippori Mincho", serif;
	--font-capital: "Cinzel", serif;
	--font-title: "Parisienne", cursive;

	--color-foreground: #766245;
	--color-background: #fff;
	--color-accent: #db996b;
	--color-hover: #ffbc89;
}

/* Reset */
:root {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	font-family: var(--font-main);
	font-kerning: normal;
	color: var(--color-foreground);
	background-color: var(--color-background);
	text-size-adjust: 100%;
	line-height: 1.15;
	/* display: grid; */
	min-height: 100vh;
	min-width: 320px;
	/* grid-template-rows: auto 1fr auto; */
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

a {
	background-color: transparent;
}

b {
	font-weight: bolder;
}

small {
	font-size: 80%;
}

ul[class] {
	padding: 0;
	list-style: none;
}

img {
	max-width: 100%;
	border-style: none;
}

input,
textarea,
button {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
	overflow: visible;
}

button {
	text-transform: none;
	-webkit-appearance: button;
}


button::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/* Style */
h1, h2, h3 {
	font-family: var(--font-title);
}

p, a {
	font-family: var(--font-main);
}

.Content {
	width: 100%;
}

.Auth {
	margin-top: 25vh;
	text-align: center;
}

.Auth-title {
	font-size: 4rem;
	font-weight: 400;
	margin-bottom: 0;
}

.Auth-sub {
	margin: 1rem 0.75rem 3rem;
}

.Auth-welcome {
	font-size: 1.5rem;
	margin-bottom: 1.75rem;
}

.Auth-form {
	font-size: 1.125rem;
	display: inline;
}

.Auth-form > * {
	margin: 0 .5rem;
}

.Hero-cover {
	grid-column: col-start / span 12;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
}

.Hero-title {
	font-size: 5rem;
	font-weight: 400;
	background: #fffa;
	padding-top: 4rem;
	padding-bottom: 4rem;
	width: 100%;
	text-align: center;
}

.Hero-tmin {
	font-size: .3em;
	display: block;
	margin-bottom: .6rem;
}

.Hero-body, .Hero-countdown {
	grid-column: col-start 4 / span 6;
	text-align: center;
}

.Hero-body {
	font-size: 1.2rem;
	line-height: 2rem;
}

.Story-title {
	padding: 4rem 0;
	font-size: 4rem;
	font-weight: 400;
	text-align: center;
	background-color: #fffb;
}

.timeline {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

/* Timeline center line */
.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: var(--color-accent);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
	border-radius: 3px;
}

/* Timeline container */
.container {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
}

/* The circles on the timeline */
.container::after {
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	right: -17px;
	background-color: white;
	border: 4px solid var(--color-accent);
	top: 15px;
	border-radius: 50%;
	z-index: 1;
}

/* Place the container to the left */
.left {
	left: 0;
}

/* Place the container to the right */
.right {
	left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: medium solid white;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: medium solid white;
	border-width: 10px 10px 10px 0;
	border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
	left: -16px;
}

/* The actual content */
.content {
	padding: 20px 30px;
	background-color: white;
	position: relative;
	border-radius: 6px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

/* Image styling */
.timeline-img {
	width: min-content;
	height: auto;
	border-radius: 4px;
	margin-top: 10px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
	/* Place the timeline to the left */
	.timeline::after {
		left: 31px;
	}

	/* Full-width containers */
	.container {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
	}

	/* Make sure that all arrows are pointing leftwards */
	.container::before {
		left: 60px;
		border: medium solid white;
		border-width: 10px 10px 10px 0;
		border-color: transparent white transparent transparent;
	}

	/* Make sure all circles are at the same spot */
	.left::after, .right::after {
		left: 15px;
	}

	/* Make all right containers behave like the left ones */
	.right {
		left: 0%;
	}
}

.Iban {
	min-height: 18rem;
	margin: 4rem 0;
}

.Iban-cover {
	min-height: inherit;
	background-color: #fffb;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.Iban-body {
	max-width: 40rem;
	font-size: 1.5rem;
	text-align: center;
}

.Iban-number {
	display: block;
	justify-self: center;
	margin: 1rem 0;
	padding: .75rem 1.25rem !important;
}

.Message-title {
	grid-column: col-start 4 / span 6;
	text-align: center;
	font-weight: 400;
	font-size: 4rem;
	margin-bottom: 2rem;
}

.Message-body {
	grid-column: col-start 4 / span 6;
	text-align: center;
}

.Message-flash {
	grid-column: col-start 5 / span 4;
	padding: 1rem;
	text-align: center;
	border: 2px solid var(--color-foreground);
	margin: 0 1rem;
}

.Message-form {
	grid-column: col-start 5 / span 4;
	display: flex;
	flex-direction: column;
}

.Message-form label {
	margin-bottom: .5rem;
}

.Message-form input {
	margin-bottom: 1rem;
}

.Message-form textarea {
	margin-bottom: 1.5rem;
}

.Form-send {
	width: fit-content;
	align-self: center;
	padding-left: 2rem !important;
	padding-right: 2rem !important;
	font-size: 1.25rem;
}

.Form-send:disabled {
	background-color: var(--color-accent);
	cursor: wait;
}

.Pictures {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
}

.Pictures > * {
	border-radius: 10px;
	height: min-content;
	margin-bottom: 1rem;
	align-self: flex-start;
}

.Pictures-center {
	margin-top: 6rem;
}

@media screen and (max-width: 690px) {
	#password {
		max-width: 80vw;	
	}

	.Pictures-center {
		max-width: 90vw;
	}

	.Pictures-left {
		display: none;
	}
}

@media screen and (max-width: 1035px) {
	.Pictures-right {
		display: none;
	}

	.Pictures-center {
		margin-top: 0;
	}
}

.Ruler {
	width: 100%;
	text-align: center;
}

.Rules-picture {
	margin-top: 4rem;
}

.Messages-title {
	text-align: center;	
	font-weight: 400;
	font-size: 4rem;
}

.Messages {
	margin: 2rem;
}

.Messages-from {
	font-weight: 400;
}

.u-background {
	background: no-repeat center url("/static/images/background.webp");
	background-size: cover;
}

.u-wrapper {
	display: grid;
	grid-template-columns: repeat(12, [col-start] 1fr);
	gap: 20px;
}

.u-title {
	font-family: var(--font-title);
}

.u-field {
	border: 2px solid var(--color-foreground);
	color: var(--color-foreground);
}

.u-button {
	border-radius: 2rem;
	padding: .5rem 1rem;
	border: none;
	background: var(--color-accent);
	color: var(--color-background);
}

.u-button:hover {
	background: var(--color-hover);
}

.u-capitalize {
	font-family: var(--font-capital);
}

.u-smaller {
	font-size: .7em;
}

.u-nohover:hover {
	background: var(--color-accent);
}

@media screen and (max-width: 800px) {
	.Auth-form {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		align-items: center;
		justify-content: center;
	}

	.Hero-amp {
		display: block;
	}

	.Hero-body, .Iban-body {
		margin: 1rem;
	}

	.Message-title {
		font-size: 3rem;
		margin: auto 1rem;
	}

	.Message-form {
		font-size: 1.25rem;
		align-items: center;
	}

	.Message-form > * {
		width: 90vw;
	}
	
	.u-wrapper {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}
