#stepone {
    grid-area: stepone;
    padding: 0px;
}

main h1 {
    text-align: center;
    margin: 1rem 0 0 0;
    font-size: 1.5rem;
}

#stepone p {
    margin: 4px;
}

#municipality {
    width: min-content;
    font-size: large;
    margin-top: 1rem;
    padding: 8px 5px;
    display: inline-block;
    box-sizing: border-box;
}

#steptwo {
    grid-area: steptwo;
    margin-bottom: 40px;
}

#steptwo button{
    background-color: white;
    border: solid 1px grey;
    height: 50px;
    font-size: large;
    margin-top: 1rem;
    padding: 12px 20px;
    display: inline-block;
    box-sizing: border-box;
}

#steptwo button:hover {
    color: grey;
}

#steptwo h2 {
    margin: 0px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

#stepthree {
    grid-area: stepthree;
    text-align: justify;
    border: 1px grey;
    border-style: solid;
    background-color: white;
}

#stepthree p {
    width: fit-content;
    margin: 25px;
    padding: 1rem;
}

#roulette {
    grid-area: roulette;
    display: block;
    height: auto;
}

#rouletteImg {
    width: 280px;
}

#dropdown {
    margin-top: 5%;
}

#spinBtn {
    padding: 5px;
    margin: 5px;
}

#spinBtn:hover, #municipality:hover {
    cursor: pointer;
}

#leftContent {
    grid-area: leftContent;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

main {
    text-align: center;
    display: grid;
    grid-template-columns: 5% 45% 35% 5%;
    column-gap: 5%;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: 
    ".  leftContent .           ."
    ".  leftContent stepthree   ."
    ".  leftContent .           ."
    ;
}

#resultDiv {
    margin: auto;
}

/*kort*/
.entry {
    width: 100%;
    margin: auto;
    background-color: white;
    display: grid;
    grid-template-columns:  auto repeat(2, 1fr) 30%;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: 
    "img name name description"
    "img text text text"
    "img rating . address"
    ;
    margin: 2rem 0 1rem 0 ;
    padding: 1rem 1rem 0 1rem;
    border: 1px grey;
    border-style: solid;
}

.locationIcon {
    padding: 1rem 0.5rem 1rem 0;
    float: left;
    width: 1.3rem;
}

.name, .text, .address, .rating, .num_reviews, .description {
    margin-top: 0;
}

.address {
    grid-area: address;
    text-align: start;
    font-size: smaller;
    width: auto;
}

.ratingDiv {
    grid-area: rating;
    width: 2rem;
    display: flex;
    height: 2rem;
    margin-top: 25px;
}

.ratingDiv p {
    margin: 15% 0 0 0;
}

.name{
    grid-area: name;
    text-align: start;
}

.description {
    grid-area: description;
    text-align: right;
}

.img {
    grid-area: img;
    border-style: solid;
    border-width: 1.5px;
    width: 10rem;
    margin: 0 1rem 1rem 0;
}

.text {
    grid-area: text;
    text-align: start;
}

.num_reviews {
    width: auto;
    margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
    main {
        text-align: center;
        display: grid;
        grid-template-columns: 5% 80% 5%;
        column-gap: 5%;
        grid-template-rows: repeat(4, auto);
        grid-template-areas: 
        ".  leftContent ."
        ".  leftContent ."
        ".  leftContent ."
        ".  stepthree   ."
        ;
    }
}
@media screen and (max-width: 700px) {
    #miniNavList {
        grid-area: miniNavList;
    }
    main {
        text-align: center;
        display: grid;
        grid-template-columns: 5% 80% 5%;
        column-gap: 5%;
        grid-template-rows: repeat(5, auto);
        grid-template-areas: 
        "miniNavList    miniNavList miniNavList"
        ".              leftContent ."
        ".              leftContent ."
        ".              leftContent ."
        ".              stepthree   ."
        ;
    }
    #filter {
        position: relative;
        grid-area: filter;
        display: flex;
        flex-direction: column;
    }
    #leftContent {
        grid-area: leftContent;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: repeat(3, auto);
        grid-template-areas: 
        "stepone"
        "roulette"
        "steptwo"
        ;
        gap: 0;
    }
    .entry {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        grid-template-columns:  50% 50%;
        grid-template-rows: repeat(6, auto);
        grid-template-areas: 
        "img img"
        "img img"
        "name description"
        "text text"
        "price ."
        "address ."
        "rating ."
        ;
    }
    .name, .text, .price, .address, .ratingDiv {
        margin-left: 1rem;   
    } 

    .text, .description {
        margin-right: 1rem;
    }

    .ratingDiv {
        margin-bottom: 1rem;
    }

    .img {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
    }
}
@media screen and (max-width: 500px) {
    .entry {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        grid-template-columns:  50% 50%;
        grid-template-rows: repeat(6, auto);
        grid-template-areas: 
        "img img"
        "img img"
        "name description"
        "text text"
        "price ."
        "address ."
        "rating ."
        ;
    }
}