@use 'colors.scss';
h1,
h2,
h3 {
    font-family: "Bungee", sans-serif;
}
body {
    background-color: #010118;
    &#page-top {
        padding-bottom: 0;
    }
}

a {
    color: var(--lw-primary-color);
}

#mainNav {
    min-height: 56px;
    background-color: rgb(0 0 3 / 85%);
    backdrop-filter: blur(6px) grayscale(0.8);
    .navbar-toggler {
        font-size: 80%;
        padding: 0.75rem;
        color: white;
        border: 1px solid white;

        &:focus {
            outline: none;
        }
    }

    .navbar-brand {
        color: #161616;
        font-weight: 700;
    }

    .navbar-nav .nav-item {
        &:hover {
            color: fade(white, 80%);
            outline: none;
            background-color: #18142b;
        }

        &:active,
        &:focus {
            outline: none;
            background-color: #010118;
        }
    }
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        transition: background-color 0.3s ease-in-out;
        .navbar-brand {
            color: rgba(255, 255, 255, 0.7);
        }

        .nav-item {
            margin-right: 8px;
            border-radius: 4px;
        }

        &.navbar-shrink {
            // background-color: #010118;

            .navbar-brand {
                color: white;
            }
        }
    }
}
$textAnimationHeight: 3rem;
.masthead {
    position: relative;
    width: 100%;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-color: transparent;
    padding-top: 10%;
    padding-bottom: 10%;
    @media (max-width: 767px) {
        text-align: center;
        padding-top: 8rem;
    }
    h1 {
        font-weight: 800;
        text-transform: capitalize;
        font-size: 4rem;
        word-break: break-word;
        transform: scale(0.96);
        animation: scale 3s forwards cubic-bezier(0.5, 1, 0.89, 1);
        text-shadow: 6px -1px 2px rgba(0, 0, 0, 0.32);
        span {
            opacity: 0;
            filter: blur(4px);
        }

        .lw-text-animation {
            height: $textAnimationHeight * 2;
            overflow: hidden;
            padding: 1rem 0 2rem 0;
            > div > div {
                height: $textAnimationHeight;
                margin-bottom: $textAnimationHeight;
                display: inline-block;
                word-wrap: normal;
            }
        }

        .lw-text-animation div:first-child {
            animation: lwTextAnimation 8s infinite;
        }
    }

    h4 {
        font-size: 1.6rem;
        background: rgb(0 0 0 / 25%);
        border-radius: 8px;
        backdrop-filter: blur(3px);
        padding: 12px;
        color: #cdcdcd;
        animation: fade-in-h2 3s;
    }
}

@keyframes scale {
    100% {
        transform: scale(1);
    }
}

