@import './variables';
@import './partial';


@font-face {
    font-family: 'Lufga';
    src: url('../fonts/Lufga-Light.eot');
    src: url('../fonts/Lufga-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lufga-Light.woff2') format('woff2'),
        url('../fonts/Lufga-Light.woff') format('woff'),
        url('../fonts/Lufga-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lufga';
    src: url('../fonts/Lufga-Regular.eot');
    src: url('../fonts/Lufga-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lufga-Regular.woff2') format('woff2'),
        url('../fonts/Lufga-Regular.woff') format('woff'),
        url('../fonts/Lufga-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lufga';
    src: url('../fonts/Lufga-Medium.eot');
    src: url('../fonts/Lufga-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lufga-Medium.woff2') format('woff2'),
        url('../fonts/Lufga-Medium.woff') format('woff'),
        url('../fonts/Lufga-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lufga';
    src: url('../fonts/Lufga-SemiBold.eot');
    src: url('../fonts/Lufga-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lufga-SemiBold.woff2') format('woff2'),
        url('../fonts/Lufga-SemiBold.woff') format('woff'),
        url('../fonts/Lufga-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


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

*,
::before,
::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:focus-visible {
    outline: none;
}

html,
button,
input,
select,
textarea,
body {
    font-family: 'Lufga';
}

html , body{
    overflow-x: hidden;
}
body {
    font-size: 16px;
    line-height: 1.5;
    color: $black;
    font-weight: 400;
    background-color: $white;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;

}

article,
aside,
details,
figcaption,
figure,
footer,
header,
.header-nav,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

iframe {
    border: 0;
    width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a,
span {
    display: inline-block;
}

a {
    color: $black;
    text-decoration: none;
    transition: 0.3s ease-in-out;

    &:hover {
        color: $primary;
        transition: 0.3s ease-in-out;
    }
}

svg:not(:root) {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 20px;

    @media (min-width: $xl) {
        max-width: 1200px;
    }

    @media (min-width: $xxl) {
        max-width: 1440px;
    }

    @media (min-width: $xxxxl) {
        max-width: 1640px;
    }
}

.container-fluid {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
.h1 {
    font-size: 30px;
    line-height: 1.19;
    font-weight: 600;
    letter-spacing: -0.17px;

    @media (min-width: $lg) {
        font-size: 48px;
    }

    @media (min-width: $xl) {
        font-size: 52px;
    }

    @media (min-width: $xxl) {
        font-size: 70px;
    }

    @media (min-width: $xxxl) {
        font-size: 78px;
    }

    @media (min-width: $xxxxl) {
        font-size: 84px;
    }
}

h2,
.h2 {
    font-size: 24px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.17px;

    @media (min-width: $lg) {
        font-size: 36px;
    }

    @media (min-width: $xl) {
        font-size: 40px;
    }

    @media (min-width: $xxl) {
        font-size: 52px;
    }

    @media (min-width: $xxxl) {
        font-size: 58px;
    }

    @media (min-width: $xxxxl) {
        font-size: 64px;
    }
}

h3,
.h3 {
    font-size: 20px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.17px;

    @media (min-width: $md) {
        font-size: 26px;
    }

    @media (min-width: $xl) {
        font-size: 30px;
    }

    @media (min-width: $xxl) {
        font-size: 40px;
    }

    @media (min-width: $xxxl) {
        font-size: 46px;
    }
}

h4,
.h4 {
    font-size: 22px;
    line-height: 1.28;
    font-weight: 500;
    letter-spacing: -0.59px;

    @media (min-width: $xl) {
        font-size: 26px;
    }

    @media (min-width: $xxl) {
        font-size: 30px;
    }

    @media (min-width: $xxxl) {
        font-size: 34px;
    }
}

.f-36 {
    font-size: 22px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.17px;

    @media (min-width: $md) {
        font-size: 24px;
    }

    @media (min-width: $xl) {
        font-size: 26px;
    }

    @media (min-width: $xxl) {
        font-size: 30px;
    }

    @media (min-width: $xxxl) {
        font-size: 36px;
    }
}

p,
.p {
    font-size: 16px;
    font-weight: 400;

    @media (min-width: $xl) {
        font-size: 18px;
    }

    @media (min-width: $xxl) {
        font-size: 20px;
    }
}

.f-18 {
    font-size: 16px;
    line-height: 1.42;

    @media (min-width: $xl) {
        font-size: 18px;
    }
}

.toggleBtn {
    display: block;

    @media (min-width: $lg) {
        display: none;
    }

    i {
        display: block;
        width: 25px;
        height: 2px;
        background-color: $white;
        position: relative;
        transition: 0.5s ease-in-out;

        &::before,
        &::after {
            content: "";
            position: absolute;
            width: 25px;
            height: 2px;
            background-color: $white;
            left: 0;
            transition: 0.5s ease-in-out;
        }

        &::before {
            top: -8px;
        }

        &::after {
            bottom: -8px;
        }
    }
}

.mobileOpen {
    overflow: hidden;

    .toggleBtn {
        i {
            background: transparent !important;

            &::before {
                transform: rotate(45deg);
                transform-origin: left;
                transition: 0.5s ease-in-out;
                top: -10px;
            }

            &::after {
                transform: rotate(-45deg);
                transform-origin: left;
                bottom: -8px;
                transition: 0.5s ease-in-out;
            }
        }
    }

    .navList {
        left: 0 !important;
    }
}

.mtb160 {
    margin-top: 30px;
    margin-bottom: 30px;

    @media (min-width: $md) {
        margin-top: 40px;
        margin-bottom: 30px;
    }
    @media (min-width: $lg) {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    @media (min-width: $xl) {
        margin-top: 60px;
        margin-bottom: 40px;
    }

    @media (min-width: $xxl) {
        margin-top: 100px;
        margin-bottom: 60px;
    }
}

.ptb160 {
    padding-top: 30px;
    padding-bottom: 30px;

    @media (min-width: $md) {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    @media (min-width: $lg) {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    @media (min-width: $xl) {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    @media (min-width: $xxl) {
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

.mb160 {
    margin-bottom: 60px;

    @media (min-width: $md) {
        margin-bottom: 70px;
    }
    @media (min-width: $lg) {
        margin-bottom: 90px;
    }

    @media (min-width: $xl) {
        margin-bottom: 100px;
    }

    @media (min-width: $xxl) {
        margin-bottom: 160px;
    }
}

.mt160 {
    margin-top: 60px;

    @media (min-width: $md) {
        margin-top: 70px;
    }
    @media (min-width: $lg) {
        margin-top: 90px;
    }

    @media (min-width: $xl) {
        margin-top: 100px;
    }

    @media (min-width: $xxl) {
        margin-top: 160px;
    }
}

.pb160 {
    padding-bottom: 60px;

    @media (min-width: $md) {
        padding-bottom: 70px;
    }
    @media (min-width: $lg) {
        padding-bottom: 90px;
    }

    @media (min-width: $xl) {
        padding-bottom: 100px;
    }

    @media (min-width: $xxl) {
        padding-bottom: 160px;
    }
}

.pt160 {
    padding-top: 60px;
    @media (min-width: $md) {
        padding-top: 70px;
    }
    @media (min-width: $lg) {
        padding-top: 90px;
    }

    @media (min-width: $xl) {
        padding-top: 100px;
    }

    @media (min-width: $xxl) {
        padding-top: 160px;
    }
}

.mb60 {
    margin-bottom: 20px;

    @media (min-width: $md) {
        margin-bottom: 30px;
    }

    @media (min-width: $xl) {
        margin-bottom: 40px;
    }

    @media (min-width: $xxl) {
        margin-bottom: 60px;
    }
}

.mainContent{
    padding-top: 64px;
    @media (min-width: $xsm) {
        padding-top: 70px;
    }
    @media (min-width: $lg) {
        padding-top: 120px;
    }
    @media (min-width: $xl) {
        padding-top: 130px;
    }
    @media (min-width: $xxl) {
        padding-top: 134px;
    }
    @media (min-width: $xxxl) {
        padding-top: 170px;
    }
}
.roundedShadow{
    width: 350px;
    height: 350px;
    border-radius: 100%;
    background: $primary;
    opacity: 0.3;
    filter: blur(175px);
    position: absolute;
    z-index: -1;
    @media (min-width: $md) {
        width: 500px;
        height: 500px;
    }
    @media (min-width: $xl) {
        width: 580px;
        height: 580px;
    }
    @media (min-width: $xxxl) {
        width: 622px;
        height: 622px;
    }
    &.leftSideShadow{
        left: -130px;
        @media (min-width: $xxl) {
            left: -169px;
        }
    }
    &.RightSideShadow{
        right: -50px;
        @media (min-width: $xxl) {
            right: -96px;
        }
    }
}
.inputWrapper {
    position: relative;
    margin-bottom: 30px;
    label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.2;

        @media (min-width: $xxl) {
            font-size: 16px;
        }
    }
    .errorMsg{
        position: absolute;
        left: 0;
        top: calc(100% + 4px);
        font-size: 12px;
        color: red;
        line-height: 1.2;
        @media (min-width: $xl) {
            font-size: 13px;
        }
    }
    input,
    textarea {
        background-color: $white;
        backdrop-filter: blur(12px);
        border-radius: 10px;
        padding: 16px;
        font-size: 14px;
        line-height: 1.13;
        font-weight: 400;
        outline: none;
        border: 1px solid transparent;

        @media (min-width: $md) {
            border-radius: 70px;
        }

        @media (min-width: $xxl) {
            font-size: 16px;
            padding: 20px;
        }

        &:focus {
            border-color: $primary;
        }
    }

    textarea {
        border-radius: 10px;
        resize: none;

        @media (min-width: $md) {
            border-radius: 30px;
        }
    }
}

.WrapInput {
    column-gap: 20px;

    @media (min-width: $xxl) {
        column-gap: 30px;
    }
}