/* CUSTOM
--------------------------- */
html, body {
	width: 100%;
	height: 100%;
	min-width: 320px;
	min-height: 320px;
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	font-family: 'Poppins', sans-serif;
	background-color: #fff;
	margin: 0;
	padding: 0;
}

main {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 100%;
	background: url("../media/bg.png") no-repeat center top;
	background-size: cover;
}

section {
	position: relative;
	width: 100%;
	height: auto;
}

a:hover,
a:focus {
	text-decoration: none;
}

d {
	color: transparent !important;
	background-color: rgba(0, 0, 0, 0.75) !important;
	pointer-events: none !important;
}

.container {
	max-width: initial;
	padding: 0;
	margin: 0;
}

#easter {
	display: block;
	position: absolute;
	width: 30px;
	height: 30px;
	left: 50%;
	bottom: 0;
	background-color: rgb(2, 15, 43);
	padding: 5px;
	-webkit-border-radius: 50%;
	        border-radius: 50%;
	opacity: 0.2;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	-webkit-transition: 0.3s;
			transition: 0.3s;
	z-index: 7314;
}
#easter:hover,
#easter:focus {
	width: 35px;
	height: 35px;
	background-color: rgb(2, 15, 43);
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
#easter img {
	width: 100%;
	height: auto;
	vertical-align: top;
}


/* NAVBAR
--------------------------- */
.navbar {
	display: block;
	position: absolute;
	width: 100%;
	height: 150px;
	text-align: center;
	padding: 10px 0;
	z-index: 2014;
}
.navbar-brand {
	display: block;
	padding: 0;
	margin: 0;
}
.navbar-brand img {
	height: 100px;
}
.navbar-nav {
	margin: 0 auto;
}
.navbar-nav .nav-item .nav-link {
	width: 210px;
	color: #727176;
	font-size: 24px;
	padding: 3px 0;
	-webkit-transition: 0.3s;
			transition: 0.3s;
}
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
	color: #727176;
}
.navbar-nav .nav-item.active .nav-link {
	color: #727176;
}

.navbar-toggler {
	position: relative;
	width: 40px;
	height: 40px;
	background-color: transparent;
	padding: 5px;
	margin-top: 5px;
	margin-right: 20px;
	border: none;
	border-radius: 0;
	float: right;
}
.navbar-toggler span {
	display: block;
	width: 30px;
	height: 3px;
	background-color: #5F4197;
	margin: 5px 0;
}


/* INTRO
--------------------------- */
#introSection {
	height: 100vh;
	background: url("../media/intro_bg.jpg") no-repeat center center;
	background-size: cover;
}
#introSection .container {
	position: absolute;
	width: 100%;
	height: auto;
	left: 0;
	bottom: 0;
	color: #5F4197;
	text-align: center;
	padding: 40px 0;
}
#introSection .container header {
	font-size: 80px;
	font-family: 'Great Vibes', cursive;
}
#introSection .container h2 {
	font-family: 'Great Vibes', cursive;
}
#introSection .container p {
	display: inline-block;
	font-size: 44px;
	margin: 0 10px;
}
#introSection .container p b {
	font-weight: 600;
}


/* WEDDING
--------------------------- */
#weddingSection {
	text-align: center;
	padding: 40px 20%;
}
#weddingSection header {
	color: #DADADA;
	font-size: 80px;
	text-align: right;
}
#weddingSection>h3 {
	color: #5F4197;
	font-weight: 200;
	font-family: 'Great Vibes', cursive;
	text-align: right;
	margin: 0 0 20px;
}
#weddingSection>h1 {
	color: #727176;
	letter-spacing: 5px;
}
#weddingSection>h2 {
	display: inline-block;
	color: #5F4197;
}
#weddingSection>h2 small {
	font-size: 50%;
	float: right;	
}
#weddingSection big {
	font-weight: 600;
}

