@font-face{
    font-family: "abrade";
    src: url(font/Abrade\ Thin.otf);
}

@media screen and (orientation: landscape)
{
    :root
    {
        --gridwidth: 40%;
        --columns: 3;
        --gap: 0.2vw;
        --imagecorner: 0.4vw;
        --psize: 1vw;
        --h1size: 1.5vw;
        --h1sizehover: 2vw;
        --navlayout: 2 / 1 / 4 / 2;
        --navdirection: column;
        --thumbwidth: 100%;
        --thumbheight: auto;
        --contlayout: 2 / 2 / 4 / 8;
        --projinfomargin: 0.5vw;
        --projinfowidth: 3vw;
        --texteareawidth: 90%;
    } 

    #petit{display: none;}
}

@media screen and (orientation: portrait)
{
    :root
    {
        --gridwidth: 100%;
        --columns: 3;
        --gap: 0.5vw;
        --imagecorner: 2vw;
        --psize: 3.5vw;
        --h1size: 4vw;
        --navlayout: 5 / 1 / 6 / 8;
        --navdirection: row;
        --thumbwidth: auto;
        --thumbheight: 30vw;
        --contlayout: 2 / 1 / 5 / 8;
        --projinfomargin: 1vw;
        --projinfowidth: 11vw;
        --texteareawidth: 95%;
    }

    #grand{display: none;}
}

h1, h2, h3, h4, img, video, a, ul, li, label, form
{
    font-family: "abrade";
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
	-webkit-user-drag: none;
}

html, body, .navigation, .conteneur
{
    scrollbar-width: none;
	border: none;
	-ms-overflow-style: none;
	scrollbar-width: none;
	list-style: none;
}

::-webkit-scrollbar
{
    display: none;
}

h2{
    font-family: "abrade";
    font-size: var(--h2size);
}

h1{
    font-family: "abrade";
    font-size: var(--h1size);
}

a{
    font-family: "abrade";
    font-size: var(--h1size);
    text-decoration: none;
    text-decoration-color: none;
    color: black;
}

p, input{
    font-family: Arial, Helvetica, sans-serif;
}

*{
    margin: 0;
    padding: 0;
}

html{
    width: 100%;
    height: 100%;
}

body{
    height: fit-content;
    width: 100%;
}

input, button, .dashboard button, table button{
    display: inline-block;
    border: solid black 1px;
    background-color: white;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    width: auto;
    height: auto;
    transition: 0.25s;
}

input, button:hover{
    background-color: lightgrey;
    cursor: pointer;
    transition: 0.25s;
}

.dashboard {
    z-index: 100;
    position: fixed;
    padding: 10px;
    background-color: white;
    bottom: 0;
    left: 0;
    width: auto;
    border: 1px solid black;
    border-radius: 5px;
}

textarea {
    width: var(--texteareawidth);
    height: fit-content;
    resize: vertical;
    padding: 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {

    input, button, .dashboard button, table button{
        display: inline-block;
        border: solid black 1px;
        background-color: white;
        padding: 1vw;
        margin: 1vw;
        border-radius: 5px;
        width: auto;
        height: auto;
        font-size: 3vw;
    }
    
    input, button:hover{
        background-color: lightgrey;
        cursor: pointer;
    }
    
    .dashboard {
        z-index: 100;
        position: fixed;
        padding: 1vw;
        background-color: white;
        bottom: 0;
        left: 0;
        width: auto;
        border: 1px solid black;
        border-radius: 5px;
    }
    
    textarea {
        width: var(--texteareawidth);
        font-size: 2vw;
        height: fit-content;
        resize: vertical;
        padding: 1vw;
        box-sizing: border-box;
    }
    
    }
    
