@font-face {
    font-family: 'sfmadabd';
    src: url('sfmadabd_copy.ttf');
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
}

:root {
    --main-color: #FFC107;
    --secondry-color: #d3b662;
    --third-color: #2c3e50;
    --text-color: #8c8c8e;
    --card-color: #2c2c38;
    --blackColor: #000;
}

body {
    font-family: sfmadabd;
    /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
}

body {
    background-color: #f4f6f9;
    color: #000;
}

a {
    text-decoration: none;
}


/* ----- app ----- */

.app {
    padding: 8px;
    overflow: hidden;
}

img {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}


/* ----- header ----- */


/* navbar */

.navbar {
    position: fixed;
    min-height: 60px;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    color: var(--blackColor);
}

#section {
    background-color: #f4f6f9;
    border-radius: 10px;
}

#section img {
    cursor: pointer;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.filter-button-group button {
    color: var(--third-color);
    border: 1px solid var(--third-color) !important;
}

.filter-button-group button:hover {
    color: #000;
}

.filter-button-group button.active {
    border-color: var(--third-color) !important;
    background-color: #fff;
    color: black;
}

.filter-button-group .category-btn,
.filter-button-group .kind-btn {
    gap: 10px;
}

.filter-button-group button {
    border: 1px solid !important;
}

.none {
    display: none;
}


/********************* PAGE1.html **********************/
.mainContainer {
    position: relative;
    padding: 0;
    width: 300px;
    display: inline-block;
    margin: 0 auto;
    padding: 2px;
    background-color: #2d9ec533;
}

.img {
    border: none;
    width: 100%;
    height: 100%;
}

.main-img {
    max-height: 500px;
    max-width: 300px;
    margin: 0 auto;
}

#textArea {
    display: block;
    padding: 10px 5px;
}

#theText {
    direction: rtl;
    position: absolute;
    /*left: 715px;*/
    left: 362px;
    top: 1080px;
    background: #000;
    background: rgba(0, 0, 0, 0.1);
    color: #10311f;
    width: auto;
    padding: 5px;
    border: dashed 2px #ff7f27;
    cursor: move;
    text-align: center;
    font-size: 40px;
    display: none;

}

#test {
    position: absolute;
    top: 433px;
    left: 0px;
    font-size: 16px;
    background: transparent;
    width: 300px;
    text-align: center;
    color: #10311f;
    bottom: 5px;
}


canvas {
    max-width: 100%;
}