#information {
	width: 100%;
	-webkit-columns: 2;
	   -moz-columns: 2;
	        columns: 2;
	margin: 40px 0;
}
#information div {
	position: relative;
	width: 100%;
	text-align: left;
	padding-left: 60px;
	margin-bottom: 20px;
	page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
	        break-inside: avoid-column; 
}
#information div img {
	position: absolute;
	width: 50px;
	left: 0;
	top: 0;
}
#information div h4 {
	color: #5F4197;
}
#information div p {
	color: #727176;
	margin-bottom: 5px;
}
#information div p a {
	color: #727176;
	-webkit-transition: 0.3s;
			transition: 0.3s;
}
#information div p a:hover,
#information div p a:focus {
	color: #5F4197;
}

#images {
	display: block;
	margin: 0 -10vw 80px;
}
#images img {
	display: inline-block;
	width: 25%;
}

#bachelor {
	text-align: left;
	padding-right: 10vw;
}
#bachelor header {
	text-align: left;
}
#bachelor h3 {
	color: #5F4197;
	padding-left: 240px;
	margin-bottom: 20px;
}
#bachelor h3 small {
	font-size: 50%;
}
#bachelor>p {
	color: #727176;
	font-size: 18px;
	padding-left: 20px;
	margin-bottom: 5px;
}
#bachelor>p:first-of-type {
	font-size: 20px;
	line-height: 1.2;
	padding-left: 0;
}
#bachelor>p:last-of-type {
	display: inline-block;
	padding-bottom: 15px;
	padding-right: 10px;
	border-bottom: 1px solid #5F4197;
}
#bachelor>p img {
	margin-left: 20px;
}
#bachelor h2,
#bachelor h5 {
	color: #5F4197;
	font-weight: 600;
	margin: 15px 0 10px;
}
#bachelor>img {
	position: absolute;
	width: 30vw;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
#bachelor div {
	background-color: #5F4197;
	padding: 40px 80px;
	margin: 0 -20vw 0 -10vw;
}
#bachelor div span {
	display: inline-block;
	position: relative;
	width: 50%;
	padding-right: 40px;
}
#bachelor div span p {
	color: #FFF;
	text-align: justify;
	margin-bottom: 5px;
}
#bachelor div span p a {
	color: #FFF;
}
#bachelor div span:last-of-type {
	padding-left: 90px;
	padding-right: 0;
	border-left: 1px solid #FFF;
	float: right;
}
#bachelor div span:last-of-type img {
	position: absolute;
	width: 35px;
	left: 40px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
#bachelor div span:last-of-type p {
	font-size: 20px;
}

#activities {
	display: block;
	position: relative;
	width: 100%;
	margin-top: 80px;
}
#activities header {
	text-align: right;
}
#activities h3 {
	color: #5F4197;
	text-align: right;
	margin: 0 0 40px;
}
#activities span {
	display: block;
	position: relative;
	width: 100%;
	text-align: left;
	padding-left: 110px;
	padding-right: 50%;
	margin-bottom: 20px;
}
#activities span:nth-of-type(2) {
	padding-left: -webkit-calc(50% + 110px);
  	padding-left: calc(50% + 110px);
	padding-right: 0;
}
#activities span img {
	position: absolute;
	width: 100px;
	left: 0;
	top: 0;
}
#activities span:nth-of-type(2) img {
	left: 50%;
}
#activities span h4 {
	color: #5F4197;
	margin: 0 0 5px;
}
#activities span p {
	color: #727176;
	margin-bottom: 5px;
}
#activities span p:last-of-type {
	margin-top: 15px;
}


/* HISTORY
--------------------------- */
#historySection {
	height: 100vh;
	overflow: hidden;
	padding: 115px 80px 40px;
}
#historySection header {
	position: absolute;
	width: 100%;
	left: 0;
	top: 20px;
	color: #DADADA;
	font-size: 80px;
	text-align: center;
}
#historySection span {
	display: none;
	position: absolute;
	width: -webkit-calc(100% - 80px) !important;
	width: calc(100% - 80px) !important;
	height: -webkit-calc(100% - 50px) !important;
	height: calc(100% - 50px) !important;
	left: 50%;
	top: 85px;
	background: url("../media/history/bg.png") no-repeat center center;
	background-size: 100% 100%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
}

