
@font-face {
  font-family: 'MT-SHIFT';
  src: url('fonts/MT-SHIFTV4.2VF.woff2') format('woff2');
}

@font-face {
  font-family: 'MT-SHIFT-RANDOM';
  src: url('fonts/MT-SHIFTV4.1-RANDOMVF.woff2') format('woff2');
}

@font-face {
  font-family: 'MT-SHIFT-FULL';
  src: url('fonts/MT-SHIFTV4.1-FULLVF.woff2') format('woff2');
}

@font-face {
  font-family: 'MT-SHIFT-LTR';
  src: url('fonts/MT-SHIFTV4.1LTRVF.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM-Plex-Medium-Mono';
  src: url('fonts/IBM_Plex_Mono/IBMPlexMono-Medium.ttf') format('woff');
}

@font-face {
  font-family: 'IBM-Plex-Regular-Mono';
  src: url('fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf') format('woff');
}




html {
  scroll-snap-type: y mandatory;
}

html,
body {

  height: 100%;
  width: 100%;

  max-width: 100vw;

  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overscroll-behavior: none;

}

body {
  background: #fff;
  font-family: "IBM-Plex-Regular-Mono", monospace, sans-serif;
  font-size: 100%;
  hyphens: auto;
  color: #000;

  caret-color: black;

}



@media (max-width: 768px) {
  .mobile-break {
      display: block;
  }
}

@media (min-width: 769px) {
  .mobile-break {
      display: none;
  }
}

.dvh-100 {
  height: 100lvh;
}

.svh-100 {
  height: 100svh;
}

.min-dvh-100 {
  min-height: 100lvh;
}

.min-dvh-50{
  min-height: 50lvh;
}

.mt-scroll {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-padding-top: 200px;
}


.mt-pt {
  padding-top: 80px;
}

@media (min-width: 992px) {
  .mt-pt {
    padding-top: 180px !important;
  }
}

p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

b {
  -webkit-text-stroke-width: 1.2px;
  font-weight: normal;
}
a{
  color: black;
}

h1 {
  -webkit-text-stroke-width: 1.5px;
  font-size: 2rem;
  text-transform: uppercase;
}

canvas {

  position: absolute;

  pointer-events: none;

  z-index: 1020;
  overflow: hidden;
  /* Make sure canvas is above the boxes */
}


/* FONT */


.fs-5 {
  font-size: 5rem;
}

.fs-6 {
  font-size: 6rem;
}

.fs-7 {
  font-size: 7rem;
}

.fs-8 {
  font-size: 8rem;
}

.fs-10 {
  font-size: 10rem;
}

.fs-15 {
  font-size: 15rem;
}

.fs-20 {
  font-size: 20rem;
}

.fs-mt-l {
  font-size: 10rem;
}

.fs-mt-m {
  font-size: 4rem;
}

@media (min-width: 992px) {

  /* md breakpoint */
  .fs-mt-l {
    font-size: 20rem;
  }

  .fs-mt-m {
    font-size: 10rem;
  }
}


/* PLAY ANIMATIN */

.animate-font {
  /*animation: animateFont 5s cubic-bezier(0.75, 0.9, 0.75, 0) infinite;*/
  animation: animateFont 5s linear infinite;
}

.animate-font-long {
  /*animation: animateFont 5s cubic-bezier(0.75, 0.9, 0.75, 0) infinite;*/
  animation: animateFont 10s linear infinite;
}


.animate-font-succession span:nth-child(1) {
  animation: animateFont 5s linear infinite;
  animation-delay: 0s; /* No delay for the first span */
}

.animate-font-succession span:nth-child(2) {
  animation: animateFont 5s linear infinite;
  animation-delay: 3s; /* 3 seconds delay for the second span */
}

.animate-font-succession span:nth-child(3) {
  animation: animateFont 5s linear infinite;
  animation-delay: 6s; /* 6 seconds delay for the third span */
}



@keyframes animateFont {
  0% {
    font-variation-settings: "ANIM" 0;
  }

  50% {
    font-variation-settings: "ANIM" 100;
  }

  100% {
    font-variation-settings: "ANIM" 0;
  }
}






/**/

.mt-shift {
  font-family: 'MT-SHIFT';
  font-weight: 50;
  line-height: 1;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: common-ligatures discretionary-ligatures contextual;

  
}


.mt-shift-small {
  -webkit-text-stroke-width: 0;
  font-family: 'MT-SHIFT';
  font-size: 110%;
  font-weight:100;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: none;
}

.mt-shift-random {
  font-family: 'MT-SHIFT-RANDOM';
  font-weight: 50;
  line-height: 1;
}

.mt-shift-full {
  font-family: 'MT-SHIFT-FULL';
  font-weight: 50;
  line-height: 1;
}


.mt-shift-ltr {
  font-family: 'MT-SHIFT-LTR';
  font-weight: 50;
  line-height: 1;
}



.no-liga {
  font-variant-ligatures: none;
}



#mt-lm-move {
  text-align: center;
  width: fit-content;
  cursor: pointer;
}


