/*DEFAULTS*/
body {
	margin: 0;
	padding: 0;
	
}
* {
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@font-face {
	font-family: 'ubuntu-reg';
	src: url('fonts/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
	src: url('fonts/Ubuntu/Ubuntu-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'inter-bold';
	src: url('fonts/Inter/Inter-Bold.ttf') format('truetype');
	src: url('fonts/Inter/Inter-Bold.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'inter-reg';
	src: url('fonts/Inter/Inter-Regular.ttf') format('truetype');
	src: url('fonts/Inter/Inter-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}
:root {
    --brand: #fff;
	--fontmain: #fff;
	--fontalt: #023047;
	--primary: #023047;
	--hover: #03537b;
	--hlight: #115273;
	--hoveralt: #e2ecfa;
	--attrib: #ffb703;
}

/*HEADER*/
#header {
	width: 100%;
	height: 800px;
	background-image: url(images/knjigovodstvo.png);
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
}
#brand { 
    height: 4rem;
    width: 100%;
    margin: 0;
    padding: 15px 5% 0;
    display: flex;
    flex-direction: row;
}
#brand img {
	height: 3rem;
	width: auto;
	margin-top: 0;
	filter: drop-shadow(3px 3px 4px black);
}
div.brandname {
    padding: 0 0 0 20px;
    margin: auto 0 0 0;
    color: var(--brand);
	font-family: 'inter-reg', sans-serif;
	font-size: 1.7rem;
}
#hero {
    width: 90%;
    height: 11rem;
    margin: auto auto;
    display: flex;
    flex-direction: row;
	justify-content: center;
	gap: 5%;
	align-items:flex-end;
}
div#hero h1 {
	margin: 0;
	color: var(--brand);
	font-family: 'inter-bold', sans-serif;
	font-size: 4.5rem;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	text-align: center;
}
button.ctabutton {
	width: -moz-fit-content;
	width: fit-content;
	height: -moz-max-content;
	height: max-content;
	padding: 15px 30px;
	background-color: var(--attrib);
	color: var(--fontalt);
	font-family: inter-reg, sans-serif;
	font-size: 2rem;
	border-width: 0;
	border-radius: 25px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	transition: background-color 0.2s ease-in, color 0.2s ease-in;
}
button.ctabutton:hover {
	background-color: var(--hoveralt);
	color: var(--fontalt);
}

#pros {
	width: 100%;
	height: 6rem;
	display: flex;
	flex-direction: row;
	gap: 5rem;
	justify-content: center;
	align-items: center;
	background-color: var(--primary);
}
.pros {
	width: 17rem;
	height: 4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.pros img {
	height: 4rem;
	width: auto;
	margin: auto 5% auto 0;
	float: left;
}
.pros p {
	font-family: inter-reg, sans-serif;
	font-size: 1.5rem;
	color: var(--fontmain);
}
.about {
	width: 50%;
	height: fit-content;
	margin: 0 auto;
	padding: 6rem 0;
}
.about p {	
	font-family: inter-reg, sans-serif;
	font-size: 1.2rem;
	line-height: 2;
	color: var(--fontalt);
}
.break {
	width: 100%;
	height: 6rem;
	display: flex;
	justify-content: center;
}
.break img {
	height: 6rem;
	width: auto;
}

.what {
	width: 40%;
	height: fit-content;
	margin: 6rem auto;
	display: flex;
	justify-content: center;
}
.what h2 {
	font-family: inter-reg, sans-serif;
	font-size: 2.2rem;
	color: var(--fontalt);
}
.kartice {
	width: 60rem;
	height: 20rem;
	margin: 0 auto 8rem;
	background-color: var(--primary);
	display: flex;
	flex-direction: row;
	border: 0;
	border-radius: 25px;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}
div.textcard {
	display: flex;
	flex-direction: column;
	padding: 5%;
	width: 65%;
	height: 20rem;
}
div.textcard h3 {
	font-family: inter-bold, sans-serif;
	font-size: 2rem;
	color: var(--fontmain);
	margin: 0;
}
div.textcard p {
	font-family: inter-reg, sans-serif;
	font-size: 1.2rem;
	line-height: 1.7;
	margin-top: 2rem;
	color: var(--fontmain);
}
div.imgcard {
	width: 35%;
	height: 20rem;
	overflow: hidden;
	border: 0;
	border-radius: 0 25px 25px 0;
}
div.imgcard img {
	height: 20rem;
	width: auto;
}

div#kontakt {
	width: 40%;
	height: fit-content;
	margin: 6rem auto 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
div#kontakt h2 {
	font-family: inter-reg, sans-serif;
	font-size: 2.2rem;
	color: var(--fontalt);
}
div#kontakt p {
	margin-top: 6rem;
	font-family: inter-reg, sans-serif;
	font-size: 2rem;
	color: var(--fontalt);
}

