@use "../utilities" as *;

/*-----------------------------------------------------------------------------------

    Template Name: Morat - Software & Solution HTML5 Template
    Author: RRDevs
    Support: rubelmah55@gmail.com
    Description: Morat - Software & Solution HTML5 Template
    Version: 1.0

-----------------------------------------------------------------------------------


/************ TABLE OF CONTENTS ***************

	01. Theme Default CSS
	02. background CSS
	03. buttons css

**********************************************/

/**----------------------------------------
START: Theme Default CSS
----------------------------------------*/
@import url($font-url);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/**
	Typography CSS
*/
body {
    font-family: var(--mt-ff-body);
    font-size: 16px;
    line-height: 1.625;
    font-weight: normal;
    color: var(--mt-color-text-body);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

a,
a:hover {
    @include transition(all 0.3s ease-in-out);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--mt-ff-heading);
    color: var(--mt-color-heading-primary);
    margin-top: 0px;
    font-weight: var(--mt-fw-sbold);
    line-height: 1.2;
    @include transition(all 0.3s ease-in-out 0s);
}

h1 {
    font-size: var(--mt-fs-h1);
}

h2 {
    font-size: var(--mt-fs-h2);
}

h3 {
    font-size: var(--mt-fs-h3);
}

h4 {
    font-size: var(--mt-fs-h4);
}

h5 {
    font-size: var(--mt-fs-h5);
}

h6 {
    font-size: var(--mt-fs-h6);
}

ul {
    margin: 0px;
    padding: 0px;
}

p {
    font-family: var(--mt-ff-p);
    font-size: 16px;
    font-weight: var(--mt-fw-normal);
    color: var(--mt-color-text-body);
    margin-bottom: 15px;
    line-height: 25px;
}

a:focus,
.button:focus {
    text-decoration: none;
    outline: none;
}

a:focus,
a:hover {
    color: inherit;
    text-decoration: none;
}

.slick-list.draggable {
    cursor: grab;
}

a,
button {
    color: inherit;
    outline: none;
    border: none;
    background: transparent;
}

button:hover {
    cursor: pointer;
}

button:focus {
    outline: 0;
    border: 0;
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

input {
    outline: none;
}

input[type="color"] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    padding: 0;
    border-radius: 50%;
}

ul {
    display: block;
    padding: 0;
    margin: 0;
}

*::-moz-selection {
    background: var(--mt-color-common-black);
    color: var(--mt-color-common-white);
    text-shadow: none;
}

::-moz-selection {
    background: var(--mt-color-common-black);
    color: var(--mt-color-common-white);
    text-shadow: none;
}

::selection {
    background: var(--mt-color-common-black);
    color: var(--mt-color-common-white);
    text-shadow: none;
}

*::-moz-placeholder {
    color: var(--mt-color-common-black);
    font-size: var(--mt-fs-body);
    opacity: 1;
}

*::placeholder {
    color: var(--mt-color-common-black);
    font-size: var(--mt-fs-body);
    opacity: 1;
}

/**
 	Common Classes CSS
*/
.w-img {
    & img {
        width: 100%;
    }
}

.m-img {
    & img {
        max-width: 100%;
    }
}

.fix {
    overflow: hidden;
}

