@font-face {
    font-family: "GT-America";
    src: url("fonts/GTAmericaMono-Regular.ttf");
}

:root {
    --txt-black: black;
    --couleur: rgb(255, 0, 0);
    --gris-middle: rgb(178, 178, 178);

    --corps: 12.5px;
    --line-height: 15px;
    --hauteurligne: 15.5px;
}

body{
    margin: 0; 
    padding: 0;
    font-family: "GT-America";

    color: var(--txt-black);
    font-feature-settings: "liga", "kern";
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing : antialiased;
    font-size: var(--corps);
    line-height: var(--hauteurligne);
    letter-spacing: -.3px;
}

a{
    outline: none !important;
}

body :not(.rubrique, .categories div, .menu a)::selection {
    color: var(--gris-middle);
    background-color: transparent;
}

body ::selection {
    color: var(--gris-middle);
    background-color: transparent;
}

body :not(.rubrique, .categories div, .menu a)::selection {
    color: var(--gris-middle);
    background-color: transparent;
} 

body ::-moz-selection {
    color: inherit;
    background-color: transparent;
}

body ::selection {
    color: inherit;
    background-color: transparent;
} 


/*MENU*/
/*MENU*/
/*MENU*/

.menu, .categories, .majuscule, #scrollBlocs h3, 
.close-button, .nom, .blocsimages h3, .blocsimages .nouveau {
    letter-spacing: .25px;
}

.menu  {
    display: inline-block;
    margin-left: 12px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    position: fixed;
    top: var(--line-height);
    right: 20px;
    z-index: 10;
}

.menutel{
    display: inline-block;
    margin-right: 9px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
}

.menu a, .menutel a {
    text-decoration: none;
    color: var(--txt-black);
}

.menu a{
    margin-left: 12px;
}

.menutel a {
    margin-right: 12px;
}

@media (max-width: 799px) {
    .menu{
        display: none;
    }
}

.categories{
    z-index: 10;
    display: block;
    position: fixed;
    top: var(--line-height);
    left: 0px;
    width: 100%;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.categories span{
    margin-left: 20px; 
}

@media (min-width: 800px) {
    .menutel {
        display: none;
    }
    #graphisme, #apropoz{
        margin-left: 20px;
    }
}

.categories div{
    display: inline-block;
    margin-right: 12px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
}

.categories div#code{
    margin-right: 20px;
}

.categories a div{
    color: var(--txt-black);
}

.selected:not(.bloc), a.selected{
    color: var(--gris-middle);
}

.menu div#carte, .menu div#liste, .menutel div#carte, .menutel div#liste{
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

@media (max-width: 800px) {
    .menu div#liste{
        margin-left: 0px;
    }
}

#rectangle{
    width: 100%;
    height: calc(3*var(--line-height));
    background-color: white;
    z-index: 7;
    display: block;
    position: fixed;
    top: 0;
    /*border-bottom: 1px solid rgb(100, 100, 100);*/
}

.invisible {
    animation: .5s cubic-bezier(.48,.03,.58,.98) 2s 1 slideInFromLeft;
}

@-webkit-keyframes slideInFromLeft { /* -webkit- Chrome et Safari */
  0% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
  0% { transform: translateX(0px); }
}
@-moz-keyframes slideInFromLeft { /* -moz -Firefox */
  0% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
  0% { transform: translateX(0px); }
}
@-o-keyframes slideInFromLeft{  /* -o- Opera */
  0% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
  0% { transform: translateX(0px); }
}
@keyframes slideInFromLeft{ /* Navigateur aux normes w3c */
  0% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
  0% { transform: translateX(0px); }
}





/*Footer*/
/*Footer*/
/*Footer*/
#footergrappe, #mentionz{
    /*z-index: -2;*/
}

#footergrappe{
    color: var(--gris-middle);
    padding-left: 20px;
    margin-top: calc(1*var(--line-height));
    margin-bottom: var(--line-height);
    display: inline-block;
}

#mentionz{
    position: fixed;
    bottom: var(--line-height);
    right: 20px; 
    color: var(--gris-middle);
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 800px) {
    #mentionz{
        display: none;
    }
}
