@charset "UTF-8";

/*=========== TABLE OF CONTENTS ===========
0.  CSS Variables
1.  Icons
2.  General css (Reset code)
3.  Header
4.  Welcome-hero
5.  About us 
6.  Timeline
7.  Skills
8.  Experience
9.  Profiles
10. Portfolio
11. Clients
12. Contact
13. Footer
14. Imprint
15. Privacy
16. ScrollTop
17. Animations

/*-------------------------------------
		0. CSS Variables
--------------------------------------*/

:root {
    --blue: #0956b9;
    --brown: #8f3310;
    --white: #ffffff;
    --max-width: 1280px;
}

/*-------------------------------------
		1. Icons
--------------------------------------*/

.icon-phone-wrapper {
    width: 32px;
    height: 32px;
    position: relative;
    top: 4px;
    left: -2px;
}

.icon-mail-wrapper {
    width: 32px;
    height: 32px;
    position: relative;
    top: 5px;
}

.icon-fb-wrapper {
    width: 24px;
    height: 24px;
    position: relative;
    left: -2px;
}

.icon-linkedIn-wrapper {
    width: 24px;
    height: 24px;
    position: relative;
    left: -2px;
}

/*-------------------------------------
		2. General css (Reset code)
--------------------------------------*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    margin: 0 auto;
    overflow-x: hidden;
    background-color: whitesmoke;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: 'liga', 'kern';
    font-feature-settings: 'liga', 'kern';
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: #6a708e;
    color: darkblue;
    font-size: 16px;
    padding: 0;
}

p {
    margin: 0;
    line-height: 1.8;
    font-size: 14px;
}

select,
input,
textarea,
button {
    box-shadow: none;
    outline: 0 !important;
}

button {
    background: transparent;
    border: 0;
}

section {
    padding: 40px 0px 40px 0px;
    display: flex;
    justify-content: center;
}

.section-heading>h3 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    padding-bottom: 50px;
    line-height: 1.5;
}

.section-heading>h3.no-padding {
    padding-bottom: 0;
}

.section-heading>h4 {
    color: gray;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    padding: 0 12px;
    padding-bottom: 50px;
}

.with-border-bottom {
    margin: 8px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
}

.section-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--max-width);
    justify-content: center;
    white-space: wrap;
}

h1.section-heading {
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.section-content p {
    padding: 12px 0;
    font-size: 16px;
    line-height: 1.7;
    word-wrap: break-word;
}

.section-content a:hover {
    text-decoration: underline;
}

.long-text {
    padding: 8px 12px;
    font-size: 15px;
}

.long-text p {
    font-size: 15px;
    line-height: 1.7;
}

.wp-block-list {
    margin: 0;
    padding: 0;
    padding-left: 18px;
}

.wp-block-list li:not(:last-child) {
    padding-bottom: 12px;
}

.text-left {
    text-align: left;
}

.text-large {
    font-size: 18px;
    line-height: 1.5;
}

.text-small {
    opacity: 0.9;
    font-size: 13px !important;
}

.text-small a {
    font-size: 13px !important;
}

.text-mark-1 {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(to right,
            rgba(255, 225, 0, 0.1),
            rgba(255, 225, 0, 0.7) 4%,
            rgba(255, 225, 0, 0.3));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.text-mark-2 {
    font-style: normal;
    border-radius: 1em 0 1em 0;
    text-shadow: 1px 1px 1px #fff;
    background-image:
        linear-gradient(-100deg,
            rgba(255, 250, 150, 0.15),
            rgba(255, 250, 150, 0.8) 100%,
            rgba(255, 250, 150, 0.25));
}

#btn-gallery {
    background: darkblue;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 22px;
    text-align: center;
    cursor: pointer;
}

#btn-gallery>span {
    display: block;
    font-size: 32px;
}

.pswp__custom-caption {
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    font-size: 16px;
    color: black;
    width: calc(100% - 32px);
    max-width: 400px;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    padding: 0;
}

.pswp__custom-caption>* {
    box-sizing: border-box;
    padding: 10px 12px;
    width: 100%;
    margin: 0;
}

.pswp__custom-caption>h3 {
    text-align: center;
    background: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding-bottom: 0;
}

.pswp__custom-caption>h3+div:not(::empty) {
    border-top: 1px inset whitesmoke;
    padding-top: 5px;
}

.pswp__custom-caption a {
    color: #fff;
    text-decoration: underline;
}

.pswp-docs__home-gallery>a {
    display: none;
}

.hidden-caption-content,
.pswp__custom-caption:empty {
    display: none !important;
}

@media (max-width: 768px) {

    #welcome-hero {
        height: 440px;
        min-height: 440px;
    }

    .header-text {
        margin-left: 40px;
    }

    .long-text {
        text-align: justify;
        padding: 8px 12px;
    }

    .long-text h3 {
        text-align: left;
    }

    header .site-logo img {
        max-width: 320px !important;
        width: 320px !important;
    }

    #btn-gallery {
        font-size: 14px;
    }

    #btn-gallery>span {
        font-size: 26px;
    }

}

@media (max-width: 512px) {

    header .site-logo img {
        max-width: 330px !important;
        width: 330px !important;
    }

    #my-gallery {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    #my-gallery>figure img {
        transition: none !important;
    }

    .pswp__custom-caption>h3 {
        font-size: 18px;
    }

}

@media (max-width: 414px) {

    .header-text {
        margin-left: 32px !important;
    }

    header .site-logo img {
        max-width: 270px !important;
        width: 270px !important;
    }

}

@media (max-width: 312px) {

    .header-text {
        margin-left: 28px !important;
    }

    .header-text h2 {
        font-size: 17px !important;
    }

    header .site-logo img {
        max-width: 230px !important;
        width: 230px !important;
    }

}

/*-------------------------------------
        3. Header
--------------------------------------*/
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    user-select: none;
    -webkit-user-select: none;
    flex-direction: column;
}

