@font-face { font-family: BebasNeue; src: url('../fonts/bebasneue/BebasNeue-Regular.ttf');}
@font-face { font-family: Borel; src: url('../fonts/borel/Borel-Regular.ttf');}
@font-face { font-family: CroissantOne; src: url('../fonts/croissantone/CroissantOne-Regular.ttf');}
@font-face { font-family: FiraMono; src: url('../fonts/firamono/FiraMono-Regular.ttf');}
@font-face { font-family: Gloock; src: url('../fonts/gloock/Gloock-Regular.ttf');}
@font-face { font-family: OpenSans; src: url('../fonts/opensans/OpenSans-Regular.ttf');}
@font-face { font-family: Pacifico; src: url('../fonts/pacifico/Pacifico-Regular.ttf');}
@font-face { font-family: PlayfairDisplay; src: url('../fonts/playfairdisplay/PlayfairDisplay-Regular.ttf');}
@font-face { font-family: Quicksand; src: url('../fonts/quicksand/Quicksand-Regular.ttf');}


/* RESET */
html {
    box-sizing: border-box;
    font-size: 1rem;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
ol, ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}

/*Test*/
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    /*
    height: 100vh;
    -webkit-user-select: none; 
    */
    
    touch-action: none;
    overflow: hidden;
    color: #333;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
   
    user-select: none;
}


header {
    padding: 10px; 
    padding-top: 0px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center; 
    padding-bottom: 1em;
    flex-grow: 1; 
}

.header-content img {
    height: 4em;
}

.header-button {
    position: fixed;
    right: 1rem;
    background-color: rgb(157, 157, 157);; 
    color: #fff; 
    padding: .25rem 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    justify-items: center;
    align-items: center;
    gap: .5rem;
    display: flex;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.header-button img {
    width: 1.6rem;
    filter: invert(100%);
    
}

.header-button p {
    font-size: .7rem;
    
}

.header-button:hover {
    background-color: rgb(100, 100, 100);;
}



main {
    flex-grow: 1;
    flex-shrink: 1;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    height: 100%;
}
main .fabric-container {
    margin: 1em;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
main canvas {
    border: 1px solid #eee;
}


footer {
    display: flex;
    flex-direction: column;

}
footer ul.icon-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: #eee;
    border-top: 1px solid #eee;
}
footer ul.icon-nav > li {
    flex: 1 0 160px;
    min-width: 120px;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
    font-size: 0.75em;
    cursor: pointer;
    background-color: white;
    position: relative;
}
footer ul.icon-nav > li > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
footer ul.icon-nav > li:hover {
    background-color: #eee;
}
footer ul.icon-nav > li > img {
    display: block;
    margin: auto;
    width: 3em;
    width: 4cap;
    height: 3em;
    height: 4cap;
    margin-bottom: 0.5rem;
}


footer ul.icon-nav > li.menuButtonTextStil {
    background-color: white;
}

footer ul.icon-nav li > span.buttonTextStil {
    background-color: #eee;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 0px 10px;
    margin-right: 5px;
    font-size: medium;
}

footer ul.icon-nav li > span.buttonTextStil:hover {
    background-color: #bebebe;
}


footer ul.icon-nav > li.highlight {
    background-color: rgb(244, 134, 184);
    color: white;
    margin-top: -1px;
}
footer ul.icon-nav > li.highlight:hover {
    background-color: #f66baa;
    color: white;
}
footer ul.icon-nav > li.highlight > img {
    filter: invert();
}


footer div.headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #ddd;
}
footer div.headline h2 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
}
footer div.headline > span > img {
    display: inline-block;
    margin: auto;
    width: 1.5em;
    width: 2cap;
    height: 1.5em;
    height: 2cap;
    margin-right: 0.5rem;
}
footer div.headline > span {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
}

footer ul.list-select {
    max-height: 16rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    background-color: #ddd;
}

footer ul.list-select li {
    display: inline-block;
    border-bottom: 1px solid transparent;
    padding: 0.5rem;
    gap: 1px;
    background-color: #fff;   
    text-align: center;

}

footer ul.list-select > li > img {
    width: 6rem;
    display: inline-block;
    max-width: 100%;
    height: auto; 
}


footer ul.list-select li.selected {
    border-bottom-color:rgb(244, 134, 184);    
    border-bottom: 1px solid ;
}

footer ul.list-select li:hover {    
    border-bottom: 1px solid ;
    border-bottom-color: rgb(244, 134, 184);
    background-color: #f2f2f2;
    
}


.layer-container {
    position: fixed;
    right: 0;
    border: 1px solid #3333332a;
    border-radius: 0.5rem;
    background-color: white;
    margin-right: 2rem;
    padding: 0;
    min-width: 10%;
    margin: 1rem;
    padding: 1rem;

}

.layer-container li {
    border-bottom: 1px solid #0000000f;
    padding: 0.1rem;
}

.layer-container li:hover{
    border-bottom: 1px solid #d979ff;
    border-radius: 0.3rem;
    background-color: #faecff;
    cursor: pointer;
}


.sticker-card {
    text-align: center;
}

.sticker-card:hover {
    cursor: pointer;
}


.sticker-card span{
    font-size: 0.7rem;
    display: block;
}