@font-face {
    font-family: 'Areal';
    src: url('fonts/Areal-Regular.woff2') format('woff2'),
         url('fonts/Areal-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background-color: #cccbcb;
    height: 100vh;
    overflow: hidden;
    font-family: 'Areal', sans-serif;
}

.text-block {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) rotate(-20deg);
    transform-origin: center;
    color: #fffefe;
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.text-block a {
    color: inherit;
    text-decoration: none;
}

.text-block a:hover {
    text-decoration: underline;

}

.text-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    transform-origin: center;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}
/* Hover-Spin nur auf Geräten mit echtem Hover (Maus), nicht auf Touch */
@media (hover: hover) {
    .text-block:hover {
        animation: spin 0.7s ease-in-out;
    }
}

/* Hochformat / schmale Bildschirme (z.B. iPhone) */
@media (max-width: 600px) {
    .text-block {
        transform: translate(-50%, -50%) rotate(-60deg);
        font-size: 1.8rem;
    }

    @keyframes spin {
        from {
            transform: translate(-50%, -50%) rotate(-60deg);
        }
        to {
            transform: translate(-50%, -50%) rotate(315deg);
        }
    }
}

.text-block:hover {
    animation: spin 0.7s ease-in-out;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(-20deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(340deg);
    }
}