@font-face {
    font-family: "Physio";
    src: url("font.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Font3";
    src: url("font3.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


/* PC */
@media (min-width: 768px) {
    body {
        margin: 0;
        font-family: sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 50vw;
        background-size: cover !important;
        background: url("img/background2.png");
    }

    .blob-box {
        width: 60vw;
        height: 30vw;
        margin-top: 5vw;

        background-image: url("img/blob.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;

        display: flex;
        align-items: start;
        justify-content: center;

    }

    #physiotherapie {
        font-family: "Physio", sans-serif;
        font-size: 2.5vw;
        letter-spacing: 0.15vw;
        line-height: 2.5vw;
    }

    #erwachsene-willkommen {
        font-family: "Font3", sans-serif;
        font-size: 1vw;
    }

    #märz {
        margin-top: 1.666vw !important;
    }

    #märz,
    #anschrift,
    #telefon {
        font-family: "Font3", sans-serif;
        display: inline-block;
        font-size: 1.2vw;
    }

    #telefon {
        letter-spacing: -0.10vw;
        display: flex;
        align-items: start;
    }

    #anschrift {
        margin-top: 2vw !important;
    }

    #telefon img {
        width: 1.333vw;
    }

    #unterschrift img {
        width: 8.666vw;
        margin-left: -1.25vw;
        margin-top: 0.6125vw;
    }

    #signatur-physiotherapie {
        text-align: center;
    }

    #signatur {
        margin-top: 2vw;
        margin-left: 3.5vw;

        font-family: "Physio", sans-serif;
        font-size: 1.75vw;
        letter-spacing: 0.075vw;
        line-height: 1.5vw;

        flex-direction: column;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .blob-content {
        width: 25vw;
        text-align: left;
        margin-top: 3.666vw;
        color: white;
    }

    #held {
        position: fixed;
        top: 0;
        margin-top: 4vw;
        margin-left: 30vw;
        transform: translateX(-50%);
        z-index: 9999;

        animation: heldAnimation 6s ease-in-out infinite;
    }

    #held img {
        width: 17vw;
    }

    #erde {
        position: fixed;
        top: 0;
        margin-top: 6.5vw;
        left: 0;
        margin-left: 40vw;
        transform: translateX(-50%);
        z-index: 9999;

        animation: erdeAnimation 90s linear infinite;
    }

    #erde img {
        width: 8vw;
    }

    #pfeil {
        position: fixed;
        top: 0;
        margin-top: 25vw;
        left: 0;
        margin-left: 52vw;
        transform: translateX(-50%);
        z-index: 9999;

        animation: pfeilAnimation 4s linear infinite;
    }

    #pfeil img {
        width: 3vw;
    }

    .bottom-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 9999;
    }

    .bottom-buttons a {
        padding: 5px 5px;
        background: #fe6465;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 1.5vw;
        font-family: "Physio";
    }

    #impressum {
        font-family: "Physio", sans-serif;
        font-size: 2.5vw;
        letter-spacing: 0.15vw;
        line-height: 2.5vw;
    }

    #inhalt {
        font-family: "Font3", sans-serif;
        display: inline-block;
        font-size: 1vw;
        line-height: 1.3vw;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        margin: 0;
        font-family: sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 150vw;
        background-size: cover !important;
        background: url("img/background2.png");
    }

    .blob-box {
        width: 90vw;
        height: 90vw;
        margin-top: 5vw;

        background-image: url("img/blob.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;

        display: flex;
        align-items: start;
        justify-content: center;
    }

    .blob-content {
        width: 67.5vw;
        text-align: left;
        margin-top: 15vw;
        color: white;
    }

    #physiotherapie {
        font-family: "Physio", sans-serif;
        font-size: 6vw;
        letter-spacing: 0.5vw;
        line-height: 6vw;
    }

    #erwachsene-willkommen {
        font-family: "Font3", sans-serif;
        font-size: 2.5vw;
    }

    #märz {
        margin-top: 4vw !important;
    }

    #märz,
    #anschrift,
    #telefon {
        font-family: "Font3", sans-serif;
        display: inline-block;
        font-size: 2.5vw;
    }

    #telefon {
        letter-spacing: -0.30vw;
        display: flex;
        align-items: start;
    }

    #anschrift {
        margin-top: 4vw !important;
    }

    #telefon img {
        width: 3vw;
    }

    #unterschrift img {
        width: 25.998vw;
        margin-left: -3.75vw;
        margin-top: 1.8375vw;
    }

    #signatur-physiotherapie {
        text-align: center;
    }

    #signatur {
        margin-top: 6vw;
        margin-left: 10.5vw;

        font-family: "Physio", sans-serif;
        font-size: 5.25vw;
        letter-spacing: 0.225vw;
        line-height: 4.5vw;

        flex-direction: column;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    #held {
        position: fixed;
        top: 0;
        margin-top: 8vw;
        margin-left: 90vw;
        transform: translateX(-50%);
        z-index: 9999;

        animation: heldAnimation 6s ease-in-out infinite;
    }

    #held img {
        width: 51vw;
    }

    #erde {
        position: fixed;
        top: 0;
        margin-top: 19.5vw;
        left: 0;
        margin-left: 30vw;
        transform: translateX(-50%);
        z-index: 9999;

        animation: erdeAnimation 90s linear infinite;
    }

    #erde img {
        width: 24vw;
    }

    #pfeil {
        position: fixed;
        top: 0;
        margin-top: 70vw;
        left: 0;
        margin-left: 46vw;
        transform: translateX(-50%);
        z-index: 9999;

        animation: pfeilAnimation 4s linear infinite;
    }

    #pfeil img {
        width: 6vw;
    }

    .bottom-buttons {
        position: fixed;
        bottom: 60px;
        right: 60px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        z-index: 9999;
    }

    .bottom-buttons a {
        padding: 5px 5px;
        background: #fe6465;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 4.5vw;
        font-family: "Physio";
    }

    #impressum {
        font-family: "Physio", sans-serif;
        font-size: 7.5vw;
        letter-spacing: 0.5vw;
        line-height: 7.5vw;
    }

    #inhalt {
        font-family: "Font3", sans-serif;
        display: inline-block;
        font-size: 2.5vw;
    }
}

@keyframes pfeilAnimation {
    0% {
        transform: translateX(-50%) rotate(5deg);
    }

    50% {
        transform: translateX(-50%) rotate(20deg);
    }

    100% {
        transform: translateX(-50%) rotate(5deg);
    }
}

@keyframes heldAnimation {
    0% {
        transform: translateX(-50%) translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateX(-50%) translateY(-8px) rotate(-5deg);
    }

    100% {
        transform: translateX(-50%) translateY(0) rotate(-10deg);
    }
}

@keyframes erdeAnimation {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0);
    }

    100% {
        transform: translateX(-50%) translateY(5px) rotate(360deg);
    }
}