@font-face {
    font-family: "pes";
    src: url("../fonts/pes.woff") format("woff");
  }

  @font-face {
    font-family: "flavo";
    src: url("../fonts/flavo.woff") format("woff"), url("../fonts/flavo.woff2") format("woff2") ;
  }

body {
    font-family: "pes";
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0;
    text-align: center;
    color: white;
    cursor: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 85.039 85.039'%3e %3cpath fill='white' d='M37.124 25.154c-3.201-9.143-17.136-7.534-22.98-6.417-.952.182-1.772.713-2.252 1.454a2.704 2.704 0 0 0-.348 2.208l9.224 33.203c.214.776.756 1.437 1.523 1.863.49.27 1.04.427 1.603.463.416.027.838-.012 1.247-.121 1.71-.453 2.744-2.012 2.358-3.501l-1.03-9.363c-.292-1.151.498-2.31 1.799-2.634 2.478-.621 5.896-2.887 7.95-6.558 1.295-2.315 2.504-6.033.906-10.597M74.435 46.95v.01c-.2 10.61-9.7 12.28-10.79 12.44l-.32.04c-.26.04-.56.07-.9.1-.26.01-.51.02-.77.02-6.78 0-11.5-5.84-13.07-9.92-.54-1.23-.43-2.71.29-3.94s1.96-2.05 3.4-2.25c2.14-.3 4.71.54 5.51 2.72 1.1 3.03 2.87 3.64 3.39 3.75.88.2 2.16.2 2.77-.15 1.41-.8 1.54-1.87 1.55-2.18.02-.92-1.29-2.02-2.07-2.68-.14-.12-.28-.22-.4-.29-.13-.1-.24-.18-.34-.25-.17-.14-.88-.66-1.53-1.02-3.44-1.97-9.2-5.27-9.98-10.69-.55-3.89.41-7.28 2.7-9.57 1.61-1.6 4.67-3.4 10.08-2.84 4.95.52 7.98 3.59 8.3 8.42a4.48 4.48 0 0 1-1.6 3.73 4.74 4.74 0 0 1-3.96 1.04c-1.93-.3-3.48-1.73-3.85-3.56-.09-.44-.25-.76-.44-.87-.19-.12-.659-.236-1.22-.03-.11.06-.17.1-.23.17-.33.38-.43.8-.3 1.35.29 1.27 2 2.74 3.57 3.63.09.06.21.12.36.2 6.5 3.49 9.82 7.74 9.85 12.62'/%3e %3cpath fill='white' d='M36.918 41.055c8.576-1.225 12.464 5.61 7.224 12.808-.363.97-2.1 1.772-.88 2.857.552.492 1.836 2.787 2.378 2.088 1.883-3.024 3.17-2.814 4.324-2.065 3.296 2.138 2.635 2.812-.336 5.768 2.313 2.232 6.454 5.802.345 6.123-2.477.13-2.866-1.3-4.622-2.057-3.465 4.261-11.804 5.255-15.15.785-.846-1.13-1.18-2.542-1.151-3.938.052-2.506.733-4.984 2.697-6.698.424-.37.502-1.008.098-1.399-3.938-3.813-1.333-13.42 5.073-14.272'/%3e %3c/svg%3e") 24 24, auto;
}

:root {
    --cursor: white;
    --hover: black;
}

body.locked {
    overflow: hidden;
    touch-action: none;
}

/* * {
    cursor: none;
} */

@keyframes pulse-even {
    0% {
      opacity: 0;
    }
    15% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }    
    60% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes pulse-odd {
    0% {
      opacity: 1;
    }
    15% {
      opacity: 0;
    }
    45% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}
.title {
    color: white;
    /* user-select: none; */
    z-index: 1;
    position: relative;
    width: 100%;
}
.title--1,
.title--2 {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    text-align: center;
}
.title--1 {
    /* animation: pulse-even 6s infinite linear; */
}
.title--2 {
    display: none;
    /* top: -4%;
    animation: pulse-odd 6s infinite linear; */
}

.placeholder {
    opacity: 0;
    pointer-events: none;
}

::selection {
    color: white;
    background: var(--cursor);
    /* user-select: none; */
}

header {
    width: 100%;
    height: 100vh;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-align-items: center; 
    box-sizing: border-box;
    -ms-box-sizing: border-box;
    padding: 40px 20px;
    position: relative;
}

h2 {
    font-size: 24px;
}

h1 {
    font-size: 20vw;
    line-height: 0.8;
    letter-spacing: -0.04em;
    margin: 20px 0;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

main {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0px 20px;
    box-sizing: border-box;
    -ms-box-sizing: border-box;
}

main * {
    max-width: 480px;
    margin: 0 auto;
}

a {
    color: white;
    cursor: pointer;
    /* user-select: all; */
    pointer-events: all;
}

a:hover {
    mix-blend-mode: difference;
}

main h2 {
    padding: 12px 0;
    max-width: 400px;
    margin: 0 auto;
}

.sans {
    font-family: 'flavo';
    letter-spacing: 0.01em;
    line-height: 1.2;
}

header, main, .title {
    transition: opacity 0.3s ease-out
}

.block {
    margin-bottom: 40px;
}

.block--double {
    margin-bottom: 120px;
    padding-top: 80px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: normal;
    margin: 0;
}

.canvas {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 
    justify-content: center;
    align-items: center;
    -webkit-align-items: center; 
    z-index: -1;
}

.canvas div {
    position: fixed;
    display: block;
    transform: scale(0.55) translateX(-79%) translateY(-79%);
}

.canvas path {
    fill: var(--cursor);
}

.cursor {
    transform: translate(-50%, -50%);
    position: fixed;
    display: block;
    word-break: keep-all;
    white-space: nowrap;
    color: white;
    font-size: 24px;
    /* -webkit-text-stroke: 5px white; */
}

.cursor.colored {
    color: var(--cursor);
    -webkit-text-stroke: 5px var(--cursor);
}

/* img {
    transform: translate(-50%, -50%);
    position: fixed;
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
    display: block;
} */

.button {
    background-color: var(--cursor);
    padding: 12px 24px 13px;
    font-size: 24px;
    text-decoration: none;
}

@media only screen and (min-width: 600px) {
    body {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1000px) {
    main {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 50% 50%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 20px;
    }
    h1 {
        font-size: 12vw;
        line-height: 0.75;
        letter-spacing: -0.04em;
    }
    .block--double {
        grid-column-end: span 2;
        padding-top: 0;
    }
    
}

@media only screen and (min-width: 1600px) {
    main {
        -ms-grid-columns: 50% 50%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .block--double {
        grid-column-end: span 3;
        padding-top: 0;
    }
}