body{
    background-color: black;
    font-family: "Outfit";
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0;
    margin-top: 10vh;
    margin-bottom: 12vh;
    background:
    linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),
    url(/assets/spaghettiloop2.png),
    #000
    ;
    background-size: 200px;
    opacity: 100%;

    animation: background-scroll 1600s infinite linear;
}

@keyframes background-scroll {
  0%   { background-position: calc(50%) calc(50%); }
  100% { background-position: calc(50% + 20000px) calc(50% + 20000px); }
}

document-background {
    position: fixed;
    z-index: -100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    overflow: hidden;
    
}

@keyframes triangle-rotate {
    0% {rotate: var(--triangle-start-rot);}
    100% {rotate: calc(var(--triangle-start-rot) + 360deg);}
}

background-triangle {
    position: absolute;
    width: 100px;

    left: 100px;
    top: 100px;

    z-index: -99;

    transform-origin: 50% 66.67%;
    animation: triangle-rotate var(--triangle-rot-duration) linear infinite;
    

    clip-path: polygon(0% 100%, 100% 100%, 50% 0%);

}

html {
    margin: 0;
}

#titlelogo {
    max-width: 50%;
}

h1 {
    font-size: clamp(3rem, 15vw, 15rem);   /*fix for mobile*/
    position: relative;
    padding: 0;
    margin: 0;
}

.hidden {
    display: none;
}

document-spacer {
    height: 5vh;
}

a{
    color: rgb(201, 201, 201);
    }.mobileonly {
    display: none;
}

.desktoponly {
    display: auto;
}

@keyframes loading {
    0% { rotate: 0deg; }
    100% { rotate: 360deg; }
}

loading-icon {
    width: 50px;
    height: 50px;

    display: inline-block;

    background-image: url(/assets/breilanlogo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    animation: loading 1s linear infinite;
}

loading-icon:not(:only-child) {
    display: none;
}


@media (max-width: 1000px) {
    #titlelogo {
    max-width: 70%;
    }

    .mobileonly {
        display: initial;
    }

    .desktoponly {
        display: none;
    }

}