header,
header>div {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.home.with-topbar header {
    height: 120px;
}

header>div {
    width: 100%;
    max-width: var(--max-width);
    justify-content: space-around;
    justify-content: space-between;
}

#topbar {
    display: none;
    color: whitesmoke;
    background-color: crimson;
    height: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    justify-content: center;
    padding: 0 3px;
    font-weight: bold;
    font-size: 18px;
}

body.with-topbar #topbar {
    display: flex;
}

#topbar a {
    color: whitesmoke !important;
    font-size: 18px;
}

#topbar a:hover {
    text-decoration: underline;
}

#topbar svg {
    fill: whitesmoke;
}

#topbar .row {
    display: flex;
    padding-left: 12px;
    flex-direction: row;
    align-items: center;
}

#header-logo {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
}

header>div>nav,
header>div>nav>ul,
header>div>nav>ul>li,
header>div>nav>ul>li>a {
    display: flex;
    height: 100%;
    align-items: center;
}

header>div>ul {
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

header>div>nav>ul {
    list-style: none;
}

header .site-branding {
    scale: 0.98;
}

#menu-btn {
    display: none;
    flex: 1;
    justify-content: flex-end;
    padding-right: 8px;
    cursor: pointer;
    height: 100%;
    line-height: 100%;
    min-width: 48px;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

#menu-btn>span {
    display: flex;
    align-items: center;
    align-self: center;
    z-index: -1;
    min-width: 48px;
    max-width: 48px;
}

#menu-btn.open .menu-icon-top {
    transform: translateY(5px) translateX(0) rotate(45deg);
    background: var(--blue);
    background: var(--brown);
}

#menu-btn.open .menu-icon-bottom {
    transform: translateY(-5px) translateX(0) rotate(-45deg);
    background: var(--blue);
    background: var(--brown);
}

#menu-btn.open .menu-icon-middle {
    opacity: 0;
}

#menu-btn>span,
.menu-icon {
    position: relative;
}

.menu-icon {
    width: 24px;
    height: 20px;
    cursor: pointer;
    transition: opacity .25s;
}

.menu-icon>span {
    max-width: 48px;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--blue);
    background: var(--brown);
    transition: all .2s ease;
}

.menu-icon-top {
    top: 2px;
}

.menu-icon-middle {
    top: 7px;
}

.menu-icon-bottom {
    top: 12px;
}

#menu-list a {
    color: var(--brown);
    text-decoration: none;
    padding: 12px 20px;
    font-size: 18px;
}

#menu-list a:hover {
    color: var(--white);
    background: var(--brown);
}

#menu-list a.active {
    color: var(--white);
    background: var(--brown);
}

#menu-list,
#menu-list>li,
#menu-list>li>a {
    width: 100%;
}

#menu-list {
    box-shadow: none;
}

#menu-list[aria-expanded="true"] {
    display: inherit;
    flex-direction: column;
    top: 80px;
    z-index: 10;
    left: 0;
    height: auto;
    overflow: scroll;
    position: absolute;
}

body.home.with-topbar #menu-list[aria-expanded="true"] {
    top: 120px;
}

.zoomin {
    -webkit-animation-duration: .13s;
    animation-duration: .13s;
    animation-fill-mode: both;
    -webkit-animation-name: zoomin;
    animation-name: zoomin;
}

