@import url(https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css);
:root {
    --darkred: rgb(117, 1, 1);
    --red: rgb(185, 2, 2);
}

a, p, h1, h2, h3{
    color: white;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}
h1 {
    font-size: 3rem;
}
main h1, main p {
    margin: 1rem;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, header ul, footer {
    background-color: var(--darkred);
    height: 80px;
}
header ul, footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: auto;
}
main {
    flex: 1 1 0;
    background-color: var(--red);
}

.images input, .lightbox {
    display: none;
}

.images {
    display: flex;
    justify-content: center;
    padding: 0 1rem 0 1rem;
}

.images ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.images img {
    padding: .5rem;
    background-color: white;
    box-shadow: 0 0 5px black;
}
label {
    display: block;
}

li:has(input:checked) .lightbox  {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;

    background-color: rgba(0, 0, 0, 0.5);
}
.lightbox img {
    max-width: 75vw;
    max-height: 75vh;
}