/*
Theme Name: Sipho and Oscar
Author: Lumxnari (PTY)LTD
Author URI: https://lumxnari.co.za/
Description: Website for Sipho and Osacar's wedding. Invitation and Main website.
Requires at least: 5.3
Version: 1
Text Domain: siphoandoscar
Tags: wedding website, invitation

Sipho and Oscar Theme, (C) 2020 Lumxnari
*/

/* Globals ---------- ---------- ---------- */

@font-face {
	font-family: 'Outfit';
	src: url('./fonts/outfit-regular.ttf');
}

@font-face {
	font-family: 'Outfit-light';
	src: url('./fonts/outfit-light.ttf');
}

@font-face {
	font-family: 'Outfit-medium';
	src: url('./fonts/outfit-medium.ttf');
}

@font-face {
	font-family: 'Outfit-semibold';
	src: url('./fonts/outfit-semibold.ttf');
}

@font-face {
	font-family: 'Outfit-bold';
	src: url('./fonts/outfit-bold.ttf');
}

@font-face {
	font-family: 'Antro Vectra';
	src: url('./fonts/Antro_Vectra_Bolder.otf');
}

 
:root { 
	/* Font Size */
	--font-size-root: clamp(1rem, 2vw, 1.5rem);
	--font-size-body: clamp(18px, 2vw, 24px);
	--font-size-heading: clamp(3rem, 10vw, 6rem);
	--font-size-heading-large: clamp(3rem, 10vw, 8rem);

	/* Colors */
	--color-black: #000;
	--color-white: #fff;

	--color-bleach-white: #E7D1A0;
	--color-sherwood-green: #184435;
	--color-mandalay: #AE8035;
	--color-nero: #292929;

	--color-sage-green: #7C8E76;

	--color-island-spice: #F7E6C5;
	--color-siam: #6B705C;
	--color-chenin: #E5BF6B;
	--color-slugger: #3E342B;

	--color-primary: var(--color-black); /* Body text color, site title, footer text color. */
	--color-secondary: var(--color-nero); /* Body text color, site title, footer text color. */
	--color-heading: var(--color-siam); /* Headings */
	--color-primary-hover: var(--color-primary);
	--color-background: var(--color-bleach-white);
	--color-light-background: var(--color-island-spice);
	--color-dark-background: var(--color-nero);
	--color-border: var(--color-mandalay); /* Used for borders (separators) */
}

* { 
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	font-size: var(--font-size-root);
	line-height: 1.618;
	background-color: var(--color-background);
}

.hidden {
	display: none !important;
}


/* Typography ---------- ---------- ---------- */

h1, h2, h3, h4 {
	font-weight: 400;
	font-size: inherit;
}

center {
	font-size: var(--font-size-body);
}


/* Page Transition ---------- ---------- ---------- */

#transition {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    pointer-events: none;
    opacity: 1;
    background-color: #ae781c;
    transition: 1s all ease-in-out;
	clip-path: circle(0% at 50% 50%); /* Open */
    animation: linear 2s;
    animation-name: pagetransition;
    animation-timing-function: ease-in-out;
    z-index: 3000;
}

@keyframes pagetransition {
    0% {
        clip-path: circle(100% at 50% 50%); /* open */
    }
	70% {
        clip-path: circle(100% at 50% 50%); /* open */
    }
	100% {
        clip-path: circle(0% at 50% 50%); /* close */
    }
}

#transition .title {
	padding: 0 2rem;
	width: 100%;
	max-width: 300px;
}


/* Fixed Elements ---------- ---------- ---------- */

#backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: var(--color-sage-green);
	z-index: -1;
}

#backdrop.ourstory {
	background: var(--color-sage-green);
	background-image: url('./img/ourstory_bg.png');
	background-position: top center;
	background-size: cover;
}

#backdrop.venueanddetails {
	background: var(--color-sage-green);
	background-image: url('./img/venueanddetails_bg.png');
	background-size: cover;
}

#backdrop.moodboard {
	background: var(--color-sage-green);
	background-image: var(--color-sage-green);
	background-position: top center;
	background-size: cover;
}

