/*
Theme Name: Manfiest Staffing 2023
Text Domain: 2023Manifest
Version: 1.0
Description: Custom theme for Manifest Staffing
Author: Aaron Surrain, Good Looking Software, Inc.
Author URI: https://goodlookingsoftware.com/
Theme URI: https://goodlookingsoftware.com/
All Rights Reserved.
*/

:root {
  --cta: #65FF82;
  --cta-active: #25FF32;
  --nav-item: #939393;
  --nav-item-active: #cccccc;
  --light-copy: #f2f2f2f2;
  --light-link: #FFF4B9;
  --light-accent: #FFFC89;
  --light-bg: #FFFC89;
  --dark-copy: #333333;
  --dark-link: #65D4FD;
  --dark-bg: #65D4FD;
  --black-bg: #0d0d0d;
  --widest-input-width: 400px;
}

/* more resets */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--black-bg);
}

*, *:before, *:after {
  box-sizing: inherit;
}

.reset-list-style,
.reset-list-style ul,
.reset-list-style ol {
  list-style: none;
  margin: 0;
}

.reset-list-style li {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
}

/* end more resets */

/* --aspect-ratio: 329/222; */

@font-face {
    font-family: 'Brandon';
    font-weight: 100 300;
    src: url("fonts/Brandon_light.otf") format("opentype");
}

@font-face {
    font-family: 'Brandon';
    font-weight: 100 300;
    font-style: italic;
    src: url("fonts/Brandon_light_it.otf") format("opentype");
}

@font-face {
    font-family: 'Brandon';
    font-weight: 400 700;
    src: url("fonts/Brandon_med.otf") format("opentype");
}

@font-face {
    font-family: 'Brandon';
    font-weight: 400 700;
    font-style: italic;
    src: url("fonts/Brandon_med_it.otf") format("opentype");
}

html {
  font-family: 'Brandon';
  color: var(--light-copy);
}

p, div {
  color: var(--light-copy);
  font-size: 1.3rem;
}

p {
  box-sizing: border-box;
}

h1 {
  color: var(--light-copy);
}

h2 {
  font-size: 2rem;
  font-family: classico-urw, sans-serif;
  font-weight: 400;
  font-style: italic;
}

h2 + p {
  margin-top: 0.5rem;
}

a, a:hover, a:visited, a:active {
  color: var(--light-link);
}

a, a:visited, a:active, a:hover {
  text-decoration: none;
}


/* buttons */

a.button,
a.button-social {
  display: grid;
  grid-template: 100% / 100%;
  place-items: center;
}

a.button-social img {
  height: 40px;
  width: auto;
}

div.text-dark a.button,
a.button {
  background-color: var(--dark-bg);
  color: var(--light-copy);
  padding: 0 24px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media screen and (min-width: 600px) {
  .button,
  .button-social {
    height: 30px;
  }

  a.button-social img {
    height: 30px;
  }
}

/* end buttons */

/* skeleton */

html {
  height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-weight: 300;
}

#the_whole_page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media screen {
  header {
    margin: 0;
    padding: 0;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 100%;
    grid-template-rows: 100vh;
    grid-template-areas:
      "spot_one"
    ;
  }

  header div {
    margin: 0;
    padding: 0;
    border: 0;
  }

  #header_section_with_video {
    grid-area: spot_one;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
    grid-template-areas:
      "section_one_logo section_one_menu"
    ;
  }

  #header_section_with_video h1 {
    position: relative;
    color: var(--light-copy);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
  }

  #header_section_with_video_logo {
    grid-area: section_one_logo;
    width: 100%;
    margin: 8px 0 0 8px;
    padding: 0.7rem 10px;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.8);
  }

  #header_section_with_video_menu {
    grid-area: section_one_menu;
    width: min-content;
    height: auto;
    margin: 8px 8px 9999px auto;
    border-radius: 4px;
    padding: 24px 18px;
    text-align: center;
    font-family: 'Brandon';
    font-weight: 300;
    color: var(--light-copy);
    background-color: rgba(0,0,0,0.8);
  }

  #header_section_without_video {
    display: none;
  }

  #header_section_without_video_logo,
  #header_section_without_video_menu {
    display: none;
  }

  #background-video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
  }

  .nav div {
    font-size: 1.6rem;
  }

  .nav ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .nav a svg {
    display: block;
    width: 80%;
    margin: -4px auto 1rem;
  }

  .nav a .nav-label,
  .nav a:visited .nav-label {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 0.6rem;
    color: var(--nav-item);
    line-height: 0.85;
  }

  .nav a .chevron-insides,
  .nav a:visited .chevron-insides {
    stroke: var(--nav-item);
  }

  .nav a:hover .nav-label,
  .nav a:active .nav-label {
    color: var(--nav-item-active);
  }

  .nav a:hover .chevron-insides,
  .nav a:active .chevron-insides {
    stroke: var(--nav-item-active);
  }

  .nav a.nav_item_contact .nav-label,
  .nav a.nav_item_contact:visited .nav-label {
    color: var(--cta);
  }

  .nav a.nav_item_contact .chevron-insides,
  .nav a.nav_item_contact:visited .chevron-insides {
    stroke: var(--cta);
  }

  .nav a.nav_item_contact:hover .nav-label,
  .nav a.nav_item_contact:active .nav-label {
    color: var(--cta-active);
  }

  .nav a.nav_item_contact:hover .chevron-insides,
  .nav a.nav_item_contact:active .chevron-insides {
    stroke: var(--cta-active);
  }

  main {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  main > * {
    grid-column: 2 / span 1;
  }

  main > *.full-width {
    grid-column: 1 / span 3;
  }

  main > *.full-width > * {
    padding-left: 30px;
    padding-right: 30px;
  }

  #perfect_event_blurb {
    padding: 4rem 30px;
    text-align: center;
    background-color: #141414;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5 2L7 5L5 8L3 5ZM15 12L17 15L15 18L13 15Z' fill='%23fff' fill-opacity='.03'/%3E%3C/svg%3E");
  }

  #perfect_event_blurb div,
  #perfect_event_blurb p {
    font-size: 2rem;
    line-height: 1.2;
  }

  #perfect_event_blurb h2 {
    font-size: 3rem;
    text-align: left;
    margin-left: -1rem;
    margin-top: -6rem;
    color: #777;
  }


  #perfect_event_blurb h2 + p {
    margin-top: 1.5rem;
  }

  #perfect_event_blurb em {
    font-weight: 300;
    font-style: normal;
    color: #65D4FD;
  }

  #logos_area {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8rem 0;
  }

  #logos_area img {
    height: 50px;
    mix-blend-mode: lighten;
  }

  #about_wrapper {
    background-color: #000;
    padding: 5rem 0;
  }

  #contact_form_wrapper {
    background-color: black;
    background-size: cover;
    background-position: center 70%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('images/pool-party-blur.webp');
    padding: 5rem 0;
  }

  #client_showcase {
    background-color: #222;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='56'%3E%3Cpath d='M16 0L32 28L16 56L0 28Z' fill='%23fff' fill-opacity='.012'/%3E%3C/svg%3E");
    padding: 5rem 0;
  }

  footer {
    background: #111;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M11 3L16 11L11 19L6 11ZM33 25L38 33L33 41L28 33Z' fill='none' stroke='%23fff' stroke-opacity='.045'/%3E%3C/svg%3E");
    text-align: center;
    padding: 2rem 24px;
  }

  .gls-grid-two-wide {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 1rem;
    grid-template-rows: 1fr;
  }
}

