h1 {
    text-decoration: underline;
    text-align: center;
    font-size: 50px;
    font-family: "lobster", cursive;
    margin: 15px 0px 0px 0px;
}

div h2 {
    text-decoration: underline;
    font-size: 40px;
    position: relative;
    left: 125px;
    margin: 0;
}

hr {
    position: relative;
    margin-top: 30px;
    left: 400px;
    border: 5px solid #424242;
    width: 1200px;
}

#name1 {
    font-size: 35px;
    text-decoration: none;
    margin: 0;
    color: #C26600;
    left: 135px;
}

#name2 {
    font-size: 35px;
    text-decoration: none;
    margin: 0;
    color: #C26600;
    left: 100px;
}

#name3 {
    font-size: 35px;
    text-decoration: none;
    margin: 0;
    color: #C26600;
    left: 120px;
}

.mail {
    left: 100px;
    text-decoration: none;
    font-size: 20px;
    
}

.mail2 {
    left: 110px;
    text-decoration: none;
    font-size: 20px;
}

div a {
    text-decoration: none;
    color: #585858;
}

div p {
    text-align: center;
    margin-left: 50px;
    margin-top: 25px;
    float: left;
    width: 500px;;
    font-size: 25px;
}

.clearfloat {
    clear:both;
}

#khadco {
    width: 1200px;
    height: 400px;
    position: relative;
    left: 400px;
    top: 20px;
    font-family: "lobster", cursive;
}

#khadco img {
    margin: 0;
    border: 8px solid black;
    float: left;
    width: 401px;
    height: 228px;
}

#firemarcel112 {
    width: 1200px;
    height: 400px;
    position: relative;
    left: 400px;
    top: 30px;
    font-family: "lobster", cursive; 
}

#firemarcel112 img {
    border: 8px solid black;
    float: left;
    width: 401px;
    height: 228px;
}

#tim2060 {
    width: 1200px;
    height: 400px;
    position: relative;
    left: 400px;
    top: 30px;
    font-family: "lobster", cursive; 
}

#tim2060 img {
    border: 8px solid black;
    float: left;
    width: 401px;
    height: 228px;
}


#personalleitung {
    text-decoration: underline;
    font-size: 40px;
    position: relative;
    left: 65px;
    margin: 0;
}

#buchhaltung {
    width: 1200px;
    height: 400px;
    position: relative;
    left: 400px;
    top: 30px;
    font-family: "lobster", cursive; 
}

#buchhaltungh2 {
    left: 105px;
}

#buchhaltung img {
    border: 8px solid black;
    float: left;
    width: 401px
}

footer {
    margin-top: 10% !important;
}

/* 2100px ausgelassen keine Änderung */

@media (max-width: 1260px) {

    h1 {
        width: 1260px;
    }

    #khadco, #firemarcel112, #tim2060, #buchhaltung {
        left: 200px;
    }

    hr {
        margin-top: 30px;
        left: 150px;
        width: 1000px;
    }
}

@media (max-width: 1024px) {

    h1 {
        width: 1024px;
    }

    #khadco, #firemarcel112, #tim2060, #buchhaltung {
        left: 10px;
        width: 980px;
    }

    hr {
        margin-top: 30px;
        left: 50px;
        width: 900px;
    }

}

@media (max-width: 800px) {

    h1 {
        width: 800px;
    }

    #khadco, #firemarcel112, #tim2060, #buchhaltung {
        left: 10px;
        top: 10px;
        bottom: 10px;
    }

    div p {
        width: 250px;
        margin-top: 0px;
    }

    #tim2060 {
        margin-bottom: 100px;
    }

    #tim2060 p {
        margin-top: -18px;
    }

    hr {
        margin-top: 30px;
        left: 50px;
        width: 650px;
    }
}

@media (max-width: 720px) {

    h1 {
        width: 720px;
    }

    div img {
        width: 300px !important;
        height: 200px !important;
    }

    div h2 {
        left: 80px;
    }

    .mail {
        left: 55px;
    }

    .mail2 {
        left: 70px;
    }

    #personalleitung {
        left: 32px;
    }

    #buchhaltungh2 {
        left: 55px;
    }

    #name1 {
        left: 88px;
    }

    #name2 {
        left: 58px;
    }

    #name3 {
        left: 80px;
    }

    hr {
        width: 600px;
    }
}