#backdrop.abouttheday {
	background: var(--color-sage-green);
	background-image: url('./img/abouttheday_bg.png');
	background-size: cover;
}

#backdrop.gifting {
	background: var(--color-sage-green);
	background-image: url('./img/moodboard_bg.png');
	background-size: cover;
}

#gobo {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background-image: url('./img/gobo.png');
	background-size: cover;
	background-repeat: no-repeat;
	mix-blend-mode: multiply;
	pointer-events: none;
	z-index: 990;
}

#overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	pointer-events: none;
	z-index: 980;
}

#overlay .plant_1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(20%);
    transform: translateX(-30%) rotateZ(15deg);
}

#overlay .plant_2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
}

#music {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1rem;
	position: fixed;
	right: 0.5rem;
	bottom: 0.5rem;
	width: 300px;
	height: auto;
	overflow: hidden;
	z-index: 1000;
}

#music .music_btn {
	width: 50px;
	height: 50px;
	opacity: 0.6;
	cursor: pointer;
}

#music .music_btn:hover {
	opacity: 0.7;
}

#music .music_btn.active {
	opacity: 1;
	animation: dancing 0.6897s infinite ease-in-out;
	transition: 1s all ease-in-out;
	transform: scale(1);
}

@keyframes dancing {
	0% {
		transform: scale(0.8);
	}
	5% {
		transform: scale(0.9);
	}
	100% {
		transform: scale(0.8);
	}
}


/* Form ---------- ---------- ---------- */

input, textarea {
	padding: 0.6rem 1rem !important;
	font-size: var(--font-size-body);
	border: 0 !important;
	border-radius: 0.5rem;
	background-color: #fff;
	width: clamp(280px, 100%, 800px);
}

textarea {
	font-size: var(--font-size-body);
	min-height: 100px;
}

label {
	text-align: left;
	margin: 1.5rem 0 0.5rem 1rem;
}

input[type=radio]{
	width: 20px !important;
}

.ff-el-input--label.asterisk-right {
	display: flex;
}

/* Buttons ---------- ---------- ---------- */

button, .button {
	padding: 2rem 3rem;
	font-size: var(--font-size-body);
	color: var(--color-island-spice);
	background-color: var(--color-sherwood-green);
	border: 2px solid var(--color-sherwood-green);
	border-radius: 50px;
	transition: 0.2s all ease-in-out;
	cursor: pointer;
}

button:hover, .button {
	color: var(--color-sherwood-green);
	background-color: transparent;
}

button.bleachwhite {
	color: var(--color-sherwood-green);
	background-color: var(--color-bleach-white);
	border: 2px solid var(--color-sherwood-green);
}

button.green {
	color: var(--color-bleach-white);
	background-color: var(--color-sherwood-green);
	border: 2px solid var(--color-bleach-white);
}

.rsvp_button {
	padding: 2rem 3rem;
	font-size: var(--font-size-body);
	color: var(--color-sherwood-green);
	background-color: transparent;
	border: 2px solid var(--color-sherwood-green);
	border-radius: 50px;
}

button.ff-btn {
	padding: 2rem 3rem !important;
	font-size: var(--font-size-body) !important;
	color: var(--color-sherwood-green) !important;
	background-color: var(--color-bleach-white) !important;
	border: 2px solid var(--color-sherwood-green) !important;
	border-radius: 50px !important;
	transition: 0.2s all ease-in-out !important;
	cursor: pointer !important;
	font-family: 'Outfit' !important;
    font-weight: 400 !important;
    font-size: var(--font-size-body) !important;
}


#double_arch {
	display: none;
	position: absolute;
	top: 10vh;
	left: 50%;
	transform: translateX(-50%);
	height: 115vh;
	width: clamp(800px, 100%, 1500px);
	pointer-events: none;
}


/* Header ---------- ---------- ---------- */

header {
	position: relative;
	display: block;
	padding-top: 2rem;
	z-index: 1000;
}

@media screen and (max-width: 678px) {
	header {
		margin-top: 0 !important;
	}

	#aom_header_nav {
		display: none !important;
	}
	#aom_mobilemenu_btn {
		display: flex !important;
	}
}

