@use '../utils' as *;

/*----------------------------------------*/
/*  2.3 Buttons
/*----------------------------------------*/
.mt-btn {
    height: 48px;
    line-height: 48px;
    position: relative;
    background-color: var(--mt-theme-1);
    color: var(--mt-common-black);
    padding: 0 23px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    display: inline-block;
    margin: 0 -3px;
    z-index: 1;
    @include transition(.3s);


    & span {
        position: relative;
        z-index: 2;

        & i {
            margin-left: 5px;
            @include transform(rotate(-45deg));
            font-size: 16px;
            @include transition(.5s);

        }
    }

    &.view {
        width: 80px;
        height: 80px;
        line-height: 80px;
        border-radius: 100%;
    }

    &.big {
        width: 150px;
        height: 150px;
        line-height: 165px;
        border-radius: 100%;
        padding: 0;

        & span {
            line-height: 1.2;
            display: inline-block;
            text-transform: uppercase;
            font-weight: 600;

        }
    }

    &:hover {
        color: var(--mt-common-black);
        border-radius: 100px;
        background: var(--mt-theme-2);

        & span {
            & i {
                @include transform(rotate(0deg));

            }
        }
    }

    &-sm {
        height: 41px;
        line-height: 41px;
        color: #060121 !important;
        font-size: 14px;
        @include transition(.5s);

        & i {
            margin-right: 5px;
        }

        &:hover {
            border: 1px solid var(--mt-common-white) !important;
            color: var(--mt-common-white) !important;
        }
    }

    &-icon {
        padding: 0 18px;
        margin: 0 -3px;

        &.rotate {
            & i {
                @include transform(rotate(-45deg));
            }
        }
    }
}

.mt-btn-2 {
    height: 50px;
    line-height: 50px;
    position: relative;
    background-color: transparent;
    color: var(--mt-common-white);
    border: 1px solid var(--mt-border-1);
    padding: 0 23px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    display: inline-block;
    margin: 0 -3px;
    z-index: 1;
    width: 100%;
    text-align: center;
    @include transition(.3s);

    &:hover {
        color: var(--mt-common-black);
        background-color: var(--mt-theme-1);
        border: 1px solid var(--mt-theme-1);
    }
}


.mt-btn-black {
    height: 48px;
    line-height: 48px;
    position: relative;
    background-color: var(--mt-common-black);
    color: var(--mt-common-white);
    padding: 0 23px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    display: inline-block;
    margin: 0 -3px;
    z-index: 1;
    @include transition(.3s);

    & span {
        position: relative;
        z-index: 1;
    }

    &.mtwhite {
        background-color: var(--mt-common-white);
        color: var(--mt-common-black);
    }

    &-icon {
        padding: 0 18px;
        margin: 0 -3px;

        &.rotate {
            & i {
                @include transform(rotate(-45deg));
            }
        }
    }

    &:hover {
        color: var(--mt-common-black);
        background-color: var(--mt-theme-1);
    }

}

.mt-btn-border {
    height: 48px;
    line-height: 48px;
    position: relative;
    background-color: transparent;
    color: var(--mt-common-black);
    border: 1px solid var(--mt-border-4);
    padding: 0 23px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    display: inline-block;
    margin: 0 -3px;
    z-index: 1;
    @include transition(.3s);

    &-icon {
        padding: 0 18px;
        margin: 0 -2px;
        line-height: 45px;

        &.rotate {
            & i {
                @include transform(rotate(-45deg));
            }
        }
    }

    &:hover {
        color: var(--mt-common-black);
        border-color: var(--mt-theme-1);
        background-color: var(--mt-theme-1);

    }

}


.mt-menu {
    &-btn {
        background-color: var(--mt-theme-1);
        color: var(--mt-common-black);
        width: 140px;
        height: 40px;
        line-height: 40px;
        padding: 0 20px;
        overflow: hidden;
        display: inline-block;
        font-weight: 500;
        font-size: 15px;
        text-transform: capitalize;
        letter-spacing: 0.03em;
        position: relative;
        z-index: 9;

        &:hover {
            color: var(--mt-common-black);
            background-color: var(--mt-theme-2);
        }
    }
}
