@font-face {
    font-family: "Tiltortion";
    src: url("Tiltortion.woff") format("woff");
    }

body{
    background-color: #11101e;
    overflow-x: hidden;
    font-family: "Tiltortion";
    font-size: 1vw;
}

img{
    z-index: 1;
    position: absolute;
    margin-left: -1vh;
    margin-top: -10vw;
    width: 99vw;
}

#titre{
    font-size: 10em;
    color: #d8b150;
    text-align: center;
    position: relative;
    width: 98vw;
    top: 10vw;
    z-index: 8;
    margin-bottom: 40vw;
    animation-duration: 5s;
    animation-name: gresilleTitre;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes gresilleTitre {
    14%   { color: #d8b150; }
    15%   { color: black; }
    16%   { color: #d8b150; }
    54%   { color: #d8b150; }
    55%  { color:black ; }
    56%   { color: #d8b150; }
    58%   { color: #d8b150; }
    59%  { color:black ; }
    60% { color: #d8b150; }
}

#optionButton{
    background-color: transparent;
    position: fixed;
    font-family: 'Tiltortion';
    font-size: 2em;
    text-decoration: none;
    color: white;
    bottom: 5%;
    right: 1%;
    height: 3vw;
    width: 3.3vw;
    text-align: center;
    padding-top: 0.3%;
    border: none;
    z-index: 9;
}

#optionBox{
    display: none;
    background-color: none;
    position: fixed;
    z-index: 9;
    right: 2%;
    bottom: 20%;
    height: 10vw;
    width: 8vw;
}

#bandeau-rtl {
    max-width: 100vw;
    height: 15vw;
    margin-top: 0vw;
    margin-bottom: 10vw;
    overflow: hidden;
    color: #d8b150;
    font-size: 5em;
    visibility: visible;
}

  #bandeau-rtl > :first-child {
    display: inline-block;
    padding-right: 2vw;
    padding-left: 100%;
    white-space: nowrap;
    animation: defilement-rtl 30s infinite linear;
}

@keyframes defilement-rtl  {
    0% {
      transform: translate3d(0,0,0);
    }
    100% {
      transform: translate3d(-100%,0,0);
    }
}

#dragLetter {
    position: absolute;
    z-index: 9;
    font-size: 30em;
    top: 108vw;
    left: 35vw;
  }
  
#dragLetterheader {
    cursor: move;
    z-index: 10;
    height: 20vh;
  }

#letterA{
    width: 18vw;
    filter: none;
}

#letterW{
    z-index: 8;
    background-color: none;
    position: relative;
    top: -10vw;
    left: 20vw;
    width: 44vw;
    filter: none;
    animation-duration: 10s;
    animation-name: gresilleW;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes gresilleW {
    20%   { filter: none; }
    20.5%   { filter: grayscale(100) contrast(100) invert(100); }
    21.5%   { filter: none; }
    50%   { filter: none; }
    50.5%   { filter: grayscale(100) contrast(100) invert(100); }
    51.5%   { filter: none; }
}

#letterH{
    z-index: 8;
    position: relative;
    left: -35vw;
    top: 5vw;
    width: 24vw;
    filter: none;
}

#letterM{
    z-index: 8;
    position: relative;
    left: -12vw;
    top: 5vw;
    width: 25vw;
    filter: none;
    animation-duration: 5s;
    animation-name: gresilleM;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes gresilleM {
    20%   { filter: none; }
    21%   { filter: grayscale(100) contrast(100) invert(100); }
    49%   { filter: grayscale(100) contrast(100) invert(100); }
    50%   { filter: none; }
    51%   { filter: grayscale(100) contrast(100) invert(100); }
    52%   { filter: grayscale(100) contrast(100) invert(100); }
    53%   { filter: none; }
}

#zoneTexte{
    background-color: transparent;
    color:#d8b150;
    padding: 1.5vw;
    z-index: 8;
    position: relative;
    border: solid 1vw #00867f;
    margin-left: 8.5vw;
    margin-top: 15vw;
    margin-bottom: 10vw;
    width: 75vw;
    height: 6.2vw;
    font-family: 'Tiltortion';
    font-size: 5em;
    overflow: hidden;
    resize: none;
}

#fontInUse{
    z-index: 9;
    position: relative;
    width: 55vw;
    top: 7vw;
    left: 21vw;

}

#download{
    z-index: 8;
    position: relative;
    text-decoration: none;
    background-color: #d8b150;
    color: #11101e;
    font-size: 5em;
    padding: 1vw;
    padding-left: 3.5vw;
    padding-right: 3.5vw;
    left: -24vw;
    top: 23.1vw;
    animation-duration: 2s;
    animation-name: clignoter;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes clignoter {
    48%   { background-color: #d8b150; }
    50%  { background-color: black; }
    98%  { background-color: black; }
    100%   { background-color: #d8b150; }
  }

#footer{
    position: relative;
    background-color: none;
    text-align: center;
    z-index: 9;
    top: 45vw;
    bottom: 0px;
    width: 100vw;
    font-size: 2em;
    color: #11101e;
}

#credits1{
    background-color: none;
    text-decoration: none;
    color: #11101e;
}

#credits2{
    background-color: none;
    text-decoration: none;
    color: #11101e;
}