#aom_mobilemenu_btn {
	display: none;
	justify-content: flex-end;
	margin: 0 auto;
}

#aom_mobilemenu_btn span {
    position: relative;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
	font-size: 18px;
    color: var(--color-white);
    border-radius: 50px;
    background-color: var(--color-sherwood-green);
	pointer-events: none;
	user-select: none;
}

#aom_header_nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#aom_header_nav ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#aom_header_nav ul .current-menu-item::after {
    content: '';
    position: relative;
    display: block;
	margin: 0 auto;
    width: 30px;
    border-bottom: 2px solid var(--color-chenin);
	transition: 0.3s all ease-in-out;
}

#aom_header_nav ul .current-menu-item:hover::after {
	width: 50px;
}

#aom_header_nav ul li a {
	text-decoration: none;
	color: var(--color-chenin);
}

#aom_header_nav ul .current-menu-item a {
	color: var(--color-white);
}


/* Mobile Menu ---------- ---------- ---------- */

#mobilemenu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: var(--color-sherwood-green);
	padding: 5rem 0;
	opacity: 0;
	pointer-events: none;
	filter: blur(10px);
	transition: 0.3s all ease-in-out;
	z-index: 990;
}

#mobilemenu.menuOpen {
	opacity: 1;
	pointer-events: auto;
	filter: blur(0px);
}

#aom_mobile_nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#aom_mobile_nav ul {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#aom_mobile_nav ul .current-menu-item::after {
    content: '';
    position: relative;
    display: block;
	margin: 0 auto;
    width: 30px;
    border-bottom: 2px solid var(--color-chenin);
	transition: 0.3s all ease-in-out;
}

#aom_mobile_nav ul .current-menu-item:hover::after {
	width: 50px;
}

#aom_mobile_nav ul li a {
	text-decoration: none;
	color: var(--color-chenin);
}

#aom_mobile_nav ul .current-menu-item a {
	color: var(--color-white);
}


/* Hero and Details parent element front-page.php ---------- ---------- ---------- */

.hero_details {
    margin-bottom: 10vh;
    background-image: url('./img/double_arch_full_v2.svg');
    background-position: center -60px;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Hero front-page.php ---------- ---------- ---------- */

section.hero {
	display: grid;
	grid-template-rows: 5fr 1fr 3fr;
	justify-content: center;
	height: 100vh;
	text-align: center;
	overflow: hidden;
}

.hero .greeting {
	align-self: end;
	display: flex;
	flex-direction: column;	
	font-size: 1.5rem;
	color: var(--color-bleach-white);
}

.hero .title {
	font-size: var(--font-size-heading-large);
	line-height: 1.2;
	color: var(--color-white);
}

.hero .title h1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    font-size: clamp(72px, 10vw, 125px);
    line-height: 1;
    margin: 0 0 3rem;
}

@media screen and (max-width: 510px) {
	.hero .title h1 {
		flex-direction: column;
		gap: 0;
	}
}

.hero #wedding_svg {
	transform: translateY(-50px) translateX(50px);
	width: clamp(280px, 100vw, 1200px);
	height: 155px;
	fill: var(--color-bleach-white) !important;
}

.hero #wedding_text {
	display: none;
    margin: -3rem 0 0 0;
    font-family: 'sacramento';
    transform: skew(3deg, -10deg);
    color: var(--color-sherwood-green);
}

.hero .arrow {
    display: flex;
	flex-direction: column;
	align-items: center;
    justify-content: center;
	animation: heroarrowupdown 1s ease-in-out infinite alternate;
    margin-top: -50px;
	pointer-events: none;
}

.hero .arrow .arrow_message {
	color: white;
}

.hero .arrow img {
    width: 50px;
}

@keyframes heroarrowupdown {
	0% {
		transform: translateY(10px);
	}
	100% {
		transform: translateY(0px);
	}
}


/* Details front-page.php ---------- ---------- ---------- */

section.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
    padding: 1rem 1rem 45vh;
    min-height: 100vh;
}

.details .info {
	text-align: center;
	padding: clamp(1rem, 2vw, 2rem);
	width: 100%;
	max-width: calc(800px + 2rem);
}

