/* apply a natural box layout model to all elements */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}


/*FONTS
font-family: 'Raleway', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Open Sans Condensed', sans-serif;
*/

@font-face {
font-family: "Snell Roundhand";
src: url("../components/Snell Roundhand Font/Roundhand Bold.ttf");
src: url("../components/Snell Roundhand Font/roundhand_bold-webfont.woff") format("woff");
}

body {
  font-family: 'Raleway', sans-serif;
  font-style: normal;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Prata', serif;
}
h2{
  font-size: 28px;
}

p, td, li, small, figcaption, address {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
}


/*NAVIGATION*/

.logo {
  height: 100px;
  width: 250px;
  position: fixed;
  top: 10px;
  left: 30px;
}

.navbar {
  height: 120px;
  z-index: 5;
}

.navitem a {
  padding: 15px;
  padding-bottom: 30px;
  text-decoration: none;
  color: #ffffff;
}

.navitem a:hover, .navitem a:focus {
  color: #588528;
}

.hamburger {
  position: fixed;
  top: 25px;
  right: 1.0em;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #ffffff;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {
    overflow-y: auto;
  }
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/* Links */

a:link, a:visited {
  color: #588528;
  text-decoration: none;

}

a:hover {
  color:  #ffffff;
}

.active {
    color: #588528;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 1px 1px 2px #000000;
}


/* Footer */
footer{
  background: linear-gradient(to bottom,rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.3)), white;
  background-size:cover;

}

footer .copyright {
  font: 200 14px 'Raleway', sans-serif;
  color: #555;
  letter-spacing: 1px;
  text-align: left;
}

/*FlexBox container */
footer .container{
  max-width: 1050px;
  margin: 0 auto;
  padding: 1.5em 0.5em;
  display: flex;
  justify-content: space-between;
}


footer p, footer address{
  margin: 0;
  padding: 0 0 0.5em 0;
  font-style: normal;
  line-height: 1.3em;
  text-align: left;
  color: white;
}

footer i{
  margin-left: 0px;
}

footer a i{
  color: #588528;
  margin-top:0.5em;
  margin-bottom:0.5em;
}

footer a:hover i{
  color: #a7a8a8;
}

footer .facebook {
  margin-top: -300px;
}


/*HOME HEADER*/

.homeheader .focusPic{
  background-image: url('../images/shopblur1.png');
  background-size: cover;
  height: 635px;
  margin-top: -40px;
}

.homeheader h2{
  font-size: 40px;
  text-align: center;
  color:#f5f5f5;
  padding: 0.5em 1.0em 1.0em 0.5em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

#toptextpad{
  padding-top: 100px;
  font-family: 'Prata', serif;
}
#bottomtext{
  font-family: 'Prata', serif;
}

#imgblur{
  background-color: rgba(0, 0, 0, 0.5);
  height:635px;
}


.ebay{
  margin-top: 10px;
  margin-bottom: 10px;
  height: 200px;
  background-color: #ffffff;
  display: flex;
  flex-flow: wrap;
 align-items: center;
 justify-content: space-around;

}

.ebay h2{
color:#3d3d3d;
font-size: 30px;
font-style:oblique;
text-align: center;
}

/* Button */

.ebay .button {
  display: inline-block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  /* z-index: 1; */
  -webkit-transition: .3s ease-out;
  transition: .3s ease-out;
  height: 80px;
  line-height: 80px;
  text-decoration: none;
  color: #fff !important;
  background-color: #588528;
  text-align: center;
  letter-spacing: .6px;
  padding: 0 2rem;
  border: none;
  border-radius: 3px;
  font-size: 2rem;
  outline: 0;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.ebay .button:hover {
  background-color: #72ac34;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  outline: 0;
}

#cnctitle{
  padding-top: 25px;
  font-size: 40px;
  text-align: center;
  color:#588528;
  background-color: #ebebeb;
}

.aboutmachines{
  display: flex;
  flex-flow: wrap;
  justify-content: space-around;
  background-color: #ebebeb;
  margin-top: -30px;
  padding: 1.0em;
}
.aboutmachines h2{
  color: #588528;
}
.aboutmachines section{
  margin-top: 40px;
  margin-bottom: 20px;
}
.aboutmachines .cncimg img{
  height: 300px;
  width: 450px;
  margin-top:10px;
}
.aboutmachines .cncinfo{
  margin-left: -200px;
  width: 450px;
}

.aboutmachines .sawinfo{
  margin-left: 90px;
  width: 450px;
  text-align: right;
}

.aboutmachines .sawinfo h2{
  text-align: right;
}

.aboutmachines .sawimg img{
  height: 300px;
  width: 450px;
  margin-top:10px;
  margin-right: 90px;
}

/* Video */

.video{
  background-color:#ffffff;
  color:white;
}

.video .container h2{
color:#588528;
font-size: 40px;
font-style:oblique;
text-align: center;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ABOUT PAGE */
.aboutheader .aboutfocusPic{
  background-image: url('../images/gene_shop.png');
  background-size: cover;
  height: 635px;
  margin-top: -40px;
}

.aboutheader h2{
  font-size: 60px;
  text-align:right;
  color:#f5f5f5;
  /* padding: 0.5em 0.5em 0em 0.5em; */
  margin-top: 250px;
  margin-right: 45px;
  font-family: 'Prata', serif;
  font-weight: 400;
}
.aboutheader h1{
  font-size: 50px;
  text-align:center;
  color:#f5f5f5;
  padding: 2.0em 0.5em 1.0em 0.5em;
  font-family: 'Prata', serif;
  font-weight: 600;
}
.about{
  display: flex;
  flex-flow: wrap;
  justify-content: space-around;
  background-color: #ebebeb;
  margin-top: -30px;
  padding: 2.0em;
}
.aboutinfo h2{
  color: #588528;
}
.aboutinfo{
  padding: 0.5em 6em 1.0em 6em;
  display: flex;
  justify-content: space-around;
  /* flex-wrap: wrap; */
}

.aboutwhy{
  margin-left: 50px;
}

#abouttitle{
  padding-top: 25px;
  padding-bottom: -50px;
  font-size: 40px;
  text-align: center;
  color:#588528;
  background-color: #ebebeb;
}

