@font-face {
  font-family: 'Aspekta Variable';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  src: url('fonts/AspektaVF.woff2') format('woff2');
}

body {
    font-family: 'Aspekta Variable', sans-serif;
    overflow: hidden !important;
    margin: 0;
    padding: 0;
}

.wallpaper {
    position: absolute;
    background-size: cover;
    background-position: center;
}

#layer1 {
    background-image: url("/images/background1_desktop.jpg");
    left: calc(-1% + (var(--mouse-x) - 0.5) * 2%);
    top: calc(-1% + (var(--mouse-y) - 0.5) * 2%);
    width: 102%;
    height: 102%;
    z-index: -10000;
    transition: left 0.4s ease-out,
        top 0.4s ease-out;  
}

#layer2 {
    background-image: url("/images/flowers.jpg");
    left: calc(-1.5% + (var(--mouse-x) - 0.5) * 3%);
    top: calc(-1.5% + (var(--mouse-y) - 0.5) * 3%);
    width: 103%;
    height: 103%;
    z-index: -9999;
    mix-blend-mode: soft-light;
    transition: left 0.4s ease-out,
        top 0.4s ease-out;  
}

#layer3 {
    background-image: url("/images/curvedLines5.png");
    mix-blend-mode: overlay;
    left: calc(-2% + (var(--mouse-x) - 0.5) * 4%);
    top: calc(-2% + (var(--mouse-y) - 0.5) * 4%);
    width: 104%;
    height: 104%;
    z-index: -9998;
    transition: left 0.4s ease-out,
        top 0.4s ease-out;  
}

.variable_header {
    position: absolute;
    font-family: 'Aspekta Variable', sans-serif;
    font-size: 6vw;
    font-weight: 100;

    padding: 0;
    margin: 0 0 10vh;
    padding-left: 2vw;
    bottom: 0px;

    color: white;
    outline: 1px solid rgba(255, 255, 255, 0.256);

    background-color: rgba(0, 0, 0, 0.041);
    backdrop-filter: blur(0.7rem);

    width: calc(100% - 2vw);
    user-select: none;

    transition: font-weight 0.5s cubic-bezier(0, 0, 0.05, 1),
        backdrop-filter 0.5s cubic-bezier(0, 0, 0.05, 1),
        background-color 0.5s cubic-bezier(0, 0, 0.05, 1);
}

.variable_header:hover {
    font-weight: 400;
    backdrop-filter: blur(0.3rem);
    background-color: transparent;
}

#letters {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    color: black;
}

.letter {
    color: rgb(248, 255, 41);
    mix-blend-mode: soft-light;

    position: absolute;
    margin-top: -12vh;

    filter:blur(0.04em);

    font-family: 'Aspekta Variable', sans-serif;
    font-weight: 900;
    font-size: 40vh;

    user-select: none;

    transition: font-weight 0.5s cubic-bezier(0, 0, 0.05, 1),
        filter 0.5s cubic-bezier(0, 0, 0.05, 1),
        rotate 0.5s cubic-bezier(0, 0, 0.05, 1);
}

.letter:hover {
    font-weight: 300;
    filter:blur(0.01em);
    rotate: 0deg !important;
}

#v1 {
    top:12vh;
    right: 37vw;
    rotate: -1deg;
    font-size: 43vh;
}

#t1 {
    font-size: 50vh;
    top:25vh;
    right:27vw;
    rotate: 4deg;
}

#i1 {
    top:32vh;
    right:23vw;
    rotate: -3deg;
}

#v2 {
    font-size: 32vh;
    top:45vh;
    right:9vw;
    rotate: 6deg;
}

#mobilewarning {
    position: absolute;
    transform-origin: bottom left;
    transform: rotate(90deg);
    font-size: 0.8rem;
    color: white;
    opacity: 85%;
    visibility: hidden;
    text-wrap: nowrap;
    left: 0;
    top: -1rem;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 800px) {
    #layer1 {
        background-image: url("/images/background1_mobile.jpg") !important;
    }
    #t1 {
        font-size: 40vh !important;
    }
    #i1 {
        top: 34vh !important;
    }
    #v2 {
        top: 60vh !important;
        right: 3vw !important;
        font-size: 25vh !important  ;
    }
    .variable_header {
        font-size: 6vh;
    }
    #layer2 {
        left: calc(-2% + (var(--mouse-x) - 0.5) * 4%);
    }

    #mobilewarning {
        visibility: visible;
    }
}

.clickable {
    cursor: pointer;
}