.contacts {
	width: 60rem;
	height: fit-content;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 3%;
}
.aphone {
	width: 40%;
	height: 6rem;
	margin: 0;
	padding: 0;
	text-decoration: none;
}
div.phone {
	padding: 5px 15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 3%;
	border: 0;
	border-radius: 25px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
div.phone:hover {
	background-color: var(--attrib);
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}
div.phone img {
	width: auto;
	height: 5rem;
	margin: 0;
	float: left;
}
div.phone p {
	font-family: inter-reg, sans-serif;
	font-size: 1.5rem;
	color: var(--fontalt);
}
.aemail {
	width: 55%;
	height: 6rem;
	margin: 0;
	padding: 0;
	text-decoration: none;
}
div.email {
	padding: 5px 15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 3%;
	border: 0;
	border-radius: 25px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
div.email:hover {
	background-color: var(--attrib);
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}
div.email img {
	width: auto;
	height: 5rem;
	margin: 0;
	float: left;
}
div.email p {
	font-family: inter-reg, sans-serif;
	font-size: 1.5rem;
	color: var(--fontalt);
}

.footwrapper {
	margin-top: 6rem;
	padding: 2rem 0 0;
	width: 100%;
	height: fit-content;
	background-color: var(--primary);
	display: flex;
	flex-direction: column;
}
div.companyinfo {
	width: 70rem;
	height: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
div.info {
	width: 30%;
	height: fit-content;
	padding-left: 10px;
	padding-top: 5px;
	border-left: solid 2px;
	border-left-color: var(--hlight);
}
.fontSize {
	font-family: inter-reg, sans-serif;
	font-size: 1.2rem;
	line-height: 1.7;
	color: var(--fontmain);
}
.copy {
	width: 20rem;
	margin: 6rem auto 2rem;
}
.copy p {
	font-family: inter-bold, sans-serif;
	font-size: 1rem;
	line-height: 2;
	color: var(--fontmain);
}

#attrib {
	width: 100%;
	height: 3rem;
	margin-bottom: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: var(--attrib);
}
#attrib p {
	font-family: inter-reg, sans-serif;
	font-size: 1.2rem;
	line-height: 2;
	color: var(--fontalt);
}
#attrib p a {
	text-decoration: none;
	color: var(--fontalt);
}
#attrib p a:hover {
	color: var(--hlight)
}

