html, body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    scroll-behavior: smooth;
}

h1 {
    scroll-margin-top: 1em;
    font-size: 6em;
    text-align: center;
    margin: 0;
    background-color: #5C584F;
}

.heroImg {
    height: 70vh;
    background-image: url(img/headerMobile.jpg);
    background-repeat: no-repeat;
    background-position: center;
    
    background-size: contain;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover; 

    display: flex;
    align-items: center;
    justify-content: center;
}

.heroImg img {
    width: 80%;
}

/* navbar */

.desktopNav {
    display: none;
}

.burger-nav {
    background-color: #333;
    overflow: hidden;
    position: sticky;
    top: 0;
}

.burger-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #5C584F;
    background-color: white;
    padding: 30px 20px;
    cursor: pointer;
    font-size: 3em;
}

.burger-icon {
    margin-right: auto;
}

.burger-menu p {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none; /* Hide the menu */
} 

.nav-list li {
    padding: 25px 20px;
    font-size: 2.5em;
    background-color: white;
}

.nav-list li a {
    color: #5C584F;
    text-decoration: none;
    display: block;
}

/* navbar ende */

/* sanierwerk  */
#sanierwerk {
    background-color: #5C584F;
    color: black;
    font-size: 1.6em;
    padding: 5%;
    scroll-margin-top: 1em;
}

#sanierwerk img {
    width: 90%;
    display: block;
    margin: auto;
}

.desktop {
    display: none;
}

/* vorteile */

#vorteile {
    background-color: #5C584F;
    padding: 1em;
}

#vorteileNav {
    padding: 0.3em 0;
}

.bulletpoint {
    background-color: white;
    border-radius: 150px;
    height: 100%;
    width: 90%;
    margin: 2em auto;
    font-size: 1em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;

}

.bulletText {
    width: 100%;
    font-size: 1em;
}

.bulletIcon {
    text-align: center;
}

.bulletIcon img {
    width: 70%;
}


/* kontakt  */

#kontakt {
    background-color: #5C584F;
    padding: 3em auto;
}

.kontakt {
    background-color: #5C584F;
    font-size: 1.6em;
    width: 80%;
    margin: auto;
    padding: 30px;
}

#kontakt h1 {
    font-size: 12rem;
    margin: 0 auto 0.2em auto;
}

.kontakt a {
    color: black;
}

.googleMaps {
    display: none;
}

/* footer */

footer {
    width: 80%;
    margin: auto;
    font-size: 1em;
}

footer h3 {
    margin-top: 50px;
}

footer a {
    color: black;
}


/* desktop version */
@media (min-width: 600px) {

    h1 {
        font-size: 12rem;
    }
    /* hero img  */
    .heroImg {
        height: 90vh;
    }

    .heroImg img {
        max-height: 80%;
    }
    /* navbar */
    .burger-menu {
        display: none;
    }

    .burger-nav {
        display: none;
    }

    .desktopNav {
        display: block;
        position: sticky;
        top: 0;
    }

    .navDesktop {
        display: flex;
        justify-content: space-around;
        background-color: white;
        align-items: center;
        position: sticky;
        top: 0;
        list-style: none;
    }
    
    .navDesktop li {
        padding: 25px 20px;
        font-size: 2.5em;
        background-color: white;
    }
    
    .navDesktop li a {
        color: black;
        text-decoration: none;
        display: block;
    }

    .navDesktop li {
        border: none;
    }

    /* home */
    #sanierwerk {
        display: flex;
        font-size: 3em;
    }

    .mobile {
        display: none;
    }

    .desktop {
        display: flex;
        width: 50%;
    }

    .desktopHome {
        width: 50%;
        font-size: 0.75em;
    }

    /* vorteile */
    #vorteile {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
    }

    .bulletpoint {
        padding: 20px;
        width: 20%;
        height: 100%;
        display: block;
        text-align: center;
        border-radius: 100px;
        font-size: 1.3em;
    }
    
    .bulletText {
        margin: auto;
        width: 100%;
    }

    .bulletText p {
        text-align: left;
        padding: 20px;
    }
    
    .bulletIcon {
        width: 100%;
        margin: auto; 
    }

    /* kontakt */
    #kontakt {
        display: flex;
        justify-content: space-around;
        margin: auto;
        align-items: center;
        font-size: 1.3em;

    }

    .googleMaps {
        display: block;
        width: 40%;
    }
}