/*Load google font*/
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

/* Reset Styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
a{
	text-decoration: none;
	text-transform: none;
	color: #04143A;
}

body {
	line-height: 1;
	font-family: lato, ubuntu,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
	text-rendering : optimizeLegibility;
	-webkit-font-smoothing : antialiased;
	font-size: 19px;
	background-color: #FEFEFE;
	color: #04143A;
}

p {
	color: #15171a;
	font-size: 17;
	line-height: 31px;
}

strong {
	font-weight: 600;
}

div , footer {
	box-sizing: border-box;
}


.container {
	max-width: 1100px;
	height: auto;
	margin: 60px auto;
}

.hero {
	margin: auto; 
	position: relative;
	display: inline-block;
}

h1 {
	font-size: 50px;
	font-weight: 300;
	margin-bottom: 10px;
	display: inline-block;
}

h2 {
	vertical-align: top;
	font-size: 30px;
	font-weight: 300;
	margin-top: 30px;
	margin-bottom: 10px;
	display: inline-block;
}

h3 {
	vertical-align: top;
	font-size: 20px;
	font-weight: 300;
	margin-top: 15px;
	margin-bottom: 10px;
}

.job-title {
	vertical-align: top;
	background-color: rgb(215, 220, 226);
	color: rgb(74, 77, 80);
	font-weight: 500;
	margin-top: 5px;
	border-radius: 5px;
	display: inline-block;
	padding: 15px 25px;
}

.shortdesc {
	max-width: 750px;
	display: block;
	font-size: 20px;
	font-weight: 350;
	color: rgb(15, 33, 77);
	margin-top: 20px;
}

.desc {
	display: block;
	font-size: 20px;
	font-weight: 350;
	color: rgb(15, 33, 77);
	margin-top: 20px;
	margin-bottom: 10px;
}

.portrait {
	vertical-align: top;
    background-image: url('juraj.jpg');
    width: 200px;
	height: 200px;
	margin-top: 30px;
	margin-left: 100px;
    border-radius: 50%;
	background-size: 200px;
	display: inline-block;
}

.footer {
	bottom: 0; 
	/* position: fixed;  */
	padding: 20px; 
	font-size: 13px;
}

.email {
	display: block;
	font-size: 24px;
	font-weight: 300;
	color: rgb(56, 67, 93);
	margin-top: 10px;
}

li {
	font-size: 17;
	padding-left: 20px;
	margin-left: 40px;
	margin-top: 5px;
}

li:hover {
  color: #48A4D2;
}



@media(max-width: 1024px){
	.container {
		padding: 15px;
		margin: 0px auto;
	}
	.cards {
		margin-top: 250px;
	}
}

@media(max-width: 768px){
	.container {
		padding: 15px;
		margin: 0px auto;
	}
}

@media(max-width: 425px) {
	h1.name {
		font-size: 40px;
	}

	.card , .sections {
		width: 100%;
		height: auto;
		margin: 10px 0;
		float: left;
	}

	.job-title {
		position: absolute;
		font-size: 15px;
		top: -40px;
		right: 20px;
		padding: 10px
	}
	.container {
		margin: 0px;
		padding: 0 15px;
	}
}