@media screen and (max-device-width: 767px) {
    #magentinchen, #magento, #mql, #python{
        max-width: 550px;
        padding: 5px;
    }
    body {
        line-height: 1.7em;
    }
    h1 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    h2 {
        font-size: 1.3em;
        line-height: 1.3em;
    }

    h3 {
        font-size: 1em;
        line-height: 1.5em;
    }
    img.profile {
        float: none !important; /* bewirkt Umbruch */
    }
    img.cpp {
        width: 80px  !important;
        top: -22px  !important;
        right: -9px  !important;
    }

    .certificate figure {
         float: none !important;
         max-width: 100% !important;
     }
}
@media screen and (min-device-width: 768px) and (max-device-width: 979px) {
    #magentinchen, #magento, #mql, #python{
        max-width: 730px;
        padding: 30px;
    }
    body {
        line-height: 1.5em;
    }
    h1 {
        font-size: 1.6em;
        line-height: 1.4em;
    }

    h2 {
        font-size: 1.3em;
        line-height: 1em;
    }

    h3 {
        font-size: 1em;
        line-height: 1.5em;
    }
}
@media screen and (min-device-width: 980px) {
    #magentinchen, #magento, #mql, #python{
        max-width: 770px;
        padding: 50px;
    }
    body {
        line-height: 1.5em;
    }
    h1 {
        font-size: 1.6em;
        line-height: 1.8em;
    }

    h2 {
        font-size: 1.4em;
        line-height: 1.3em;
    }

    h3 {
        font-size: 1.2em;
        line-height: 1.5em;
    }
}


body {
    color: #333;
    font-size: 0.9em;
    font-family: Helvetica, sans-serif;
}

h3 {
    padding-top: 5px;
    padding-bottom: 0px;
}

code {
    font-size: 1.1em;
}

a {
    color: coral;
    text-decoration: none;
}

a:hover {
    color: red;
}

p {

}

pre {
    margin: 0;
}

figure {
    margin: 0;
}

#mql figure img {
    max-width: 100% !important;
}

#magentinchen, #magento, #mql, #python {
    margin: 0 auto;
}

header:not(.LI-row), footer:not(.LI-row), .box, .box2 {
    display: block;
    border: 1px solid #ddd;
    padding: 15px;
}

header:not(.LI-row) {
    min-height: 235px;
    position: relative;
}

code {
    display: block;
    border: 1px solid silver;
    background-color: #f4f4f4;
    padding: 5px 10px;
    white-space: pre-line;
    overflow: auto;
    margin-bottom: 32px;
}

.box {
     min-height: 100px;
     margin-top: 50px;
 }

.box2 {
    width: 40%;
    min-height: 250px;
    margin-top: 50px;
}

nav {
    display: block;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 25px 0 0 0 !important;
    text-align: center;
    line-height: 2.0em;
}

footer:not(.LI-row) {
     margin-top: 50px;
     text-align: center;
}

footer:not(.LI-row) a, nav a {
    padding: 1%;
}

figure {
    text-align: center;
}

figcaption {
    display: inline-block;
    text-align: center;
}

img.profile {
    float: left;
    margin: 10px 20px 10px 10px;
    width: 220px;
}

img.cpp {
    float: left;
    position: absolute;
    top: -30px;
    right: -10px;
}

img.dasauge {
    border:0;
    vertical-align: middle;
}

div.profile {
    display:block;
    margin: 20px 0 0 10px;
}

.text {
    padding: 15px 25px 25px 25px;
}

.certificate {
    padding: 15px 15px 25px 25px;
}
.certificate a figure {
    float: left;
    padding: 1%;
    margin: 0;
    max-width: 30%;
}
.certificate .round img {
    width: 160px;
    margin: 20px;
}
#VeloDeveloper figure img {
    max-width: 98%;
    padding: 1% 0 2% 0;
    margin: 0;
}
#VeloDeveloper {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
#VeloDeveloper.visible {
    display: block !important;
    opacity: 1 !important;
}

.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear:both;
}
