@font-face {
    font-family: 'MySanse';
    src: url("../fonts/IRANSansWeb.woff");
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, 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;
    background: transparent;
}
img{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}
input:focus,button:focus,select:focus{
    outline: none;
}

a:hover {
    text-decoration: none;
}
/*heading tags*/
h1{
    font-size: 2em;
}
h2{
    font-size: 1.5em;
}
h3{
    font-size: 1.17em;
}
h4{
    font-size: 1em;
}
h5{
    font-size: 0.83em;
}
h6{
    font-size: 0.67em;
}
/*site cods*/
body{
    background-color: #000000;
    position: relative;
    text-align: right;
}
.body{
    position: fixed;
    width: 95%;
    height: 90%;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    background-color: #2C303A;
    padding: 2rem;
    border-radius: 1rem;
}
.main{
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding: 1rem;
}
.main::-webkit-scrollbar {
    width: 1rem;
}
/* Track */
.main::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
/* Handle */
.main::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}
/* Handle on hover */
.main::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}
.main .first-section{
    height: 100%;
}
.site-name{
    color: #9bd12e;
    text-align: center;
    font-size: 6rem;
    font-weight: bold;
}
.main .right-img{
    position: fixed;
    right: 4.5rem;
    bottom: 2.5rem;
    width: 4rem;
}
.main .img-place{
    width: 100%;
    text-align: center;
    margin: 25vh 0;
}
.main .img-place img{
    width: 7rem;
    height: 5rem;
}
.main .card-place{
    width: 80%;
    text-align: center;
    margin: 0 auto;
}
.main .card-place .container-fluid .row{
    align-items: center;
}
.main .card-box{

}
.main .card-box.dark,.main .card-box.light{
    padding: 2rem 0.5rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    margin: 1rem 0;
    display: block;
    transition: 0.3s ease-in-out;
    font-weight: bold;
    cursor: default;
}
.main .card-box.dark{
    background: linear-gradient(to right,#4A4d58,#2C303A);
    color: #ffffff;
}
.main .card-box.light{
    background-color: #ffffff;
    color: #2C303A;
}
.main .card-box:hover{
    transform: scale(1.05);
}
.main .card-box.dark:hover{
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.18);
}
.main .card-box.light:hover{
    box-shadow: 0 0 1rem rgba(141, 156, 212, 0.84);
}
.main .card-place .title{
    color: #ffffff;
    cursor: default;
    margin: 5rem 0 2rem 0;
    font-family: 'MySanse',serif;
}
#Square {
    background-color: white;
    position: fixed;
    bottom: 0.5rem;
    left: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transition: 0.3s ease-in-out;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    z-index: 5;
    border-radius: 5px;
}


@media only screen and (max-width: 1200px) {
    .body{
        padding: 1rem;
    }
    .main .card-box.dark a, .main .card-box.light a{
        font-size: 1rem;
    }
}
@media only screen and (max-width: 992px){
    .main .right-img{
        right: 3rem;
        width: 3rem;
        bottom: 1.5rem;
    }
}
@media only screen and (max-width: 768px){
    .site-name{
        font-size: 4rem;
    }
    .main .img-place img{
        width: 7rem;
    }
}
@media only screen and (max-width: 576px){
    .main .right-img{
        width: 2rem;
        right: 2.5rem;
    }
    .site-name{
        font-size: 3rem;
    }
    .main .card-box.dark a, .main .card-box.light a{
        font-size: 0.8rem;
    }
}

@media screen and (max-height:700px){
    .main .img-place{
        margin: 20vh 0;
    }
    #Square{
        width: 1rem;
        height: 1rem;
    }
}
@media screen and (max-height:500px){
    .main .img-place{
        margin: 15vh 0;
    }
    #Square{
        width: 0.9rem;
        height: 0.9rem;
    }
}






