* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: green;
    color: black;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    position: relative;
    font-size: 16px;
    line-height: 1.25;
    cursor: default;
}

#controls {
    position: fixed;
    top: .5rem;
    right: .5rem;
    display: flex;
    gap: .5rem;
    z-index: 999;
}

select {
    background: green;
    color: black;
    border: 2px dashed black;
    font-size: .9rem;
    padding: .5rem;
    cursor: pointer;
}

#title-label {
    position: fixed;
    top: .5rem;
    left: .5rem;
    background: black;
    color: white;
    padding: .5rem;
    line-height: 1;
    z-index: 999;
    pointer-events: none;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: green;
    border: 2px dashed black;
    border-radius: .5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    padding: .5rem;
    max-width: 300px;
    cursor: pointer;
    transition: top 1s cubic-bezier(.68, -0.55, .27, 1.55),
        left 1s cubic-bezier(.68, -0.55, .27, 1.55),
        transform .6s ease;
}

.content:hover {
    z-index: 50;
    transform: translate(-50%, -50%) scale(1.08) rotate(0deg);
}

.content img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
    mix-blend-mode: multiply;
    display: block;
}

.content a {
    display: block;
    margin-top: .4rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    padding: .5rem 1rem;
}

.title-card {
    z-index: 1;
    cursor: grab;
}

.info {
    position: fixed;
    cursor: pointer;
}