@import url("/stylesheets/fonts.css");

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(600px, calc(100% - 3rem));
    margin-bottom: 8vh;
    padding: 1.2rem;
    text-align: center;
    background: rgba(255, 248, 220, 0.65);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out 3s both;
}

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

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

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

.contact p
{
    margin: 0.3em 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

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

@keyframes fadeIn
{
    from
    {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

    h1 {
        font-size: 1.7rem;
    }

    .profession
    {
        font-size: 1.35rem;
    }

    .contact p
    {
        font-size: 0.95rem;
    }
}

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