/*
Theme Name: Critical Impact
Author: Marty Jefferies
Author URI: https://goodesign.ca
Description: Company brand
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: criticalimpact

*/

/* ==========================================================================
   FONT IMPORTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Rokkitt:wght@500&display=swap');
@import url('https://use.typekit.net/jkw6kkb.css');

/* ==========================================================================
   COLOR VARIABLES
   ========================================================================== */
:root {
  --darkgrey_bg: #2b3035;
  --CIlightblue: #8fcae5;
  --CIdarkblue: #013047;
  --CIdarkgrey: #787f81;
  --CIlightgrey: #dddddd;
  --black: #151515;
  --white: #e9ebeef5;
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  background: var(--CIlightblue) url('img/ci_background-1200.jpg') no-repeat top center;
  background-size: cover;
  height: 20vh;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2 {
  font-family: "neulis-neue", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: var(--CIdarkblue);
  margin: 0;
}

h1 {
  font-size: 3em;
  line-height: 3rem;
}

h2 {
  font-size: 2.5em;
  line-height: 0.8em;
  margin-bottom: 0.6em;
}

h3 {
  font-size: 1.5em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.6em;
}

/* ==========================================================================
   LINKS
   ========================================================================== */
a {
  color: #9e0000;
  text-decoration: none;
}

a:hover {
  color: #dd2126;
  text-decoration: underline;
}

/* ==========================================================================
   HEADER LOGO
   ========================================================================== */
.headerlogo img {
  width: 25%;
  margin: 5% 0 1rem 10%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-container {
  display: flex;
  background-color: var(--CIlightgrey);
  background-position: 50% 50%;
  opacity: 0.95;
  padding: 5rem 20% 2rem;
  margin-top: 3rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
  padding: 5rem 20% 2rem;
  background: url('img/bg_images/daytona_caddie_closeup.jpg') no-repeat center;
  background-size: cover;
}

.contact-container article {
  background-color: var(--CIlightgrey);
  opacity: 0.95;
  padding: 5rem 3rem;
  margin-bottom: 5rem;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */
label {
  display: block;
  margin-top: 20px;
  letter-spacing: 2px;
}

form {
  margin: 5px 0;
}

input,
textarea,
input[type="file"] {
  width: 100%;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  border-radius: 5px;
  border: 1px solid var(--CIdarkgrey);
  padding: 10px;
  margin-top: 3px;
  color: var(--black);
}

input:focus,
textarea:focus {
  border: 1px solid #97d6eb;
}

textarea {
  height: 213px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
#submit,
#cancel {
  width: 127px;
  height: 48px;
  text-align: center;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

#submit {
  background-color: var(--CIlightblue);
}

#submit:hover {
  color: #fff;
  background-color: var(--CIdarkblue);
  opacity: 0.9;
}

#cancel:hover {
  color: #fff;
  background-color: #dd2126;
  opacity: 0.9;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #000;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media screen and (max-width: 700px) {
  body {
    background: none;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .headerlogo img {
    width: 50%;
    margin: 0;
  }

  .hero-container {
    margin-top: 0;
    padding: 0 3rem;
    text-align: left;
  }

  .contact-container {
    padding: 0;
  }

  .contact-container article {
    margin: 0;
    text-align: left;
  }
}

/* ==========================================================================
   TYPEKIT FONT CLASSES
   ========================================================================== */
.tk-neulis-neue-hairline {
  font-family: "neulis-neue-hairline", sans-serif;
}

.tk-neulis-neue {
  font-family: "neulis-neue", sans-serif;
}
