@charset "utf-8";

html, body, div, input, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, option, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    transition: all 0.4s ease-in-out;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: IRANYekan;
    font-size: 12pt;
    transition: all 0.4s ease-in-out;
    font-weight: bold;
    color: #333533;
    cursor: context-menu;
    background: #2c3e50;
    background-image: url('../img/sbg.png');
}

.container {
    display: block;
    width: calc(100% - 60px);
    max-width: 500px;
    height: calc(100vh - 60px);
    max-height: 600px;
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.box {
    display: grid;
    place-items: center;
    width: 100%;
    height: calc(100vh - 100px);
    max-height: 560px;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .55);
}

.box header {
    text-align: center;
}

.box header img {
    display: inline-block;
}

.box header h1 {
    display: block;
    font-weight: 800;
    font-size: 18pt;
}

.box span {
    display: none;
    opacity: 0;
    margin-bottom: 10px;
}

.box .loading {
    color: #2980b9;
}

.box .result {
    color: #c0392b;
}

.box .result_ok {
    color: #27ae60;
}

.box .btn_check {
    display: inline-block;
    padding: 8px 22px;
    color: #ecf0f1;
    background: #e67e22;
    border-radius: 35px;
    cursor: pointer;
}

.box .btn_check:hover {
    background: #d35400;
}

footer {
    display: block;
    padding: 8px 0;
    color: #ecf0f1;
    text-align: center;
    font-size: 10pt;
}

footer a {
    text-decoration: none;
    color: #f1c40f;
}

.red {
    color: #ff0000;
    animation-name: redish;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: reverse;
}

@keyframes redish {
    from {
        color: #ff000077;
    }
    to {
    }
}
