body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    color: #333;
    background: #fff url(img/body-bg.png);
}

p {
    margin-bottom: 15px;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Comfortaa', cursive;
    line-height: 1.2;
}

h1 {
    font-weight: bold;
    font-size: 46px;
    margin-bottom: 15px;
}

h2 {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 15px;
}

h3 {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 10px;
}

a {
    color: #33a67e;
    text-decoration: none;
}

section ul {
    margin-bottom: 15px;
}

section li {
    line-height: 1.2;
    margin-bottom: 10px;
    background: url(img/bullet.svg) top 10px left no-repeat;
    background-size: 6px auto;
    padding-left: 20px;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.align-center {
    text-align: center;
}

/* Layout */

.content-box {
    width: 90%;
    max-width: 1520px;
    margin: 0 auto;
}

header .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    max-width: 310px;
}

#main-menu li {
    display: inline-block;
    margin-left: 40px;
}

#main-menu li a {
    color: inherit;    
    text-transform: uppercase;
    font-weight: bold;
}

#main-menu li a:hover {
    color: #33a67e;
}

section {
    padding: 80px 0;
}

section img {
    border: solid 5px #ccc;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    margin-bottom: 15px;
}

#offer input[type="text"],
#offer input[type="email"],
textarea {
    border: solid 5px #ccc;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    margin-bottom: 15px;
    width: 100%;
    font-family: inerhit;
    font-size: inerhit;
}

textarea {
    min-height: 150px;
}

#offer input[type="submit"] {
    background: #33a67e;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: larger;
}

#offer input[type="submit"]:hover {
    color: #33a67e;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

#hero {
    padding: 40px 0 0 0;
    background-image: url(img/hero.png), url(img/wall.png);
    background-position: bottom right, bottom center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 85%, cover;
}

#hero-text {
    padding: 180px 0;
}

#hero-text-content {
    max-width: 650px;
}

#hero-text-content li {
    line-height: 1.2;
    margin-bottom: 10px;
    padding-left: 30px;
}

#hero-text-content li a:hover {
    color: inherit; 
}

.tel {
    background: url(img/phone.svg) center left no-repeat;
    background: auto 90%;
}

.mail {
    background: url(img/paper-plane.svg) center left no-repeat;
    background: auto 90%;
}

.insta {
    background: url(img/instagram.svg) center left no-repeat;
    background: auto 90%;
}

#services,
#portfolio {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}


#portfolio p {
    margin-bottom: 40px;
}

footer {
    background: #33a67e;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

footer li {
    display: inline-block;
    margin: 0 15px;
}

footer li a {
    color: #fff;
}

footer li a:hover,
#copyright a:hover {
    text-decoration: underline;
}

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

/* Brakepoints */

@media screen and (max-width: 1280px) {
    #hero {
        background-position: bottom right -60%, bottom center;
    }
}

@media screen and (max-width: 1170px) {
    #hero {
        background-size: auto 70%, cover;
        background-position: bottom right -40%, bottom center;
    }

    #hero-text {
        padding: 80px 0;
    }

    header .content-box {
        display: block;
        text-align: center;
    }

    #logo {
        margin: 0 auto 30px auto;
    }

    .column-4 > div {
        width: calc(50% - 40px);
    }

    #about img,
    #offer img {
        object-fit: cover;
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    #hero {
        background-size: auto 350px, cover;
        background-position: bottom right, bottom center;
    }

    #hero-text {
        padding: 80px 0 300px 0;
    }

    .column-3 > div {
        width: calc(50% - 40px);
    }

    #about img,
    #offer img {
        object-fit: contain;
        height: auto;
        margin-bottom: 30px;
    }

    #offer .col-1-2:first-of-type {
        order: 2
    }

    #main-menu li,
    footer li {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    #hero {
        background-size: auto 350px, cover;
        background-position: bottom right -100px, bottom center;
    }

    #hero-text {
        padding: 80px 0 330px 0;
    }

    h1,
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 22px;
    }

    .column-3 > div,
    .column-4 > div {
        width: calc(100% - 40px);
    }

    section,
    footer {
        padding: 40px 0;
    }

}