@keyframes fade-in {
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes fade-in-h2 {
    0% {
        opacity: 0;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes lwTextAnimation {
    0% {
        margin-top: 0;
    }
    10% {
        margin-top: 0;
    }
    20% {
        margin-top: -$textAnimationHeight * 2;
    }
    30% {
        margin-top: -$textAnimationHeight * 2;
    }
    40% {
        margin-top: -$textAnimationHeight * 4;
    }
    60% {
        margin-top: -$textAnimationHeight * 4;
    }
    70% {
        margin-top: -$textAnimationHeight * 2;
    }
    80% {
        margin-top: -$textAnimationHeight * 2;
    }
    90% {
        margin-top: 0;
    }
    100% {
        margin-top: 0;
    }
}

.lw-scroll-reveal {
    @media (min-width: 768px) {
        transform: translateY(200px);
        opacity: 0;
    }
    @media (max-width: 767px) {
        opacity: 1;
    }
}
.lw-scroll-reveal.lw-scroll-revealed {
    @media (max-width: 767px) {
        opacity: 1;
    }
    @media (min-width: 768px) {
        transform: translateX(0);
        opacity: 1;
        animation: fade-in-h2 3s;
    }
}

@media (min-width: 992px) {
    .masthead {
        height: 100vh;
    }
}

.btn.lw-special-btn {
    font-size: 2em;
    font-family: "Bungee", sans-serif;
    background: #16328d;
    border: none;
}

footer {
    padding: 5rem 0;
}

.lw-logo-img {
    height: 70px;
    max-width: 60vw;
}

@media (max-width: 768px) {
    .input-group > .form-control,
    .input-group > .custom-select,
    input.form-control,
    select.form-control {
        width: 100%;
    }

    .lw-search-section {
        .input-group {
            display: block;
        }

        .input-group > .form-control,
        .input-group > .form-control-plaintext,
        .input-group > .custom-select,
        .input-group > .custom-file {
            color: #000000;
            margin-bottom: 6px;
            border-radius: 6px !important;
        }

        .btn {
            width: 100%;
            margin-bottom: 6px;
            border-radius: 6px !important;
        }
    }
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--lw-primary-color);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--lw-primary-color);
    border-color: var(--lw-primary-color);
}

// content section
.lw-section-content {
    padding: 5rem 0rem 2rem;

    .lw-bg-image {
        width: 22.125rem;
        height: 16.5625rem;
        flex-shrink: 0;
        background: #00f0ff;
        filter: blur(79px);
        margin-left: 10rem;
    }

    img {
        margin-top: -20rem;
        position: relative;
        height: 36rem;
        object-fit: cover;
    }

    .lw-content-btn {
        border-left: 2px solid #00f0ff !important;
        font-weight: 700;
        border: none;
        background: transparent;
        color: #00f0ff;
    }

    h5 {
        color: white;
    }

    p {
        color: rgba(255, 255, 255, 0.7);
    }

    .lw-bg-image-two {
        width: 22.125rem;
        height: 16.5625rem;
        flex-shrink: 0;
        background: #00f0ff;
        filter: blur(79px);
        margin-left: 5rem;
    }

    .lw-section-content-padding {
        padding: 7rem 0rem;
    }

    .learn-more-btn {
        background: #4e6dd4;
        border: none;
        padding: 10px 25px;
        font-size: 17px;
        margin: 10px 0px;
    }

    .lw-image {
        margin-top: 2rem;
    }

    .lw-side-images {
        height: 32rem;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .lw-section-content-padding .lw-image {
        margin-top: -16rem;
    }

    .lw-bg-image-two {
        margin-left: 5rem;
        margin-top: 3rem !important;
    }
}

@media (min-width: 450px) {
    .lw-bg-image-two {
        margin-top: 3rem !important;
    }
}
// /content section
// image and depth animation
.lw-depth-animation-section {
    text-align: center;
    position: relative;
    padding: 5rem 0rem;

    .card {
        background-color: transparent;
        border: none;
    }

    .container-fluid {
        width: 100%;
        margin: 0 auto;
        position: relative;

        h1 {
            font-size: 40px;
            color: white;
            font-weight: 700;
            margin-top: 10rem;
        }

        .lw-arrow-video {
            width: 100%;
            height: 6rem;
        }

        .img-fluid {
            object-fit: cover;
        }

        p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 17px;
        }

        .lw-side-videos {
            object-fit: cover;
        }

        .lw-videos {
            object-fit: cover;
        }

        .lw-top-space {
            p {
                margin-bottom: 15rem;
            }
        }
    }
}

@media only screen and (max-width: 988px) {
    .lw-arrow-video {
        display: none;
    }
    .lw-animated-section {
        display: none;
    }
}

@media only screen and (min-width: 988px) {
    .lw-depth-animation-section h1 {
        margin-top: 2rem !important;
    }

    .lw-top-space {
        p {
            margin-bottom: 5rem;
        }
    }
}

// code-generation-section
.lw-code-generation-section {
    padding: 9rem 0rem;

    h1 {
        font-size: 40px;
        color: white;
        font-weight: 700;
        margin-top: 10px !important;
    }

    p {
        color: rgba(255, 255, 255, 0.7);
    }

    .lw-content-btn {
        border-left: 2px solid #00f0ff !important;
        font-weight: 700;
        border: none;
        background: transparent;
        color: #00f0ff;
    }

    .heading {
        border: 1px solid #dddddd1f;
        background: black;
        padding: 1.5rem 4rem;
        border-radius: 10px 10px 0px 0px;

        h1 {
            font-size: 23px;
            font-weight: 500;
        }
    }

    .lw-php-code {
        border: 1px solid #dddddd1f;
        padding: 2rem 4rem;
        border-radius: 0px 0px 10px 10px;
        background-color: black;

        h6 {
            margin-left: 2rem;
            color: white;
        }

        span {
            color: #00f0ff !important;
            font-weight: 600;
        }

        h5 {
            color: white;
        }

        hr {
            border: 1px solid #dddddd1f !important;
        }
    }
}
// template
.lw-template {
    padding: 11rem 0rem;

    h1 {
        font-size: 40px;
        font-weight: 700;
    }

    p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 17px;
    }

    .lw-card {
        margin-bottom: 2rem;

        img {
            width: 4rem;
            transition: transform 0.2s;
            margin-left: auto;
            margin-right: auto;

            &:hover {
                transform: scale(1.3);
            }
        }

        .lw-img {
            width: 5rem !important;
        }
    }
}

// template
// footer
.lw-footer {
    background: black;
    h1 {
        font-size: 40px;
        font-weight: 700;
    }

    .lw-border {
        border-top: 1px solid #3c3c3c;
        margin: 15px 0px;
    }
}

.lw-gradient-bg {
    background-image: radial-gradient(
        circle 815px at 23.4% -21.8%,
        rgba(9, 29, 85, 1) 0.2%,
        rgba(0, 0, 0, 1) 100.2%
    );
}

.lw-home-template-box {
    transition: all 0.3s ease-in-out;
    &:hover,
    &:focus-within {
        h3 {
            font-family: "Bungee Spice", sans-serif;
        }
        transform: scale(1.1);
        background-image: radial-gradient(
            circle 815px at 23.4% -21.8%,
            rgba(9, 29, 85, 1) 0.2%,
            rgba(0, 0, 0, 1) 100.2%
        );
    }
}

.card,
.card-header,
.lw-pricing.lw-card {
    background-image: radial-gradient(
        circle 815px at 23.4% -21.8%,
        rgb(9, 21, 54) 0.2%,
        rgba(0, 0, 0, 1) 100.2%
    );
    &.lw-image-generation-box {
        background-image: radial-gradient(
            circle 815px at 43.4% 18.2%,
            #091536 0.2%,
            #000 100.2%
        );
    }
}
