@media only screen
and (device-width : 414px)
and (device-height : 736px)
and (-webkit-device-pixel-ratio : 3),
(max-width: 899px){

    * {
    }

    #maindiv {
        background-image: none;
    }

    /* header */

    #header {
        width: 100%;
        font-size: 0.55em;
        margin-top: 0;
        white-space: nowrap;
    }

    #header-adress {
        display: none;
    }

    #header-adress-mobile {
        display: initial;
    }

    #headertop{
        font-size: 3em;
    }

    #mailto {
        display: none;
    }

    #headerbottom {
    }

    .headericon {
        width: auto;
        margin-right: 0.5em;
    }
    
    #phone-icon {
    	margin-right: 0;
    }

    #header img {
        height: 4em;
    }

    #contentdiv {
        padding-bottom: 0;
        padding-top: 0;
    }

    .content-div {
        margin-top: 3em;
    }

    /* menu */

    #menu {
        margin-top: 1.5em;
        height: 2em;
        width: 100%;
        justify-content: center;
        font-weight: 500;
    }

    #menu ul{
        font-size: 0.62em;
        width: 100%;
        justify-content: center;
        height: 100%;
    }

    #menu a {
        line-height: 1;
        height: auto;
        padding-left: 6px;
        padding-right: 6px;
        flex-grow: 1;
    }

    #menu li {
        padding: 0;
        align-items: center;
        flex:1;
    }

    .menu-item {
        margin: 0;
    }

    .menu-item ul {
    }

    /* about */


    #about {
        display: inline-block;
        margin-top: 30px;
        width: 100%;
        font-size: 0.9em;
        height: auto;
    }

    #about-image {
        display: inline-block;
        width: 100%;
        height: auto;
    }

    #about-image img{
        position: relative;
        width: 100%;
    }

    #about-text-content {
        display: initial;
    }

    #about-text-wrapper {
        margin: 2em;
    }


    /* about ritter */

    #about-ritter {
        font-size: 0.9em;
        flex-direction: column;
    }

    #about-ritter-content {
        flex-direction: column-reverse;
    }

    #about-ritter-image img{
        width: 100%;
        display: none;
    }

    #about-ritter-text-wrapper {
        margin: 2em;
    }

    /* services */

    #service1 {
        flex-direction: column;
        font-size: 0.9em;
    }

    #service1-header {
        margin: 2em 2em 0;
    }

    #service1-content {
        flex-direction: column;
    }

    #service1-image {
        width: 100%;
        padding-top: 2em;
        padding-right: 0;
        padding-bottom: 2em;
        margin: 0;
    }

    #service1-image img {
        width: 50%;
        margin-left: 2em;
        padding: 0;
    }

    #service1-text-wrapper {
        margin: 0 2em 2em ;
    }

    /* vita */



    #vita {
        font-size: 0.9em;
    }

    #vita-image {
        width: 30%;
    }

    #vita-image img{
        height: initial;
        width: 100%;
    }

    #vita-text {
        width: 70%;
    }

    #vita-table-wrapper {

    }

    #vita-table {
    }

    #vita-table td{
        padding: 0.6em;
    }


    /* goethe */

    #goethe {
        flex-direction: column;
        font-size: 0.9em;
    }

    #goethe-header {
        margin: 2em 2em 0;
    }

    #goethe-content {
        flex-direction: column;
    }

    #goethe-image {
        width: 100%;
        padding-top: 2em;
        padding-right: 0;
        padding-bottom: 2em;
        margin: 0;
    }

    #goethe-image img {
        padding: 2em;
    }

    #goethe-text-wrapper {
        marsgin: 0 2em 2em ;
    }

/* contact */

    #contact {
        font-size: 0.9em;
        flex-direction: column;
        background-size: 100%;
        height: 10em;
    }

    #contact-image {
        display: none;
        width: 100%;
    }

    #contact-image img {
        width: 100%;
    }

    #contact-text1 {
        margin-top: 15px;
        margin-left: 2em;
    }

    #contact-text2 {
        display: none;
    }

    #contact-addition {
        width: 100%;
        display: inline-block;
        font-size: 0.9em;
        background-color: rgba(255, 255, 255, 0.75);
    }

    #contact-addition p{
        margin: 2em;
    }

    #contact-addition img {
        width: 15px;
        margin-bottom: -4px;
    }

    #adress {
        display: none;
    }

    #footer {
        font-size: 0.9em;
        padding-bottom: 0;
    }

    #myCookieConsent {
        font-size: 0.8em;
    }
}
