/*
Theme Name: introvision
Theme URI: https://github.com/ian-pvd/_s
Author: PVD Industrial
Author URI: https://github.com/ian-pvd/
Description: A starter theme based on _s.
Version: 1.2.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: _s
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.

_s 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/
*/

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-VariableFont_wght.woff") format('woff');
}

html {
  font-family: "Raleway", sans-serif;
  font-size: max(1vmin, 18px);
  min-height: 100%
}
body {
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  min-height: 100vh;
}
.site {
  min-height: 100vh;
}
.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}
h1, h2, h3, h4, h5, h6, h7 {
  margin: 0;
}
h1 {
  font-size: 3.5em;
  font-weight: 300;
}

h2 {
  font-size: 3em;
  font-weight: 300;
}

h3 {
  font-size: 1.5em;
  font-weight: 300;
}

h4 {
  font-size: 1.3em;
}

h5, h6, h7 {
  font-size: 1.1em;
}
h5 {
  font-weight: 500;
}
p {
  line-height: 1.5em;
}
#masthead {
	background-color: rgb(75, 76, 81);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1em;
    box-sizing: border-box;
    z-index: 99;
}
.site-header a {
	text-decoration: none;
}
.site-branding {
	display: flex;
	gap: 20px;
}
.site-title {
	font-size: 1em;
	font-weight: 400;
}
.custom-logo {
	height: 100%;
	object-fit: contain;
}
#primary-menu.nav-menu {
  display: flex;
  gap: 1em;
  padding: 0;
  font-size: 1em;
}
#primary-menu.nav-menu li {
  display: block;
}
#primary-menu.nav-menu li.current_page_item a, #primary-menu.nav-menu li a:hover {
  border-bottom: 2px solid #fff;
}
#primary-menu.nav-menu li a {
  color: #fff;
}
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 120%;
  padding: 0.5em;
  display: none;
  cursor: pointer;
  line-height: 2em;
}
@media screen and (max-width: 1150px) {
  .menu-toggle {
    display: block;
  }
  #primary-menu.nav-menu {
    display: none;
  }
  .toggled #primary-menu.nav-menu {
     display: block;
     position: fixed;
     right: 0.5em;
     margin-top: 0.5em;
     background-color: rgb(75, 76, 81);
     border-radius: 0.5em;
     padding: 0.5em;
  }
  #primary-menu.nav-menu {
    flex-direction: column;
  }
  #primary-menu.nav-menu li {
    padding: 0.5em;
  }
}
main.site-main {
  max-width: 1200px;
  margin: 20px auto 0;
}
main a {
  color: #000;
}
.wp-block-group {
  display: flex;
  flex-direction: column;
}
.wp-block-media-text {
  box-sizing: border-box;
  height: auto;
}
.wp-block-media-text > .wp-block-media-text__content {
  padding: 10em 10%;
}
.full-height {
  min-height: 100vh;
}
.full-width, .titleheader, .wide-content {
  position: relative;
  margin: 0 calc(50% - 50vw);
}
.titleheader {
  padding: 3em 2em 2em;
}
.vertical-center {
  position: relative;
  margin: calc(50% - 50vh) calc(50% - 50vw);
}
.wide-content {
  padding: 1em;
}
.normal-width {
  max-width: 1200px;
  margin: auto;
}
.thinner {
  margin: auto;
  max-width: 1000px;
}
.asbackground {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: contrast(10%) brightness(180%);
}
.asbackground img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text-on-side {
  max-width: 520px;
  margin: 1em 0 1em 5em;
}
.padding-top-bottom {
  padding: 2em 0;
}
.contactform-inner {
  max-width: 1200px;
  width: 90%;
  margin: 2em auto;
  background-color: #fff;
  padding: 1em;
  color: #484951;
}
.contactform-inner input[type=text], .contactform-inner input[type=email], .contactform-inner input[type=tel], .contactform-inner textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgb(198, 198, 198);
  padding: 1em;
}
.contactform-inner input[type=submit] {
  background-color: #484951;
  border-radius: 9999px;
  border: none;
  padding: 1em;
  color: #fff;
  font-size: 100%;
  font-weight: 300;
}
footer.site-footer {
  width: 100%;
  background-color: #f7f7f7;
}
.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 2em;
}
#footer-menu.menu {
  margin-top: 2em;
  display: flex;
  gap: 1em;
  padding: 0;
  font-size: 1em;
}
#footer-menu.menu li {
  display: block;
}
#footer-menu.menu a {
  text-decoration: none;
}
#footer-menu.menu li.current_page_item a, #footer-menu.menu li a:hover {
  border-bottom: 2px solid #000;
}
#footer-menu.menu li a {
  color: #000;
}