@media (max-width: 415px) {

    h1 {
        width: 415px;
        font-size: 30px;
    }

    /* Khadco */
    #khadco {
        width: 200px;
    }

    #khadco h2 {
        left: 125px;
    }

    #khadco #name1 {
        left: 128px;
    }

    #khadco .mail {
        left: 100px;
    }

    #khadco img {
        position: relative;
        left: 35px;
    }

    #khadco p {
        position: relative;
        top: 10px;
        width: 325px;
        left: -20px;
    }
    /* Khadco */

    /* Firemarcel112 */
    #firemarcel112 {
        width: 200px;
    }

    #firemarcel112 h2 {
        left: 125px;
    }

    #firemarcel112 #name2 {
        left: 98px;
    }

    #firemarcel112 .mail {
        left: 100px;
    }

    #firemarcel112 img {
        position: relative;
        left: 35px;
    }

    #firemarcel112 p {
        position: relative;
        top: 10px;
        width: 325px;
        left: -20px;
    }
    /* Firemarcel112 */

    /* Tim2060 */
    #tim2060 {
        width: 200px;
    }

    #tim2060 h2 {
        left: 70px;
    }

    #tim2060 #name3 {
        left: 120px;
    }

    #tim2060 .mail2 {
        left: 110px;
    }

    #tim2060 img {
        position: relative;
        left: 35px;
    }

    #tim2060 p {
        position: relative;
        top: 30px;
        width: 325px;
        left: -20px;
    }
    /* Tim2060 */

    /* Buchhaltung */
    #buchhalteung {
        width: 200px;
    }

    #buchhaltung h2 {
        left: 125px;
    }

    #buchhaltung #buchhaltungh2 {
        display: none;
        left: 98px;
    }

    #buchhaltung .mail {
        left: 100px;
    }

    #buchhaltung img {
        position: relative;
        top: 30px;
        left: -400px;
    }

    #buchhaltung p {
        position: relative;
        top: -5px;
        width: 325px;
        left: -30px;
    }
    /* Buchhaltung */

    hr {
        float: left;
        width: 416px;
    }
}

@media (max-width: 361px) {

    h1 {
        width: 361px;
        font-size: 25px;
    }

    /* Khadco */
    #khadco h2 {
        left: 100px;
    }

    #khadco #name1 {
        left: 110px;
    }

    #khadco .mail {
        left: 80px;
    }

    #khadco img {
        left: 10px;
    }

    #khadco p {
        left: -50px;
        font-size: 20px;
    }
    /* Khadco */

    /* Firemarcel112 */
   #firemarcel112 h2 {
        left: 100px;
    }

    #firemarcel112 #name2 {
        left: 80px;
    }

    #firemarcel112 .mail {
        left: 80px;
    }

    #firemarcel112 img {
        left: 10px;
    }

    #firemarcel112 p {
        left: -45px;
        font-size: 20px;
    }
    /* Firemarcel112 */

    /* Tim2060 */
    #tim2060 h2 {
        left: 40px;
    }

    #tim2060 #name3 {
        left: 100px;
    }

    #tim2060 .mail2 {
        left: 90px;
    }

    #tim2060 img {
        left: 10px;
    }

    #tim2060 p {
        left: -45px;
        font-size: 20px;
    }
    /* Tim2060 */

    /* Buchhaltung */
    #buchhaltung h2 {
        left: 100px;
    }

    #buchhaltung #buchhaltungh2 {
        display: none;
        left: 50px;
    }

    #buchhaltung .mail {
        left: 100px;
    }

    #buchhaltung img {
        left: -305px;
    }

    #buchhaltung p {
        top: -15px;
        left: -50px;
    }
    /* Buchhaltung */

    hr {
        margin-top: 40px;
        left: 25px;
        width: 300px;
        float: left;
    }
}