<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;700&display=swap" rel="stylesheet">* {
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}


.navbar-default {
    /* navbar color */
    background: transparent;
    border: none;
    padding: 25px 0 10px 0;
    margin-bottom: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.navbar-brand span {
    color: #dc143c;
}

.home-page {
    width: 100%;
    height: 100%;
    top: 0;
    color: #fff;
    overflow: hidden;
}

.sub-container h1,
.sub-container h2,
.sub-container h4 {
    color: #fff;
    direction: rtl;
}

.sub-container h4 {
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 3px;
    margin-top: 20px;
}

.sub-container h2 {
    font-size: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.sub-container h1 {
    font-size: 6em;
    font-weight: 700;
    margin: 0;
}

@keyframes cd-translate {
    0% {
        opacity: .8
    }

    50% {
        -webkit-transform: translateY(12px) scale(1);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: .6;

    }
}

/* Medium Layout: 1280px. */
@media only screen and (min-width: 1200px) {
    .sub-container h1 {
        font-size: 6em;
        font-weight: 700;
        margin: 0;
        padding: 20px 0;
        padding-top: 40px;
    }

    .sub-container h4 {
        margin-top: 0px;
    }

    .sub-container h2 {
        font-size: 20px;
        margin-top: 0;
        font-weight: 700;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {}


/* Tablet Layout: 768px. */

@media only screen and (min-width: 767px) and (max-width: 991px) {}

.sub-container h1 {
    font-size: 5em;
}

/* Mobile Layout: 767px. */

@media only screen and (max-width: 767px) {
    .sub-container h1 {
        font-size: 3em;
    }

    /* Navbar */
    .navbar-nav {
        background: #333;
        margin-top: 0;
    }

    .navbar-default .navbar-nav li:last-of-type {
        padding-right: 0px;
    }

}

/* Wide Mobile Layout: Form 767 To 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {

    /** Service **/
    .service .row .sub-text {
        padding: 0 40px;
    }
}

/* Wide Mobile Layout: 480px. */
@media (max-width: 480px) {
    .sub-container h2 {
        font-size: 20px;
        letter-spacing: 0;
        margin-top: 10px;
        margin-bottom: 40px;
        line-height: 26px;
    }
}

/* Mobile Layout: 320px. */
@media (max-width: 320px) {
    .box .box-content {
        padding: 79px 0;
    }

    .contact h2:before {
        padding-left: 218px;
        margin-top: 29px;
    }
}

canvas {
    display: block;
    vertical-align: bottom;
}

#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.73);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}