@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
}


header{
    width: 100%;
}

header nav{
    width: 90%;
    padding: 0 5%;
    display: flex;
    flex-direction: row;
    position: fixed;
    background: white;
    z-index: 10;
    -webkit-box-shadow: 0px 0px 58px -34px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 58px -34px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 58px -34px rgba(0,0,0,0.75);
}

header nav div{
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-between;
}

header nav div button{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

header nav #navbar {
    flex: none;
}

header nav a{
    padding: 10px 0;
    margin: auto 20px;
    border-bottom: 2px solid white;
    text-decoration: none;
    color: #4e4d4d;
}

header nav a:hover{
    border-bottom: 3px solid #385623;
    color: #385623;
    transition: border-bottom-color 0.2s;
}

header nav .full-width:hover{
    border: none;
}

header nav .active{
    border-bottom: 3px solid #385623;
    color: #385623;
}

header nav .full-width{
    margin: 0 0 0 10%;
    border: none;
}

header nav .full-width img{
    height: 50px;
    padding: 10px 0;
}

main .image-container{
    display: block;
    width: 100%;
    padding: 140px 0 50px 0;
}

main .image-container img{
    display: block;
    width: 60%;
    margin: 0 auto;
}

h1{
    display: block;
    font-size: 26px;
    text-align: center;
}

h1, h2, h3, h4{
    color: #385623;
}

#home p{
    display: block;
    font-size: 15px;
    color: #4e4d4d;
    text-align: center;
    width: 70%;
    margin: 5px auto;
}

#home .arrow-down{
    font-size: 20px;
    display: block;
    margin: 20px auto 0 auto;
    color: #385623;
    background: white;
    padding: 10px 10px;
    width: 20px;
    height: 20px;
    -webkit-box-shadow: 0px 0px 13px -6px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 13px -6px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 13px -6px rgba(0,0,0,0.75);
    border: none;
    border-radius: 50%;
    text-align: center;
}

#home .product-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 1200px;
    margin: 100px auto 50px auto;
}

#home .product-container .product{
    height: 250px;
    width: 350px;
    position: relative;
    overflow: hidden;
    margin: 15px 0;
    cursor: pointer;
}

#home .product-container .product img{
    height: 100%;
    display: block;
    transition: transform .5s ease;
}

#home .product-container .product .overlay {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: .5s ease;
    background: rgba(17,17,17,0.2);
}

#home .product-container .product .text {
    color: white;
    font-size: 20px;
    position: absolute;
    width: 330px;
    bottom: 20px;
    left: 200px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: left;
    text-shadow: 2px 2px 4px #000000;
    word-wrap: break-word;
    hyphens: auto;
}

#home .product-container .product .hide {
    display: none;
}

#home .product-container .product .hide a{
    font-size: 15px;
    text-decoration: none;
    color: #385623;
}

#home .product-container .product:hover .hide {
    display: block;
}

#home .product-container .product:hover .overlay {
    background: rgba(17,17,17,0.55);
}

#dienstleistungen .image-container{
    padding: 140px 0 0 0;
}

#dienstleistungen .image-container img{
    width: 45%;
}

#dienstleistungen .content{
    width: 65%;
    margin: 0 auto 100px;
}

#dienstleistungen .content h2{
    font-size: 28px;
}

#dienstleistungen .accordion {
    font-size: 16px;
    font-weight: bold;
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

#dienstleistungen .accordion i{
    padding-right: 10px;
    color: #385623;
}

#dienstleistungen .active, #dienstleistungen .accordion:hover {
    background-color: #ccc;
}

#dienstleistungen .panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

#dienstleistungen .panel p{
    text-align: justify;
    line-height: 150%;
}

#referenzen #mapid {
    height: 500px;
    z-index: 0;
}

#kontakt, #referenzen{
    padding: 160px 0 50px 0;
    width: 80%;
    margin: 0 auto;
}

#kontakt .company{
    margin: 50px auto 150px 0;
    display: block;
}

#kontakt .company img{
    display: block;
    margin: 0 auto;
    height: 60px;
}

#kontakt .company p{
    text-align: center;
}

#kontakt .mitarbeiter{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 250px 0 50px 0;
}

#kontakt .mitarbeiter .kontakt .marginAuto {
    margin: auto 0 0 0;
}

