body {
    font-family: 'Hack', monospace, sans-serif;
    margin: 0;
    color: #fff;
    text-align: center;
    
}

a {
    background-color: white;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 480px); /* auto wraps */
    /* grid-template-columns: repeat(auto-fill, 480px); /* auto wraps */
    justify-content: start; /* align to left edge */
}

.box {
    width: 480px;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    background-repeat: no-repeat;
    background-position: center;   /* center the image */
    background-size: 100% auto;    /* fit width, keep aspect ratio */
}
.box[data-href]:hover {
    outline: 24px ridge rgba(255, 255, 255, 0.5);
    outline-offset: -24px; /* negative offset pushes it inward */
}
.link-text {
    background-color: white;
    color: black;       /* make sure it’s readable */
    border-radius: 4px; /* optional: rounded corners */
}

.bg-gradient {
    background: linear-gradient(115deg, #000000, #3d3d3d) !important;
}

.bg-black {
    background: black !important;
}

.bg-esther {
    background-image: url("esther480px.png") !important;
}

.bg-elvengf {
    background-image: url("elvengf480px.png") !important;
}


/* Mobile override */
@media (max-width: 768px) {
    .container {
        display: grid;
        grid-template-columns: 1fr;   /* 1 box per row */
    }

    .box {
        width: 100%;                  /* take full width */
        aspect-ratio: 1 / 1;          /* keep square shape */
        height: auto;                 /* let aspect-ratio handle height */
    }
}