html,
body {
    display: contents;
    min-height: 100vh;
    min-width: 100%;
    padding: 0%;
    margin: 0%;
    background: white;
    /* border: black solid; */
}

div {
    display: contents;
}

/* ---------------main------------------ */

.main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    align-content: center;
    font-family: var(--font1);
    font-weight: bold;
    margin: 1rem;
}

#fotobox{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

h2{
    display: flex;
    flex-wrap: wrap;
    justify-self: center;
    align-content: start;
    font-size: 3rem;
    padding: 3rem;
    padding-top: 5rem;
    color: var(--dunkelgruen);
    margin: 0.6rem;
}

#foto {
    display: flex;
    width: auto;
    margin: 3rem;
    /* border-radius: 8px; */
    box-shadow: rgb(124, 122, 122) 5px 5px 20px ;

}

.textbox {
    display: flex;
    flex-direction: column;
    align-content: start;
    width: 50%;
    font-size: 1.3rem;
    line-height: 1.3;
    /* border-radius: 8px; */
    background-color: var(--hellgruen);
    padding: 20px;
    margin: 2rem;
    margin-right: 29rem;
    margin-top: -20rem;
    box-shadow: rgb(124, 122, 122) 5px 5px 20px ;
    /* border: black solid; */
}



p {
    margin: 0.6rem;
}


#yourmonitor {
    display: none;
}


/* ---------------mediaquery------------------ */


@media only screen and (min-width: 2500px) {

}

@media (max-width: 1600px) {

    .main {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        justify-content: center;
        align-content: start;
        font-family: var(--font1);
        font-weight: bold;
        margin: 0;
    }

    h2{
        display: flex;
        flex-wrap: wrap;
        justify-self: end;
        align-content: start;
        font-size: 3rem;
        padding: 2rem;
        padding-top: 5rem;
        color: var(--dunkelgruen);
        margin: 0rem;
        line-height: 1;
    }


    .textbox {
        display: flex;
        flex-direction: column;
        align-content: start;
        width: 50%;
        font-size: 1.3rem;
        line-height: 1.3;
        /* border-radius: 8px; */
        background-color: var(--hellgruen);
        padding: 20px;
        margin: 2rem;
        margin-right: 29rem;
        margin-top: -15rem;
        box-shadow: rgb(124, 122, 122) 5px 5px 20px ;
        /* border: black solid; */
    }
}

@media (max-width: 1190px) {

    .smallscreen {
        display: none;
    }

    .main {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
        align-content: start;        
        font-family: var(--font1);
        margin: 1rem;
    }

    #person {
        display: flex;
        flex-direction: column;
        justify-items: start;
        align-items: center;
        max-width: 100%;
    }

    #fotobox{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    h2{
        display: flex;
        flex-wrap: wrap;
        justify-self: end;
        align-content: start;
        font-size: 2rem;
        padding-top: 2rem;
        color: var(--dunkelgruen);
        margin: 0rem;
        line-height: 1;
    }

    #foto {
        display: flex;
        width: 60%;
        height: auto;
        margin: 1em;
        /* border-radius: 8px; */
        box-shadow: rgb(124, 122, 122) 5px 5px 20px ;
    
    }

    .textbox {       
        display: flex;
        width: 80%;
        height: 100%;
        flex-direction: column;
        font-size: 1.3rem;
        line-height: 1.3;
        /* border-radius: 8px; */
        background-color: var(--hellgruen);
        padding: 20px;
        margin-top: -2rem;
        margin-right: 2rem;
        box-shadow: rgb(124, 122, 122) 5px 5px 20px ;
        /* border: black solid; */
    }

    
}


@media (max-width: 343px) {
    #main {
        display: flex;
        flex-wrap: wrap;
        width: auto;
        height: auto;
        justify-content: center;
    }
    
    .smallscreen {
        display: flex;
        flex-wrap: wrap;
        justify-self: center;
        align-items: center;
        margin: 5rem;
    }

    #yourmonitor {
        display: flex;
        flex-wrap: wrap;
        font-size: 500%;
        line-height: 150%;
    }

    .flex-container-navbar {
        display: none;
    }

    #person {
        display: none;
    }

    footer {
        display: none;
    }
}