/*BREAKPOINTS*/
@media screen and (max-width: 1200px) {
	div#hero h1 {
		font-size: 3.5rem;
	}
	button.ctabutton {
		padding: 10px 20px;
		font-size: 1.5rem;
	}
	#pros {
		height: 5rem;
	}
	.pros {
		width: 13rem;
	}
	.pros img {
		height: 3rem;
	}
	.pros p {
		font-size: 1.2rem;
	}
	.about {
		width: 70%;
	}
	.about p {	
		font-size: 1.1rem;
	}
	.kartice {
		width: 50rem;
		height: 18rem;
		margin: 0 auto 5rem;
	}
	div.textcard p {
		font-size: 1.1rem;
		line-height: 1.7;
		margin-top: 2rem;
	}
	div.imgcard {
		height: 18rem;
	}
	div.imgcard img {
		height: 18rem;
	}
	div#kontakt p {
		font-size: 1.7rem;
	}
	.contacts {
		width: 50rem;
		gap: 3%;
	}
	.aphone {
		height: 5rem;
	}
	div.phone {
		padding: 10px 15px;
	}
	div.phone img {
		height: 3.5rem;
	}
	div.phone p {
		font-size: 1.2rem;
	}
	.aemail {
		height: 5rem;
	}
	div.email {
		padding: 10px 15px;
	}
	div.email img {
		height: 3.5rem;
	}
	div.email p {
		font-size: 1.2rem;
	}
	.footwrapper {
		margin-top: 6rem;
		padding: 2rem 0 0;
		width: 100%;
		height: fit-content;
		background-color: var(--primary);
		display: flex;
		flex-direction: column;
	}
	div.companyinfo {
		width: 100%;
		height: 100%;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
	}
	div.info {
		width: 90%;
		height: fit-content;
		margin: 1rem auto;
		padding-left: 10px;
		padding-top: 5px;
		border-left: solid 2px;
		border-left-color: var(--hlight);
	}
	.fontSize {
		font-size: 1.1rem;
		line-height: 1.7;
	}
	#attrib p {
		font-size: 1.1rem;
	}
}

@media screen and (max-width: 900px) {
	#header {
		height: 600px;
	}
	#brand { 
		font-size: 1.4rem;
	}
	#hero {
		height: 14rem;
		flex-direction: column;
		align-items:center;
	}
	div#hero h1 {
		font-size: 3rem;
		margin-bottom: 3rem;
	}
	button.ctabutton {
		padding: 10px 20px;
		font-size: 1.5rem;
	}
	#pros {
		height: 5rem;
		gap: 1rem;
	}
	.pros {
		width: 11rem;
	}
	.pros img {
		height: 3rem;
	}
	.pros p {
		font-size: 1.2rem;
	}
	.break {
		height: 4rem;
	}
	.break img {
		height: 4rem;
	}
	.about {
		width: 90%;
	}
	.about p {	
		font-size: 1rem;
	}
	.what {
		width: 60%;
		margin: 6rem auto;
	}
	.what h2 {
		font-size: 1.8rem;
	}
	.kartice {
		width: 90%;
		height: 20rem;
		margin: 0 auto 3rem;
	}
	div.textcard {
		padding: 10% 5%;
	}
	div.textcard p {
		font-size: 1rem;
		margin-top: 1.5rem;
	}
	div.textcard h3 {
		font-size: 1.5rem;
	}
	div.imgcard {
		height: 20rem;
	}
	div.imgcard img {
		height: 20rem;
	}
	div#kontakt {
		width: 60%;
	}
	div#kontakt h2 {
		font-size: 1.8rem;
	}
	div#kontakt p {
		font-size: 1.6rem;
	}
	.contacts {
		width: 40rem;
	}
	div.phone p {
		font-size: 1.1rem;
	}
	div.email p {
		font-size: 1.1rem;
	}
	div.companyinfo {
		width: 100%;
	}
	.fontSize {
		font-size: 1.1rem;
		line-height: 1.7;
	}
	#attrib p {
		font-size: 1rem;
	}
	#attrib {
		height: 5rem;
		flex-wrap: wrap;
	}
}
@media screen and (max-width: 660px) {
	#brand { 
		font-size: 1.2rem;
		height: 3rem;
	}
	#brand img {
		height: 2rem;
	}	
	#hero {
		height: 17rem;
		flex-direction: column;
		align-items:center;
	}
	#pros {
		width: 100%;
		justify-content: space-around;
		height: 4rem;
	}
	.pros {
		width: fit-content;
	}
	.pros img {
		height: 2rem;
		margin: auto 0;
	}
	.pros p {
		font-size: 1rem;
	}
	.about {
		width: 80%;
		padding: 3rem 0;
		text-align: center;
	}		
	.what h2 {
		font-size: 1.5rem;
	}
	div.textcard {
		padding: 5%;
	}
	.what {
		margin: 3rem auto;
	}
	div#kontakt h2 {
		font-size: 1.5rem;
	}
	div#kontakt p {
		font-size: 1.4rem;
	}
	.contacts {
		width: 90%;
		flex-direction: column;
	}
	.aphone {
		width: 100%;
		height: 6rem;
		margin: 0 0 2rem 0;
		padding: 0;
		text-decoration: none;
	}
	div.phone {
		padding: 5px 15px;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 3%;
		border: 0;
		border-radius: 25px;
		box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
		transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	}
	div.phone:hover {
		background-color: var(--attrib);
		box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
	}
	div.phone img {
		width: auto;
		height: 5rem;
		margin: 0;
		float: left;
	}
	div.phone p {
		font-family: inter-reg, sans-serif;
		font-size: 1.8rem;
		color: var(--fontalt);
	}
	.aemail {
		width: 100%;
		height: 6rem;
		margin: 0;
		padding: 0;
		text-decoration: none;
	}
	div.email {
		padding: 5px 15px;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 3%;
		border: 0;
		border-radius: 25px;
		box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
		transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	}
	div.email:hover {
		background-color: var(--attrib);
		box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
	}
	div.email img {
		width: auto;
		height: 5rem;
		margin: 0;
		float: left;
	}
	div.email p {
		font-family: inter-reg, sans-serif;
		font-size: 1.5rem;
		color: var(--fontalt);
	}
	.footwrapper {
		margin-top: 6rem;
		padding: 2rem 0 0;
		width: 100%;
		height: fit-content;
		background-color: var(--primary);
		display: flex;
		flex-direction: column;
	}
	div.companyinfo {
		width: 100%;
		height: 100%;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
	}
	div.info {
		width: 90%;
		height: fit-content;
		margin: 1rem auto;
		padding-left: 10px;
		padding-top: 5px;
		border-left: solid 2px;
		border-left-color: var(--hlight);
	}
	.fontSize {
		font-family: inter-reg, sans-serif;
		font-size: 1.2rem;
		line-height: 1.7;
		color: var(--fontmain);
	}
}

