@font-face {
	font-family: "Cap Rom";
    src: url('/back/type/Felix-Farjas/Capitale-Romaine/CapitaleRomaineFelixFarjasRegular-Regular.woff') format('woff'), url('/back/type/Felix-Farjas/Capitale-Romaine/CapitaleRomaineFelixFarjasRegular-Regular.woff2') format('woff2'), url('/back/type/Felix-Farjas/Capitale-Romaine/CapitaleRomaineFelixFarjasRegular-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
    font-kerning: normal;
  }

* {
	box-sizing: border-box;
}

body {
	font-family: "Cap Rom";
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
    width: 100%;
    background-color: #c8dbed;
    overflow: hidden;
    margin:0;
    --time: 4s;
}

h1 {
    font-variation-settings:'wght' 180, 'wdth' 100;
    animation: a var(--time) ease-in-outs infinite forwards;
    font-weight: normal;
    font-size: 12vw;
    line-height: 12vw;margin-top: 2vw;  }
  h1>span{transition-duration: .3s;cursor: zoom-in;}
  h1>span:hover{font-size: 15vw;border-radius: .05em; box-shadow: 5px 5px .5em black;}  
  h1>span:nth-child(10n){animation: a var(--time) ease-in-out -0s infinite forwards;}
  h1>span:nth-child(10n+1){animation: a var(--time) ease-in-out -0.4s infinite forwards;}
  h1>span:nth-child(10n+2){animation: a var(--time) ease-in-out -0.8s infinite forwards;}
  h1>span:nth-child(10n+3){animation: a var(--time) ease-in-out -1.2s infinite forwards;}
  h1>span:nth-child(10n+4){animation: a var(--time) ease-in-out -1.6s infinite forwards;}
  h1>span:nth-child(10n+5){animation: a var(--time) ease-in-out -2s infinite forwards;}
  h1>span:nth-child(10n+6){animation: a var(--time) ease-in-out -2.4s infinite forwards;}
  h1>span:nth-child(10n+7){animation: a var(--time) ease-in-out -2.8s infinite forwards;}
  h1>span:nth-child(10n+8){animation: a var(--time) ease-in-out -3.2s infinite forwards;}
  h1>span:nth-child(10n+9){animation: a var(--time) ease-in-out -3.6s infinite forwards;}


  @keyframes b {
    0% {
      font-variation-settings: 'wght' 70, 'wdth' 100;

    }

    50% {
        font-variation-settings: 'wght' 180,'wdth' 100;
      }


    100% {
      font-variation-settings: 'wght' 70, 'wdth' 100;
    }}
    @keyframes c {
      0% {
        font-variation-settings: 'wght' 70, 'wdth' 100;
  
      }
  
      50% {
          font-variation-settings: 'wght' 180,'wdth' 100;
        }
  
  
      100% {
        font-variation-settings: 'wght' 70, 'wdth' 100;
      }}
 @keyframes a {
    0% {
      font-variation-settings: 'wght' 70, 'wdth' 100;

    }

    50% {
        font-variation-settings: 'wght' 180,'wdth' 200;
      }


    100% {
      font-variation-settings: 'wght' 70, 'wdth' 100;
    }}


    h1>span:hover{font-variation-settings: 'wght' 70}









/*   @keyframes breathe {
    0% {
      font-variation-settings: 'wght' 70, 'wdth' 100
    }

    20% {
        font-variation-settings: 'wght' 70, 'wdth' 100
      }


    40% {
      font-variation-settings: 'wght' 70, 'wdth' 200;
    }
    60% {
        font-variation-settings: 'wght' 180,'wdth' 200
      }

      80% {
        font-variation-settings: 'wght' 180, 'wdth' 100;
      }
  
    100% {
      font-variation-settings: 'wght' 70, 'wdth' 100;
    }
  }

  @keyframes graisse {
    0% {
      font-variation-settings: 'wght' 180, 'wdth' 100
    }

    20% {
        font-variation-settings: 'wght' 70, 'wdth' 100
      }


    40% {
      font-variation-settings: 'wght' 70, 'wdth' 200;
    }
    50% {
        font-variation-settings: 'wght' 180,'wdth' 200
      }

      80% {
        font-variation-settings: 'wght' 180, 'wdth' 100;
      }
  
    100% {
      font-variation-settings: 'wght' 180, 'wdth' 100;
    }
  }

  @keyframes chasse {
    0% {
      font-variation-settings: 'wght' 70, 'wdth' 200
    }

    20% {
        font-variation-settings: 'wght' 70, 'wdth' 100
      }


    40% {
      font-variation-settings: 'wght' 70, 'wdth' 200;
    }
    60% {
        font-variation-settings: 'wght' 180,'wdth' 200
      }
 
      80% {
        font-variation-settings: 'wght' 180, 'wdth' 200;
      }
  
    100% {
      font-variation-settings: 'wght' 70, 'wdth' 200;
    }
  } */





















































  @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
    }
  }
