
:root {
    --red: #cc0000;
    --blue: #797979;
    --gray: #dedede;
}

html, body {
    font-family: Helvetica,Arial,sans-serif;
    font-size: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    top: 0;                                                                                                                     
    background-color: var(--red);
    color: white;
    position: fixed;
    padding: 20px;
    width: 100vw;
    left: 0;
    margin-top: 0;
}

.header {
    padding: 8px 8vw;
    margin: 82px auto 0;
    font-size: 1.3em;
}

div.content {
    padding: 1vh 8vw;
    background-color: white;
    flex: 1;
}

.content.center {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

img {
    max-width: 100vw;
}

.content.center > img {
    width: 100%;
}

.content.double-row .imgDiv > img:last-child {
    width: 400px;
}

.content.double-column, .double-column {
    display: flex;
    flex-direction: column;-
    justify-content: space-between;
    gap: 3vw;
}

.content.oneOverTwo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.content.center-column, .content.center-double-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content.center-double-row div:nth-child(2) {
    display: flex;
    height: 8em;
    justify-content: end;
    align-items: center;
}

.content.center-double-row div:nth-child(2).yesNo {
    justify-content: space-between;
    margin: 3vh 4vw;
}

.content.center-double-row .imgDiv {
    justify-content: center;
    align-items: center;
}

.content.center-column > img {
    height: 35vh;
    width: 80vw;
    margin: auto;
}

.content.double-row {
    display: flex;
    flex-direction: column;
    height: 80vh;
    align-items: center;
    gap: 12px;
}

.double-row div:nth-child(2) {
    display: flex;
    width: 100%;
    justify-content: end;
}

.col {
    display: flex;
    flex-direction: column;
}

button {
    padding: 10px;
    margin: 0 10px 10px 0;
    background-color: #797979FF;
    color:white;
    border-radius: 20px;
    height: 15vh;
    vertical-align: middle;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 1.5em;
    display: inline-flex;
    align-items: center;
    //justify-content: space-around;
    border: 4px solid #d3d0d0;
    line-height: 1.5em;
}

button.small {
    height: 8vh;
    width: 8vw;
    padding: 0;
    font-size: 1.5em;
}

button.medium {
    height: 4em;
    width: 12em;
}

/* LAYOUT */
div.content > img,  #mbImage.imgDiv > img {
    margin-right: 1vw;
    border: 2px solid var(--blue);
    border-radius: 15px;
    height: 30vh;
}

div#map {
    height: 60vh;
    border-radius: 15px;
    border: 2px solid var(--blue);
}

/* TABLE */

table {
    width: 100%;
    height: 60vh;
    font-size: 100%;
}

td:first-child {
    background-color: var(--red);
    color: white;
}

td {
    padding: 1vh;
    background-color: var(--gray);
    border-radius: 5px;
}

img.logo {
   // position: fixed;
   // right: 84vw;
   // bottom: 1vh;
   // width: 16vw;
   // z-index: 5;
}


button img {
    height: 10vh;
}

.imgDiv {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cancel, .yesNo button:nth-child(1) {
    background-image: url("public/keins.png");
    background-size: 2.5em;
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 2.4em;
}

.cancel {
    background-position-y: 0.5em;
}
.content.start > div:nth-child(2) {
    display: flex;
    width: 80dvw;
    justify-content: space-between;
}

.content.start h2 {
    font-size: 2em;
}

#startRightCol {
    display: flex;
    flex-direction: column;
}

#startRightCol > div:nth-child(1) {
    padding: 0 0 15px 0;
}

#startRightCol > div:nth-child(2) {
    background-color: #bdbdbd;
    border: black 2px dashed;
    border-radius: 20px;
    padding: 0 30px 15px;
}

#startRightCol > div:nth-child(2) button {
    margin: 0;
}

#startRightCol > div:nth-child(2) button .label {
    text-align: center;
    margin: auto;
}

.content.contactMap {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 24px;
}

.weiterIcon {
    display: flex;
}

.weiterIcon img {
    height: 3em;
}

.buttonImage img {
    width: 18vw;
    height: 10vh;
}

.logoDiv {
    position: relative;
    bottom: 0;
    height: 10vh;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("public/logo3.png");
}

.label {
    margin-left: 5vw;
    text-wrap: balance;
    text-align: left;
}

