@font-face {
    font-family: 'Underwood Champion';
    font-display: swap;
    src: url(../assets/fonts/uwch-webfont.woff2) format('woff2'),
    url(../assets/fonts/uwch-webfont.woff) format('woff');
}

.font-uwch {
    font-family: "Underwood Champion", sans-serif;
}

body {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.header {
    pointer-events: none;
    z-index: 10;
    color: white;
    font-size: 4vh;
    left: 1vw;
    top: 1vw;
}

.home-container {
    overflow-x: hidden;
    background-image: url("../assets/img/sternennebel_mobile.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right 0;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}

.galaxy-label {
    display: none;
}

.galaxy li {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
}

.black-hole-r {
    background: radial-gradient(circle, rgb(0, 0, 0) 18%, rgb(0, 0, 0) 20%, rgba(60, 25, 25, 0.8) 22%, rgba(81, 18, 18, 0.6) 35%, rgba(22, 12, 15, 0.5) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    animation: blurring 10s infinite linear;
}

.cluster {
    z-index: 5;
    transition: 0.7s ease-out;
}

.cluster-r {
    width: 40em;
    height: 40em;
}

.black-hole-forms {
    background: radial-gradient(circle, rgb(0, 0, 0) 20%, rgb(0, 0, 0) 23%, rgba(71, 14, 14, 0.5) 25%, rgba(137, 27, 51, 0.42) 35%, rgba(94, 42, 60, 0.3) 50%, rgba(0, 0, 0, 0) 75%);
    border-radius: 50%;
    animation: blurring 10s infinite linear;
}

.cluster-forms {
    width: 30em;
    height: 30em;
}

.sun {
    height: 14vw;
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fridge {
    display: none;
    left: -10%;
    top: 110%;
    transform: translate(-100%, -100%);
}

.fridge-animation {
    animation: spinning 2s linear infinite, fridgeflying 30s linear infinite;
}

.spaceship {
    display: none;
    top: 20%;
    left: 100%;
}

.spaceship-animation {
    animation: spaceshipflying 30s linear infinite;
}

@media (width > 768px) {
    .home-container {
        overflow: hidden;
        background-image: url("../assets/img/sternennebel.webp");
        flex-direction: row;
    }

    .galaxy-label {
        width: 20em;
        position: absolute;
        left: 3em;
        top: 3em;
        transform: translateX(-53%);
    }

    .sun {
        height: 4.7vw;
    }

    .fridge {
        display: block;
        position: absolute;
        width: 7em;
    }

    .spaceship {
        display: flex;
    }

    .spaceship img {
        width: 12em;
    }
}

@keyframes blurring {
    0% {
        filter: blur(20px);
    }
    50% {
        filter: blur(40px);
    }
    100% {
        filter: blur(20px);
    }
}

@keyframes spinning {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fridgeflying {
    0% {
        top: 110%;
        left: -10%;
    }
    40%, 100% {
        top: 10%;
        left: 110%;
    }
}

@keyframes spaceshipflying {
    0% {
        left: 100%;
    }
    30%, 100% {
        left: -50%;
    }
}