/* ALL */

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

/* HEADER */

.header {
	background: url("../img/city.jpg") no-repeat center;
	height: 100vh;
}

.stmenu .companyname .onename {
	display: inline;
	color: #e84545;
	font-size: 30px;
	font-family: 'Raleway', sans-serif;
}

.stmenu .companyname .twoname {
	display: inline;
	color: white;
	font-size: 30px;
	font-family: 'Raleway', sans-serif;
}

.stmenu {
	display: flex;
	justify-content: space-between;
	padding-top: 40px;
}

.header h1 {
	font-size: 50px;
	color: #ffffff;
	margin-bottom: 30px;
}

.header h2 {
	font-size: 30px;
	color: #ffffff;
	margin-bottom: 50px;
}

/* MENU */

.kn-menu {
	padding-top: 5px;
}

.kn-menu li{
	display: inline;
	text-decoration: none;
	margin-left: 30px;
}

.kn-menu li a {
	color: #ffffffbf;
	font-size: 20px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
	transition: color 0.5s;
	position: relative;
	overflow: hidden;
}

.kn-menu li a:hover {
	color: white;
}

.kn-menu li a:after {
	content: "";
	position: absolute;
	bottom: -7px;
	height: 3px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	background: #e84545;
	transition: width 0.4s;
	overflow: hidden;
}

.kn-menu li a:hover:after {
	width: 100%;
}

/* INFO TEXT */

.info-text {
	padding-top: 30vh;
	text-align: center;
}

.button-reg {
	padding: 13px 90px;
	background: rgba(232, 201, 33, 0);
	text-decoration: none;
	text-transform: uppercase;
	outline: none;
	color: white;
	border: rgb(232, 69, 69) 3px solid;
	position: relative;
	z-index: 1;
}

.button-reg:after {
	content: "";
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	transition: width 0.35s;
	background: #E84545;
	z-index: -1;
}

.button-reg:hover:after {
	opacity: 1;
	width: 100%;
}

.button-reg:before {
	content: "";
	opacity: 1;
	position: absolute;
	z-index: -1;
	background: #E84545;
	right: 0;
	top: 0;
	height: 100%;
	width: 0;
	transition: width 0.35s;
}

.button-reg:hover:before {
	opacity: 0;
	width: 100%;
}

/* CONTENT */

.what {
	padding-bottom: 100px;
}

.what_m {
	display: flex;
	justify-content: space-between;
}

#pr {
	width: 150px;
}

#blocke {
	text-align: center;
	width: 300px;
}

.content {
	padding-bottom: 100px;
}

/* FOOTER */

.footer {
	background-color: #2E2E2E;
	padding: 30px 0;
	text-align: center;
}

.footer .container {
	display: flex;
	justify-content: space-between;
}


@media only screen and (max-width: 850px){

	.header h1 {
		font-size: 30px;
	}

	.header h2 {
		font-size: 20px;
	}

	.info-text {
		padding-top: 10vh;
	}

	.header {
		padding-top: 30px;
	}

	.what_m {
		display: unset;
	}

	#blocke {
		padding-bottom: 30px;
		margin: 0 auto;
	}

	.kn-menu{
		display: none;
	}

	.companyname {
		margin: 0 auto;
	}

	.container{
		margin-left: auto;
		margin-right: auto;
	}

	.content {
		padding-bottom: 60px;
	}

	.text {
		color: white;
	}

    .header {
        padding-top: 30px;
        width: 100vw;
        height: 99vh;
    }

	.righttext {
		text-align: center;
		margin: 0 auto;
	}
}

@media only screen and (min-height: 600px) {
	.info-text {
		padding-top: 20vh;
	}
}

@media only screen and (min-height: 800px) {
	.info-text {
		padding-top: 25vh;
	}
}