body {
    font-family: Georgia, serif;
    margin: 0;
}

#forret {
    position: relative;
}

h1 {
    font-family: 'Amatic SC', cursive;
    font-size: 4vw;
}

h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 2vw;
    margin-top: 0px;
}

p {
    font-size: 1vw;
}

h3,
p,
h4,
h5,
h6 {
    padding-left: 5px;
}

h5,
h6 {
    height: auto;
    margin: 0px;
}

h6 {
    background-image: url(img/vegetarian-mark.svg);
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 100%;
    background-position: 25%;
}

#billedecontainer {
    height: 14vw;
    width: auto;
    overflow: hidden;
    position: relative;
}

#udsolgtbillede {
    position: absolute;
    height: 14vw;
    width: 40vw;
    background-color: darkgrey;
    opacity: 0.7;
    visibility: hidden;
}

.top_btn {
    background: #DE0000;
    padding: 5px 10px;
    border-radius: 2px;
    border: none;
    color: white;
    font-size: 14px;
    font-family: serif;
    text-decoration: none;
    vertical-align: middle;
    width: 15vw;
    box-shadow: 3px 3px 2px #888888;
}

.top_btn:hover {
    box-shadow: 1px 1px 2px #888888;
}

button:focus {
    outline: none;
}

.elementToFadeOut {
    opacity: 1;
    animation: fadeOut 1s linear forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

.elementToFadeIn {
    opacity: 1;
    animation: fadeIn 1s linear forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

.items {
    position: relative;
}

.align_container {
    display: grid;
    justify-content: center;
    background-color: #c7b299;
}

.mad-ret_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
    width: 90vw;
}

img {
    width: 100%;
}

article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #534741;
    color: whitesmoke;
}

article > button {
    margin-top: 5px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    height: 40px;
    border: 1px #d9d9d9 solid;
    align-self: center;
    font-size: 140%;
    font-family: 'Amatic SC', cursive;
    cursor: pointer;
}

.modal_window {
    display: grid;
    justify-content: center;
    align-content: center;
    position: fixed;
    background-color: rgba(0, 0, 0, .8);
    width: 100vw;
    height: 100vh;
    visibility: hidden;
    z-index: 10000;
}

.modal_window section {
    background-color: white;
    border-radius: 8px;
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
}

.modal_window button {
    align-self: flex-end;
    height: 4vw;
    width: 4vw;
    border-radius: 90px;
    background-color: black;
    color: white;
    border-style: none;
    font-size: 2vw;
}

.modal_window button:hover {
    background-color: white;
    color: black;
    border-style: none;
    font-size: 2vw;
    cursor: pointer;
}

.modal_window h1 {
    margin: 2px 0 2px 0;
}

.modal_img {
    height: 30vw;
    overflow: hidden;
}


/* --- Go-to-top button --- */

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 5;
    border: none;
    outline: none;
    background-color: red;
    color: #ffffff;
    cursor: pointer;
    padding: 20px;
    border-radius: 90px;
    font-size: 2vw;
}

#myBtn:hover {
    background-color: #555;
    /* Add a dark-grey background on hover */
}


/* --- Media Queries --- */

@media screen and (max-width: 850px) {
    #logo {
        left: 14vw;
        top: 40vw;
        z-index: 4;
    }
    #knap {
        left: 26vw;
        top: 80vw;
        width: 160px;
        height: 50px;
        font-size: 30px;
    }
    .retter-link {
        height: 20vh;
        font-size: 70px;
    }
    #retter {
        width: 100vw;
        height: 100vh;
        grid-template-columns: 1fr;
        grid-template-areas: "forret" "hovedret" "sideorder" "drikke" "dessert";
        display: block;
    }
    #alex,
    #ske,
    #hovede,
    #putin,
    #velkommen {
        display: none;
    }
    .mad-ret_container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 10vw;
    }
    #billedecontainer {
        height: 20vh;
    }
    h3 {
        font-size: 8vw;
    }
    #myBtn {
        font-size: 5vw;
    }
    p {
        font-size: 3vw;
    }
    #dukke,
    #stalin,
    #trololo,
    #vodka,
    #hat {
        display: none;
    }
    .modal_window section {
        width: 90vw;
        height: auto;
        min-height: 60vh;
    }
    .modal_img {
        height: 100%;
        min-height: 30vw;
        overflow: hidden;
    }
    .modal_window button {
        font-size: 5vw;
        width: 10vw;
        height: 10vw;
    }
}
