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

div {
    display: contents;
}

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


.main {
    background-image: url("Timeline.png");
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    align-content: center;
    font-family: var(--font1);
    font-weight: bold;
    height: 100%;
    width: 100%;
    margin-top: 2rem;
}

h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 2rem;
    padding: 1rem;
    color: var(--dunkelgruen);
    margin: 0.6rem;
}

.imageblocks {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#BG {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    margin: 3rem;
    margin-left: -1rem;
    /* border-radius: 8px; */
    box-shadow: rgb(124, 122, 122) 10px 10px 30px;
    z-index: -5;
}

#form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-self: end;
    font-size: 1.3rem;
    /* border-radius: 5px; */
    background-color: var(--dunkelgruen);
    padding: 20px;
    /* box-shadow: rgb(124, 122, 122) 10px 10px 30px; */
    width: 30%;
    margin-bottom: -8rem;
    margin-right: 15rem;
    /* border: black solid; */
}

#address {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    padding: 1%;
}

#strasse {
    padding-right: 2rem;
}

#email {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    padding: 2%;
}

#mail {
    padding-right: 2rem;
    padding-left: 0.5rem;
}

#icon {
    display: flex;
    justify-content: center;
    align-self: center;
    color: var(--gelbgelb);
    /* height: 5rem; */
    /* width: auto; */
    padding: 2%;
}

#tel {
    padding-left: 0.8rem;
}

#phonenumber {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 100%;
    padding: 2%;
    padding-right: 2rem;

}

#yourmonitor {
    display: none;
}



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


@media (min-width: 2500px) {
    #form {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-self: end;
        font-size: 1.3rem;
        border-radius: 5px;
        background-color: var(--dunkelgruen);
        padding: 20px;
        box-shadow: rgb(124, 122, 122) 10px 10px 30px;
        width: 25%;
        margin-bottom: -8rem;
        margin-right: 25rem;
        /* border: black solid; */
    }
}

@media (max-width: 1600px) {}

@media (max-width: 1057px) {

    .main {
        background-image: url("Timeline.png");
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        font-family: var(--font1);
        font-weight: bold;
        height: 100%;
        width: 100%;
        margin-top: 0.1rem;
    }

    h2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 1.2rem;
        padding: 1rem;
        color: var(--dunkelgruen);
        margin: 0.6rem;
    }

    #form {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-self: center;
        font-size: 1.1rem;
        /* border-radius: 5px; */
        background-color: var(--dunkelgruen);
        padding: 10px;
        /* box-shadow: rgb(124, 122, 122) 5px 5px 20px; */
        width: fit-content;
        margin-bottom: -2rem;
        margin-right: 0rem;
        /* border: black solid; */
    }

    #BG {
        display: flex;
        flex-wrap: wrap;
        width: 95%;
        margin: 0.3rem;
        /* border-radius: 8px; */
        box-shadow: rgb(124, 122, 122) 10px 10px 30px;
        z-index: -5;
    }

}

@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: 3rem;
    }

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

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

    h2 {
        display: none;
    }

    .imageblocks {
        display: none;
    }

    footer {
        display: none;
    }
}