.mt-lm-letters {
  color: lightgray;
  mix-blend-mode: multiply;
  text-align: center;
}


.anim-0 {
  font-variation-settings: 'ANIM' 0;
  left: 0%;

}

.anim-33 {
  font-variation-settings: 'ANIM' 33;
  left: calc((100% - 104px)/3);

}

.anim-66 {
  font-variation-settings: 'ANIM' 66;
  left: calc((100% - 104px)/3*2);

}

.anim-100 {
  font-variation-settings: 'ANIM' 100;
  left: calc(100% - 104px);
}

.anim-start {
  font-variation-settings: 'anim' 0 !important;
  left: calc((100% - 104px)/2) !important;

}


@media (min-width: 992px) {
  /* md breakpoint */

  .anim-0 {
    font-variation-settings: 'ANIM' 0;
    left: 0%;

  }

  .anim-33 {
    font-variation-settings: 'ANIM' 33;
    left: calc((100% - 208px)/3);

  }

  .anim-66 {
    font-variation-settings: 'ANIM' 66;
    left: calc((100% - 208px)/3*2);

  }

  .anim-100 {
    font-variation-settings: 'ANIM' 100;
    left: calc(100% - 208px);
  }

  .anim-start {
    font-variation-settings: 'anim' 0 !important;
    left: calc((100% - 180px)/2) !important;

  }

}



/* HEADER  */
#header-div{
  max-width: 100vw;
  height: 80px;
}

@media (min-width: 992px) {
  #header-div{

    height: 180px;
  }
}

#header-div:after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: -5px;
  height: 20px; /* Adjust height to control the blur size */
  background: white;
  filter: blur(5px); /* Adjust blur amount as needed */
  z-index: -1; /* Place the pseudo-element behind the main content */
  pointer-events: none; /* Prevent the pseudo-element from capturing clicks */
}

.title-container {
  position: relative;
  display: inline-block;
}

#title-text {
  font-size: 3.5rem;
  /* Default for xs */
}

@media (min-width: 992px) {

  /* md breakpoint */
  #title-text {
    font-size: 10rem;
  }
}



.byline {

  position: absolute;
  top: 90%;
  /* Position below the title text */
  left: 100%;
  /* Position to the right of the title text */
  transform: translateX(-100%);
  /* Shift byline to align its middle with the right edge of the title text */
  white-space: nowrap;
  /* Prevent line breaks in the byline */
}

@media (min-width: 992px) {

  /* md breakpoint */
  .byline {


    transform: translateX(-50%);
    /* Shift byline to align its middle with the right edge of the title text */

  }

}








/* VIDEO */


#vimeo-player{

  display: block;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

#vimeo-player iframe {

  filter: blur(5px);
  
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}






/* STILLS */

.result-pair {
  margin-bottom: 10px;
  position: relative;
}

.liga-value,
.anim-value,
.weight-value {
  display: none;
  text-align: center;



}

.result-pair:hover .liga-value,
.result-pair:hover .anim-value,
.result-pair:hover .weight-value {
  display: block;
}

/* INDEX */

#index-selection {
  text-align: center;
}


.index-character {


  aspect-ratio: 1 / 1;



  color: #000;
  border: 1px solid;
  text-align: center;
  text-decoration: none;

  display: inline-block;


  cursor: pointer;


  z-index: 1;
  /* Make sure boxes are above the default level */


  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;/
}

.dark-gray-bg {
  background-color: #efefef;
}

.light-gray-bg {
  background-color: #cfcfcf;
}

.letter-box {
  width: 25px;
  height: 25px;
  -webkit-text-stroke-width: 1.2px;

  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
}

.index-character:hover {
  background-color: #eaeaea;
  mix-blend-mode: multiply;

}

.index-character-active {
  background-color: #eaeaea;
  mix-blend-mode: multiply;

}


/* ANIMATIONS */



/* TYPE TESTER */

.icon{
  cursor: pointer;
}

#typetester-result {
  min-height: 300px;
  border: none;
}

.typetester-input{
  border: 2px black solid;

  text-transform: uppercase;

}

.typetester-input:focus{
  outline: none;
  box-shadow: none; /* This also removes any shadow that might be applied */
}







/**/
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

video {
  height: auto;
  width: 100%;

}






/* RADIO BUTTON */

.form-check-input {
  border: 2px solid;
}

.form-check-input:checked {
  background-color: black;
  border-color: black;
}




/*SLIDER*/

.slider {
  -webkit-appearance: none;
  width: 200px;
  height: 2px;
  background: #000;
  outline: none;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0;
  box-shadow: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  /* Set width and height to make it round */
  height: 16px;
  background: white;
  /* Make background transparent */
  border: 4px solid #000;
  /* Add border to create the outline */
  cursor: pointer;
  border-radius: 50%;
  /* Make the knob round */
}

.slider-white {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: #fff;
  outline: none;
}

.slider-white::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  /* Set width and height to make it round */
  height: 20px;
  background: transparent;
  /* Make background transparent */
  border: 2px solid #fff;
  /* Add border to create the outline */
  cursor: pointer;
  border-radius: 50%;
  /* Make the knob round */
}



