@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/OpenSans.ttf") format('truetype');
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: url("fonts/OpenSans.ttf") format('truetype');
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    src: url("fonts/BarlowCondensed-Bold.ttf") format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    background-color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    margin: 0;
}

.beforeafterdefault img {
    max-width: inherit;
    border-radius: 0 !important;
}

b, strong {
    font-weight: 700;
}

h1, h2 {
    font-family: "Barlow Condensed", Arial, sans-serif;
}

h3, h4, h5, h6 {
    font-family: "Open Sans", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 0 20px 0;
}

h1, h2 {
    text-transform: uppercase;
    letter-spacing: 1pt;
}

h3, h4, h5, h6 {
    letter-spacing: inherit;
}

h1 {
    font-size: 32pt;
    line-height: 1.1;
    color: #105189;
}

h2 {
    font-size: 26pt;
    line-height: 1.2;
    color: #105189;
}

h3 {
    font-size: 14pt;
    margin: 0 0 5px 0;
}

a, .url {
    color: #2daae2;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.url {
    color: #fff;
}

a:hover {
    color: #105189;
    text-decoration: none;
}

.url:hover {
    color: #2daae2;
}

.light-blue {
    color: #2daae2;
}

.dark-blue {
    color: #105189;
}

.light-blue-bg {
    background-color: #2daae2;
}

.dark-blue-bg {
    background-color: #105189;
}

.white-font {
    color: #fff;
}

.white-headlines h1,
.white-headlines h2 {
    color: #fff;
}

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

section, header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 35px 0;
}

header {
    padding: 0;
}

.container {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.col {
    width: 100%;
}

#navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navigation img {
    max-width: 150px;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding: 0;
    list-style: none;
}

nav ul li a {
    padding: 10px 20px;
    border-radius: 15px;
    background-color: transparent;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    color: #fff;
    background-color: #105189;
}

#hero {
    width: 100%;
    padding: 0;
}

#services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

#services .col {
    background-color: #fff;
    color: #000;
    border-radius: 15px;
    display: grid;
    grid-template-rows: 50px 1fr;
    padding: 10px 10px 15px 10px;
    box-sizing: border-box;
    text-align: center;
    gap: 10px;
}

.icon {
    display: flex;
    justify-content: center;
}

.icon div {
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: 40px;
    background-repeat: no-repeat;
}

.icon-screwdriver-wrench {
    background-image: url("images/screwdriver-wrench.svg");
}

.icon-brick-wall {
    background-image: url("images/brick-wall.svg");
}

.icon-paint-roller {
    background-image: url("images/paint-roller.svg");
}

.icon-faucet-drip {
    background-image: url("images/faucet-drip.svg");
}

.icon-stone-path {
    background-image: url("images/stone-path.svg");
}

.icon-tile-sort {
    background-image: url("images/tile-sort.svg");
}

#about-us {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    text-align: center;
}

#about-us img, #projects img {
    border-radius: 15px;
}

#projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.fancy-wrapper {
    position: relative;
}

.fancy-wrapper .text {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2daae2;
    padding: 2% 4%;
}

#imprint {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

#imprint .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 500px;
    max-width: 90%;
}

@media (max-width: 919px) {
    #services {
        grid-template-columns: 1fr 1fr;
    }
}

header nav {
    display: none;
}

#navigation {
    justify-content: center;
}
@media (max-width: 767px) {
}

@media (max-width: 649px) {
    #services, #about-us {
        grid-template-columns: 1fr;
    }

    #services .col {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto;
        gap: 0 20px;
        text-align: left;
    }

    h1 {
        font-size: 20pt;
    }

    h2 {
        font-size: 18pt;
    }
}