.zoomin {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

header .site-logo img {
    height: auto;
    max-width: 425px;
    width: 425px;
    padding: 1px 0;
}

header .site-logo img:active {
    scale: 0.96;
}

header .site-description {
    display: none;
    color: #ff3701;
    color: #006400;
    font-size: 16px;
    line-height: normal;
}

.pswp__img {
    object-fit: contain;
    object-fit: unset;
}

@media (max-width: 768px) {

    header .site-branding {
        scale: 0.92;
    }

    #header-logo {
        padding-left: 6px;
    }

    .header-text h1 {
        font-size: 38px !important;
    }

    #menu-btn {
        display: flex;
    }

    #menu-list {
        font-size: 24px;
        font-weight: bolder;
        color: black;
        background-color: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    header.menu-open {
        box-shadow: none;
    }

    #menu-list>li>a {
        width: 100%;
        height: 48px;
        justify-content: center;
    }

    header>div>nav {
        position: static;
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    #menu-list[aria-expanded="false"] {
        display: none;
    }

    #menu-list a:hover {
        color: white;
        background: var(--brown);
    }

    #footer,
    .section-wrapper,
    .about-wrapper {
        user-select: none;
        -webkit-user-select: none;
    }

    .pswp__img {
        border-radius: 0 !important;
    }

}

@media (max-width: 512px) {

    #topbar,
    #topbar a {
        font-size: 16px;
    }
}

@media (max-width:365px) {

    #topbar,
    #topbar a {
        font-size: 13px;
    }
}

/*-------------------------------------
        4. Welcome-hero
--------------------------------------*/

#welcome-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: url(../images/slider-1-roofers.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 490px;
    min-height: 490px;
}

#welcome-hero::after {
    content: "";
    background-color: #00335A;
    opacity: 0.15;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.header-text {
    z-index: 1;
    color: white;
    max-width: 65vw;
    margin-left: 70px;
    user-select: none;
    -webkit-user-select: none;
}

.header-text h1 {
    font-size: 45px;
    font-weight: 700;
}

.separator {
    border-top-style: solid;
    border-top-width: 2px;
    width: 9%;
    border-color: white;
    margin: 15px 0;
}

.header-text h2 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.5;
}

/*-------------------------------------
        5. About us
--------------------------------------*/
#about {
    display: flex;
    justify-content: center;
    padding: 0;
}

#about>div {
    display: flex;
    width: 100%;
    max-width: var(--max-width);
    justify-content: space-around;
}

#about>div>div {
    margin: 12px;
}

#about .usp>h3 {
    margin-bottom: 7px;
    font-weight: normal;
    line-height: 1.5;
    text-align: justify;
}

#about h4>ul {
    list-style: none;
}

#about h4 ul>li {
    padding: 8px 0;
    font-size: 20px;
    font-weight: normal;
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1.3;
}

#about h4 ul>li:before {
    content: '✔';
    display: inline-block;
    font-size: 24px;
    margin-right: 7px;

    /* We use ".checkmark-svg" because of a bug in Webkit: the color of the checkmark isn't working. */
    color: #006400;
    display: none;
}

.checkmark-svg {
    position: relative;
    top: 2px;
    fill: #006400;
    width: 22px;
    min-width: 22px;
    margin-right: 12px;
}

#about .contact-form {
    min-width: 480px;
    max-width: 500px;
    height: fit-content;
    position: relative;
    top: -100px;
    padding: 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(4px);
    backdrop-filter: saturate(180%) blur(4px);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
    box-shadow: 0 0 3px rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 100, 0, 0.2);
}

#about .contact-form>.section-heading {
    display: none;
}

#about .contact-form>p {
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
    padding: 16px 8px;
    margin-bottom: 12px;
}

#about .contact-form a:hover {
    text-decoration: underline;
}

#about .contact-form>.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
}

#about .contact-form>.grid>* {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: normal;
    padding: 18px 8px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.2);
}

#about .contact-form>.grid>div {
    display: flex;
    align-items: center;
}

#about .contact-form>.grid>div>i {
    min-width: 32px;
    margin-right: 1px;
}

#about .contact-form>.grid>*:first-child,
#about .contact-form>.grid>*:nth-child(2) {
    border-top: none;
}

@media (max-width: 768px) {

    #about.with-border-bottom {
        border-bottom: none;
    }

    #about .about-wrapper {
        flex-direction: column;
    }

    #about .contact-form {
        min-width: 90vw;
        max-width: 100vw;
        top: 0;
        padding: 16px 8px;
        -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
        box-shadow: 0 0 3px rgba(0, 0, 0, .15);
    }

    #about .contact-form>.section-heading {
        display: block !important;
        padding-top: 20px;
    }

    #about .contact-form .section-info {
        text-align: center !important;
    }
}


/*-------------------------------------
        6. Timeline
--------------------------------------*/

#timeline {
    background-image: url(../images/slider-1-roofers.jpg);
    background-color: #FFFFFF;
    background-position: center left;
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: white;
}

#timeline>.background-overlay {
    background-color: #00335A;
    opacity: 0.15;
    inset: 0;
    position: absolute;
}


