﻿/*===========  Generalni  ==========*/
:root {
	--theme: #5da6ea;
}

html, body {
	width: 100%;
	height: 100%;
	font-family: Magra, Tahoma, Geneva, Verdana, sans-serif;
}

.flex {
	display: flex;
}

.column {
	flex-flow: column;
}

.center {
	align-items: center;
	justify-content: center;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

h4, h5, h6 {
    font-weight: 400;
}

h1 {
	/* font-size: 3rem; */
	font-size: 5rem;
}

h2 {
	font-size: 3rem;
	/* font-size: 2.2rem; */
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem !important;
}

h5 {
	font-size: 1.15rem;
	font-weight: 700;
}

a {
	color: #fff;
	text-decoration: none;
}

/*=======  Custom elements  ========*/
.btn-blue {
	width: fit-content;
	color: #fff;
	background: #5da6ea;
	padding: 0.75rem 2.5rem;
	border-radius: 6px;
	font-size: 1.25rem;
	font-weight: bold;	
	text-align: center;
}

/*============  Header  ============*/
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: var(--theme);
	padding: 0.75rem 4rem;
	z-index: 99;
}

header, header > :is(a, div) {
	align-items: center;
	gap: 1.5rem;
}

header img {
	height: 4rem;
}

header h4 {
	margin: 0 0 0 -0.5rem;
}

header :is(a, h4) {
	color: #fff;
	font-size: 1.05rem;
	font-weight: bold;
}

header div {
	margin: 0 0 0 auto;
}

header a.btn {
	color: var(--theme);
	background: #fff;
	padding: 0.75rem 2.5rem;
	border-radius: 6px;
	box-shadow: 2px 2px 6px #726f6f;
}

header a.icon {
	display: none;
	font-size: 1.5em;
	margin: 0 1.1rem 0.5rem auto;
}

/*===========  Mini-nav  ===========*/
nav {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: #ffffffe7;
	overflow-y: hidden;
	transition: 0.5s;
	z-index: 3;
}

nav > div.relative {
	top: 25%;
	width: 100%;
	text-align: center;
}

nav > a {
	top: -3px;
	right: 13px;
	font-size: 3em !important;
}

nav a {
	padding: 10px;
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: 0.3s;
	margin: 0 auto;
}

nav .button {
	width: 70%;
	color: #fff;
	background: var(--theme);
	border-radius: 6px;
	padding: 1rem 1.5rem !important;
}

/*============  Footer  ============*/
footer {
	color: #fff;
	background: var(--theme);
	padding: 3.5rem 3rem 1.25rem;
}

footer > div {
	flex: 2;
	gap: 2rem;
}

footer > div:first-child {
	flex: 1;
	justify-content: space-between;
	margin: 3.5rem 2.5rem 0;
}

footer img {
	height: 100%;
}

footer > div:first-child > div {
	align-items: center;
	gap: 0.75rem;
}

footer h4 {
	font-weight: bold;
}

footer > div:first-child > div + div {
	width: 30%;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr 1fr;
	font-size: 1.1rem;
	font-weight: bold;
}

footer div > input {
	width: -webkit-fill-available;
	padding: 1.25rem;
	border: 1px solid #9b9b9b;
	border-radius: 10px;
	font-size: 1.05rem;
	outline: none;
}

footer div > input::placeholder {
	color: #a3a3a3;
}

footer label {
	font-size: 1.15rem;
}

footer > div:last-child {
	width: 98%;
	margin: 3rem auto 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid #fff;
	text-align: center;
}

footer h5 {
	font-family: Magra !important;
	font-weight: 600;
}

/*==========  Responsive  ==========*/
@media screen and (max-width: 1100px) {
	
	/*==========  Header  ==========*/
	header {
		padding: 0.75rem 1rem;
	}
}

@media screen and (max-width: 950px) {
	
	/*==========  Header  ==========*/
	header {
		padding: 0.75rem 0.5rem;
	}

	header > div.flex {
		display: none;
	}

	header a.icon {
		display: block;
	}

	/*==========  Footer  ==========*/
	footer > div:first-child > div {
		width: 100% !important;
	}

	footer > div:first-child {
		margin: 0;
	}
}

@media screen and (min-width: 760px) {

	/*==========  Footer  ==========*/
	footer > .flex:first-child {
		flex-flow: row;
	}
}