/* General body styling */
body {
    font-family: 'IBM Plex Mono', monospace;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
}

.content {
    padding: 70px;
}

h1 {
    font-size: 3em;
    font-weight: 300;
    padding: 0;
    line-height: 60px;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

span.emoji {
    font-size: 6em;
    margin-right: 10px;
}

span.dashed-underline {
    font-weight: 500;
    border-bottom: 3px dashed #979797;
    display: inline;
    padding: 0 5px;
    color: #F90000;
}

.stats {
    margin-bottom: 32px;
}


#photoGallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.card {
    position: relative;
    width: 320px;
    height: 527px;
    background-color: #000;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.card .circle {
    position: absolute;
    top: 16px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 2;
    border: 2px solid #000;
}

.card .inner-card {
    width: 288px;
    height: 449px;
    margin-top: 40px;
    padding: 16px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card .inner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.card .hover-date {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 3;
}

.card:hover .hover-date {
    transform: translate(-50%, -50%);
    opacity: 1;
}


.caption {
    text-align: center;
}

@media only screen and (max-width: 428px) {
    body {
        font-size: 12px;
    }

    .content {
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    span.dashed-underline {
        border-bottom: 2px dashed #979797;
        font-weight: 500;
    }

    #cardGrid {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .card {
        width: 100%;
        height: auto;
    }

    .card .inner-card {
        width: 100%;
        height: auto;
    }

    .card img {
        display: block;
        width: 100%;
        height: auto;
    }

    span.dashed-underline {
        font-size: 14px;
        line-height: 1.2;
    }
}
