body {
    margin: 0;
    padding-bottom: 150px;
}

header {
    background-color: red;
    padding: 16px;
    font-size: 2.5rem;
    color: white
}

nav {
    padding: 16px;
}

nav button {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    font-size: 20px;
}

nav button.active {
    border-color: #b79f9f;
    background-color: #b79f9f;
}

ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 20px;
}

ul li {
    list-style-type: none;
    background-color: #f2f2f2;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

ul li img {
    display: block;
    width: 100%;
}

ul li.hidden {
    display: none;
}


dialog {
    width: 80vw;
    background-color: unset;
    border: none;
}

dialog .close {
    background: #f2f2f2 url("./icons/close.svg") no-repeat center center;
    border-radius: 50%;
    overflow: hidden;
    border: 0;
    font-size: 42px;
    color: transparent;
    padding: 0;
    height: 64px;
    width: 64px;
    margin-bottom: 1rem;
}


dialog article {
    border-radius: 16px;
    padding: 1rem;

    /* width: 80vw;
    height: 80vw; */
    min-height: 100vh;
    background-color: white;
}

dialog iframe {
    width: 100%;
}

dialog iframe.spill {
    aspect-ratio: 4 / 3;
}

dialog iframe.video {
    aspect-ratio: 16 / 9;
}

dialog::backdrop {
  background-color: black;
  opacity: 0.85;
}


@media (min-width: 400px) {
    ul {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 850px) {
    ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

#ape {
    font-size: 100px;
}

#ape::before {
    content: '🐵';
}

#ape.aktiv::before {
    content: '🐒';
    
}