@media screen and (min-width: 600px) {
  header {
    margin: 0;
    padding: 0;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: min(50%, calc(100vh * 222 / 329)) minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "spot_one spot_two"
    ;
  }

  #header_section_with_video {
    width: 100%;
    aspect-ratio: 222 / 329;
    overflow: hidden;
  }

  #header_section_with_video h1 {
    position: absolute;
    top: 1rem;
    left: 24px;
  }

  #header_section_with_video_logo,
  #header_section_with_video_menu {
    display: none;
  }

  #header_section_without_video {
    grid-area: spot_two;
    background-color: #000;
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 4rem);
  }

  #header_section_without_video > a {
    display: block;
    grid-row: 2;
    align-self: end;
    justify-self: start;
    width: min(100%, 15rem);
  }

  #header_section_without_video a:focus-visible {
    outline: 2px solid var(--nav-item-active);
    outline-offset: 4px;
  }

  #header_section_without_video_logo {
    display: block;
    width: 100%;
  }

  #header_section_without_video_menu {
    display: block;
    grid-row: 1;
    justify-self: end;
    width: min-content;
    text-align: center;
  }

  #header_section_without_video_menu a svg {
    width: 80%;
  }

  #perfect_event_blurb h2 {
    font-size: 4.5rem;
    margin-left: -1rem;
    margin-top: -7rem;
    color: #444;
  }

  #background-video {
    object-fit: contain;
    width: 100%;
  }

  .nav a svg {
    width: 40%;
  }

  .gls-grid-two-wide {
    grid-template-columns: 50% 50%;
  }
}

@media screen and (min-width: 700px) {
  #about_wrapper {
    columns: 2;
  }
}

@media screen and (min-width: 1000px) {
  #contact_form_wrapper {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8) calc(50% - 260px), rgba(0, 0, 0, 0.8) calc(50% + 260px), rgba(0, 0, 0, 0.45)), url('images/pool-party-blur.webp');
  }

  #perfect_event_blurb h2 {
    font-size: 7rem;
    margin-left: -1rem;
    margin-top: -8rem;
    color: #555;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #header_section_with_video {
    background: url('images/ManifestOneBW.jpg') center / cover;
  }

  #background-video {
    display: none;
  }
}

/* end skeleton */

/* contact form */

h2#contact_form {
  text-align: center;
}

#contact_form_inner {
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
  max-width: var(--widest-input-width);
}

#contact_form_inner label {
  font-size: 1rem;
}

.wpcf7-form input {
  height: 44px;
  max-width: var(--widest-input-width);
}

.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="text"],
.wpcf7-form textarea {
  width: 100%;
  max-width: var(--widest-input-width);
  padding: 0 12px;
  appearance: none;
  background-color: #1a1a1a;
  color: var(--light-copy);
  font-family: inherit;
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid #8a8a8a;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.wpcf7-form textarea {
  padding: 10px 12px;
  resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: 2px solid var(--light-link);
  outline-offset: -1px;
}

.wpcf7-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #1a1a1a inset;
  -webkit-text-fill-color: var(--light-copy);
}

.wpcf7-form input[type="submit"] {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  appearance: none;
  border: 1px solid var(--light-link);
  border-radius: 0;
  background-color: #1a1a1a;
  color: var(--light-link);
  font-family: classico-urw, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:active {
  background-color: #38321f;
}

.wpcf7-form input[type="submit"]:focus {
  outline: 2px solid var(--light-link);
  outline-offset: 2px;
}

.wpcf7-not-valid-tip {
  padding-top: 4px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--light-link);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0.6rem 1rem;
  border: 0;
  background: linear-gradient(90deg, rgba(140, 140, 140, 0.25), rgba(232, 170, 60, 0.3)), #1a1a1a;
  color: var(--light-copy);
  font-size: 1rem;
}

/* end contact form */

