body, html {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Jost', sans-serif;
	color: #2e2821;
	font-size: 18px;
	line-height: 24px;
}

.container {
	margin: 0 auto;
	width: 1200px;
	position: relative;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.5em;
	margin: 0;
}

h1 {
	font-size: 46px;
}

h2 {
	font-size: 40px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 30px;
}

h5 {
	font-size: 26px;
}

h6 {
	font-size: 22px;
}

/* HLAVIČKA */
header {
	background: #fff;
	padding: 20px 0;
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
}

header i {
	margin-right: 10px;
}

.contacts, .logo, .phone, .email {
	display: flex;
	align-items: center;
}

.contacts i {
	font-size: 22px;
}

.phone, .email {
	font-size: 18px;
	font-weight: 700;
}

.phone a, .email a {
	color: #2e2821;
	text-decoration: none;
	transition: ease-in-out;
	transition-duration: .3s;
}

.phone {
	margin-right: 35px;
}

.logo {
	font-weight: 900;
	text-transform: uppercase;
	font-size: 22px;
	letter-spacing: -1px;
}

.logo i {
	font-size: 28px;
}

/* CONTENT */
.main-slide {
	background: url('../img/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	padding: 70px 0 160px 0;
	background-position: center bottom;
	position: relative;
}
.overlay {
	background: rgba(0,0,0,.6);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
}

.main-slide h1 {
	text-transform: uppercase;
	letter-spacing: -1px;
	font-size: 65px;
	font-weight: 900;
	line-height: 1.2em;
	margin-bottom: 30px;
}

.description-content {
	display: flex;
}

.content-box {
	padding-right: 30px;
}

.content-box i {
	font-size: 40px;
	margin-block: 20px;
}

.box-title {
	font-size: 26px;
	line-height: 1.2em;
	margin-bottom: 20px;
	font-weight: 700;
}

.bottom-content {
	padding: 60px 0;
}

.row, .bottom-description {
	display: flex;
}

.bottom-description {
	margin: 25px 0;
}

.img-left {
	flex: 0 0 50%;
	width: 50%;
	margin-top: -150px;
}

.img-left img {
	width: 80%;
	box-shadow: 0 10px 35px rgba(0,0,0,.07);
}

.button {
  color: #fff;
  text-decoration: none;
  padding: 13px 25px 10px 25px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
  transition: ease-in-out;
  transition-duration: .3s;
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

.button:hover {
	background: #2e2821;
	color: #fff;
}

/* COUNTER */
.single-counter {
	flex: 0 0 33%;
	max-width: 33%;
	text-align: center;
}

.counter-value {
	font-size: 36px;
	font-weight: 700;
}

.counter-content {
	padding-bottom: 70px;
}

/* FOOTER */
footer {
	text-align: center;
	padding: 20px;
	background: #f0f0f0;
}

/* RESPONSIVITY */
@media screen and (max-width: 1220px) {
	.phone {
		margin-right: 0;
	}
	.contacts {
		flex-direction: column;
		align-items: end;
	}
}

@media screen and (min-width: 992px) and (max-width: 1220px) {
	.container {
		width: 920px;
	}
	.main-slide h1 {
	font-size: 55px;
	}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	.container {
		width: 720px;
	}
	.header-left {
		margin-right: 35px;
	}
	.main-slide h1 {
		font-size: 50px;
	}
	.box-title {
		font-size: 22px;
	}
}

@media screen and (max-width: 768px) {
	.bottom-content .row {
		flex-direction: column;
	}
	.img-left {
		width: 100%;
		flex: 0 0 100%;
	}
	.img-left img {
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.container {
		width: 90%;
	}
	header .container {
		flex-direction: column;
	}
	.contacts {
		align-items: center;
	}
	.img-left {
		margin-bottom: 20px;
	}
}

@media screen and (min-width: 481px) and (max-width: 767px) {
	.logo {
		font-size: 20px;
		margin-bottom: 15px;
	}
	.logo i {
		font-size: 22px;
	}
	.phone, .email, .contacts i {
		font-size: 16px;
	}
	.main-slide h1 {
		font-size: 50px;
	}
	.content-box i {
		font-size: 30px;
	}
	.box-title {
		font-size: 20px;
	}
	.bottom-content {
		padding-bottom: 30px;
	}
}

@media screen and (max-width: 480px) {
	.main-slide {
		padding: 70px 0 100px 0;
	}
	.logo {
		font-size: 22px;
		margin-bottom: 10px;
		display: flex;
		flex-direction: column;
		text-align: center;
		justify-content: center;
	}
	.logo i {
		font-size: 36px;
		margin-bottom: 10px;
		margin-right: 0;
	}
	.phone, .email, .contacts i {
		font-size: 14px;
	}
	.main-slide h1 {
		font-size: 35px;
	}
	.description-content, .bottom-description {
		flex-direction: column;
	}
	.content-box {
		margin-bottom: 30px;
	}
	.content-box i {
		font-size: 36px;
	}
	.box-title {
		font-size: 22px;
	}
	#counter {
		flex-direction: column;
	}
	.single-counter {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}
	.counter-content {
		padding-bottom: 30px;
	}
	footer {
		text-align: left;
	}
	.bottom-content {
		padding-bottom: 0;
	}
}

/* BARVA */
.white {
	color: #fff;
}
i, a:hover, .main-slide h1, .counter-value {
	color: #ff8040;
}

.img-left img {
	border: 5px solid #ff8040;
}

.button {
	background: #ff8040;
	box-shadow: 0 0 0 0 rgba(255, 206, 96, 0.7);
}

/* ANIMATION */
@-webkit-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 206, 96, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 206, 96, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 206, 96, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 206, 96, 0);}}
