@font-face {
    font-family: "labeur";
    src: url("../src/font/terminal-grotesque-webfont.woff");
}
@font-face {
    font-family: "title";
    src: url("../src/font/terminal-grotesque-webfont.woff");
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* variables */
:root{
    --main-padding: 15px;
    --main-font: "labeur" ; 
    --main-fontsize: 17px;
    --main-line-height: 20px;
    --orange:#eb8224;
    --jaune: #ebc952; 
    --jaune-clair: #e9d58f;
    --background : #202020;
}

body{
    overflow-x: hidden;
    background-color: var(--background);
    padding: 290px 15px 15px 15px;
    min-height: 100vh;
    width: 100vw;
    display : grid;

    grid-template-columns: minmax(auto,460px) auto;
    grid-template-rows: auto;
    grid-template-areas: 
        "txt list";
    gap: 5px;

    font-family: var(--main-font);
    color: var(--jaune);
    font-size: var(--main-fontsize);
    line-height: var(--main-line-height);

    cursor: url("../src/img/souris_jaune.png") 5 5, auto;
    /**/
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
/*    overflow: auto;*/
}
body::-webkit-scrollbar {
    display: none;
}
a:hover{
    cursor: url("../src/img/souris_jaune.png") 5 5, auto;
}

header{
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    padding-right: 50px;
    top: 0;
    left: 0;
    right: 0;
    margin-left: var(--main-padding);    
    font-size: var(--main-fontsize);
    font-family:var(--main-font);
    color:var(--rose);
}
header::before{
content: "";
z-index: -1;
display: block;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 45px;
background-color: var(--background);
}
header nav{
    display: flex;
}
ul#social {
    display: flex;
    gap: 50px;
}
ul#social li {
    display: block;
    list-style: none;
    min-width: 4rem;
}
ul#social li > a{
    color: var(--jaune);
    text-decoration-line: none;
}
ul#social li > a:hover{
    color: var(--orange);
    text-decoration-line: underline;
}

#svg_logo{
    display: flex;
    margin-left: 120px;
    width: 200px;
    height: 200px;    
    justify-content: center;
    align-items: center;
}
#svg_logo a{    
    display: block;
    width: 140px;
    height: 140px;
    background-color: var(--background);
    border-radius: 50%;
    padding: 5px;
    animation: ani 4s linear infinite;}
#svg_logo svg{
    width: 100%;
    filter: drop-shadow(0px 0px 5px rgba(235, 130, 36, 0.8));
}
@keyframes ani{
    0% {transform: rotateY(0deg) ;}
    50% {transform: rotateY(0deg);}
    100% {transform: rotateY(360deg) ;}
}
#svg_logo path,
#svg_logo ellipse{
    fill: var(--orange);
}

#txt{
    grid-area: txt;
    justify-self: left;
    align-self: start;
    max-width: 460px;

    padding-top: 10px;
    padding-right: 10px;
    margin-left: 10px;
}
#txt p{
    margin-bottom: 12px;
}
#txt sup{
    line-height: 0;
}

ul#article-blog{
    grid-area: list;

    padding-top: 0px;
    justify-self: center;
    align-self: start; 
    line-height: 29px;      
}
ul#article-blog li{
    display: block;
    list-style: none;
    min-width: 4rem;

}
ul#article-blog li > a{
    font-family: "title";
    font-size: 1.2em;
    text-transform: uppercase;
    color: var(--orange);
    text-decoration-line: none;
}
ul#article-blog li > a:hover{
    color: var(--jaune);
    text-decoration-line: none;
}

@media screen and (max-width:1200px){

    header{
        flex-direction: column-reverse;
        align-items: center;
        padding: 10px 0 0 0;
        margin: 0;
    }

    #svg_logo{
        margin-left: 0;
    }  

    ul#social li {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; 
    }

    #svg_logo a{    
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; 
    }
}
@media screen and (max-width: 500px){
   header{
    flex-direction: column-reverse;
    align-items: center;
    padding: 10px 0 0 0;
    margin: 0;
   }

   #svg_logo{
    justify-self: center;
    margin-left: 0;
    }

    body{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: 
            "txt"
            "list";
        gap: 5px;
    }

    #txt{
        padding-top: 0;
    }

    ul#article-blog li{
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; 
    }

    ul#social li {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; 
    }

    #svg_logo a{    
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; 
    }
}