#flipbook {
	display: block;
	width: 100%;
	height: 100%;
}
#flipbook .page {
	background-color: #DADADA;
}

#cover {
	background-color: #5F4197 !important;
	background: url("../media/history/cover.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo1 {
	background: url("../media/history/1.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo2 {
	background: url("../media/history/2.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo3 {
	background: url("../media/history/1.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo4 {
	background: url("../media/history/2.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo5 {
	background: url("../media/history/1.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo6 {
	background: url("../media/history/2.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo7 {
	background: url("../media/history/1.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo8 {
	background: url("../media/history/2.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo9 {
	background: url("../media/history/1.jpg") no-repeat center center;
	background-size: auto 85%;
}
#photo10 {
	background: url("../media/history/2.jpg") no-repeat center center;
	background-size: auto 85%;
}
#end {
	background-color: #5F4197 !important;
}

.interior {
	background-color: #DADADA;
}


/* RSVP
--------------------------- */
#rsvpSection {
	text-align: center;
	padding: 80px 80px 40px;
}
#rsvpSection header {
	color: #DADADA;
	font-size: 80px;
	text-align: left;
}
#rsvpSection h1 {
	color: #5F4197;
	font-weight: 600;
	text-align: left;
	margin: 0 0 20px;
}
#rsvpSection h3 {
	position: absolute;
	top: 40px;
	right: 80px;
	color: #DADADA;
	margin: 0;
}

#rsvpForm {
	-webkit-transition: 0.3s;
  			transition: 0.3s;
}
#rsvpForm.disabled {
	opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	pointer-events: none;
}
#rsvpForm .form-group {
	display: block;
	position: relative;
	width: 100%;
	min-width: 500px;
	color: #727176;
	font-size: 24px;
	font-weight: 200;
	margin: 20px auto;
}
#rsvpForm .form-group.medium {
	display: inline-block;
	width: 50%;
	padding: 0 20px;
	margin: 20px 0;
}
#rsvpForm .form-group.narrow {
	display: inline-block;
	width: auto;
	min-width: initial;
	margin: 20px;
}
#rsvpForm .form-group input {
	color: #727176;
	font-size: 24px;
	font-weight: 200;
}
#rsvpForm .form-group input[type="radio"] {
	display: inline-block;
	margin: 0 20px;
}
#rsvpForm .form-group input[type="text"],
#rsvpForm .form-group input[type="email"] {
	text-align: left;
	padding: 5px 20px;
	border: none;
	border-bottom: 1px solid #5F4197;
	-webkit-border-radius: 0;
	        border-radius: 0;
}
#rsvpForm .form-group input[type="text"]:focus,
#rsvpForm .form-group input[type="email"]:focus {
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(95, 65, 151, 0.6);
          	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(95, 65, 151, 0.6);
}
#rsvpForm .form-group.medium label {
	color: #5F4197;
	font-size: 13px;
	font-weight: 600;
	float: left;
	margin-left: 20px;
}
#rsvpForm .form-group select {
	color: #727176;
}
#rsvpForm .form-group select:hover,
#rsvpForm .form-group select:focus {
	border-color: #5F4197;
	outline-color: #5F4197;
}
/*#rsvpForm .form-group select:focus-within option:checked {
	color: #FFF;
	background-color: #5F4197;
}
#rsvpForm .form-group select option {
	color: #727176;
}*/
#rsvpForm .form-group img {
	margin: 0;
}

/*#allergic {
	padding-left: 40px !important;
}
#shrimp {
	position: absolute;
	width: auto;
	height: 35px;
	left: 0;
	top: 0;
}*/

#rsvpForm button {
	color: #5F4197;
	font-size: 20px;
	background-color: transparent;
	padding: 10px 20px;
	margin-top: 20px;
	border: 1px solid #5F4197;
	cursor: pointer;
	-webkit-transition: 0.3s;
			transition: 0.3s;
}
#rsvpForm button:hover,
#rsvpForm button:focus {
	color: #FFF;
	background-color: #5F4197;
}

