/* Fonts */
@font-face {
  font-family: 'Bebas Neue';
  src:
    url('fonts/bebas-neue-400-normal.woff2') format('woff2'),
    url('fonts/bebas-neue-400-normal.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis', sans-serif;
  src:
    url('fonts/metropolis-400-normal.woff2') format('woff2'),
    url('fonts/metropolis-400-normal.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis', sans-serif;
  src:
    url('fonts/metropolis-400-italic.woff2') format('woff2'),
    url('fonts/metropolis-400-italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis', sans-serif;
  src:
    url('fonts/metropolis-600-normal.woff2') format('woff2'),
    url('fonts/metropolis-600-normal.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis', sans-serif;
  src:
    url('fonts/metropolis-600-italic.woff2') format('woff2'),
    url('fonts/metropolis-600-italic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis', sans-serif;
  src:
    url('fonts/metropolis-700-normal.woff2') format('woff2'),
    url('fonts/metropolis-700-normal.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis', sans-serif;
  src:
    url('fonts/metropolis-700-italic.woff2') format('woff2'),
    url('fonts/metropolis-700-italic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --g-ff-primary: 'Metropolis', sans-serif;
  --g-ff-secondary: 'Bebas Neue', sans-serif;
	--g-ff-fallback: serif;
	--g-fw-regular: 400;
	--g-fw-semibold: 600;
	--g-fw-bold: 700;
	--g-fz-base: 16px;
  --g-color-green: #386330;
  --g-color-green-600: #31502D;
  --g-color-gold: #edb92d;
  --g-color-gold-300: #f3d072;
  --g-color-gray: #b4b8bd;
  --g-color-gray-300: #f1f2f2;
  --g-color-gray-800: #222325;
  --g-color-white: #ffffff;
	--g-text-color: var(--g-color-white);
  --g-text-color-dark: var(--g-color-gray-800);
  --g-text-color-heading: var(--g-color-green);
  --g-link-color: var(--g-color-gray-800);
  --g-link-color-hover: var(--g-color-green);
	--g-bg-primary: #DAE3EC;
  --g-bg-header: var(--g-color-green);
  --g-bg-footer: var(--g-color-green);
  --g-bg-button: var(--g-color-gold);
  --g-bg-button-hover: var(--g-color-gold-300);
  --g-bg-button-text: var(--g-color-gray-800);
  --g-bg-button-text-hover: var(--g-color-gray-800);
	--g-content-width: 1200px;
}

/* Reset some default browser styles */
*, *::after, *::before {
  box-sizing: border-box;
}
* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background-color: var(--g-bg-body, white);
}
html,
body {
	height: 100%;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main, form legend {
	display: block;
}
ol, ul, menu {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
img, video, svg {
  display: block;
	height: auto;
	max-width: 100%;
}
embed,
iframe,
object {
	max-width: 100%;
}

/* Custom Styles */
body {
  font-family: var(--g-ff-fallback);
  font-size: var(--g-fz-base);
  background-color: var(--g-bg-primary);
  color: var(--g-text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

.fonts-loaded body {
  font-family: var(--g-ff-secondary);
}

.screen-reader-text {
  border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;

  min-block-size: 100vh;
  min-block-size: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;

  grid-template-areas:
    "header"
    "main"
    "footer";
}

.ps-inner {
  max-width: var(--g-content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
}

.ps-header {
  background-color: var(--g-bg-header);
  grid-area: header;
  position: relative;
}
.ps-header--nav {
  align-items: center;
  background-color: var(--g-bg-header);
  background-image: url('images/bg-texture-header.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0 0 -30px;
  padding: 10px 20px;
  position: relative;
  width: 100%;
}
.ps-header--utility {
  background-color: var(--g-color-green);
  font-family: var(--g-ff-primary);
  padding: 10px 20px;
  width: 100%;
}
.ps-header--utility .ps-inner {
  display: flex;
  justify-content: flex-end;
}
.ps-header--utility-link:link,
.ps-header--utility-link:visited {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: var(--g-fw-semibold);
  color: var(--g-color-white);
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  transition: all 0.2s ease;
}
.ps-header--utility-link:hover,
.ps-header--utility-link:active,
.ps-header--utility-link:focus {
  color: var(--g-color-gold);
}
.ps-header--utility .icon-svg {
  width: 16px;
  height: 16px;
  fill: var(--g-color-gold);
  flex-shrink: 0;
  margin-right: 5px;
}

.logo {
  display: block;
  width: 100%;
  max-width: 194px;
}
.logo_mobile {
  background-color: var(--g-color-white);
  display: none;
  flex-shrink: 0;
  padding: 10px 5px 5px;
  border-radius: 0 0 5px 5px;
  margin-bottom: -44px;
  margin-top: -10px;
  max-width: 80px;
}
.logo > img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ps-footer {
  grid-area: footer;
  background-color: var(--g-bg-footer);
  padding: 1.25rem;
}
.ps-footer .ps-inner {
  align-items: center;
}
.ps-footer--nav {
  align-items: center;
  background-color: var(--g-color-green-600);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  width: 100%;
}

.ps-main {
  background: url('images/bg-footer-treeline.svg') no-repeat 50% 101%;
  background-size: 100%;
  grid-area: main;
  padding: 1.25rem;
}

.ps-main .ps-inner {
  align-items: center;
  height: 100%;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 10px;
}
.copyright img {
  height: 33px;
}
.copyright p {
  font-size: 0.625rem;
  font-weight: var(--g-fw-regular);
  line-height: 1.25;
  margin: 0;
}

.flex-content {
  background-color: #ffffff;
  color: var(--g-text-color-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 60px;
  width: 60%;
}

.text-component {
  color: var(--g-text-color-dark);
  font-family: var(--g-ff-primary);
  width: 60%;
  max-width: 780px;
  text-align: center;
}
.text-component a:link,
.text-component a:visited {
  color: var(--g-link-color);
  text-decoration: underline;
}
.text-component a:hover,
.text-component a:active {
  text-decoration: none;
}

.text-component--heading {
  font-family: var(--g-ff-primary);
  font-size: 1.25rem;
  font-weight: var(--g-fw-bold);
  line-height: 1.25;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.text-component--subheading {
  color: var(--g-text-color-heading);
  font-family: var(--g-ff-secondary);
  font-size: 4rem;
  font-weight: var(--g-fw-regular);
  line-height: 1;
  margin-bottom: 20px;
}

p {
  font-size: 1.25rem;
  font-weight: var(--g-fw-semibold);
  margin-bottom: 20px;
}

p strong {
  font-weight: var(--g-fw-bold);
}

.co-button {
  background-color: var(--g-bg-button);
  border: 1px solid var(--g-bg-button);
  border-radius: 0;
  color: var(--g-bg-button-text);
  font-family: var(--g-ff-primary);
  font-weight: var(--g-fw-bold);
  font-size: 0.875rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}
.co-button:link,
.co-button:visited {
  text-decoration: none !important;
}
.co-button:hover,
.co-button:active,
.co-button:focus {
  background-color: var(--g-bg-button-hover);
  border: 1px solid var(--g-bg-button-hover);
  color: var(--g-bg-button-text-hover);
}

.call-to-action {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 30px;
}
.call-to-action .co-button {
  font-size: 1.125rem;
}

.online-banking {
  background-color: var(--g-color-gray-300);
  border-radius: 10px;
  color: var(--g-text-color-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  text-align: center;
  width: 40%;
}

.co-online_banking--heading {
  color: var(--g-color-gray-800);
  font-family: var(--g-ff-secondary);
  font-size: 2rem;
  font-weight: var(--g-fw-regular);
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.co-online_banking--form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.co-online_banking--input {
  background-color: var(--g-color-white);
  border-radius: 5px;
  border: 1px solid var(--g-color-gray);
  font-family: var(--g-ff-primary);
  padding: 15px;
}
.co-online_banking--label {
  color: var(--g-color-gray-800);
  font-family: var(--g-ff-primary);
  font-size: 1.125rem;
  font-weight: var(--g-fw-semibold);
  line-height: 1.25;
  text-transform: uppercase;
  text-align: left;
}
.co-online_banking--links {
  display: grid;
  font-family: var(--g-ff-primary);
  font-size: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}
.co-online_banking--links a {
  font-family: var(--g-ff-primary);
  color: var(--g-link-color);
  font-weight: var(--g-fw-semibold);
  text-transform: uppercase;
  text-decoration: none;
}
.co-online_banking--links a:hover,
.co-online_banking--links a:active {
  color: var(--g-link-color-hover);
  text-decoration: none;
}
.co-online_banking--submit {
  font-size: 1.125rem;
  padding: 15px;
}

.util-nav {
  font-family: var(--g-ff-primary);
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.util-nav--link {
  font-size: 1rem;
  font-weight: var(--g-fw-bold);
  line-height: 1.25;
  text-transform: uppercase;
}
.util-nav--link:link,
.util-nav--link:visited {
  --g-link-color: #ffffff;
  color: var(--g-link-color);
  text-decoration: none;
}
.util-nav--link:hover,
.util-nav--link:active,
.util-nav--link:focus {
  text-decoration: underline;
}

.icon-svg {
  position: relative;
	display: inline-block;
	width: 24px;
	height: 24px;
	fill: currentColor;
	transform: translate(0, 0);
	transition: all .3s;
}

.routing-number {
  font-family: var(--g-ff-secondary);
  font-size: 1.25rem;
  font-weight: var(--g-fw-regular);
  line-height: 1;
  text-transform: uppercase;
}

.routing-number--number {
  font-family: var(--g-ff-primary);
  font-size: 1.375rem;
  font-weight: var(--g-fw-bold);
  line-height: 1;
}

.copyright {
  font-family: var(--g-ff-primary);
  font-size: 0.625rem;
  font-weight: var(--g-fw-regular);
  line-height: 1.25;
}

.social-list {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.social-item a:link,
.social-item a:visited {
  color: #ffffff;
}
.social-item a:hover,
.social-item a:active,
.social-item a:focus {
  color: #0F72A5;
}

@media screen and (max-width: 1200px) {
  .ps-header .ps-inner {
    padding-inline: 1.25rem;
  }
  .co-online_banking--links {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .co-online_banking--links a {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    height: auto;
    overflow: auto;
    overflow-x: clip;
  }
  .ps-inner {
    flex-direction: column;
    align-items: center;
  }
  .ps-header {
    background-image: url('images/bg-texture-header.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .ps-header--nav {
    background-color: transparent;
    background-image: none;
    margin: 0;
    padding-inline: 0;
  }
  .ps-header--utility .ps-inner {
    align-items: flex-end;
    padding: 0;
  }
  .ps-footer--nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .ps-main {
    padding: 4.5rem 1.5rem;
  }
  .text-component,
  .online-banking {
    width: 100%;
  }
  .online-banking {
    padding: 1.5rem;
  }
  .logo {
    display: none;
  }
  .logo_mobile {
    display: block;
  }
  .co-online_banking--links {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .copyright {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .text-component--heading {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
  .text-component--subheading {
    font-size: 3rem;
    margin-bottom: 1.25rem;
  }
  .call-to-action {
    flex-direction: column;
    gap: 1.25rem;
  }
  .call-to-action .co-button {
    font-size: 1.125rem;
    padding: 10px 15px;
  }
  .util-nav {
    flex-direction: column;
    gap: 1rem;
  }
  .util-nav--link {
    display: none;
  }
  .online-banking--links {
    font-size: 1rem;
  }
  .routing-number {
    font-size: 1.5rem;
    text-align: center;
  }
  .co-online_banking--links {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
}