body {
	font-family: yrsa, serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1em;
	line-height: 1.25;
	text-align: center;
	background: #e5d7c9;
	color: #001221;
}

#body {
	background: #F9B200 url(img/bg_yba.png) center/150% auto repeat-y;
	/*margin-top: 1em;
	margin-right: 1em;*/
	margin: 0;
	padding: 8vw 1em 10%;
	animation: 80s linear infinite zoomin;
	transition: .5s transform;
}
@keyframes zoomin {
	0% {
	   background-position: center 3172px;
	}
	100% {
	   background-position: center 0%;
	}
}
#euro {
	content: '';
	position: absolute;
	z-index: 100;
	width: 5em;
	height: 5em;
	right: 0;
	top: 0;
	background: #e5d7c9 url(img/euro.svg) center 45%/50% auto no-repeat;
	transform-origin: top right;
	transition: .5s transform;
}
#euro::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%);
}

img, svg {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
h1, h2, dl, dt, dd {
	margin: 0;
	padding: 0;
}
dl {
	max-width: 40em;
	margin: 0 auto;
}
dt::before {
	content: '';
	display: block;
	margin: 0 auto;
	width: 98px;
	height: 98px;
	transform: scale(50%);
}
dt:nth-of-type(1)::before {
	background: url(img/1-yba.svg);
}
dt:nth-of-type(2)::before {
	background: url(img/2-yba.svg);
}
dt:nth-of-type(3)::before {
	background: url(img/3-yba.svg);
}
dt:nth-of-type(4)::before {
	background: url(img/4-yba.svg);
}
dt:nth-of-type(5)::before {
	background: url(img/5-yba.svg);
}
dt:nth-of-type(6)::before {
	background: url(img/6-yba.svg);
}
dt:nth-of-type(7)::before {
	background: url(img/7-yba.svg);
}
dt {
	font-size: 1.5em;
	font-family: dashiell-fine, serif;
	font-weight: 800;
	font-style: normal;
	margin-top: 1.25em;
	padding: 0 1em;
}
dt:first-child {
	margin-top: .5em;
}
dd {
	margin: .75em auto;
	line-height: 1;
	font-size: 1.25em;
}
h1 + p {
	margin: 1em auto;
}
p {
	font-size: 1.5em;
	max-width: 16em;
	margin: 0 auto 1em;
	line-height: 1;
}
p em {
	font-style: normal;
	border-bottom: 1px solid;
	line-height: .75;
}
p strong {
	font-family: dashiell-fine, serif;
	font-weight: 800;
}
#rsvp {
	display: inline-block;
	max-width: 80%;
	transition: .3s transform ease-out;
	animation: pulse 3s infinite;
}
.mw {max-width: 552px; width: 100%; margin: 0 auto;}
.disabled {
	pointer-events: none;
	opacity: 0.6;
	transition: none!important;
	animation: none!important;
}
@keyframes pulse {
	0% {
		transform: scale(1);
	}
	65% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}
#rsvp:hover {
	animation-play-state: paused;
}
#rsvp:hover svg path {
	fill: #eb1b25;
}

h2 {
	margin-top: 2em;
}

@media only screen and (min-width: 640px) {
	#body {
		background-size: auto;
		/*margin-top: 2em;
		margin-right: 2em;*/
	}
	#euro {
		width: 10em;
		height: 10em;
	}
	#euro:hover {
		transform: scale(1.5);
	}
	#euro:hover + #body {
		transform: translate(-1em,1em);
	}

	dt {
		position: relative;
		font-size: 2.5em;
	}
	dt::before {
		position: absolute;
		left: 0;
		transform: scale(100%) translate(-25%,-25%);
	}
	dd {
		padding: 0;
		font-size: 1.875em;
		max-width: 16em;
	}
	p {
		font-size: 2em;
		margin: 0 auto 1em;
	}
	p strong {
		font-size: 1.25em;
	}

	h1 + p {
		margin-top: 1.5em;
	}
}