.small .label {
    margin: auto;
}

.zipCodes button {
    font-size: 1.2em;
}

.zipCodes button .label {
    margin: auto;
    text-align: center;
}

.double-column #mbImage.imgDiv > img {
    width: 30vw;
}

.yesNo button:nth-child(2) {
    background-image: url("public/tick.png");
    background-repeat: no-repeat;
    background-size: 2.5em;
    background-position: left;
    background-position-x: 2vw;
    padding-left: 2.4em;
}

.yesNo button:nth-child(1) {
    background-position-x: 2vw;
}

.yesNo button .label {
    margin: auto;
}

@media (min-width: 300px) and (max-width: 599px) {
    .content.double-column, .double-column {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 8px;
    }

    button {
        margin: 5px;
        font-size: 1.1em;
    }

    button.small {
        height: 6vh;
        width: 19vw;
        font-size: 1em;
    }

    button.medium {
        font-size: 1.2em;
    }


    h1, .content.start h2 {
        font-size: 1.5em;
    }

    .imgDiv > img {
        width: 250px;
    }

    .content.center-double-row {
        padding-top: 4vh;
    }

    #mbImage.imgDiv > img {
        width: 67vw;
        //transform: scale(1.2);
    }

    table {
        height: 30vh;
        font-size: 0.8em;
        word-break: break-word;
    }
    
    td {
        padding: 5px;
    }

    .header {
        margin: 100px 0 0 0;
    }

    .label {
        margin-left: 3vw;
    }

    .zipCodes {
        display: flex;
        flex-direction: column;
    }
}
@media (min-width: 600px)  {

    button.small {
        height: 10vh;
        width: 16vw;
        font-size: 2em;
    }

    div#map {
        position: relative;
        width: 100%;
        height: 40vh;
    }

    table {
        height: 40vh;
    }

    div.content > img {
       // height: 10vh;
    }

    .content.double-column {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .imgDiv > img {
        width: 45%;
    }

    #mbImage.imgDiv > img {
        width: 100%;
    }

    .imgDiv {
        flex-direction: column;
        align-items: center;
    }
}

.double-row div:nth-child(2).yesNo {
    justify-content: space-around;

    .label {
        margin: auto;
    }
}


@media (max-height: 600px) {
    button {
        height: 20vh;
    }
}


@media (max-width: 1200px){
    .content.start div:nth-child(2) {
        flex-direction: column;
    }
    .content.start :nth-child(2) div {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 768px) {

    button.small {
        height: 10vh;
        width: 3em;
        font-size: 2em;
    }

    #mbImage.imgDiv > img {
        width: 45%;
        height: fit-content;
    }

    .content.center-double-row .imgDiv {
        flex-direction: row;
    }

    .content.center-column > img {
        height: 50vh;
        width: 45vw;
    }

    .content.double-row .imgDiv > img:last-child {
       min-width: 800px;
    }

    .double-column {
        display: flex;
        flex-direction: column;
    }

    .content.center img {
        width: 50%;
        height: 60%;
    }

    .imgDiv {
        flex-direction: row;
        justify-content: center;
    }

    .double-column .imgDiv {
        align-items: start;
    }

    #startRightCol > div:nth-child(2) {
        padding: 0 30px 20px;
    }

    #startRightCol > div:nth-child(1) {
        margin-left: 0;
    }

}

@media (min-width: 992px) {
    .imgDiv > img {
        width: 50%;
    }

    .double-column .imgDiv > img {
        width: 20vw;
    }

    .content.center {
        flex-direction: row;
    }

    .content.contactMap {
        display: flex;
        flex-direction: row;
    }

    .double-column {
        display: flex;
        flex-direction: row;
    }

    .logoDiv {
        background-position-x: 24px;
    }

    .buttonImage img {
        width: 8vw;
    }

}

@media (min-width: 1200px) {
    .content.double-column {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    button {
        width: 24vw;
    }

    #startRightCol > div:nth-child(1) {
        padding: 0 30px 15px;
    }

    #startLeftCol button {
        margin-right: 12px;
    }

    .label {
        margin-left: 0.5em;
        text-align: left;
    }

    .imgDiv {
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }

    .imgDiv > img {
        width: 30vw;
    }

    .center-double-row button.medium .label {
        margin-left: 3vw;
    }
}