#kontakt .mitarbeiter .kontakt{
    display: flex;
    flex-direction: column;
    width: 310px;
    border: 2px solid #4e4d4d;
    padding: 20px 40px;
}

#kontakt .mitarbeiter .kontakt img{
    display: block;
    width: 70%;
    margin: -60% auto 25px auto;
    border: 7px solid white;
}

#kontakt .mitarbeiter .kontakt h4{
    font-size: 26px;
    margin: 20px 0;
}

#kontakt .mitarbeiter .kontakt div{
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

#kontakt .mitarbeiter .kontakt div .line{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
}

#kontakt .mitarbeiter .kontakt .contact-data{
    max-width: 230px;
}

#kontakt .mitarbeiter .kontakt div span, #kontakt .mitarbeiter .kontakt div li{
     font-size: 14px;
}

#kontakt .mitarbeiter .kontakt div li{
    font-weight: bold;
    margin-left: 10px;
    padding: 2px 0;
}

#kontakt .mitarbeiter .kontakt button{
    border: 3px solid #385623;
    padding: 8px 3px;
    display: block;
    margin: 10px 0 0 0;
    color: #385623;
    background: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#kontakt .mitarbeiter .kontakt button:hover{
    background: #385623;
    color: #4e4d4d;
}

#kontakt .mitarbeiter .kontakt button i{
   padding: 0 5px;
}

footer{
    background: #4e4d4d;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
    padding: 50px 5% 5px 5%;
    width: 90%;
}

footer .green{
    color: #385623;
}

footer div {
    display: flex;
    flex-direction: row;
}

footer div span{
    color: white;
    font-size: 25px;
    margin: auto 0;
}

footer div a{
    color: white;
    font-size: 16px;
    margin: auto 5px;
    cursor: pointer;
}

footer .adress span{
    font-size: 18px;
}

footer div .fa-map-marker-alt{
    color: #385623;
    font-size: 40px;
}

#poweredBy{
    background-color: #4e4d4d;
    width: 90%;
    margin: 0;
    padding: 0 5% 20px 5%;
    text-align: left;
}

#poweredBy a{
    color: white;
    text-decoration: none;
    font-size: 12px;
}

#privacy{
    text-align: justify!important;
    padding: 150px 0 70px 0;
    margin: 0 auto;
    width: 80vw;
}

#privacy h1, #privacy h2, #privacy h3, #privacy h4, #privacy h5{
    margin: 40px 0 10px 0;
    text-align: justify;
}

#privacy .smallText{
    font-size: 12px;
    color: #a7a7a7;
}

#privacy .smallText a{
    color: #a7a7a7;
}

@media only screen and (max-width: 800px){
    header nav{
        flex-direction: column;
    }

    header nav #navbar{
        flex-direction: column;
        height: 0;
        display: none;
        transition: height 0.2s;
        padding: 0 0 20px 0;
    }

    header nav div .fa-bars{
        margin: auto 0;
        font-size: 22px;
    }

    header nav div button{
        display: block;
    }

    header nav .full-width{
        margin: 0;
    }

    header nav .full-width img {
        height: 45px;
        padding: 8px 0;
    }

    header nav a {
        padding: 15px 0 8px 0;
    }

    main .image-container img, #dienstleistungen .image-container img {
        width: 90%;
    }

    #home .product-container {
        width: 100%;
    }

    #home .product-container .product {
        margin: 15px auto;
    }

    footer {
        flex-direction: column;
    }

    footer div {
        margin: 10px 0;
        justify-content: center;
    }

    footer div span{
        text-align: center;
    }

    #dienstleistungen .content h2 {
        word-break: break-word;
    }

    #dienstleistungen .content {
        width: 90%;
    }

    #kontakt .company {
        margin: 50px auto 50px 0;
        display: block;
    }

    #kontakt .company img {
        height: auto;
        width: 80%;
    }

    #kontakt .mitarbeiter {
        flex-direction: column;
        margin: 0 0 50px 0;
    }

    #kontakt .mitarbeiter .kontakt {
        margin: 200px 0 0 0;
        width: calc(100% - 40px);
        padding: 20px 20px;
    }

    #kontakt, #referenzen {
        width: 90%;
    }
}
