@charset "UTF-8";

@font-face
{
    font-family: 'Noto Sans';
    src: url(/fonts/noto-sans.woff2) format('woff2');
    font-display: swap;
}

html, body
{
    margin: 0;
    min-height: 100%;
}

html
{
    font-family: "Noto Sans", sans-serif;
}

body
{
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url("/images/neuss.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #2C2C2C;
}

.overlay
{
    box-sizing: border-box;
    width: min(37.5rem, calc(100% - 3rem));
    margin-bottom: 8vh;
    padding: 1.2rem;
    text-align: center;
    background: rgba(255, 248, 220, 0.65);
    border-radius: 0.375rem 0.375rem 0 0;
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.2);
    animation: fadeIn 10s ease-out 2s both;
}

h1
{
    margin: 0 0 0.2em;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
}

.profession
{
    margin: 0 0 0.7em;
    font-size: 1.2rem;
    line-height: 1.3;
}

.contact
{
    margin: 0;
    font-style: normal;
    font-size: 0.9rem;
}

.contact p
{
    margin: 0.3em 0;
    line-height: 1.3;
}

.email
{
    unicode-bidi: bidi-override;
    direction: rtl;
}

a
{
    color: inherit;
    text-decoration: none;
    border-bottom: 0.0625rem dashed currentColor;
    padding-bottom: 0.03rem;
}

@keyframes fadeIn
{
    from
    {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 37.5rem)
{
    .overlay
    {
        width: calc(100% - 2rem);
        margin-bottom: 6vh;
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .overlay
    {
        animation: none;
    }
}
