@font-face {
    font-family: bast;
    src: url("Basteleur-Moonlight.woff");
}

a {color:red;}

body {
    background-color: black;
    color:white;
    font-family:bast;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

html::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    scrollbar-color: transparent;
}

* {
    scrollbar-color: transparent;
    scrollbar-width: none;  /* Firefox */
    
}

*::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    scrollbar-color: transparent;
}

:root {
    --color:red;
    --borderStyle:dotted;
    --borderWidth:1px;
    --backgroundColor:rgba(42, 0, 0, 0.316);
}

.hidden {
    /* display: none; */
    transition: 0.5s;
    opacity: 0;
    pointer-events: none;
}

.hidden2 {
    display: none;
}

#borders div {
    position:fixed;
    background-color: black;
    pointer-events: none;
    z-index: 100;
}

#b1 {
    top:0;
    left:0;
    width:100vw;
    height:5vh;
}

#b2 {
    top:0;
    right:0;
    width:calc(5vh - 2px);
    height:100vh;
}

#b3 {
    bottom:0;
    left:0;
    width:100vw;
    height:calc(5vh - 2px);
}


#side {
position: fixed;
top:0;
left:0;
width:25vw;
height:100vh;
background-color: black;
z-index:30;
}


#logoDiv {
    position:absolute;
    top:5vh;
    left:50%;
    transform: translate(-50%,0);
    /* border:var(--borderStyle) var(--color)var(--borderWidth); */
    /* border-radius: 100px; */
    width:200px;
    /* animation: rotate infinite 100s linear; */
}

#logo {
    width:inherit;
    /* transform: translate(vw,0); */
    /* border-radius: 100px; */
}

/* ================= */

#navig {
    position:fixed;
    top:50%;
    left:0;
    width:inherit;
    /* height:70v; */
    text-align: center;
    transform: translate(0,-50%);
}

/* ABOUT */

.subbb {
    /* position:fixed;
    top:40%;
    left:5%; */
    cursor: pointer;
    text-align: center;
    font-size:20px;
}


.submenu {
    position:absolute;
    top:5vh;
    left:25vw;
    width:calc(73vw - 5vh);
    height:calc(90vh - 2vw) ;
    background-color:var(--backgroundColor);
    color:var(--color);
    border: var(--borderStyle) var(--color)var(--borderWidth);
    padding:1vw;
    /* padding-top:2vw; */
    text-align: center;
    overflow: scroll;
    z-index: 10000;
    transition: 0.5s;
    /* opacity: 1; */
}

.x {
    position:absolute;
    top:0;
    left:1vw;
    cursor: pointer;

    
}












.searchDiv {
    position:absolute;
    top:5vh;
    left:25vw;
    width: calc(75vw - 5vh);
    /* height:5vh; */
    z-index: 10;
    transition: 0.5s;
}

#searchBar {
    top:0;
    left:0;
    position:absolute;
    background-color:rgba(20, 0, 0);
    border:var(--borderWidth) var(--borderStyle) var(--color);
    padding:10px;
    color:var(--color);
    width: calc(75vw - 5vh - 20px);
    font-family: bast;

}

#searchBar::placeholder {
    color:var(--color);
    font-family: bast;
}

#searchBar:focus {
    outline: none;
}


#bg {
    position: fixed;
    top:5vh;
    left:25vw;
    overflow: hidden;
    width:calc(75vw - 5vh);
    height:90vh;
    opacity: 0.7;
    z-index: -1;
    padding:0;
    margin:0;
    transform: scale(200%);
    transition: 0.5s;
}






#grid {
    transition: 0.5s;
    position: fixed;
    top:5vh;
    left:25vw;
    width:calc(75vw - 5vh);
    height:calc(90vh - 20px);
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    align-items: center;
    justify-items: center;
    margin:0;
    padding-top:20px;
    overflow:auto;
    background-color:var(--backgroundColor);
    /* gap: 50px; */
    border:var(--borderWidth) var(--borderStyle) var(--color);
    /* border-right:var(--borderWidth) var(--borderStyle) var(--color); */
}

.gridElem {
    /* border:var(--borderWidth) var(--borderStyle) var(--color); */
    /* border-width: 10px; */
    width:27vw;
    /* margin-bottom:auto; */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    flex-direction: row;
    /* text-align:center; */
    padding:1vw;
    margin:10px;
    cursor:default;
    
    
}

.image{
    width:100%;;
    cursor:pointer;
    border:var(--borderWidth) var(--borderStyle) var(--color);
    opacity: 1;
}






.gridElem:nth-child(2n) {
    transform: translate(0,300px);
    /* border-right:var(--borderWidth) var(--borderStyle) var(--color); */
}


.date {
    font-size: 10px;
    line-height: 10px;
}

.titre {
    font-size: 25px;
    font-weight: bold;
    /* line-height: none; */
    /* padding:0; */
    /* margin: 0; */
}