.employees{
  display: flex;
  flex-flow: wrap;
  justify-content: space-around;
  background-color: #ffffff;
  padding: 1.0em;
}
.employees h2{
  color: #588528;
  padding-bottom: 25px;
}
.employees section{
  margin-top: 20px;
  margin-bottom: 30px;
}
.employees .empimg img{
  height: 400px;
  width: 300px;
  margin-top:20px;
}
.employees .employeequote{
  width: 400px;
  margin-top: 6%;
}

/* .employeequote p:first-of-type::before{
  content: open-quote;
  font-size: 140px;
  color: black;
  text-shadow: 1px 1px 2px grey;
  font-family: Georgia,'Times New Roman', serif;
} */

.employees p {
  margin-top: -30px;
}

/* contact page */
.thanks h2{
  font-size: 40px;
  padding-top:25px;
  font-family: "Snell Roundhand";
}
.thanks p{
  margin-top: -20px;
  font-size: 20px;
}

.thanks{
  width:600px;
}

/* PRODUCTS PAGE */

.products {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  background-color: #ebebeb;

}
#productstitle{
  padding-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 0px;
  font-size: 40px;
  text-align: center;
  color:#588528;
  background-color: #ebebeb;
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
  height: 100%;
  padding-bottom: 0.5em;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  height:200px;
}

.column img:hover{
  background-color: #72ac34;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  outline: 0;
}

.imghover {
    position: relative;
    width: 100%;
}

.imghover p{
  font-size: 30px;
  text-shadow: 2px 2px black;
  /* background-color: rgba(0, 0, 0, 0.14); */
  text-align: center;
  color: white;
  position: absolute;
 top: 35%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.imagefade {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.imghover:hover .imagefade {
  opacity: 0.3;
}

.imghover:hover .middle {
  opacity: 1;
}

.text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

/* POPUP BOX BUTTON */
.modal .button2 {
  display: inline-block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  /* z-index: 1; */
  -webkit-transition: .3s ease-out;
  transition: .3s ease-out;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  color: #fff !important;
  background-color: #588528;
  text-align: center;
  letter-spacing: .6px;
  padding: 0 2rem;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  outline: 0;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.modal .button2:hover {
  background-color: #72ac34;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  outline: 0;
}

.productsheader .productfocusPic{
  background-image: url('../images/petg_clear.png');
  background-size: cover;
  height: 380px;
  margin-top: -40px;
}

.productsheader h1{
  font-size: 60px;
  /* padding-top:20px; */
  text-align:center;
  color:#f5f5f5;
  padding: 2em 0.5em 0em 0.5em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
}

#imgtext2{
  background-color: rgba(0, 0, 0, 0.5);
  height:380px;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

/* MEDIA QUERIES */

/* Extra Small devices (phones, 376px and up) */

@media (min-width: 376px) {

  .logo {
    height: 80px;
    width: 160px;
    position: fixed;
    top: 10px;
    left: 30px;
  }
  .hamburger {
    top: 25px;
  }
  .navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 1px 1px 2px #000000;
    height: 100px;
  }
  .navitem a {
  display: none;
  }

  footer .container{
    padding: 1.5em 1em;
  }
  .homeheader h2{
    font-size: 30px;
  }
  .video .container h2{
  color:#588528;
  font-size: 28px;
}
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 1px 1px 2px #000000;
    height: 100px;
  }
  .logo {
    height: 80px;
    width: 160px;
    position: fixed;
    top: 10px;
    left: 30px;
  }
  .hamburger {
    top: 25px;
  }
  .navitem a {
  display: none;
  }
  .homeheader h2{
    font-size: 30px;
  }
  .video .container h2{
  color:#588528;
  font-size: 30px;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 1px 1px 2px #000000;
    height: auto;
  }
  /*LOGO*/
  .logo {
    height: 120px;
    width: 275px;
    padding-top:10px;
    padding-bottom:10px;
    position: inherit;
  }
  .navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 1px 1px 2px #000000;
  }
  .hamburger {
    display: none;
  }
  /*TOP NAVIGATION*/
  .topnav {
    display: flex;
    justify-content: space-between;
  }
  .navsection {
    display: flex;
    justify-content: center;
    text-decoration: none;
  }
  .navitem a {
    padding: 20px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
    padding-top: 50px;
  }
  .navitem a:hover, .navitem a:focus {
    color: #588528;
  }
  .homeheader h2{
    font-size: 35px;
  }
  .video .container h2{
  color:#588528;
  font-size: 35px;
}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 1px 1px 2px #000000;
  }
  .hamburger{
    display: none;
  }
  .homeheader h2{
    font-size: 40px;
  }
  .video .container h2{
  color:#588528;
  font-size: 40px;
}
.navitem a {
  padding: 40px;
  font-size: 25px;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hamburger{
    display: none;
  }
  .navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 1px 1px 2px #000000;
    height: auto;
  }
  .navitem a {
    padding: 45px;
  }
}
