@import url('https://fonts.googleapis.com/css2?family=Ibarra+Real+Nova:wght@400;700&family=Work+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    color: #444;
    background: #fff;
}

img {
    max-width: 100%;
}

a {
    color: #2588c9;
    text-decoration: none;
}

p,
li {
    line-height: 1.5;
}

ul {
    padding-left: 20px;
}

ul li::marker {
    color: #2588c9;
}

ol {
    padding-left: 1.7rem;
}

ol li::marker {
    color: #fff;
    font-weight: 600;
    font-style: oblique;
}

ol li {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    padding-left: 10px;
}

ol li::before {
    content: '';
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    background: #2588c9;
    border-radius: 50%;
    left: -32px;
    top: 0;
    z-index: -1;
}

h1,
h2,
h3 {
    font-family: 'Ibarra Real Nova', serif;
    font-weight: normal;
    color: #000;
}

h1,
h2 {
    font-weight: bold;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
    margin-top: 0;
}

h3 {
    font-size: 30px;
}

.button,
input[type="submit"] {
    display: inline-block;
    padding: 12px 20px;
    color: #fff;
    background-color: #2588c9;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bolder;
    font-family: inherit;
    font-size: inherit;
    border: none;
    cursor: pointer;
}

.beige {
    background: #f2ede9;
    box-shadow: inset 0 0 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: 73px;
    flex-shrink: 0;
    margin-right: 15px;
}

#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 li a:hover {
    color: #33a67e;
}

#hero-txt {
    max-width: 650px;
    padding: 7vw 0 10vw 0;
}

#hero-img {
    background: #f2f2f2 url(img/hero-t.jpg);
    background-size: cover;
    overflow: hidden;
}

#contact-info {
    list-style-type: none;
    padding: 0;
}

#contact-info img {
    width: 23px;
    vertical-align: middle;
    margin-right: 5px;
}

#contact-info li {
    margin-bottom: 10px;
}

section:not(#hero) {
    padding: 60px 0;
}

#services img,
#portfolio img,
#work img {
    border: solid 3px #ccc;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
}

#about img {
    border: solid 3px white;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
}

input[type="text"],
input[type="email"],
textarea {
    font-size: inherit;
    border: solid 3px #ccc;
    padding: 9px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    margin-bottom: 40px;
    width: 100%;
    outline-color: #2588c9;
}

footer {
    background: #2588c9;
    color: #fff;
    overflow: hidden;
    padding: 20px 0;
}

footer ul {
    display: flex;
    justify-content: center;
}

footer ul a {
    color: #fff;
}

footer ul li {
    margin: 10px 20px;
}

footer li a:hover,
#copyright a:hover {
    color: #33a67e;
    text-decoration: none;
}

#copyright {
    text-align: center;
    padding: 25px 0;
    font-size: smaller;
    line-height: 1.3;
}

/* Töréspontok */

@media only screen and (max-width: 1280px) {
    header .content-box {
        display: block;
    }

    #logo {
        margin: 0 auto;
    }

    #menu ul {
        justify-content: center;
    }

    #hero-img {
        background-position: bottom right -100px;
        background-size: auto 60%;
        background-repeat: no-repeat;
    }

    #hero-txt {
        margin: 0 auto;
        padding: 3vw 0 30vw 0;
    }

    footer p,
    a {
        font-size: 18px;
    }

    @media only screen and (max-width: 768px) {

        #hero-img {
            background-position: bottom right -150px;
            background-size: auto 55%;
        }

        #hero-txt {
            padding: 3vw 0 50vw 0;
        }

        #menu ul,
        footer ul {
            display: block;
            margin-top: 5vw;
        }

        h1 {
            font-size: 35px;
        }

        h2 {
            font-size: 30px;
            margin-top: 0;
        }

        h3 {
            font-size: 25px;
        }
    }
