@font-face {
    font-family: Tanha;
    src: url(fonts/Tanha-FD.eot) format("eot");
    src: url(fonts/Tanha-FD.ttf) format("ttf");
    src: url(fonts/Tanha-FD.woff) format("wooff");
    src: url(fonts/Tanha-FD.woff2) format("woff2");
}

a{
    text-decoration: none;
}
body, *, .icon, i, a, b, br {
    border: none;
}

input, #sr, .remove, *:focus, #sr:focus .submit-add-bookmark {
    border: 2px solid rgb(0, 0, 0, 0);
}

input:active, input:focus, .add-note:focus, .submit-add-bookmark:focus {
    border: 2px solid var(--active-color)
}

input:focus {
    background-color: var(--background-color);
}

#app{
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    background: var(--background-color);
}

.card {
    z-index: 99;
    height: 90px;
    width: 100%;
    padding: 15px;
    position: relative;
    color: var(--font-color);
    transform: translateY(-10PX);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: var(--background-color);
}

.Quick-A {
    float: left;
    width: auto;
    height: 100%;
    display: flex;
    overflow: hidden;
    align-items: center;
    align-content: center;
}

:root {
    --font-size: 14px;
    --bColor: #3D518FFF;
    --font: Tanha, serif;
    --zero: rgba(0, 0, 0, 0);
    --font-color: black;
    --active-color: #3a5e98;
    --icon-color: #fdc715;
    --background-color: #f9f9ff;
    --two-background-color: #e6e9f3;
    --background-url: url(./images/light.jpg);
    --box-sadow: inset 0 1px 15px rgba(0, 0, 0, 0.1),
    inset 0 8px 8px rgba(0, 0, 0, 0.1),
    inset 0 -4px 4px rgba(0, 0, 0, 0.1);
}

.today {
    width: 95px;
    color: black;
    margin: auto 5px;
    padding: 15px 2px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--box-sadow);
    background-color: var(--two-background-color);
}

body {
    height: 100vh;
    display: flex;
    direction: rtl;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: var(--background-url);
}

body.darkMod {
    --font-size: 14px;
    --bColor: #3D518FFF;
    --font: Tanha, serif;
    --zero: rgba(0, 0, 0, 0);
    --font-color: #D1D5D8;
    --icon-color: #fdc715;
    --active-color: #aac7ff;
    --error-font-color: #FF0000;
    --background-color: #333c4d;
    --background-url: url(./images/dark.jpg);
    --two-background-color: #1d2636;
    --box-sadow: inset 0 1px 15px rgba(0, 0, 0, 0.3),
    inset 0 8px 8px rgba(0, 0, 0, 0.3),
    inset 0 -4px 4px rgba(0, 0, 0, 0.3);
}

::selection {
    color: var(--background-color);
    background-color: var(--active-color);
}
.p{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

button{
    color: black;
    margin: auto 5px;
    padding: 15px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--box-sadow);
    background-color: var(--two-background-color);
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    font-weight: 100;
    box-sizing: border-box;
    font-family: var(--font), serif;
    color: var(--font-color);
}


title{
    display: none;
}
body,p,image,img,h1,h2,br,a,button{
    direction: rtl;
    margin-left: auto;
    margin-right: auto;
    display:  grid;
}
.img, .p{
    border-radius: 25px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
.Quick-A > a {
    width: 50px;
    height: 50px;
    display: flex;
    position: relative;
    margin-top: auto;
    text-align: center;
    margin-right: 10px;
    align-items: center;
    border-radius: 15px;
    margin-bottom: auto;
    text-decoration: none;
    box-sizing: border-box;
    justify-content: center;
    box-shadow: var(--box-sadow);
    background-color: var(--two-background-color);
}

.btn {
    width: 77px;
    height: 40px;
    display: flex;
    padding: 0 5px;
    cursor: pointer;
    align-items: center;
    border-radius: 10em;
    box-shadow: var(--box-sadow);
    background-color: var(--two-background-color);
}
.btn_indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    transition: transform .5s ease;
    background-color: var(--bColor);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}
.btn_icon {
    font-size: 20px;
    color: var(--icon-color);
}

.btn_icon-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated {
    animation: spin 0.5s;
}
.animate-hided {
    animation: goingUpBig 0.5s;
}

.animate-showed {
    animation: goingDownBig 0.5s;
}

@keyframes goingDownBig {
    from {
        transform: translate(0px, -90px);
        scale: 1;
    }

    to {
        transform: translate(-0px, -20px);
        scale: 1;
    }
}

@keyframes goingUpBig {

    from {
        transform: translate(-0px, -20px);
        scale: 1;
    }

    to {
        transform: translate(0px, -90px);
        scale: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.darkMod .btn_indicator {
    transform: translateX(-35px);
}

.animate-hided {
    animation: goingUpBig 0.5s;
}

.animate-showed {
    animation: goingDownBig 0.5s;
}