html {
    height: 100%;
}

#notSupportedBrowser {
    display: block;
    position: fixed;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    border: 1px solid rgb(150, 150, 150);
    z-index: 1000;
    background-color: white;
}
#notSupportedBrowser h1, #notSupportedBrowser h3 {
    text-align: center;
}
#popupBackground {
    display: block;
    background-color: rgb(88, 88, 88);
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 100;
}

@supports (display: grid) {
    #notSupportedBrowser {
        display: none;
    }
    #popupBackground {
        display: none;
        background-color: rgba(0, 0, 0, 0.05);
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        z-index: 9;
    }
}

body {
    /* background-color: rgba(0, 0, 0, 0.041); */
    /* background-color: #ff97151a; */
    background-color: #ff971514;
    margin: 0; padding: 0;
    font-family: 'Barlow', serif;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#logo {
    position: fixed;
    left: 50%;
    top: 0.5em;
    transform: translateX(-50%);
    width: 200px;
    cursor: pointer;
}
#midtdeler {
    position: fixed;
    left: 50%;
    top: 150px;
    transform: translateX(-50%);
    height: 100%;
    z-index: -100;
    border-right: 1px solid #000000e0;

}
h1 {
    text-align: center;
    font-size: 3em;
}
#bestillingKjokken h1 {
    margin-right: 0.5em;
}
#ferdigeBestillinger h1 {
    margin-left: 0.5em;
}
#bestillingKjokken {
    padding: 1em;
}
#ferdigeBestillinger {
    padding: 1em;
}
.bestillingsdiv {
    text-align: center;
}
.bestilling {
    display: inline-block;
    padding: 0.2em;
    margin: 0.5em;
    font-size: 3em;
    text-align: center;
    min-width: 1em;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 8px 8px -6px black;
}
#ferdigBestillingDiv .bestilling {
    background-color: #92f975;
    font-size: 4em;
}

#beskjed {
    position: fixed;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    min-height: 1em;
    font-size: 2em;
    border: 1px solid rgba(0, 0, 0, 0.4);
    padding: 1em;
    background-color: white;
    text-align: center;
    display: none;
}

#nointernetimg {
    display: none;
    width: 2em;
    position: absolute;
    right: 2em;
    bottom: 1.5em;
    opacity: 0.7;
}

@media (min-width: 500px) and (max-width: 959px){
    h1 {
        font-size: 1.7em;
    }
    #logo {
        width: 80px;
        top: 2em;
    }
    .bestilling {
        font-size: 2em;
    }
    #ferdigBestillingDiv .bestilling {
        font-size: 3em;
    }
    #midtdeler {
        top: 105px
    }

}
@media (min-width: 960px) and (max-width: 1069px){
    h1 {
        font-size: 2em;
    }
}
@media (min-width: 1070px) and (max-width: 1300px){
    h1 {
        font-size: 2.5em;
    }
}
@media only screen and (min-width: 1070px){
    .bestilling {
        font-size: 3em;
    }
}
@media (min-width: 900px) and (max-width: 1400px){
    #logo {
        width: 150px;
        top: 2em;
    }
}
@media only screen and (min-width: 1400px){
    #logo {
        width: 200px;
        top: 2em;
    }
    #ferdigeBestillinger, #bestillingKjokken {
        padding: 0em 3em;
    }
}