//COMMON IMPORTS
@import "../config/imports";

// Fonts
$font-secondary: "Lexend", sans-serif;
$font-tertiary: "Playfair Display", serif;

h1, h2, h3, h4, h5, h6 {
    font-family: $font-secondary;
    color: var(--dark)
}

.custom-font-secondary {
    font-family: $font-secondary !important;
}

.custom-font-tertiary {
    font-family: $font-tertiary !important;
}

// Typo
p {
    line-height: 1.8;
    font-size: 1rem;
    letter-spacing: -0.015em;
}

.badge {
    font-weight: 500;
    font-family: $font-secondary !important;
}

// SVG
.custom-graph-svg-color-primary {
    fill: var(--primary) !important;
}

.custom-graph-svg-color-secondary {
    fill: var(--secondary) !important;
}

// Buttons
.btn {
    font-family: $font-secondary !important;
    padding: 1rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

// Colors
.custom-text-color-1 {
    color: #df0b0b;
}

.custom-text-color-2 {
    color: #e3993f;
}

// Header
@media (min-width: 992px) {
	#header {
		.header-nav.header-nav-links {
			&:not(.header-nav-light-text) {
				nav {
					> ul {
						> li {
							> a {
								font-family: $font-secondary !important;
                                font-size: 17px;
                                font-weight: 500;
                                letter-spacing: -0.6px;
                                color: var(--dark);
                                &:hover {
                                    color: var(--primary) !important;
                                }
                                &.active {
                                    color: var(--dark-rgba-50) !important;
                                }
							}
                            &.dropdown:not(.dropdown-mega) {
                                .dropdown-menu {
                                    transition: all 300ms;
                                    opacity: 0;
                                    transform: translate3d(-5px, 0, 0) !important;
                                    border: 1px solid var(--grey-200);
                                    border-radius: var(--border-radius2x) !important;
                                    overflow: hidden;
                                    padding-top: 0;
                                    padding-bottom: 0;
                                    li {
                                        a {
                                            padding-top: 12px !important;
                                            padding-bottom: 12px !important;
                                            padding-right: 22px !important;
                                            padding-left: 22px !important;
                                        }
                                    }
                                }
                            }
                            &:hover {
                                &.dropdown:not(.dropdown-mega) {
                                    .dropdown-menu {
                                        opacity: 1;
                                        transform: translate3d(-5px, -10px, 0) !important;
                                    }
                                }
                            }
						}
					}
				}
			}
		}
	}
}

/* Mask Image */
.custom-mask-img {
    mask-repeat: no-repeat;
    mask-size: 100%;
    mask-position: center;
}

.custom-mask-img-1 {
    -webkit-mask-image: url(../../img/demos/accounting-1/generic/mask-image-1.png);
    mask-image: url(../../img/demos/accounting-1/generic/mask-image-1.png);
    mask-repeat: no-repeat;
    mask-size: 100%;
    mask-position: center;
}

.custom-mask-img-2 {
    -webkit-mask-image: url(../../img/demos/accounting-1/generic/mask-image-2.png);
    mask-image: url(../../img/demos/accounting-1/generic/mask-image-2.png);
}

.custom-mask-img-3 {
    -webkit-mask-image: url(../../img/demos/accounting-1/generic/mask-image-3.png);
    mask-image: url(../../img/demos/accounting-1/generic/mask-image-3.png);
}

.custom-mask-img-4 {
    -webkit-mask-image: url(../../img/demos/accounting-1/generic/mask-image-4.png);
    mask-image: url(../../img/demos/accounting-1/generic/mask-image-4.png);
}

/* Cascading Wrapper */
.custom-cascading-images-wrapper-1 {
    padding: 40% 0% 0 30%
}

/* Stamp */
.custom-stamp-1 {
	width: 180px;
    height: 180px;
	left: -90px;
	top: 55%;
	border-radius: 50%;
	svg {
		position: relative;
		left: 4px;
		top: 1px;
		margin: 2px;
	}
    &:after {
        opacity: 0.2;
        position: absolute;
        content: "";
        width: 105px;
        height: 105px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid #FFF;
        border-radius: 50%;
        display: block;
    }

    @media (max-width: 992px) {
        top: 30%;
        transform: scale(0.5);
    }
}

/* Custom Elements */
.custom-el-1 {
    bottom: 13%;
    right: 7%;
    @media (max-width: 1200px) {
        right: 0;
        bottom: 8%;
    }
    @media (max-width: 575px) {
        bottom: 0;
    }
    p {
        font-size: clamp-calc(480px, 1200px, 35px, 90px);
        letter-spacing: -5px;
        @media (max-width: 991px) {
            letter-spacing: -2px;
        }
        position: relative;
        z-index: 1;
        margin: 0;
        line-height: 1;
        font-weight: bold;
    }
    em {
        font-size: clamp-calc(480px, 1200px, 18px, 28px);
        position: relative;
        bottom: 2px;
        display: inline-flex;
        letter-spacing: -2px;
        mark {
            padding: 0 7px 5px !important;
        }
        @media (max-width: 991px) {
            bottom: 5px;
            right: -1px;
        }
    }
}

.custom-el-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    img {
        height: 150%;
        min-width: 1200px !important;
        min-height: 1200px !important;
        @media (max-width: 1400px) {
            min-height: 1500px !important;
        }
    }
}

.custom-el-3 {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    img {
        height: 100%;
        min-width: 1200px !important;
        min-height: 1200px !important;
    }
}

.custom-el-4 {
    svg {
        width: 100%;
    }
}

.custom-el-5 {
    position: absolute;
    width: 100%;
    height: 100%;
    img {
        height: 100%;
        min-width: 1000px !important;
        min-height: 1000px !important;
    }
}

.custom-el-6 {
    @media (min-width: 992px) {
        margin-bottom: -70px;
        margin-left: 7px;
    }
}

.custom-el-7 {
    max-height: 32px;
    width: auto !important;
    max-width: 150px !important;
    transform: none !important;
}

/* Custom Pos */
.custom-pos-1 {
    right: -37%;
    top: -33%;
}

.custom-pos-2 {
    left: -75%;
    top: -33%;
}

.custom-pos-3 {
    margin-top: -80px;
}

.custom-pos-4 {
    right: -40%;
    top: -57%;
}

.custom-pos-5 {
    top: -85%;
}

.custom-pos-6 {
    left: -75%;
    bottom: -10%;
}

/* Gradient */
.custom-bg-gradient-1 {
    background-image: linear-gradient(to right, var(--secondary-rgba-30) 30%, var(--dark) 200%) !important;
    @media (max-width: 991px) {
        border-radius: 0 !important;
    }
}