@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto&display=swap");

*,
*:after,
*:before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	color: #707070;
}
a,
li,
button {
	text-decoration: none;
	outline: none;
	list-style: none;
	color: #707070;
}
h1 {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 1.2rem;
}
h2,
.company_rectangle {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: 0.9rem;
}
h3 {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 1.2rem;
}
p,
#content_text,
#company_detail p {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
}
h4 {
	margin-bottom: 20px;
}

/* sidebar */
#menu {
	background-color: #e9e9e9;
	width: 300px;
	height: 100%;
	min-height: 100vh;
	min-width: 300px;
	position: fixed;
	top: 0;
	left: 0;
}
#menu img {
	width: 75%;
	margin: 40px 0 0 0;
	/* min-width: 200px; */
}
#menu div {
	text-align: left;
	margin-left: 15%;
}
#menu ul {
	margin-top: 50px;
}
#menu li {
	margin-top: 10px;
}
#menu p {
	text-align: center;
	position: fixed;
	bottom: 20px;
	left: 65px;
}
/* width */
::-webkit-scrollbar {
	width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* responsive menu */
nav {
	width: 100%;
	display: none;
}
.flex_container {
	position: fixed;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	height: 90px;
	width: 100%;
	background-color: white;
	padding: 0 8%;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
	z-index: 100;
	top: 0;
	left: 0;
}
/* burger menu */
.burger_div {
	display: inline-block;
	cursor: pointer;
}
.burger div {
	width: 25px;
	height: 2.5px;
	background-color: black;
	margin: 4px;
	transition: all 0.5s ease;
}
.toggle .line1 {
	transform: rotate(-45deg) translate(-5px, 5px);
}
.toggle .line2 {
	opacity: 0;
}
.toggle .line3 {
	transform: rotate(45deg) translate(-5px, -4px);
}
/* submenu */
.submenu {
	display: inline-block;
	width: 100%;
	position: fixed;
	top: -100px;
	left: 0;
	background-color: white;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
	text-align: center;
	transform: translateY(-300px);
	transition: transform 0.5s;
	z-index: 90;
}
.submenu li {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 1rem;
	margin: 30px auto;
}
.submenu ul {
	margin: 50px 0;
}
.submenu_active {
	transform: translateY(190px);
	transition: transform 0.5s;
}

/* content */
#content {
	margin-left: 300px;
	background-color: white;
}
#content_heading {
	background-color: #f7f7f7;
	padding: 1%;
	text-align: center;
}
#content_heading > h3,
#content_text > div {
	margin: 50px auto;
	text-align: left;
	width: 60%;
}
#content_text {
	padding: 1%;
	text-align: center;
}
#content_text li::before {
	content: "\00bb";
	color: #707070;
	margin-left: -2em;
	vertical-align: 5%;
	margin-right: 25px;
}
#content_text ul {
	margin: 30px 0;
}
#content_text p,
#content_text ul {
	font-size: 1rem;
}

/* seznam firem */
.seznam_firem > #content_heading > h3,
.seznam_firem > #content_text > div {
	margin: 50px auto;
	text-align: center;
	width: 65%;
}
.company_rectangle {
	background-color: rgba(165, 28, 28, 0.1);
	color: #707070;
	height: 90px;
	width: 50%;
	border-radius: 0 25px 25px 0;
	margin: 40px auto;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	padding-left: 20px;
	text-align: right;
}
.company_rectangle img {
	height: 55px;
	margin-right: 20px;
}
.company_rectangle p {
	margin-right: 60px;
}

/* firma */
.company_heading {
	color: #707070;
	/* height: 80px; */
	/* width: 300px; */
	border-radius: 0 25px 25px 0;
	margin: 40px auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: left;
	align-items: center;
	margin-left: 20%;
}
.company_heading h3 {
	font-size: 2rem;
}
.company_heading img {
	height: 80px;
}
/* .company_heading.company_menu {
	width: 410px;
} */
.company_heading.company_menu a:nth-of-type(2) > h3 {
	margin-left: 30px;
}
.company_menu h3 {
	background-color: white;
	padding: 15px 30px;
}
#invitation {
	/* margin-left: 20%; */
}
#company_headline {
	max-width: 80%;
	text-align: left;
}
.line_height {
	line-height: 25px;
}

@media (max-width: 1380px) {
	.company_heading img {
		display: none;
	}
	#company_headline {
		max-width: 100%;
		text-align: left;
	}
	.company_heading {
		margin-left: 0;
		/* justify-content: center; */
		padding: 1% 0 1% 20%;
	}
}
@media (max-width: 900px) {
	#menu {
		display: none;
	}
	#content {
		margin-left: 0;
		margin-top: 70px;
	}
	nav {
		display: inline-block;
	}
	.company_heading {
		padding: 1% 0 1% 8%;
	}
	.company_heading.company_menu a {
		margin-bottom: 20px;
	}
	/* .company_heading.company_menu {
		width: 300px;
		height: 110px;
	} */
	#content_heading > h3,
	#content_text > div {
		width: 85%;
	}
	.seznam_firem > #content_heading > h3,
	.seznam_firem > #content_text > div {
		width: 85%;
	}
	.company_rectangle {
		width: 90%;
		height: 120px;
	}
	.company_rectangle p {
		margin-right: 30px;
	}
	#invitation {
		margin-left: 0;
	}
}
@media screen and (max-width: 500px){
	.company_heading.company_menu a:nth-of-type(2) > h3 {
		margin-left: 0px;
	}	
}
