/* A * jel az úgynevezett univerzális kijelölő, amit ebbe a definícióba írsz, minden elemre érvényes lesz.
   Ezt a definíciót ezentúl minden stíluslapod elejére írd be! */
   
*,
*:before,
*:after {
	box-sizing: border-box;
}

body {
	margin: 0; 
	padding: 0;
	font-family: 'Work Sans', sans-serif;
	font-size: 20px;
	color: #444444;
}

img {
	max-width: 100%;
}

a {
	color: #2588C9;
	text-decoration: none;
}
	
p, li {
	line-height: 1.5;
}

ul li::marker {
	color: #2588C9;
}

ol {
	padding-left: 34px;
}

ol li::marker {
	color: #FFF;
	font-weight: bold;
}

ol li {
	position: relative;
	z-index: 1;
	margin-bottom: 10px;
	padding-left: 10px;
}

ol li::before {
	content: ""; 
	width: 32px; 
	height: 32px; 
	background: #2588C9;
	display: block;
	position: absolute;
	left: -32px;
	top: 0;
	z-index: -1;
	border-radius: 50%;
}

ul {
	padding-left: 20px;
}

h1,
h2,
h3 {
	font-family: 'Ibarra Real Nova', serif;
	color: #000000;
	font-weight: normal;
}

h1 {
	font-size: 50px;
}

h2 {
	font-size: 50px;
	margin-top: 0;
}

h3 {
	font-size: 30px;
}

.button, input[type=submit] {
	display: inline-block;
	padding: 12px 20px;
	color: #FFF;
	background: #2588C9;
	border-radius: 30px;
	text-transform: uppercase;
	font-weight: bold;
	border: none;
	font-family: inherit;
	font-size: inherit;
	line-height: 1;
}

.beige {
	background: #F2EDE9;
	box-shadow: inset 0 0px 3px rgba(0,0,0,0.2));
}

.align-center {
	text-align: center;
}

.cover-img {
	object-fit: cover;
	height: 100%;
}

header {
	margin-top: 20px;
}

header .content-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#logo {
	max-width: 400px;
}

#logo a{
	display: flex;
	align-items: center;
	color: inherit;
}

#logo a > span:first-of-type{
	width: 70px;
	flex-shrink: 0;
	margin-right: 10px;
}

#logo a span {
	display: block;
}

#menu ul {
	display: flex;
	list-style-type: none;
}

#menu ul li {
	margin-left: 40px; 
}

#menu ul li a{
	color: inherit;
	padding: 15px;
}

#menu ul li a:hover{
	color: #2588C9;
}

#hero {
	background: #f2f2f2 url("../img/hero-t.jpg");
	background-size: cover;
	overflow: hidden;
}

#hero-txt {
	max-width: 650px;
	padding: 8vw 0 14vw 0;
}

#contact-info {
	list-style-type: none;
	padding: 0;
}

#contact-info img {
	width: 24px;
	vertical-align: middle;
}

#contact-info li{
	margin-bottom: 10px;
}

section:not(#hero) {
	padding: 80px 0;
}

#services img,
#portfolio img,
#about img,
#work img {
	border: solid 5px #F2EDE9;
	filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
}

input[type=text], input[type=email], textarea {
	background: #fff;
	font-family: inherit;
	padding: 10px;
	border: solid 5px #F2EDE9;
	filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
	width: 100%;
	margin-bottom: 40px;
	font-size: inherit;
}

footer {
	background: #2588C9;
	color: #fff;
	overflow: hidden;
	padding: 20px 0;
}

footer ul a{
	color: #fff;
}

footer ul {
	display: flex;
	justify-content: center;
}

footer ul li {
	margin: 10px 20px;
}

@media only screen and (max-width: 1280px) {
	header .content-box {
		display: block;
	}
	#logo {
		margin: 0 auto;
	}
	#menu ul {
		justify-content: center;
	}
	#hero-txt {
		max-width: 0 auto;
		padding: 3vw 0 30vw 0;
	}
	#hero {
		background-position: bottom right -100px;
		background-size: auto 60%;
		background-repeat: no-repeat;
	}
}

@media only screen and (max-width: 768px) {
	#hero {
		background-position: bottom right -150px;
		background-size: auto 55%;
	}
	#hero-txt {
		padding: 3vw 0 50vw 0;
	}
		
	#menu ul,
	footer ul {
		display: block;
	}
	h1 {
	font-size: 36px;
	}

	h2 {
	font-size: 32px;
	margin-top: 0;
	}

	h3 {
	font-size: 28px;
	}
}

@media only screen and (max-width: 768px) {
	body {
		font-size: 16px;
	}
	section:not(#hero) {
	padding: 30px 0;
	}
	#hero-txt {
		padding: 3vw 0 60vw 0;
	}
	#hero {
		background-size: auto 45%;
	}
}