@media screen and (max-width: 450px) {
	div.brandname {
		font-size: 1rem;
	}
	#pros {
		height: 4rem;
		gap: 0;
	}
	.pros {
		width: 6rem;
		height: 4rem;
		justify-content: space-evenly;
	}
	.pros img {
		display: none;
	}
	.pros p {
		font-size: 1rem;
	}
	.what {
		width: 90%;
	}
	.kartice {
		width: 90%;
		height: 18rem;
		margin: 0 auto 3rem;
	}
	div.textcard {
		width: 100%;
		height: 18rem;
	}
	div.textcard h3 {
		font-size: 1.5rem;
	}
	div.textcard p {
		font-size: 1rem;
	}
	div.imgcard {
		display: none;
	}
	div#kontakt {
		width: 90%;
		margin: 4rem auto 3rem;
	}
	div#kontakt h2 {
		font-size: 1.5rem;
	}
	div#kontakt p {
		font-size: 1.4rem;
		margin-top: 3rem;
	}
	.aphone {
		height: 4rem;
	}
	div.phone {
		padding: 10px 5px;
	}
	div.phone img {
		height: 3rem;
	}
	div.phone p {
		font-size: 1.5rem;
	}
	.aemail {
		height: 4rem;
	}
	div.email {
		padding: 10px 5px;
	}
	div.email img {
		height: 3rem;
	}
	div.email p {
		font-size: 1.1rem;
	}
	.footwrapper {
		margin-top: 4rem;
	}
	.fontSize {
		font-size: 1rem;
	}
	#attrib {
		height: 8rem;
	}
	#attrib p {
		font-size: 0.9rem;
	}
}