.clearfix {
    clear: both;
}

/* Border Box Trick Start --> für Padding (wird dann nach innen statt nach aussen gerechnet */

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

/* Border Box Trick Ende */

body {
    background-color: rgb(189,184,170);
    font-family: "Amatic SC", sans-serif;
    font-size: 1rem;
}

.wrapper {
    width:100%;
    margin: 0 auto;
}

.mainindex {
    min-height: 600px;
    background-image: url("pictures/sarahbuda.png");
    background-size: cover;
    background-position: center center;
    font-family: 'Amatic SC', cursive;
}

nav {
    width: 100%;
    background-color: rgb(47,46,48);
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav ul li {
    float: left;
    width: 25%;

}

nav ul li a {
    display: inline-block;
    padding: 10px;
    background-color: rgb(47,46,48);
    color: white;
    text-decoration: none;
    width: 100%;
}

nav ul li a:hover{
    background-color: grey;
    width: 100%;
}

nav ul li ul {
    display: none;
    position: absolute;
    width: 100%;
}

nav ul li:hover ul {
    display: block;

}

nav ul li ul li {
    float: none;
}

nav ul li ul li a {
    display: block;
}

.divtext {
    background-color: rgb(189,184,170);
    padding: 40px 30px 20px 30px;
}

span {
    color: deepskyblue;
}

.divmain {
    float: right;
    width: 50%;
    color: rgb(47,46,48);
    padding: 40px;
}

.divmain1 {
    float: right;
    width: 30%;
    color: rgb(47,46,48);
    padding: 40px;
    align-items: flex-end;
}

.spanmain {
    font-family: 'Amatic SC', sans-serif;
    font-size: 4rem;
    color: rgb(47,46,48);
}

.spanmain2 {
    font-size: 2rem;
    color: deepskyblue;
}

.buttonblue {
    background-color: deepskyblue;
    font-family: "Ubuntu", sans-serif;
    font-size: 2rem;
    color: white;
    padding: 10px;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    /*display: inline-block;*/
    /*margin: 20px 0 0 0;*/
}

.buttonblue:hover {
    background-color: rgb(189,184,170);
}

.buttonblue a {
    text-decoration: none;
    color: inherit;
}

.buttonvita {
    background-color: rgb(250,250,250);
    font-family: "Ubuntu", sans-serif;
    font-size: 2rem;
    color: rgb(47,46,48);
    padding: 8px;
    border-radius: 5px;
    border: 2px solid deepskyblue;
    text-decoration: none;
    display: inline-block;
}

.buttonvita:hover {
    border: 2px solid rgb(189,184,170);
}

.break {
    visibility: hidden;
    display: none;
}


.linktext {
    color: deepskyblue;
    text-decoration: none;
}

a.linktext:hover {

    color: inherit;
    background-color: rgb(250,250,250);
}

p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

footer {
    text-align: end;
    margin: 10px;
}

.button1rem {
    font-size: 1rem;
}


.aboutme {
    float: left;
    width: 50%;
}

img {
    max-width: 100%;
    max-height: 100%;
}

table {
    font-family: 'Ubuntu', sans-serif;
    max-width: 50%;
    line-height: 1.5;
}

p.tabletitle {
    display: inline;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 800;
}

ul {
    list-style-type: square;
}


th {
    text-align: left;
    padding: 40px 0 10px 0;
}

td {
    padding: 0 0 10px 0;
}

.tdwidth {
    width: 60%;
}

.tdsmall {
    font-size: 10px;
    color: rgb(47,46,48);
}

.material-icons {
    font-size: 50px;
    margin: 0;
    padding: 0;
}

.material-icons a {
    text-decoration: none;
    color: inherit;
}

.material-icons:hover {
    color: deepskyblue;
}

.h1phone {
    font-family: 'Ubuntu', sans-serif;
}

.flip {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin: 0 20px 0 0;
    padding: 5px;

}





                /* Style the Image Used to Trigger the Modal */
                #myImg {
                    border-radius: 5px;
                    cursor: pointer;
                    transition: 0.3s;
                }

                #myImg:hover {opacity: 0.7;}

                /* The Modal (background) */
                .modal {
                    display: none; /* Hidden by default */
                    position: fixed; /* Stay in place */
                    z-index: 1; /* Sit on top */
                    padding-top: 100px; /* Location of the box */
                    left: 0;
                    top: 0;
                    width: 100%; /* Full width */
                    height: 100%; /* Full height */
                    overflow: auto; /* Enable scroll if needed */
                    background-color: rgb(0,0,0); /* Fallback color */
                    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
                }

                /* Modal Content (Image) */
                .modal-content {
                    margin: auto;
                    display: block;
                }

                /* Caption of Modal Image (Image Text) - Same Width as the Image */
                #caption {
                    margin: auto;
                    display: block;
                    width: 80%;
                    max-width: 700px;
                    text-align: center;
                    color: #ccc;
                    padding: 10px 0;
                    height: 150px;
                }

                /* Add Animation - Zoom in the Modal */
                .modal-content, #caption {
                    -webkit-animation-name: zoom;
                    -webkit-animation-duration: 0.6s;
                    animation-name: zoom;
                    animation-duration: 0.6s;
                }

                @-webkit-keyframes zoom {
                    from {-webkit-transform:scale(0)}
                    to {-webkit-transform:scale(1)}
                }

                @keyframes zoom {
                    from {transform:scale(0)}
                    to {transform:scale(1)}
                }

                /* The Close Button */
                .close {
                    position: absolute;
                    top: 15px;
                    right: 35px;
                    color: #f1f1f1;
                    font-size: 40px;
                    font-weight: bold;
                    transition: 0.3s;
                }

                .close:hover,
                .close:focus {
                    color: #bbb;
                    text-decoration: none;
                    cursor: pointer;
                }



@media screen and (max-width: 930px) {

    .mainindex {
        min-height: 500px;
        background-image: url("pictures/sarahbuda2.png");
        background-size: cover;
        background-position: center center;
        font-family: 'Amatic SC', cursive;
    }

    .break {
        visibility: visible;
        display: block;
    }
}


@media screen and (min-width: 500px) {
    .xing {
        width: 41px;
    }

    .xinglink  {
        margin: 0 ;
        padding: 0;
        background: url('pictures/xinglink.png') no-repeat;
    }

    .xinglink a {
        display: block;

    }

    .xinglink a:hover img{
        visibility: hidden;
    }

    .linkedinlink  {
        margin: 0;
        padding: 0;
        background: url('pictures/linkedinlink.png') no-repeat;
    }

    .linkedinlink a {
        display: block;

    }

    .linkedinlink a:hover img{
        visibility: hidden;
    }


}