.clear {
    clear: both;
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.z-index-1 {
    z-index: 1;
}

.z-index-11 {
    z-index: 11;
}

.overflow-y-visible {
    overflow-x: hidden;
    overflow-y: visible;
}

.p-relative {
    position: relative;
}

.p-absolute {
    position: absolute;
}

.include-bg {
    @include background();
}

.b-radius {
    border-radius: 6px;
}

// Margin Class

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-35 {
    margin-top: 35px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-45 {
    margin-top: 45px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-35 {
    margin-bottom: 35px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-45 {
    margin-bottom: 45px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

// Padding Class

.pt-180 {
    padding-top: 180px;
    @include breakpoint(md) {
        padding-top: 70px;
    }
    @include breakpoint(sm) {
        padding-top: 50px;
    }
}

.pt-100 {
    padding-top: 100px;
    @include breakpoint(md) {
        padding-top: 70px;
    }
    @include breakpoint(sm) {
        padding-top: 50px;
    }
}

.pt-90 {
    padding-top: 90px;
    @include breakpoint(md) {
        padding-top: 70px;
    }
    @include breakpoint(sm) {
        padding-top: 50px;
    }
}

.pt-80 {
    padding-top: 80px;
    @include breakpoint(md) {
        padding-top: 70px;
    }
    @include breakpoint(sm) {
        padding-top: 50px;
    }
}

.pt-70 {
    padding-top: 70px;
    @include breakpoint(md) {
        padding-top: 70px;
    }
    @include breakpoint(sm) {
        padding-top: 50px;
    }
}

.pb-180 {
    padding-bottom: 180px;
    @include breakpoint(md) {
        padding-bottom: 70px;
    }
    @include breakpoint(sm) {
        padding-bottom: 50px;
    }
}

.pb-100 {
    padding-bottom: 100px;
    @include breakpoint(md) {
        padding-bottom: 70px;
    }
    @include breakpoint(sm) {
        padding-bottom: 50px;
    }
}

.pb-90 {
    padding-bottom: 90px;
    @include breakpoint(md) {
        padding-bottom: 70px;
    }
    @include breakpoint(sm) {
        padding-bottom: 50px;
    }
}

.pb-80 {
    padding-bottom: 80px;
    @include breakpoint(md) {
        padding-bottom: 70px;
    }
    @include breakpoint(sm) {
        padding-bottom: 50px;
    }
}

.pb-70 {
    padding-bottom: 70px;
    @include breakpoint(md) {
        padding-bottom: 70px;
    }
    @include breakpoint(sm) {
        padding-bottom: 50px;
    }
}

.md-pb-30{
    @include breakpoint(md){
        padding-bottom: 30px;
    }
}
.md-pb-40{
    @include breakpoint(md){
        padding-bottom: 40px;
    }
}
.md-pb-50{
    @include breakpoint(md){
        padding-bottom: 50px;
    }
}

// bg color
.bg-grey {
    background-color: var(--mt-color-grey-1);
}
.bg-dark-1{
    background-color: #171719;
}

// Container Class
.container {
    max-width: 1194px;
}

// border-bottom
.bd-bottom {
    border-bottom: 1px solid #edebf9;
}


// Top-Bottom Shape
.top-shape {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    width: 468px;
    height: 478px;
    position: absolute;
    top: -200px;
    left: -200px;
    z-index: -1;
    @include breakpoint(xl) {
        top: -250px;
        left: -250px;
    }
    @include breakpoint(md) {
        display: none;
    }
}

.bottom-shape {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    width: 468px;
    height: 478px;
    position: absolute;
    bottom: -200px;
    right: -200px;
    z-index: -1;
    @include breakpoint(xl) {
        bottom: -250px;
        right: -250px;
    }
    @include breakpoint(md) {
        display: none;
    }
}

.bg-color-top{
    background-color: #171719;
    width: 100%;
    height: 400px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
}

.bg-color-bottom{
    background-color: #171719;
    width: 100%;
    height: 400px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -2;
}

// Overflow

.overflow-h{
    overflow: hidden;
}

// Section Heading
.section-heading {
    margin-bottom: 50px;
    @include breakpoint(md) {
        margin-bottom: 30px;
    }
    .sub-heading {
        font-family: var(--mt-fs-body);
        background-color: var(--mt-color-grey-2);
        color: var(--mt-color-theme-primary);
        font-size: 22px;
        font-weight: 500;
        display: inline-block;
        padding: 5px 20px 5px 40px;
        border-radius: 5px;
        position: relative;
        margin-bottom: 20px;
        @include breakpoint(sm) {
            font-size: 16px;
        }
        &:before {
            background-color: var(--mt-color-theme-secondary);
            content: "";
            height: 10px;
            width: 10px;
            position: absolute;
            left: 20px;
            top: 50%;
            @include transform(translateY(-50%));
            border-radius: 2px;
        }
    }
    .section-title {
        font-size: 40px;
        line-height: 1.3;
        font-weight: 700;
        display: block;
        margin-bottom: 0;
        text-transform: capitalize;
        position: relative;
        @include breakpoint(md) {
            font-size: 32px;
        }
        @include breakpoint(sm) {
            font-size: 32px;
        }
    }
    &.white-content{
        .sub-heading{
            background-color: var(--mt-color-common-white);
        }
        p,
        .section-title{
            color: var(--mt-color-common-white);
        }
    }
}

/* Site Preloader */
.preloader-close {
    position: fixed;
    z-index: 99999999;
    font-size: 26px;
    background: var(--mt-color-common-white);
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    right: 30px;
    top: 30px;
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: var(--mt-color-common-white);
    z-index: 999;
}

.sk-three-bounce {
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: var(--mt-color-common-white);
}

.sk-three-bounce .sk-child {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--mt-color-theme-primary);
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
    animation: sk-three-bounce 1.4s ease-in-out 0s infinite both;
}

.sk-three-bounce.is-brick-red.sk-three-bounce .sk-child {
    background-color: var(--mt-color-theme-primary);
}

.sk-three-bounce.is-mainly-blue.sk-three-bounce .sk-child {
    background-color: var(--mt-color-theme-primary);
}

.sk-three-bounce.is-orange.sk-three-bounce .sk-child {
    background-color: var(--mt-color-theme-primary);
}

.sk-three-bounce.is-purple.sk-three-bounce .sk-child {
    background-color: var(--mt-color-theme-primary);
}

.sk-three-bounce .sk-bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.sk-three-bounce .sk-bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

    @-webkit-keyframes sk-three-bounce {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    }
    @keyframes sk-three-bounce {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*  Custom Cursor */

@media (min-width: 992px) {
    .mt-cursor {
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        position: fixed;
        left: 10px;
        top: 10px;
        user-select: none;
        pointer-events: none;
        visibility: hidden;
        z-index: 10000;
        -webkit-transition: all .3s cubic-bezier(.165, .84, .44, 1);
        transition: all .3s cubic-bezier(.165, .84, .44, 1);
    }

    .mt-cursor:before {
        background: var(--mt-color-theme-primary);
        opacity: 1;
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 0;
        transition: all 0.3s ease;
    }

    .mt-cursor.cursor-grow:before {
        opacity: 0.7;
        transform: scale(1.5);
        transition: all 0.3s ease;
    }

    .mt-cursor.hide {
        opacity: 0;
        transition: opacity 0.3s ease;
        transition-delay: 0.4s;
    }

    .mt-cursor.hide .inner {
        transform: scale(0.1);
        transition: transform 0.3s ease;
    }
}