/*
Theme Name: Oathout Theme
Author: Oathout
Author URI: https://oathout.com
Description: Custom Theme for Patrick Oathout.
Version: 2.0
License: GNU General Public License
*/

:root {
  --color-green: rgba(125, 183, 66, 1);
  --color-green-alt: rgba(8, 111, 60, 1);
  --color-green-light: rgba(168, 214, 112, 1);
  --color-green-dark: rgba(0, 87, 44, 1);
  --color-green-darker: rgba(0, 58, 29, 1);
  
  --font-primary: "Afacad", sans-serif;
  --font-secondary: "Barlow Condensed", sans-serif;
  
  /*
   --font-secondary: "Inter", sans-serif;
  --font-tertiary: "Antonio", sans-serif;
  */
}

/* -------------------------------------------------------------- */
/* Normalize Reset 
-------------------------------------------------------------- */

* {
	box-sizing: border-box;
}

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
	color:#323232;
	font-family: var(--font-secondary);
	font-size: 25px;
  	margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    border: solid 1px #999;
	box-sizing: content-box; /* 1 */
	box-shadow: none;
	height: 0; /* 1 */
	margin: 30px 0;
	overflow: visible; /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  	background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  	font-weight: 500;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
  	bottom: -0.25em;
}
sup {
  	top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	/* 1 */
	overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  	/* 1 */
  	text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  	-webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  	outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  	padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  	vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  	overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  	height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  	display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  	display: list-item;
}

::selection {
  background: var(--color-green);
  color: #fff;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  	display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  	display: none;
}

.clearfix::after {
	clear: both;
  	content: "";
  	display: block;
}

/* -------------------------------------------------------------- */
/* Animate CSS & Mixins
-------------------------------------------------------------- */
.fade-in-from-left {
	opacity: 0;
	animation-timing-function: ease-out;
	-webkit-transform: translateX(-15px);
	-moz-transform: translateX(-15px);
	-o-transform: translateX(-15px);
	-ms-transform: translateX(-15px);
	transform: translateX(-15px);
}

.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.fade-in-from-left.animated {
	animation-name: fade-from-left;
	animation-duration: 0.5s;
	opacity: 1;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-o-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}

@keyframes fade-from-left {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-15px);
		-moz-transform: translateX(-15px);
		-o-transform: translateX(-15px);
		-ms-transform: translateX(-15px);
		transform: translateX(-15px);
	}

	45% {
		opacity: 0.5;
	}

	90% {
		opacity: 1;
	}

	100% {
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-o-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
}

.fade-in-from-bottom {
	opacity: 0;
	animation-timing-function: ease-out;
	-webkit-transform: translateY(15px);
	-moz-transform: translateY(15px);
	-o-transform: translateY(15px);
	-ms-transform: translateY(15px);
	transform: translateY(15px);
}

