@font-face {
    font-family: JetBrains;
    src: url(font/JetBrainsMono.woff2);
}

@font-face {
    font-family: JetBrainsItalic;
    src: url(font/JetBrainsMono-Italic.woff2);
}

@font-face {
    font-family: outward-round;
    src: url(font/outward-round-webfont.woff);
}

@font-face {
    font-family: outward-round;
    src: url(font/outward-round-webfont.woff2);
}

@font-face {
    font-family: terminal;
    src: url(font/terminal-grotesque-webfont.woff);
}

@font-face {
    font-family: terminal;
    src: url(font/terminal-grotesque-webfont.woff2);
}

@font-face {
    font-family: Agiro;
    src: url(font/Agiro.woff);
}
@font-face {
    font-family: Agiro;
    src: url(font/Agiro-Regular.woff2);
}

@media (max-width:500px) {
    body{
        grid-template-columns: 1fr;
    }
    h1{
        position: static;
    }
    img{
        size: 100%;
        grid-template-columns: 1fr;
        align-items: center;
    }
}

@keyframes shake1 {
    0%    { transform:  translateX(0em) }
    33%   { transform:  translateX(45em) }
    66%   { transform:  translateX(-45em) }}

@keyframes shake2 {
    0%    { transform:  translateX(0em) }
    30%   { transform:  translateX(33em) }
    70%   { transform:  translateX(-35em) }}   
    
@keyframes shake3 {
    0%    { transform:  translateX(0em) }
    40%   { transform:  translateX(-35em) }
    80%   { transform:  translateX(33em) }}    

@keyframes shake4 {
    0%    { transform:  translateY(0em)  }
    40%   { transform:  translateY(-30em) }
    80%   { transform:  translateY(30em) }}

   

#accueil{
    
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(4, 1fr);
    height: 100vh; 
    background-color: #edff47;  
}

.ligne {
    /*overflow-x: scroll;*/
    grid-column: 2/ span 3;
    font-family: 'Agiro';
    font-size: 12em;
    margin: 0em;
    border-color: #ff4935;
    color: #ff4935;
    opacity: 1;
    ;

}

.column {
    font-family: 'Agiro';
    font-size: 12em;
    margin-bottom: 0;
    margin-top: 0;
    color: #ff4935;
    
}


#I {
    grid-column: 2/ span 3;
    grid-row: 2;
    animation: shake1 linear 10s infinite
    

}


#this{
    grid-row: 1;
    grid-column: 2/ span 3;
    animation: shake2 linear 4.5s infinite


}

#fine{
    grid-row: 3;
    grid-column: 2/ span 3;
    animation: shake3 linear 7s infinite

}

#exclam1{
    grid-row: 1;
    grid-column: 1;
    animation: shake4 linear 2s infinite
}

#exclam2{
    grid-row: 2;
    grid-column: 1;
    animation: shake4 linear 2s infinite
}

#exclam3{
    grid-row: 3;
    grid-column: 1;
    animation: shake4 linear 2s infinite
}

a {
    text-decoration: none;
    transition: color 500ms linear 0ms;
    color: black;
    
}

a:hover {
    color: rgb(36, 193, 255)
}



h2{
    font-size: 1.75em;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
}

                        /*MECHANT*/


#head_mech{
    background: #9419ff;
    color: rgb(253, 255, 121);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#body_mech {
    color:#333; 
    background-color:  rgb(216, 216, 216) ;
    line-height: 1.4;
    font-size: 1.25em;
}

#mech_article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);


}

#not_tht_deep{
    width: 50%;
    height: auto;
    left: 10px;
}

#ettore-sottsass-jr {
    font-family: 'terminal';
    font-weight: 600;
}




/*div {
    display: grid;
    grid-template-columns: 4fr;
    column-count: 2;
        column-gap: 20px; }/* Espace entre les colonnes */


p {
    font-family: 'terminal';
    font-weight: 400;
    margin: 0;
    line-height: 1.5; /* Augmentation de l’interligne */
    text-indent: -2em;
    margin-left: 2.5em;
    margin-right: 2.5em;
    margin-top: 1em;
    hyphens: none;    
}

#mech_p1{

    grid-columns: 1 ;
    
}

#mech_p2 {

    grid-columns: 2;
}




h1 {font-size: 4.5em ;
    line-height: 1;
    text-wrap: balance;
    text-align: center;
    font-family: 'terminal';
    font-weight: 10;
    
    
}




header{
    background: #000;
    color: whitesmoke;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  li{
    list-style-type: square;
    font-family: ;
    margin-left: 3em;
  }
  
  

