/*
Theme Name: Krevin
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: krevin
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Krevin is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  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: bolder;
}

/**
 * 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;
}

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

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

/**
 * Set up a decent box model on the root element
 */
html {
  box-sizing: border-box;
}

/**
 * Make all elements from the DOM inherit from the parent box-sizing
 * Since `*` has a specificity of 0, it does not override the `html` value
 * making all elements inheriting from the root box-sizing value
 * See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
 */
*,
*::before,
*::after {
  box-sizing: inherit;
}

/**
 * Basic styles for links
 */
a {
  color: #e50050;
  text-decoration: none;
}
a:hover, a:active, a:focus, a:focus-within {
  color: #222222;
  text-decoration: underline;
}

/**
 * Basic typography style for copy text
 */
body {
  color: #222222;
  font: normal 90%/1.4 "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
@media (min-width: 768px) {
  body {
    font: normal 125%/1.4 "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  }
}

/**
 * Clear inner floats
 */
.clearfix::after {
  clear: both;
  content: "";
  display: table;
}

/**
 * Main content containers
 * 1. Make the container full-width with a maximum width
 * 2. Center it in the viewport
 * 3. Leave some space on the edges, especially valuable on small screens
 */
.container {
  max-width: 1440px;
  /* 1 */
  margin-left: auto;
  /* 2 */
  margin-right: auto;
  /* 2 */
  padding-left: 20px;
  /* 3 */
  padding-right: 20px;
  /* 3 */
  width: 100%;
  /* 1 */
}

/**
 * Hide text while making it readable for screen readers
 * 1. Needed in WebKit-based browsers because of an implementation bug;
 *    See: https://code.google.com/p/chromium/issues/detail?id=457146
 */
.hide-text {
  overflow: hidden;
  padding: 0;
  /* 1 */
  text-indent: 101%;
  white-space: nowrap;
}

/**
 * Hide element while making it readable for screen readers
 * Shamelessly borrowed from HTML5Boilerplate:
 * https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css#L119-L133
 */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

img {
  max-width: 100%;
}

#masthead {
  background-image: url("img/header-bg.png");
  background-size: cover;
  /* or other background properties as needed */
  background-position: center;
}
#masthead .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 150px;
}

#popup-menu #primary-menu {
  padding: 20px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
}
#popup-menu #primary-menu li {
  margin-left: 20px;
}
#popup-menu #primary-menu li a {
  color: #ffffff;
  text-transform: capitalize;
  font-weight: 700;
  letter-spacing: 2px;
}

#primary-menu {
  padding: 20px 0;
  margin: 0;
  display: flex;
  list-style: none;
}
#primary-menu li {
  margin-left: 20px;
}
#primary-menu li a {
  color: #ffffff;
  text-transform: capitalize;
  font-weight: 400;
  letter-spacing: 1px;
}

.site-title {
  color: #ffffff;
  font-size: 28px;
}
.site-title a {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

/* nav*/
#site-navigation {
  display: none;
}
@media (min-width: 768px) {
  #site-navigation {
    display: block;
  }
}

/* Hamburger Icon */
#hamburger-icon {
  cursor: pointer;
  width: 50px;
}
@media (min-width: 768px) {
  #hamburger-icon {
    display: none;
  }
}

#hamburger-icon span {
  display: block;
  height: 3px;
  background: white;
  margin: 12px 0;
}

/* Popup Menu */
#popup-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 26, 99, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

/* Close Button */
#close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Menu Items */
#popup-menu ul {
  list-style: none;
  padding: 0;
}

#popup-menu ul li {
  margin: 30px 0;
  font-size: 30px;
  font-weight: 700 !important;
}

.hidden {
  display: none !important;
}

.home .banner {
  padding-top: 300px;
  padding-bottom: 40px;
  background-image: url("img/bg-mobile.jpg");
  background-size: cover;
  /* or other background properties as needed */
  background-position: center;
  min-height: calc(100vh - 150px);
}
@media (min-width: 768px) {
  .home .banner {
    padding-top: 0px;
    background-image: url("img/bg-home.png");
  }
}
.home .banner-left {
  max-width: 500px;
  color: #ffffff;
}
.home .banner-left h1 {
  padding-top: 20vh;
  margin-top: 0;
}
.home .banner-left h2 {
  font-weight: 400 !important;
}
.home-about {
  padding-top: 20px;
}
@media (min-width: 768px) {
  .home-about {
    padding-top: 5vh;
    display: grid;
    grid-template-columns: 3fr 6fr;
    gap: 100px;
  }
}
.home-about h3 {
  color: #345EB0;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .home-about h3 {
    margin-top: 90px;
  }
}
.home-three {
  padding-top: 20px;
  padding-bottom: 30px;
  color: #345EB0;
}
@media (min-width: 768px) {
  .home-three {
    padding-top: 5vh;
    padding-bottom: 10vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
  }
}

.contact-footer {
  background-image: url("img/form-bg.png");
  background-size: cover;
  /* or other background properties as needed */
  background-position: center;
}

.form-container {
  max-width: 600px;
  margin: auto;
  padding: 50px 30px;
}
@media (min-width: 768px) {
  .form-container {
    padding: 120px 0;
  }
}
.form-container .gform_required_legend {
  display: none;
}
.form-container .gform_body {
  font-family: "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
.form-container label {
  color: #ffffff !important;
}

footer {
  display: none;
}

#gform_confirmation_message_1 {
  background-color: #ffffff;
  text-align: center;
  padding: 30px;
  border-radius: 25px;
  color: #345EB0;
  font-weight: 700;
  font-size: 18px;
}
#gform_confirmation_message_1 img {
  max-width: 40px;
}

.services-top {
  padding: 50px 20px;
}
@media (min-width: 768px) {
  .services-top {
    padding: 100px 20px;
  }
}
@media (min-width: 768px) {
  .services-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
  }
}
.services-top h3 {
  color: #345EB0;
}
.services-top-three h4 {
  color: #345EB0;
}
.services-top-three p {
  color: #345EB0;
}
