.bewertung{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    width: 100%;
}

.stell1{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    margin-bottom: 5px;
}

.stellbild{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stellplatzbildinnen{
    border-radius: var(--main-border-radius-big);
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
}

.stellmainInfo{
    display: flex;
    flex-direction: column;  
    padding-left: 10px;
}

.stell2{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
    flex-wrap: wrap;
}

.sterne{
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seen{
    display: block;
}

.hidden{
    display: none;
}

.stellplaetze{
    width: fit-content;
}

.stell3 .stell4{
    width: 100%;
    height: fit-content;
}

#bewertung{
    width: 95%;
}

#bewertungen{
    flex-wrap: wrap;
    display: flex;
    gap: 10px;
    flex-grow: 1;
}

.bewertung1{
    display: flex;
    flex-direction: column;
    border: 1px solid var(--main-border-color-ratings);
    border-radius: var(--main-border-radius);
    min-width: 150px;
    width: auto;
    max-width: 35%;
    flex: 1;
}

.bewertungTop{
    display: flex;
    justify-content: space-between;
    padding: 5px;
    flex-direction: column;
}

.under{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bewertungText{
    width: 95%;
    min-height: 50px;
    height: fit-content;
    text-wrap: wrap;
}

.karteoben{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.karteoben>section{
    display: flex;
    align-items: center;
    justify-content: center;
}

.kartemitte{
    display: flex;
    flex-direction: row;
}

.kartelinks .karterechts{
    display: flex;
    flex-direction: column;
    width: 50%;
}

.kartelinks>section>h2{
    text-wrap: wrap;
}

.karteunten{
    width: 100%;
    height: fit-content;
    min-height: 50px;
}

.karteunten>section>p{
    text-wrap-mode: balance;
    text-wrap-mode: balance;
}

.stellplatzkarte{
    background-color: var(--main-background-input);
    border: 1px solid var(--main-border-color);
    border-radius: var(--main-border-radius);
    box-shadow: var(--main-box-shadow);
    height: fit-content;
    margin: 10px 10px 10px 0;
    padding: 10px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    font-size: smaller;
    min-width: fit-content;
    text-wrap: wrap;
}

.newTab {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    gap: 10px;
    max-width: 650px;
    background-color: var(--main-bg-color-karte);
    border-radius: var(--main-border-radius-big);
}

.newTab>section{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.tabs {
    display: flex;
    border-bottom: 2px solid var(--main-border-color);
    margin-bottom: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid var(--main-border-color);
    border-bottom: none;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.tab.active {
    background-color: var(--main-background-karte);
}

.rating-form{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
}

.rating-form>section{
    width: 100%;
}

.ratingStart{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.buttonRating{
    display: flex;
    justify-content: space-between;
}

.stellheader{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.melden{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meldenIcon{
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    cursor: pointer;
}

#contextMenu {
    display: none;
    position: absolute;
    background: var(--main-bg-color-karte);
    border: 1px solid var(--main-border-color);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 1000;
    gap: 12px;
    flex-direction: column;
    border-radius: 12px;
}

#contextMenu button {
    display: block;
    width: 100%;
    padding: 5px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

#contextMenu button:hover {
    background: var(--main-border-color);
    transition: 0.3s;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--main-bg-color-karte);
    padding: 20px;
    border: 1px solid var(--main-border-color);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
}

#popup button {
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#shareButton{
    all: unset;
    display: flex;
    margin-right: var(--main-margin-s);
}

.ShareIcon{
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.stellplatzHeader{
    margin: var(--main-margin-l) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

#reason, #message{
    width: 100%;
    max-width: 800px;
    padding: 0;
    border-radius: 8px;
}

#closeSubmit{
    background-color: var(--dark-red);
    background-image: none;
}

#sendSubmit{
    background-color: var(--main-accent);
    background-image: none;
}

.dialogButtons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.dialogContent{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#grund{
    width: 100%;
}

.heart{
    font-size: 2em;
    cursor: pointer;
    align-items: start;
}

.heart::selection{
    background: none;
    color: var(--main-text-color);
}

.full{
    color: var(--dark-red);
}

.full::selection{
    background: none;
    color: var(--dark-red);
}

.stellplatzButton{
    all: unset;
    cursor: pointer;
    margin-left: var(--main-margin-s);
}

.stellplatzButton:hover{
    background: none;
}

.stellFavorit{
    max-width: 50%;
}

/*Large Desktop, TV, etc.*/
@media screen and (min-width: 1200px){

}

/*Tablet landscape, laptop, Desktop*/
@media screen and (min-width: 992px) and (max-width: 1199px){ 

}

@media screen and (max-width: 1152px) and (min-width: 769px) {
    .bewertung1{
        min-width: 250px;
    }
}

/*Tablet portrait*/
@media screen and (min-width: 767px) and (max-width: 991px) { 

}

/*mobile landscape*/
@media screen and (min-width: 480px) and (max-width: 766px){
    .stellFavorit{
        max-width: 95%;
    }
}

@media screen and (max-width: 479px){
    .bewertung1{
        width: 100%;
        min-width: none;
        max-width: none;
    }
    .stellFavorit{
        max-width: 95%;
    }
}