
/* instrument-sans-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
    font-display: swap;
  font-weight: 400;
  src: url('../fonts/instrument-sans-v4-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* instrument-sans-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/instrument-sans-v4-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* instrument-sans-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/instrument-sans-v4-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body{
    border:0;
    padding: 0;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Instrument Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    text-rendering: geometricPrecision;
}

::selection {
  color: black;
  background-color: #AAA9E8;
}


@media screen and (max-width:800px) {
   body{
    font-size: 18px;
   } 
   
}




a{
    text-decoration: none;
    color: #fff;
}
.thumbnail{
    max-height: 400px;
    display: none;
}
.content{
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    gap: 0px;
}
.main{
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 140px;
    flex: 1 0 0;
    align-self: stretch;
}

.navigation{
    box-sizing: border-box;
    font-size: 0.9em;
    width: 100%;
    letter-spacing: -0.01em;
    padding: 1em 1.3em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
    z-index: 2;
    }

    .face{
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        background-image: url(../img/face.png);
        background-size: cover;
        border-radius: 0.75em;
        margin-right: 0.2em;
    }
    .pin{
        display: inline-block;
        width: 1.2em;
        height: 1.2em;
        background-image: url(../img/pin.svg);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .nav-item{
        display: flex;
        flex-direction: row;
        gap: 0.3rem;
        align-items: center;
    }
.text-wrapper{
    text-align: center;

}
h1{
        margin-block: 0;
        font-size: 4em;
        font-weight: 500;
        letter-spacing: -0.02em;
        line-height: 1.1em;
        width: 100%;
        max-width: 20em;
        text-align: center;
}
.email-button-wrapper{
    height: 4em;
    display: flex;
    align-items: center;
}
.email-button{
    display:inline-block;
    padding: 0.5em 0.6em;
    border-radius: 12px;
    font-size: 1.5em;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.3px;
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(209, 213, 219, 0.3);
    z-index: 1;
    transition: padding 0.3s ease-out;
    
}
.email-button:hover{
    padding: 0.7em 0.7em;
    margin: 0;
}
.cursor{
    box-sizing: border-box;
    background-color: #AAA9E8;
    color: black;
    border-radius: 1em;
    position: absolute;
    font-size: 0.8em;
    letter-spacing: -0.05em;
    padding: 0.2em 0.6em;
    z-index: 2;
    position: fixed;
    min-height: 1.2em;
    min-width: 1.2em;
    top: -2em;
    left: -2em;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: background-color 0.5s ease;
}
.active{
    background-color: aqua;
    transform: translate(0, -50%);
}
.clicked{
    background-color: #ccc;
    transform: translate(0, -50%);
}

.canvas-container{
    position:absolute;
    display:flex;
    align-items: center;
    max-width:100vw;
    max-height:100vh;
    z-index: -1;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
canvas{
    padding: 0;
    margin: auto;
    display: block;
}


@media screen and (min-width:1800px) {
   body{
    font-size: 1.2vw;
   } 
   .navigation{
    font-size: 0.7em;
   }
}

@media screen and (max-width:1100px) {
  .cursor{
    display:none;
   }
}

@media screen and (max-width:600px) {
  h1{
    font-size: 3em;
   }
}
@media screen and (max-width:600px) {
  h1{
    font-size: 2.5em;
   }
   .email-button{
    font-size: 1.2em;
   }
}