html {
  box-sizing: border-box;
  font-size: 100%;
}

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

body {
  color: #fff;
  background: #2f313c;
  font-size: 100%;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /*  //Vertical center
  	-webkit-align-items: center;
    	-ms-flex-align: center;
    	align-items: center;
    	display: -webkit-flex;
    	display: flex;
  */
}

/*  Vertical center
html, body {
  	height: 100%;
  	margin: 0;
}
*/
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #fff;
  text-decoration: none;
  transition: 0.2s all ease-in-out;
}

a[href^=http]:empty::before {
  content: attr(href);
}

input[type=text],
input[type=number],
select,
textarea {
  font-size: 16px;
}

.menu {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.menu li, .menu a {
  display: inline-block;
}

.site-header {
  width: 100%;
  background: #fff;
}

nav a {
  color: #777;
  font-size: 13px;
  padding: 24px 8px;
}
nav a:hover, nav a:focus {
  color: #9d9d9d;
}

h1 {
  font-size: 30px;
  margin: 0;
}

h2 {
  position: relative;
  font-size: 66px;
  font-weight: bold;
  text-shadow: 2px 2px 6px #000;
  margin: 0;
}

h3 {
  position: relative;
  font-size: 23px;
  font-weight: 400;
  line-height: 28px;
  text-shadow: 2px 2px 6px #000;
  margin: 0;
  max-width: 530px;
  margin-bottom: 30px;
}

.static_header {
  background: transparent;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1000;
}

.logo {
  float: left;
  padding: 0px 0.9375em 0px 0px;
  position: fixed;
  padding: 0px;
  left: 0.625em;
}

main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "nav nav" "cistiace_systemy autoumyvarne";
}

.overlay {
  position: absolute;
  height: 100%;
  width: 100%;
}

.goto {
  position: relative;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  line-height: 42px;
  padding: 0px 20px;
  color: #fff;
  background-color: #0099da;
  border-radius: 6px;
  text-decoration: none;
}
.goto:hover, .goto:focus {
  background-color: #39AE90;
  transition: 0.2s ease-in-out;
}

#cistiace_systemy, #autoumyvarne {
  width: 114.5%;
  height: 100vh;
  position: relative;
}
#cistiace_systemy .content, #autoumyvarne .content {
  width: 100%;
}

#cistiace_systemy {
  grid-area: cistiace_systemy;
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
  background: url("../img/upratovanie.jpg") 25% 0 no-repeat;
  background-size: cover;
}
#cistiace_systemy .overlay {
  top: 0px;
  background-color: rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 30%, rgba(0, 0, 0, 0) 70%);
}
#cistiace_systemy .content {
  position: absolute;
  text-align: left;
  top: 55px;
  left: 30px;
  padding-right: 18%;
}

#autoumyvarne {
  grid-area: autoumyvarne;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
  background: url("../img/autoumyvarne.jpg") 0 0 no-repeat;
  background-size: cover;
  position: relative;
  left: -14.5%;
}
#autoumyvarne .overlay {
  top: 0px;
  background-color: rgba(0, 0, 0, 0.4);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 30%, rgba(0, 0, 0, 0) 70%);
}
#autoumyvarne .content-text {
  text-align: right;
  position: absolute;
  padding-left: 11%;
  right: 8%;
  bottom: 10%;
}

@media screen and (max-width: 1056px) {
  h2 {
    font-size: 50px;
  }

  h3 {
    font-size: 20px;
  }
}
@media screen and (max-width: 800px) {
  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 19px;
  }

  #cistiace_systemy .content {
    padding-right: 20%;
  }
}
@media screen and (max-width: 680px) {
  main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "nav" "cistiace_systemy" "autoumyvarne";
    margin-top: -140px;
  }

  #cistiace_systemy {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    background-position: 35% 0;
    top: 25%;
  }
  #cistiace_systemy .content {
    padding: 25px;
    left: 0;
  }

  #autoumyvarne {
    width: 100%;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
    left: 0%;
  }
  #autoumyvarne .content-text {
    padding: 25px;
    right: 0;
  }

  h2 {
    font-size: 56px;
  }

  h3 {
    font-size: 23px;
  }
}
@media screen and (max-width: 680px) {
  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 21px;
    line-height: 1.2;
  }

  #autoumyvarne .content-text {
    bottom: 3%;
  }

  #cistiace_systemy .overlay {
    background: linear-gradient(130deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0) 70%);
  }

  #autoumyvarne .overlay {
    background: linear-gradient(-20deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0) 70%);
  }
}
/*
@media screen and (min-width: 1450px){
	h1{
		font-size: 50px;
	}
	h2{
		font-size: 90px;
	}
	h3{
		font-size: 34px;
		line-height: 1.2;
		margin-bottom: 50px;
		max-width: 680px;
	}
	.content{
		a{
			font-size: 30px;
			padding: 15px 30px;
		}
	}
	#cistiace_systemy{
		.content{
			left: 100px;
			top: 110px;
		}
	}
}
@media screen and (min-width: 1921px){
	h2{
		font-size: 115px;
	}
	h3{
		font-size: 44px;
		line-height: 1.1;
		max-width: 780px;
	}
	.content{
		a{
			font-size: 38px;
			padding: 25px 40px;
		}
	}
}
*/

/*# sourceMappingURL=style.css.map */