/*-------------------------------------
        7. Skills
--------------------------------------*/

.cards-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;
    margin: 0 15px;
    max-width: var(--max-width);
}

.card {
    width: 100%;
    border-radius: 4px;
    background: white;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
    box-shadow: 0 0 3px rgba(0, 0, 0, .15);
}

.card-header {
    position: relative;
}

.card-header img {
    width: 100%;
    object-fit: fill;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.card-title {
    color: black;
    padding: 8px;
    width: 100%;
    left: 0;
    color: white;
    background-color: var(--brown);
    font-size: 20px;
    bottom: 3px;
    text-align: center;
    position: absolute;
}

.card-description {
    padding: 12px 24px;
}

.card-description ul {
    padding-left: 0;
    line-height: 1.5;
}

/*-------------------------------------
        8. Experience
-------------------------------------*/


/*-------------------------------------
        9. Profiles
--------------------------------------*/


/*-------------------------------------
        10. Portfolio
--------------------------------------*/


/*-------------------------------------
        11. Clients
--------------------------------------*/


/*-------------------------------------
        12. Contact
--------------------------------------*/


/*-------------------------------------
        13. Footer
--------------------------------------*/

#footer {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

#footer p {
    text-align: center;
}

.footer-nav a:not(:last-child)::after {
    content: '|';
    display: inline-block;
    margin-left: 5px;
}

.footer-nav {
    text-align: center;
}

.footer-nav a {
    font-size: 16px;
}

.footer-nav a:hover {
    text-decoration: underline;
}


/*-------------------------------------
		14. Imprint
--------------------------------------*/

.imprint .scrolltop-wrap {
    display: none;
}

/*-------------------------------------
		15. Privacy
--------------------------------------*/


/*-------------------------------------
        16. ScrollTop
--------------------------------------*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    position: relative;
}

.scrolltop-wrap {
    box-sizing: border-box;
    position: absolute;
    top: 25rem;
    right: 2rem;
    bottom: 0;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 2;
}

.scrolltop-wrap>a {
    position: sticky;
    top: -6rem;
    width: 48px;
    height: 48px;
    margin-bottom: -6rem;
    cursor: pointer;
    border-radius: 4px;
    transform: translateY(100vh);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: inline-block;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: all;
    outline: none;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
}

.scrolltop-wrap>a>svg {
    display: block;
    width: 100%;
    height: 100%;
}

.scrolltop-wrap #scrolltop-arrow {
    fill: whitesmoke;
    transform: scale(0.8);
    transform-origin: center;
}

.scrolltop-wrap>a:hover #scrolltop-arrow {
    fill: white;
}

.scrolltop-wrap>a:active #scrolltop-arrow {
    transform: scale(0.65);
}

/*-------------------------------------
		17. Animations
--------------------------------------*/

.video-image {
    overflow: hidden;
    position: relative;
}

.video-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    animation: backgroundMovieEffect 8s ease-in-out forwards;
    animation: backgroundMovieEffect 12s ease-in-out infinite alternate;
}

@keyframes backgroundMovieEffect {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }

    100% {
        transform: scale(1.03) translateX(2px) translateY(1px);
    }
}

.anim {
    animation-duration: 1s;
    -animation-fill-mode: both;
}

@keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.fadein {
    animation-name: fadein;
}

@keyframes fadeout {
    from {
        opacity: 1
    }

    to {
        opacity: 0;
        z-index: -100000
    }
}

.fadeOut {
    animation-name: fadeout;
}

@keyframes zoomin {
    from {
        opacity: 0;
        transform: scale3d(.3, .3, .3)
    }

    50% {
        opacity: 1
    }
}

.zoomin {
    animation-duration: .13s;
    animation-name: zoomin;
}

@keyframes zoomout {
    from {
        opacity: 1
    }

    50% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3)
    }

    to {
        opacity: 0
    }
}

.zoomout {
    animation-duration: .25s;
    animation-name: zoomout;
}

/*-------------------------------------
        18. Photoswipe
--------------------------------------*/

.pswp-docs__home-gallery-item figcaption {
    display: none;
}

#my-gallery {
    --numcolumns: 3;
    --gap: 0.25em;
    --size: calc(100vw / var(--numcolumns));
    display: grid;
    grid-template-columns: repeat(var(--numcolumns), 1fr);

    grid-template-rows: auto;
    gap: var(--gap);
    align-items: stretch;

    list-style: none;
}

#my-gallery>figure {
    display: block;
    height: calc(var(--size) - var(--gap));
}

#my-gallery>figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;

    transition: opacity .25s;
}

#my-gallery>figure img:active,
#my-gallery button:active {
    scale: 0.98;
}

#my-gallery>figure img:hover,
#my-gallery button:hover {
    opacity: 0.94;
}

.pswp__img {
    border-radius: 4px;
}