@font-face {
    font-family: grotesk;
    src: url(fontes/abyme/CarteAntique-Condensed.otf);
}

@font-face {
    font-family: slab;
    src: url(fontes/slab/Novecentoslabwide-UltraBold-webfont.woff2);
}


@font-face{
    font-family: herbik;
    src: url(fontes/abyme/berthe_medium/Berthe-Medium.otf);
}

@font-face{
    font-family: herbik;
    src: url(fontes/abyme/berthe_medium/Berthe-MediumItalic.otf);
    font-style: italic;
}

.scan-wrapper{
    position: fixed;
    top: 0;
}

em{
    font-style: italic;
}

::selection{
    background-color: black;
    color: white;
}

:root{
    --marge : 10px;
    --fsreg : 1.3rem;
    --grey : whitesmoke; 
    --shade : 0 0 10px black;
}

html{
    scroll-behavior: smooth !important;

}

body{
    font-family: grotesk;
    font-size: 1.3rem;
}

main{
    font-family: herbik;
}

header{
    display: block;
    position: sticky;
    top: 0;
    z-index: 9;
    background-color: white;
    width: 100%;
    padding-bottom: var(--marge);
    left: 0;
    box-sizing: border-box;
    
}

header div{
    align-items: center;
    display: flex;
    padding: var(--marge);
    padding-bottom: 0;
    justify-content: space-between;
}



#search{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

.roman{
    font-family: herbik;
    font-style: italic;
}

header a{
    transition: .2s;
    display: block;
    position: relative;
    transform-origin: center;
}

header a:hover{
 /*filter: url(#scanFilter);*/
    text-decoration: 1px solid black underline;
}

@media (orientation:portrait){

    header{
        display: contents;
    }

    #toMenu{
        display: block;
        position: sticky;
        top: 0;
        z-index: 5;
        background-color: white;
        padding-bottom: var(--marge);
    }

    #accesArt{
        display: block;
        padding-top: 0;
    }

    #accesArt a {
        display: block;
        line-height: 1.3;
    }

    :root{
        --marge : 15px;
        --fsreg : 1.1rem;
    }

    body{
        font-size: 1.1rem;
    }

    #search{
        display: block;
        position: relative;
        top: unset;
        right: unset;
    }
}