/* MITTE */

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;

    transition: all 1.5s ease-in-out;

    /* background-color: salmon; */
}

#picture-bg {  /* Angaben für Background-Image */
    background: url("../images/Foto_DMDS3.jpg") no-repeat center;
    background-size: cover;
    background-position: top;
    object-fit: cover;
    
    margin: 0;
    padding: 8rem 5% 2rem 10%;
}

#main-einleitung { /* Angaben für transparenten BG */
    background-color: rgb(145, 0, 80, 85%);
    color: white;
    padding: 1.5rem;
}

#main-einleitung:hover { /* Angaben für transparenten BG */
    background-color: rgb(145, 0, 80, 85%);
}

#seitentitel {
    color: white;
}

.main-text__box-content {
    padding: 2rem;
    flex-grow: 0;
    flex-shrink: 1;
    align-self: stretch;
}

.main-text__box-content__ruj {
    background-color: rgb(230,0,126, 10%);
    margin: 0;
}

.main-text__box-content__hamlet {
    background-color: rgb(0,159,227, 10%);
    margin: 1.5rem 0 0 0;
}

.main-text__box-content__ruj-h2 {
    color: rgb(230,0,126);
    margin: 0 0 0.5rem 0;
}

.main-text__box-content__hamlet-h2 {
    color: rgb(0,159,227);
    margin: 0 0 0.5rem 0;
}

.main-text__outro-maps {
    padding: 1rem 0;
}


/* Plakat */

#main-plakat {
    text-align: center;
    padding: 0 2.5rem; 

    flex-grow: 1;
    flex-shrink: 1;

    /* background-color: tomato; */
}

#main-plakat__item {
    height: auto;
    max-width: 100%;
    box-shadow: 4px 4px 10px rgb(70, 70, 70, 80%);

    /* Zentrieren des Plakats */
    text-align: left;
    margin: 0 auto 4rem;

    /* background-color: thistle; */
}


/* --- MEDIA QUERIES --- */

/* Smartphones - Bis zu einer Breite des Viewports von 640px ... wie oben angeführt */

/* Tablet - Ab Viewportbreite von 640px bis 992px... */
@media screen and (min-width: 40rem) and (max-width: 61.99rem) {


}

/* Desktop - Ab Viewportbreite von 992px bis 1200px... */
@media screen and (min-width: 62rem) and (max-width: 74.99rem) {

    main {
        flex-wrap: nowrap;
    }

    .main-text {
        margin: 0 2rem 0 0; /* Abstand zu Plakat */
    
        /* background-color: lightgreen; */
    }

    .main-text__box {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        align-content: flex-start;
    
        /* background-color: lightpink; */
    }

    .main-text__box-content__ruj {
        margin: 0 0.5rem 0 0;
    }
    
    .main-text__box-content__hamlet {
        margin: 0 0 0 0.5rem;
    }

    #main-plakat__item {
        max-width: 35vw;
    }

    button {
        display: none;
    }
}

/* Widescreen - Ab einer Viewportbreite von 1200px ... */
@media screen and (min-width: 75rem) {

    main {
        flex-wrap: nowrap;
    }

    .main-text {
        margin: 0 2rem 0 0; /* Abstand zu Plakat */
    
        /* background-color: lightgreen; */
    }

    .main-text__box {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        align-content: flex-start;
    
        /* background-color: lightpink; */
    }

    .main-text__box-content__ruj {
        margin: 0 0.5rem 0 0;
    }
    
    .main-text__box-content__hamlet {
        margin: 0 0 0 0.5rem;
    }

    #main-plakat__item {
        max-width: 35vw;
    }

    button {
        display: none;
    }
}

/*Test*/