@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');

body {
    /* background: #fefefe; */
    background: #fefefe;
    font-family: 'Gloria Hallelujah', cursive;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background: #fefefe;
    border-bottom: 4px dashed #000;
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
    justify-content: center;
}

.grid img {
    width: auto;
    max-height: 320px;
    cursor: pointer;
    border: 3px solid #000;
    border-radius: 6px;
    background: white;
    box-shadow: 3px 3px 0 #000;
    transition: transform .2s;
}

.grid img:hover {
    transform: scale(1.05);
}

/* Back button */
.back-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2em;
    color: #000000;
    text-decoration: none;
}

/* Dialog */
.dialog {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.76);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.dialog img {
    max-width: 90%;
    max-height: 90%;
    height: 90%;
    border: 5px solid #fff;
}

#close-dialog {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    -webkit-text-stroke: 0.3px black;
    cursor: pointer;
    font-weight: bold;
}

footer {
    font-size: xx-large;
    padding: 5px;
}

.dummy {
    color: #fa9595;
}