.desc {
    font-size: 15px;
}

#options {
    font-size: 15px;
}

.available {
    border: var(--borderStyle) var(--color)var(--borderWidth);
    border-radius:20px;
    padding:2px 10px;
    color:var(--color);
    
}

.available_sold {
    border: var(--borderStyle) rgb(50, 50, 50)var(--borderWidth);
    border-radius:20px;
    padding:2px 10px;
    color:rgb(50, 50, 50);
}

.available_mto {
    border: var(--borderStyle) white var(--borderWidth);
    border-radius:20px;
    padding:2px 10px;
    color:white;
}

.tags {
    font-size: 12px;
    color:var(--color);
}

.tags a {
    font-size: 12px;
    color:var(--color);
    font-weight: bold;
}


.newDiv {
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    margin:auto;
    overflow:scroll;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    
}

.newImg {
    /* width:50vw; */
    max-width: 33vw;
    justify-content: center;
    align-items: center;
}



@media screen and (max-width: 800px) {


    #logoDiv {
        position:absolute;
        top:0;
        left:50%;
        transform: translate(-50%,-25%);
        /* border:var(--borderStyle) var(--color)var(--borderWidth); */
        /* border-radius: 100px; */
        width:30vh;
        /* animation: rotate infinite 100s linear; */
    }

    #logo {
        width:30vh;
    }


    #navig {
        position:fixed;
        top:14.5vh;
        left:2.5vw;
        width:95vw;
        height:15vh;
        text-align: center;
        /* line-height: 1vw; */
        display: inline-flex;
        font-size:2vh;
        transform: translate(0,0);

    }

    .subbb {
        /* position:fixed;
        top:40%;
        left:5%; */
        cursor: pointer;
        text-align: center;
        font-size:2.5vh;
    }

    #contactText {
        position: absolute;
        left:50%;
        transform: translate(-50%,0);
    }

    #orderText {
        position:absolute;
        right:0;
    }

    

    .submenu {

        position:absolute;
        top:20vh;
        left:2.5vw;
        width:93vw;
        height:calc(80vh - 7vw) ;
        background-color:var(--backgroundColor);
        color:var(--color);
        border: var(--borderStyle) var(--color)var(--borderWidth);
        padding:1vw;
        /* padding-top:2vw; */
        text-align: center;
        overflow: scroll;
        z-index: 10000;
    }


    #side {
        position: fixed;
        top:0;
        left:0;
        width:100vw;
        height:20vh;
        background-color: black;
        z-index:30;
        }

        .searchDiv {
            position:absolute;
            top:20vh;
            left:2.5vw;
            width: 95vw;
            z-index: 10;
        }

        #searchBar {
            padding:1vw 2vw;
            width: 91vw;
            height:calc(5vh - 2vw - 1px);
        
        }

      

    #grid {
        top:25vh;
        left:2.5vw;
        width:95vw;
        height:calc(75vh - 5vw);
        grid-template-columns: auto;
        padding-top:0px;
    }
 

.gridElem {
    /* border:var(--borderWidth) var(--borderStyle) var(--color); */
    /* border-width: 10px; */
    width:80vw;
    /* margin-bottom:auto; */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    flex-direction: row;
    /* text-align:center; */
    padding:1vw;
    margin:10px;
    cursor:default;
    
    
}

.gridElem:nth-child(2n) {
    transform: translate(0,0);

}


.date {
    font-size: 1vw;
    line-height: 1vw;
}

.titre {
    font-size: 5vw;
    font-weight: bold;
    /* line-height: none; */
    /* padding:0; */
    /* margin: 0; */
}

.desc {
    font-size: 3vw;
}

#options {
    font-size: 3vw;
}

.available {
    border: var(--borderStyle) var(--color)var(--borderWidth);
    border-radius:20px;
    padding:2px 10px;
    color:var(--color);
    
}

.available_sold {
    border: var(--borderStyle) rgb(50, 50, 50)var(--borderWidth);
    border-radius:20px;
    padding:2px 10px;
    color:rgb(50, 50, 50);
}

.available_mto {
    border: var(--borderStyle) white var(--borderWidth);
    border-radius:20px;
    padding:2px 10px;
    color:white;
}

.tags {
    font-size: 2.5vw;
    color:var(--color);
    line-height: 3vw;
}

.tags a {
    font-size: 2.5vw;
    color:var(--color);
    font-weight: bold;
    line-height: 3vw;
}

#bg {
    top:10vw;
    left:-20vw;
    width:100vw;
    transform: scale(300%);
}

#b1 {
    top:0;
    left:0;
    width:2.5vw;
    height:100vh;
}

#b2 {
    top:0;
    right:0;
    width:calc(2.5vw - 2px);
    height:100vh;
}

#b3 {
    bottom:0;
    left:0;
    width:100vw;
    height:calc(5vw - 2px);
}

.newImg {
    width:100vw;
}

}