@charset "utf-8";
/* 
  CSS Document
  Theme Name: Chat Engine
  Author: Dragaš Dejanović and Miloš Stojanović 
*/

* { 
	box-sizing: border-box; 
}

body { 
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Figtree";
}

p {
	font-family: "Figtree";
}

a {
	font-family: "Figtree";
}

header {
	background: #fff;
	position:fixed;
	top: 0;
	width: 100%;
	box-shadow: 3px 3px 15px rgba(39, 44, 51, 0.3);
	z-index: 9999;
}

header div { 
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: center;
	margin: 0 auto;
	width: min(1280px, 100%);
	height: 70px; 
}

.svg { 
	height: 50px;
	margin-right: 20px;
}

#menu {
	display: none;
}

.label {
	position: fixed;
	top: 18px;
	right: 18px;
	width: 30px;
	height: 30px;
	display: none;
}


nav { 
	display: flex;
	flex-flow: row;
	justify-content: space-between;
}

nav a { 
	margin: 0 10px; 
	color: #001E42;
	text-decoration: none;
}

nav a:bold { 
	color: #001E42; 
}

#logo { 
	width: 270px; 
}

main { 
	padding-top: 70px;
	background: #f4f4f4;
}

main div { 
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	width: min(1280px, 100%);
	margin: 0 auto;
}

main div section {
	width: max(300px, 30%);
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 20px;
	margin: 30px 0;
}

main div section h2{
	margin: 0;
	color: #001E42;
	text-align: center;
}

.chatl { 
	display: flex;
	position: fixed;
	bottom: 20px;
	right: 20px; 
	width: 55px;
	height: 55px;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: #fff; 
	justify-content: center;
	align-items: center;
	cursor: pointer;
	color: #d3d3d3;
	box-shadow: 3px 3px 15px rgba(39, 44, 51, 0.3); 
}

.chatl:hover { 
	background: #eaeaea; 
}

.chatl i { 
	font-size: 22px;
	color: #001E42;
}

.chatlx { 
	display: flex;
	position: absolute;
	top: 20px;
	left: 20px; 
	width: 20px;
	height: 20px;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	color: #001E42; 
}

.chatlx i { 
	font-size: 26px;
}

#chat { 
	display: none;
}

.chat-content { 
	padding: 20px;
	text-align: center; 
}

.chat-content p { 
	margin: 30px 0;
	font-size: 16px;
	font-weight: bold;
	color: #001E42;
}

.svg-small { 
	height: 40px;
	text-align: center;
	margin: 10px 0 20px 0; 
}

.input { 
	width: 204px;
	height: 40px;
	border: 1px solid #b7b7b7;
	border-radius: 5px;
	background: #f5f5f5;
}

.submit-button {
	display: inline-block;
	background: #001E42;
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 8px 11px 6px 11px;
	cursor: pointer;
}

.submit-button:hover { 
	background: #001125; 
}

.submit-button i { 
	font-size: 23px;
	margin: 0; 
}

footer {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 90px;
	background: #fff;
	border-top: 1px solid #ccc;
}

footer p { 
	color: #001E42;
}

/* Back to top button */
.back-to-top {
	position: fixed;
	background: #fff;
	color: #001E42;
	padding: 17px 20px;
	font-size: 16px;
	border-radius: 50%;
	border: 1px solid #ccc;
	right: 21px;
	bottom: 100px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s, visibility 0.5s;
	box-shadow: 3px 3px 15px rgba(39, 44, 51, 0.3); 
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: #eaeaea;
	opacity: 1;
	color: #001E42;
}

@media (max-width: 768px) {
	.back-to-top {
		bottom: 100px;
	}
}

.back-to-top:focus {
	background: #eaeaea;
	color: #001E42;
	outline: none;
}


/* tablet and mobile*/

@media only screen and (min-width: 481px) and (max-width: 1199px) {
	main div {
		justify-content: space-around;
	}
	
	.label {
		display: block;
		z-index: 9999;
	}
 
}

/* tablet and mobile*/

@media only screen and (max-width: 480px) {
	header div {
		justify-content: space-around;
		
	}
	
	main div {
		justify-content: space-around;
	}
	
	main div section {
		margin: 13px 0;
	}

	.label {
		display: block;
		z-index: 9999;
	}
	
	nav {
		display: flex;
		flex-flow: column;
		justify-content: flex-start;
		align-items: baseline;
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: -100%;
		background: #fff;
		transition: all 1s;
		padding: 30px;
		font-size: 28px;
	  }
	
	#menu:checked + nav {
		left: 0;
	}

	footer {
		height: 90px;
	}
}
