@font-face {
    font-family: "YekanBalkhMedium";
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/YekanBakhMedium.eot?3059929df0353ce5ab7eac3084b52ea0);
    src: url(/fonts/YekanBakhMedium.eot?3059929df0353ce5ab7eac3084b52ea0) format("embedded-opentype"),
         url(/fonts/YekanBakhMedium.woff?f5c7fb3c6a1ab681b5b281ca18d03db5) format("woff"),
         url(/fonts/YekanBakhMedium.ttf?a5ef0eced6e2df2716e38fa5b363e3ac) format("truetype")
}

body {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
    direction: rtl;
}

.card {
    background: #ffe601;
    padding: 20px 40px;
    position: relative;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    font-size: 40px;
    cursor: pointer;
    color: rgb(100, 92, 36);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: bold;
    box-shadow: 0 40px 40px 10px rgba(0, 0, 0, 0.116)
}

/* .card:hover {
    color: rgb(88 199 250 / 100%);
    transition: color 1s;
}

.card:hover:before,
.card:hover:after {
    animation: none;
    opacity: 0;
} */

.card::before {
    content: "";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 20px;
    background-image: linear-gradient(var(--rotate), #fbff00, #ff4e41 43%, #ffda0a);
    position: absolute;
    z-index: -1;
    top: -10px;
    left: -10px;
    -webkit-animation: spin 2.5s linear infinite;
            animation: spin 2.5s linear infinite;
    opacity: .4;
}

.card::after {
    position: absolute;
    content: "";
    top: calc(var(--card-height) / 6);
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.8);
    filter: blur(calc(var(--card-height) / 6));
    background-image: linear-gradient(var(--rotate), #fbff00, #ff4e41 43%, #ffda0a);
    opacity: 1;
    transition: opacity .5s;
    -webkit-animation: spin 2.5s linear infinite;
            animation: spin 2.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        --rotate: 0deg;
    }

    100% {
        --rotate: 360deg;
    }
}

@keyframes spin {
    0% {
        --rotate: 0deg;
    }

    100% {
        --rotate: 360deg;
    }
}

* {
    font-family: 'YekanBalkhMedium', tahoma, Arial !important;
}

a {
    color: #212534;
    text-decoration: none;
    font-family: sans-serif;
    margin-top: 2rem;
}

.menu {
    display: block;
    margin: 20px 0;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0
}

.menu ul li {
    display: block;
    padding: 10px 20px;
    text-align: center;
    position: relative;
}

.menu ul li::after {
    content: "";
    display: block;
    width: 1px;
    height: 20%;
    background: rgb(71, 71, 71);
    position: absolute;
    top: 40%;
    left: 0;
    bottom: 0;
    opacity: 0.5;
}

.menu ul li:nth-last-child(1):after {
    display: none
}

.menu ul li a {
    color: rgb(119, 119, 119);
    transition: all .3s ease;
}

.menu ul li a:hover {
    color: #705600;
}

footer {
    position: fixed;
    bottom: 0;
    left: 10%;
    right: 10%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    width: 80%;
    border-top: 1px rgba(0, 0, 0, .05) solid
}

footer ul,
footer ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    border: 1px transparent solid ;
    border-radius: 5px ;
    transition: all .3s ease ;
    float: right;
    padding:3px 10px;
    position: relative;
}

footer ul li a {
    transition: all .3s ease;
    font-size: 12px;
    margin : 0 5px 0 0 
}

footer ul li svg {
    display: block ;
    float: right ;
    height: 20px ;
    width: auto;
}

footer ul li:hover {
    color: #fff;
    border-color : #000
}

footer ul li:hover a{
    color:  #000
}

footer ul li .version {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top : -10px ;
    left : -30px;
    height: 20px;
    width: 30px;
    background : #000 ;
    border-radius: 10px;
    padding: 0 10px ;
    font-weight: bold;
    font-size: .7rem;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s ease ;
    color: #fff;
}

footer ul li:hover .version {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/**************************\
Basic Modal Styles
\**************************/

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background-color: #fff;
    padding: 30px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    max-width: 500px ;
}


.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.25;
    box-sizing: border-box;
}

.modal__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    position: absolute ;
    top : 25px ;
    left : 25px ;
}

.modal__close:before {
    content: "\2715";
}

.modal__content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, .8);
}

.modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform .25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}



/**************************\
Demo Animation Style
\**************************/
@-webkit-keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-webkit-keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }
}

@-webkit-keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    -webkit-animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
            animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    -webkit-animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
            animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    -webkit-animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
            animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    -webkit-animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
            animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}


.modal__content h1 {
    font-size : 16px ;
}

.modal__content {
    text-align: justify ;
    line-height: 2.5;
}


@media(max-width: 600px) {

    .card {
        font-size: 20px;
        border-radius: 10px ;
        padding : 15px 25px ;
    }

    .card::before{
        border-radius: 10px;
    }

    .menu ul li {
        padding : 5px 10px ;
    }

    .menu ul li a{
        font-size : 10px
    }

    .modal__content {
        max-width: 400px ;
        font-size: 12px ;
        line-height: 1.8;
    }

    .modal__content h2 {
        font-size: 14px;
        font-weight: bold ;
    }

}