.btn-primary {
	background-color: #5F4197;
	border-color: #5F4197;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: #4c3478;
	border-color: #4c3478;
}

@media (max-width: 767px) {
	.navbar {
		height: 70px;
		text-align: initial;
		background-color: #FFF;
	}
	.navbar-brand {
		display: inline-block;
		height: 100%;
		margin-left: 20px;
	}
	.navbar-brand img {
		height: 100%;
	}
	.navbar-collapse {
		background-color: #FFF;
		padding: 10px 20px;
		margin-top: 10px;
	}
	.navbar-nav .nav-item .nav-link {
		width: 100%;
		text-align: center;
		padding: 8px 0;
	}

	#introSection .container p {
		display: block;
	}

	#information {
		-webkit-columns: initial;
     	   -moz-columns: initial;
          		columns: initial;
	}
	#images img {
		width: 50%;
	}
	#bachelor {
		padding-right: 0;
	}
	#bachelor div span {
		width: 100%;
		padding: 0;
	}
	#bachelor div span:last-of-type {
		padding: 20px 0 0 50px;
		margin-top: 20px;
		border-top: 1px solid #FFF;
		border-left: none;
		float: initial;
	}
	#bachelor div span p {
		text-align: center;
	}
	#bachelor div span:last-of-type img {
		width: 40px;
		left: 0;
	}
	#bachelor>img {
		position: relative;
		width: 100%;
		top: initial;
		right: initial;
		transform: none;
		margin-bottom: 20px;
	}

	#historySection {
		height: 100vw;
	}

	#rsvpForm .form-group {
		min-width: initial;
	}
	#rsvpForm .form-group.medium label {
		text-align: justify;
		-moz-text-align-last: justify;
       	text-align-last: justify;
		margin: 0;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
	h1 {
		font-size: 32px;
	}
	h2 {
		font-size: 28px;
	}
	h3 {
		font-size: 24px;
	}
	h4 {
		font-size: 20px;
	}

	#introSection .container header {
		font-size: 54px;
	}
	#introSection .container p {
		font-size: 22px;
	}

	#weddingSection {
		padding: 20px 40px;
	}
	#weddingSection header {
		font-size: 54px;
	}
	#weddingSection>h1 {
		letter-spacing: 2.5px;
	}
	#weddingSection>h2 {
		font-size: 25px;
	}
	#information {
		margin: 20px 0;
	}
	#images {
		margin: 0 -40px 20px;
	}
	#bachelor h3 {
		padding-left: 120px;
		margin-bottom: 10px;
	}
	#bachelor>p {
		font-size: 16px;
		padding-left: 10px;
	}
	#bachelor>p:first-of-type {
		font-size: 18px;
	}
	#bachelor>p img {
		margin-left: 10px;
	}
	#bachelor h2, #bachelor h5 {
		margin: 10px 0;
	}
	#bachelor div {
		padding: 20px;
		margin: 0 -40px;
	}
	#bachelor div span:last-of-type {
		padding: 20px 0 0 50px;
		margin-top: 20px;
	}
	#bachelor div span:last-of-type p {
		font-size: 18px;
	}
	#activities {
		margin-top: 40px;
	}
	#activities h3 {
		margin-bottom: 20px;
	}
	#activities span {
		padding: 0 20% 0 100px;
	}
	#activities span:nth-of-type(2) {
		padding-left: -webkit-calc(20% + 100px);
  		padding-left: calc(20% + 100px);
	}
	#activities span:nth-of-type(2) img {
		left: 20%;
	}

	#historySection {
		padding: 90px 40px 40px;
	}
	#historySection header {
		font-size: 54px;
	}

	#rsvpSection {
		padding: 40px 20px;
	}
	#rsvpSection header {
		font-size: 54px;
	}
	#rsvpSection h3 {
		top: 20px;
		right: 20px;
	}
	#rsvpSection h1 {
		margin-bottom: 10px;
	}
	#rsvpForm .form-group {
		font-size: 18px;
		margin: 10px auto;
	}
	#rsvpForm .form-group.medium {
		padding: 0 10px;
		margin: 10px 0;
	}
	#rsvpForm .form-group.narrow {
		margin: 10px;
	}
	#rsvpForm .form-group input {
		font-size: 18px;
	}
	#rsvpForm .form-group input[type="radio"] {
		margin: 0 10px;
	}
	#rsvpForm .form-group input[type="text"], #rsvpForm .form-group input[type="email"] {
		padding: 5px 10px;
	}
	#rsvpForm .form-group.medium label {
		font-size: 10px;
	}
	#rsvpForm button {
		font-size: 18px;
		padding: 5px 10px;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 28px;
	}
	h2 {
		font-size: 24px;
	}
	h3 {
		font-size: 20px;
	}
	h4 {
		font-size: 16px;
	}

	#introSection .container header {
		font-size: 44px;
	}
	#introSection .container p {
		font-size: 20px;
	}

	#weddingSection {
		padding: 10px 20px;
	}
	#weddingSection header {
		font-size: 44px;
	}
	#weddingSection>h1 {
		letter-spacing: 0;
	}
	#weddingSection>h2 {
		font-size: 20px;
	}
	#information {
		margin: 10px 0;
	}
	#images {
		margin: 0 -20px 10px;
	}
	#bachelor h3 {
		padding-left: 90px;
		margin-bottom: 5px;
	}
	#bachelor>p {
		font-size: 14px;
		padding-left: 5px;
		margin-bottom: 2.5px;
	}
	#bachelor>p:first-of-type {
		font-size: 15px;
	}
	#bachelor>p img {
		margin-left: 5px;
	}
	#bachelor h2, #bachelor h5 {
		margin: 5px 0;
	}
	#bachelor div {
		padding: 10px;
		margin: 0 -20px;
	}
	#bachelor div span:last-of-type {
		padding: 10px 0 0 45px;
		margin-top: 10px;
	}
	#bachelor div span p,
	#bachelor div span p a {
		font-size: 14px;
	}
	#bachelor div span:last-of-type p {
		font-size: 16px;
	}
	#activities {
		margin-top: 20px;
	}
	#activities h3 {
		margin-bottom: 10px;
	}
	#activities span {
		padding: 0 10% 0 55px;
	}
	#activities span:nth-of-type(2) {
		padding-left: -webkit-calc(10% + 55px);
  		padding-left: calc(10% + 55px);
	}
	#activities span img {
		width: 50px;
	}
	#activities span:nth-of-type(2) img {
		left: 10%;
	}
	#activities span p {
		font-size: 14px;
	}

	#historySection {
		padding: 70px 20px 40px;
	}
	#historySection header {
		font-size: 40px;
		letter-spacing: -3px;
	}

	#rsvpSection {
		padding: 20px 10px 40px;
	}
	#rsvpSection header {
		font-size: 44px;
	}
	#rsvpSection h1 {
		font-size: 26px;
	}
	#rsvpSection h3 {
		top: 10px;
		right: 10px;
	}
	#rsvpSection h1 {
		margin-bottom: 10px;
	}
	#rsvpForm .form-group {
		font-size: 12px;
		margin: 5px auto;
	}
	#rsvpForm .form-group.medium {
		padding: 0 5px;
		margin: 5px 0;
	}
	#rsvpForm .form-group.narrow {
		margin: 5px;
	}
	#rsvpForm .form-group input {
		font-size: 12px;
	}
	#rsvpForm .form-group input[type="radio"] {
		margin: 0 5px;
	}
	#rsvpForm .form-group input[type="text"], #rsvpForm .form-group input[type="email"] {
		padding: 5px;
	}
	#rsvpForm .form-group.medium label {
		font-size: 8px;
		letter-spacing: -0.5px;
	}
	#rsvpForm button {
		font-size: 12px;
		padding: 5px 10px;
	}
}