.details .info .poem {
	color: #915825;
}

.details .info h2 {
	font-size: var(--font-size-heading);
	color: var(--color-bleach-white);
	margin-bottom: -1rem;
}

.details .cta {
	align-self: center;
	justify-self: center;
}

.details .message {
	margin: 0 auto;
	padding: clamp(1rem, 2vw, 2rem);
	width: 100%;
	max-width: calc(800px + 2rem);
	font-size: var(--font-size-body);
	font-weight: 300;
	text-align: center;
}

.details .message .subheading {
    font-family: 'Antro Vectra', script, system-ui;
    /* font-family: 'sacramento', script, system-ui; */
    font-size: clamp(36px, 10vw, 60px);
    margin: 5rem 0 -2rem 0;
    color: var(--color-sherwood-green);
}

.details .message .subheading:first-child {
	margin-top: 0;
}

.details .message > p {
	/* font-family: 'Antro Vectra', script, system-ui; */
	/* font-family: 'sacramento', script, system-ui; */
    color: #915825;
}


/* RSVP front-page.php ---------- ---------- ---------- */

.section_transition {
	height: 400px;
	background-image: linear-gradient(180deg, transparent, var(--color-sage-green));
}

section.rsvp {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 10vh 0;
	min-height: 100vh;
	background-color: var(--color-sage-green);
}

.rsvp .title {
	font-size: var(--font-size-heading);
	color: var(--color-white);
	margin-bottom: -1rem;
}

.rsvp_closed_message {
	color: #fff;
}

.popout {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: left;
	transform: translateY(-300px);
}

.popout .container {
    padding: 4rem 3rem 4rem;
    width: 100%;
    max-width: 800px;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 100px 100px -80px #00000060;
    color: var(--color-sherwood-green);
}

.popout .container .arrow {
    display: flex;
    justify-content: center;
    transform: translateY(120px);
	animation: arrowupdown 0.7s ease-in-out infinite alternate;
    margin-top: -50px;
	pointer-events: none;
}

.popout .container .arrow img {
    width: 50px;
}

@keyframes arrowupdown {
	0% {
		transform: translateY(120px);
	}
	100% {
		transform: translateY(110px);
	}
}


.rsvp .subtitle {
	margin: 0 auto;
	max-width: 800px;
	font-size: var(--font-size-body);
	color: var(--color-sherwood-green);
}

.form_wrapper {
    margin: 5rem auto 0;
    padding: 4rem;
    width: clamp(280px, 100%, 900px);
    border: 3px solid var(--color-chenin);
    border-radius: 3rem;
    text-align: start;
    background: #29473c70;
    color: white;
}

#forminator-module-5, .forminator-ui {
	display: block !important;
}

.form_wrapper .fluentform form fieldset .ff-el-input--content:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
	gap: 0.5rem;
}

.form_wrapper .fluentform form fieldset .ff-el-input--content:nth-child(2) .ff-el-form-check-label {
	display: flex;
    flex-direction: row;
    gap: 1rem;
}

.rsvp .thankyou {
	text-align: center;
}


/* RSVP thankyou page page.php ---------- ---------- ---------- */

.page_content {
	padding: 1rem;
	font-size: var(--font-size-body);
	color: var(--color-sherwood-green);
	text-align: center;
}


/* Footer ---------- ---------- ---------- */

footer {
	font-size: var(--font-size-body);
	color: var(--color-sherwood-green);
	text-align: center;
}


/* AOM classes ---------- ---------- ---------- */

.aom__cover-center {
	max-width: 1200px;
	margin: 0 auto;
}

.aom__scriptfont {
	font-family: 'Antro Vectra';
}

.aom__heading--script {
	font-size: clamp(72px, 10vw, 125px) !important;
    line-height: 1;
}

.aom_lineheight {
	line-height: 2;
}

.aom__lineheight {
	line-height: 2;
}

.aom--reveal {
	opacity: 1;
	margin-bottom: 4rem;
}

.aom__directions--hover {
	pointer-events: all;
}

.aom-border-radius img {
    border-radius: 1rem;
    overflow: hidden;
}

.aom-green {
	color: var(--color-sherwood-green) !important;
}