/* For mobile phones: */
* {
    box-sizing: border-box;
	margin:0px;
	padding:0px;
}

img , img a
{
	border:none;
}

a
{
	text-decoration:none;
	color:#818081;
}

body
{
	background:#f3f3ef;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:normal;
	font-size:14px;
	color:#818081;
	overflow-x: hidden;
}


header
{
	padding-top: 7vw;
	height: 30vh;
}

h1
{
	font-family: 'Carattere', cursive;
	font-size: 2em;
	font-weight: 300;
	color:#0b3804;
	width: 100%;
	text-align: center;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);  /* Subtle shadow for depth */
    letter-spacing: 2px;
}

.h2-container
{
	grid-column: span 12;
}

h2
{
	font-family: 'Zain', sans-serif;
    font-weight: normal;
    font-size: 32px;
    color: #626262;
    padding-bottom: 20px;
}

.rsvp
{
	background-color: #0b3804;
	color: white;
	font-family: 'Zain', sans-serif;
    font-weight: 600;
    font-size: 20px;
	border: none;
	margin: 20px 0px;
	padding: 15px 30px;
	width: auto;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius: 3px;
	cursor: pointer;
	transition-duration: 0.3s;
}

.profile-picture
{
	grid-column: span 12;
}

.profile-picture img
{
	width: 70%;
	margin: 0px auto;
	height: auto;
	display: block;
}

.button_container
{
	text-align: center;
	grid-column: span 12;
	padding-top: 20px;
}

h3
{
	font-family: 'Zain', sans-serif;
    font-weight: normal;
    font-size: 20px;
    color: #626262;
    padding-bottom: 20px;
	grid-column: span 12;
}

.main
{
	max-width:1000px;
	margin:0px auto;
	background:#FFF;
	padding-top:30px;
	padding-bottom: 30px;
	padding-left: 15px;
	padding-right: 15px;
	box-shadow: 5px 5px 10px #1D1D1D66, 1px 2px 0px 0px #CCCCCC;
	border-radius: 7px;
}

.background_image
{
	width: 100vw;
	position:fixed;
	top: 0px;
	left: 50%;
	transform: translate(-50%, 0%);
	z-index:-1;
}

section
{
	margin-bottom: 30px;
	display: grid;
	width: 100%;
	grid-template-columns: repeat(12, 1fr);
}

section p
{
	line-height: 1.5em;
	padding: 0px 0px 15px 0px;
	grid-column: span 12;
}

.desktop-only
{
	display: none;
}

.mobile-only
{
	display: block;
}



@media only screen and (min-width: 550px) {
    /* For tablets: */
	.main
	{
		padding-left: 25px;
		padding-right: 25px;
	}

	h1
	{
		font-size: 3em;
	}
}

@media only screen and (min-width: 800px) {
    /* For desktop: */
	
	.main
	{
		padding-left: 50px;
		padding-right: 50px;
		margin-bottom: 7vh;
	}

	.background_image
	{
		width: auto;
		min-height: 100vh;
		top:50%;
		transform: translate(-50%, -50%);
	}

	header
	{
		height: 80vh;
	}

	h1
	{
		font-size: 8em;
	}

	.h2-container
	{
		grid-column: span 8;
		padding-right: 50px;
	}

	.profile-picture
	{
		grid-column: span 4;
	}

	.profile-picture img
	{
		width: 100%;
	}

	.desktop-only
	{
		display: block;
	}

	.mobile-only
	{
		display: none;
	}
}