@font-face {
  font-family: "Cap Rom";
  src: url('/back/type/Felix-Farjas/Revival/RevivalGrosRomainVF.woff') format('woff'), url('/back/type/Felix-Farjas/Revival/RevivalGrosRomainVF.woff2') format('woff2'), url('/back/type/Felix-Farjas/Revival/RevivalGrosRomainVF.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  text-rendering: optimizeLegibility;
  font-display: swap;
  font-kerning: normal;
  font-feature-settings: 'kern'1;
}

* {
  box-sizing: border-box;
}

body {
  --time: 4s;
  --white: #e9e3be;
  --dark: #352221;
  font-family: "Cap Rom";
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  width: 100%;
  background-color: var(--white);
  overflow: hidden;
  margin: 0;
  transition-duration: 0.3s;
}

body:hover {
  background-color: var(--dark);
}

h1 {
  font-variation-settings: 'wght'100, 'wdth'100;
  animation: a var(--time) ease-in-outs infinite forwards;
  font-weight: normal;
  font-feature-settings: 'kern'1;
  font-size: 18vw;
  padding-top: 0.6vw;
  line-height: 21vw;
  margin-top: 2vw;
  width: 100%;
  height: 100%;
  transition: color 1s ease;
  color: var(--dark);
}

h1:hover {
  letter-spacing: 5px;
  color: var(--white)
}

h1>span {
  transition: font-size .5s, letter-spacing .8s;
  cursor: zoom-in;

}

h1>span:hover {
  font-size: 25vw;
}

h1>span:nth-child(10n) {
  animation: a var(--time) ease-in-out -3.6s infinite forwards;
}

h1>span:nth-child(10n+1) {
  animation: a var(--time) ease-in-out -3.2s infinite forwards;
}

h1>span:nth-child(10n+2) {
  animation: a var(--time) ease-in-out -2.8s infinite forwards;
}

h1>span:nth-child(10n+3) {
  animation: a var(--time) ease-in-out -2.4s infinite forwards;
}

h1>span:nth-child(10n+4) {
  animation: a var(--time) ease-in-out -2s infinite forwards;
}

h1>span:nth-child(10n+5) {
  animation: a var(--time) ease-in-out -1.6s infinite forwards;
}

h1>span:nth-child(10n+6) {
  animation: a var(--time) ease-in-out -1.2s infinite forwards;
}

h1>span:nth-child(10n+7) {
  animation: a var(--time) ease-in-out -0.8s infinite forwards;
}

h1>span:nth-child(10n+8) {
  animation: a var(--time) ease-in-out -0.4s infinite forwards;
}

h1>span:nth-child(10n+9) {
  animation: a var(--time) ease-in-out 0s infinite forwards;
}

.anim2 {
  font-size: 22vw;
  line-height: 22vw
}

@keyframes a {
  0% {
    font-variation-settings: 'wght'400, 'wdth'100;

  }



  50% {
    font-variation-settings: 'wght'800, 'wdth'200;
  }


  100% {
    font-variation-settings: 'wght'400, 'wdth'100;
  }
}























































@media (max-Width:1250px) {
  html {
    font-size: 11px
  }
}

@media (max-Width:1000px) {
  h4 {
    font-size: 20px
  }
}

@media (max-Width:770px) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  h4 {
    font-size: 16px
  }

  html {
    font-size: 7px
  }
}

@media (max-width: 230px) {
  h4 {
    font-size: 16px
  }

  html {
    font-size: 5px
  }
}

@media (max-height: 450px) and (max-width: 770px) {
  h4 {
    font-size: 16px
  }
}

@media (max-height: 300px) and (max-width: 770px) {
  h4 {
    font-size: 16px
  }
}