@font-face {
    font-family: CabinetGrotesk;
    /* set name */
    src: url(../fonts/CabinetGrotesk-Regular.woff2);
    /* url of the font */
}

@font-face {
    font-family: Annie;
    src: url(../fonts/annie-use-your-telescope-latin-400-normal.woff2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: CabinetGrotesk, sans-serif;
    background: #FFF4EB;

    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

.background-frame {
    background: url(img/background_masque.png);
    background-size: contain;
    width: 1635px;
    height: 1570px;
    position: absolute;
    top: -200px;
    left: -255px;
    z-index: -1;
}

.background-aside {
    background: #FFF4EB url(img/herbe_aside.png);
    background-size: contain;
    width: 779px;
    height: 1150px;
    position: absolute;
    top: -267px;
    right: -32px;
    z-index: -1;
}


/* STRUCTURE */

h1 {
    font-family: Annie;
    color: #2A430C;
    font-size: 3rem;
    font-weight: 100;
    line-height: 0.8em;
    margin-left: 0.5em;
    margin-top: 1.3em;
}

h1 span {
    font-size: 7.5rem;
}

.stage-wrap {
    z-index: -2;
    position: relative;
    right: -34px;
}

.app {
    display: flex;
    gap: 1em;
    z-index: 1;


    section {
        width: 100%;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin-left: 10em;

        .export,
        .transformers label {
            margin-bottom: 5em;
            margin-left: 8em;
        }

        .row {
            padding-bottom: 10px;
        }

    }

    header {
        padding: 1em;
    }

    aside {
        width: 55vw;
        max-height: 100dvh;
        margin-right: 7%;

        .aside-align-vert {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 88dvh;
            position: relative;
            left: -5px;
        }

        .navBloc {
            display: flex;
            height: 600px;
            vertical-align: middle;
        }

        nav {
            padding: 1em;
        }



    }
}


.panes {
    height: 100%;
    overflow: auto;
    scrollbar-color: #2A430C #2a430c29;
    scrollbar-width: thin;

    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1em;
        padding: 0.8em
    }
}



/* AVATAR SPACE */

.stage-wrap {
    border: 1px solid black;
    aspect-ratio: 1/1;
    width: min(100%, 900px);
    scale: 1.05;
}

.stage-wrap .svg {
    position: absolute;
    width: 0;
    height: 0;
}

#clipped {
    width: min(100%, 640px);
    height: 100%;
    background: turquoise;
    background-size: cover;
    -webkit-clip-path: url(#my-clip-path);
    clip-path: url(#my-clip-path);
}

/* TABS DESIGN*/

.tabs {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    left: -55px;

    button:nth-child(1) {
        rotate: 10deg;
    }

    button:nth-child(2) {
        rotate: -4deg;
    }

    button:nth-child(3) {
        rotate: 13deg;
    }

    button:nth-child(4) {
        rotate: 7deg;
    }

    button:nth-child(5) {
        rotate: 2deg;
    }

    button:nth-child(6) {
        rotate: -12deg;
    }

    button:nth-child(7) {
        rotate: 11deg;
    }

    button:nth-child(8) {
        rotate: 3deg;
    }

    button:nth-child(9) {
        rotate: -5deg;
    }

    button:nth-child(10) {
        rotate: -4deg;
    }

    button:nth-child(11) {
        rotate: 8deg;
    }

    button:nth-child(12) {
        rotate: -2deg;
    }

    button:nth-child(13) {
        rotate: -4deg;
    }
}


.tab {
    padding: 6px 8px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
}

.tab[aria-selected="true"] {
    border-color: #333
}

/* PANES FONCTION */

.pane {
    display: none
}

.pane[aria-hidden="false"] {
    display: block
}

/* CARDS DESIGN */


.card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer
}

.card:hover {
    outline: 1px dashed #2a430c37;
    background-color: #2a430c25;
}

.card.active {
    outline: 1px solid #2a430c92
}

.card.disabled {
    opacity: .45
}

.card svg {}

.card img.thumb {
    width: 100%;
    height: auto;
    background: none;
    display: block
}

.card label {
    font-size: 12px
}

.none {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-image: url(../assets/png/thumbnails/\ thumbnail_aucun.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    color: #2a430c00;
}

button {
    font-family: CabinetGrotesk;
    background: none;
    padding: 6px 8px;
    margin-right: 4px;
    border: 1px solid #2A430C;
    border-radius: 6px;
    cursor: pointer;
    color: #2A430C;
}

.row button:hover {
    background-color: #2A430C;
    color: #FFF4EB;
}

button.tab {
    border: none;
    background: none;
    font-size: 1.3em;
}

button.tab:hover {
    text-decoration: underline;
}

.hint {
    font-family: CabinetGrotesk;
    font-size: 0.7em;
    color: #2A430C;
    margin-top: 20px !important;
}

.card .remove {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    background-color: #fff4ebad;
    border: 1px solid #2A430C;
    margin: 3px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s ease-in-out;
}

.card:hover .remove,
.card.active .remove {
    opacity: 1;
}

/*
.card .remove:hover {
    border-color: #333
}

.card.disabled .remove {
    display: none
}

.card:nth-child(1) {
    rotate: 2deg;
}

.card:nth-child(2) {
    rotate: -1deg;
}

.card:nth-child(3) {
    rotate: 3deg;
}

.card:nth-child(4) {
    rotate: 0deg;
}

.card:nth-child(5) {
    rotate: 2deg;
}

.card:nth-child(6) {
    rotate: -3deg;
}

.card:nth-child(7) {
    rotate: 1deg;
}

.card:nth-child(8) {
    rotate: 2deg;
}

.card:nth-child(8) {
    rotate: 0deg;
}

.card:nth-child(9) {
    rotate: -3deg;
}

.card:nth-child(10) {
    rotate: -2deg;
}

.card:nth-child(11) {
    rotate: 0deg;
}

.card:nth-child(12) {
    rotate: 2deg;
}

.card:nth-child(13) {
    rotate: -3deg;
}

.card:nth-child(14) {
    rotate: 1deg;
}

.card:nth-child(15) {
    rotate: 2deg;
}

.card:nth-child(16) {
    rotate: 0deg;
}