.fade-in-from-bottom.animated {
	animation-name: fade-from-bottom;
	animation-duration: 1s;
	opacity: 1;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-o-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

@keyframes fade-from-bottom {
	0% {
		opacity: 0;
		-webkit-transform: translateY(15px);
		-moz-transform: translateY(15px);
		-o-transform: translateY(15px);
		-ms-transform: translateY(15px);
		transform: translateY(15px);
	}
	90% {
		opacity: 1;
	}
	100% {
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-o-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
	}
}

.fade-in-from-right {
	opacity: 0;
	animation-timing-function: ease-out;
	-webkit-transform: translateX(40px);
	-moz-transform: translateX(40px);
	-o-transform: translateX(40px);
	-ms-transform: translateX(40px);
	transform: translateX(40px);
}

.fade-in-from-right.animated {
	animation-name: fade-from-right;
	animation-duration: 0.5s;
	opacity: 1;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-o-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}

@keyframes fade-from-right {
	0% {
		opacity: 0;
		-webkit-transform: translateX(40px);
		-moz-transform: translateX(40px);
		-o-transform: translateX(40px);
		-ms-transform: translateX(40px);
		transform: translateX(40px);
	}

	90% {
		opacity: 1;
	}

	100% {
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-o-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.starred:before, .starred:after {
    background: url(images/icon-star-green.svg) no-repeat;
    content: "";
    display: inline-block;
    height: 27px;
    position: relative;
    vertical-align: middle;
    width: 18px;
}

.starred:before {
    margin-right: 25px;
}

.starred:after {
    margin-left: 25px;
}

/*================== 
  Base
==================*/
.site-width { 
	box-sizing: border-box; 
	max-width: 1500px;
	margin: 0 auto;
    width: 90%; 
}

.site-width--small {
	max-width: 700px;
}

.site-width--medium {
	max-width: 900px;
}

.site-width--large {
	max-width: 1500px;
}

.align-left, .alignleft { float:left; margin:0 30px 20px 0; }
.align-right, .alignright { float:right; margin:0 0 20px 30px; }

/*================== 
  Typography
==================*/
h1, h2, h3, h4, h5 {
	font-family:var(--font-primary);
	margin: 0 0 25px;
	line-height: .8;
}

h1, .h1 {
	color: var(--color-green-dark);
	font-size: 88px;
	font-weight: 700;
}

h2, .h2 {
	color: var(--color-green);
	font-size: 72px;
	font-weight: 700;
}

h3, .h3 {
	color: var(--color-green-light);
	font-size: 52px;
	font-weight: 600;
}

h4, .h4 {
	color: var(--color-green-light);
	font-size: 38px;
	font-weight: 600;
	margin-bottom:10px;
}

h5, .h5 {
	font-size: 30px;
	font-weight: 500;
    margin-bottom: 10px;
}

ul, ol, p {
	margin-bottom: 25px;
	margin-top:0;
}

p, ul li, ol li {
	font-size:23px;
	line-height: 1.5;
}

p:last-child {
	margin-bottom: 0;
}

/*
p + p {
	margin-top:20px
}

p + h1,
p + h2,
p + h3,
p + h4,
p + h5 {
	margin-top:35px;
}
*/

a {
	text-decoration:none;
}

p a, 
li a {
	color: var(--color-green);
}

p a:hover {
	color: var(--color-green-light);
}

@media (max-width: 1000px) {
	h1, h2, h3, h4, h5 { 
		margin: 0 0 15px;
	}
	
	h1, .h1 {
		font-size: 36px;
	}

	h2, .h2 {
		font-size: 42px;
        line-height: 42px;
	}

	h3, .h3 {
		font-size: 26px;
	}

	h4, .h4 {
		font-size: 20px;
	}

	h5, .h5 {
		font-size: 18px;
	}

	p, ul li, ol li {
		font-size:19px;
	}
}

.btn { 
	background: var(--color-green);
	border-radius:8px;
	color: #fff;
	cursor: pointer;
	display:inline-block;
	font-weight: 600;
	min-width:288px;
	padding: 20px;
	text-align:center; 
    text-transform: uppercase;
	transition: color 0.4s ease, background-color 0.4s ease;
}
.btn:hover, .btn.active { 
	background: var(--color-green-dark);
}

@media (max-width: 1000px) {
	.btn {
		font-size:21px;
	}
}

/*================== 
  Header
==================*/
body:not(.home) .header {
	background-color: var(--color-green-dark);
	position: static;
}

.header {
	padding: 20px 0 25px;
	position:absolute;
	width:100%;
	z-index: 2;
}

.header .site-width {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width:90%;
}

@media (min-width: 1200px) {
	body.home .header__logo {
		opacity:0;
	}
}

.header__logo {
    display: inline-block;
    max-width: 170px;
    width: 100%;
}

.header__logo img {
	width:100%;
}

/*================== 
  Header Menu
==================*/
.header__menu-wrap {
	margin-left: auto;
}

.header__menu {
	display: flex;
	gap: 38px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header__menu-wrap ul li {
	align-items: center;
    display: flex;
	position: relative;
}

.header__menu-wrap ul li a {
	color:#fff;
	font-family:var(--font-primary);
	font-size:20px;
	font-weight: 500;
	position:relative;
	text-transform:uppercase;
	transition: color 0.4s ease, background-color 0.4s ease;
}

.header__menu-wrap ul li.current-menu-item > a {
	color: var(--color-green);
}

.header__menu-wrap ul li.nav-btn a {
	background: white;
	border-radius: 8px;
	color: var(--color-green-dark);
	padding: 14px 30px 16px;
	font-weight: 600;
	transition: all 0.4s ease;
}

.header__menu-wrap ul li.nav-btn a:hover {
	background: var(--color-green);
}

body:not(.home) .header__menu-wrap ul li.nav-btn a:hover {
	background: var(--color-green);
}

/* Underline Effect */
.header__menu-wrap ul li:not(.nav-btn) a::after,
.footer__nav ul li a::after {
	content: "";
	position:absolute;
	left: 50%;
	bottom: -2px;
	width:0;
	height:2px;
	background: currentColor;
	transition: width 300ms ease, left 300ms ease;
}

.header__menu-wrap ul li:not(.nav-btn) a:hover::after,
.footer__nav ul li a:hover::after {
	width: 100%;
	left: 0;
}

/*======================= 
  Hamburger Menu Toggle
=========================*/
.header__menu-toggle {
    cursor: pointer;
    display: none;
    height: 47px;
    margin: 0;
    position: absolute;
    right: 20px;
    top: 30px;
    width: 69px;
    z-index: 5;
}

.header__menu-toggle .line {
	background: #fff;
	height: 5px;
	left: 15px;
	position: absolute;
	top: 8px;
	width: 47px;
	transition: 200ms all linear;
	transform-origin: left center;
	will-change: transform, opacity, left, top;
}
.header__menu-toggle .line-two { top: 19px; }
.header__menu-toggle .line-three { top: 30px; } 

.header__menu-toggle.nav-open .line-one { 
    left: 20px;
    top: 6px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}
.header__menu-toggle.nav-open .line-two { opacity:0; }
.header__menu-toggle.nav-open .line-three {
	left: 19px;
	top: 38px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

/*================== 
  Footer
==================*/
.footer {
	background-color: var(--color-green-dark);
	padding: 100px 0;
}

.footer .site-width {
	display: flex;
	justify-content: space-between;
}

.footer__logo {
	margin: 0 auto 25px;
}

.footer__logo img {
	max-width:450px;
	transition: all 0.7s ease;
	width:90%;
}

.footer__logo img:hover {
	scale: 1.05;
}

.footer__cta {
	margin-bottom: 50px;
}

.footer__cta a {
	min-width: 250px;
}

.footer__cta a:hover {
	background: var(--color-green-darker);
}

.footer__contact-info {
	color: var(--color-green-light);
	margin-bottom: 40px;
}

.footer__contact-info p {
	font-size: 20px;
}

.footer__nav {
	margin-bottom: 30px;
}

.footer__nav ul {
	display: flex;
	gap: 30px;
	justify-content: right;
	list-style: none;
	padding: 0;
}

.footer__nav ul li {
	font-weight: 600;
	position: relative;
}

.footer__nav ul li a {
	color: white;
}

.footer__social {
	display:flex;
	gap: 20px;
	justify-content: right;
	margin-bottom: 40px;
}

.footer__social a {
	display: block;
	width: 40px;
}

.footer__social a img {
	height: auto;
	transition: all 0.7s ease;
	width: 100%;
}

.footer__social a:hover img {
	scale: 1.2;
}

.footer__paid {
	border: solid 1px white;
	margin: 0 auto 20px;
	max-width: 550px;
    padding: 20px 20px 25px;
	text-align: right;
}

.footer__paid p {
	color: white;
	font-size:18px;
	margin: 0;
}

.footer__paid p + p {
	margin-top: 20px;
}

.footer__copyright {
	text-align: right;
}

.footer__copyright p {
	color: white;
	font-size: 18px;
}

/*================== 
  Page Not Found
==================*/
.pagenotfound {
	height: 100vh;
	padding:120px 0;
	text-align: center;
}

.pagenotfound__content {
	margin-bottom:50px;
}

.pagenotfound h1 {
	font-size: 240px;
	margin-bottom:50px;
	margin-top: -40px;
}

.pagenotfound p {
	font-weight: 600;
}

.error404 .header,
.error404 .footer {
	display: none;
}