html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-size: 20px;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.square {
    position: relative;
    z-index: 10;
    width: min(60vmin, 500px);
    background: white;
    border-radius: 10px;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    animation: crumble 0.5s steps(1) infinite;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px dashed black;
}

.square > div {
    flex: 1 1 0;
    min-width: 0;
}

.square img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.square_text {
    font-size: clamp(9px, 1.9vmin, 18px);
    line-height: 1.25;
}

.square_text h1 {
    font-weight: normal;
    font-size: 2.1em;
    margin: 0 0 0.4em;
}

.square_text p {
    margin: 0.45em 0;
}

#statuscafe {
    margin-top: 0.5em;
    font-size: 0.85em;
}

#statuscafe {
    padding: 10px;
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    border: 1px solid #161f29;
    border-top-color: #4a5f78;
    border-radius: 8px;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(to bottom, #3a4d63 0%, #2e3f50 50%, #243343 100%);
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

#statuscafe a {
    color: #afc7e0;
}

#statuscafe a:hover {
    color: white;
    text-shadow: 0px 0px 10px white;
}

a {
    color: #577491;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: background-size 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

a:hover {
    background-size: 100% 1px;
}
