/* Frontend css code */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Syne:wght@400..800&display=swap');

/* 
font-family: "Syne", sans-serif;
font-family: "DM Sans", sans-serif; 
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #070113;
    --gray: #C0C0C0;
    --dark-gray: #8B8D98;
    --secondary: #B0A3FF;
    --accent: #630DFF;
    --violet: #2F177B;
    --heading: "Syne", sans-serif;
    --text: "DM Sans", sans-serif;
}

body {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
}

body::-webkit-scrollbar-track {
    background-color: var(--primary);
}

body::-webkit-scrollbar {
    width: 7px;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

a {
    text-decoration: none;
}

header {
    z-index: 9999;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #070113aa;
    backdrop-filter: blur(20px);
    z-index: 9999;
}

.navbar .nav-link {
    font-family: var(--heading);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.navbar-nav {
    gap: 30px;
}

.hero {
    background-image:
        url('../frontend/img/dot.svg'),
        linear-gradient(180deg, #070113 16%, #4205b0 69%, #FFFFFF 100%);
    background-size: auto, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, top center;
    height: 100vh;
    padding-top: 200px;
}

.hero h6 {
    font-family: var(--text);
    color: var(--secondary);
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-family: var(--heading);
    font-size: 64px;
    font-weight: 600;
    text-align: center;
}

.hero p {
    font-family: var(--text);
    color: var(--gray);
    text-align: center;
    font-weight: 300;
    padding: 0 150px;
}

.hero .btn-grp {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero .btn-grp .btn {
    padding: 10px 30px;
}

.main-market-data .market-table-container {
    margin-top: -250px;
    padding-top: 50px;
}

.main-market-data .market-table-container .section-title {
    margin-bottom: 50px;
}

/* About */

.about {
    margin: 100px 0;
}

.about .col-md-12 {
    text-align: center;
}

.about .col-md-12 h6 {
    color: var(--violet);
    font-family: var(--text);
    font-size: 18px;
}

.about .col-md-12 h2 {
    color: var(--primary);
    font-family: var(--heading);
    font-size: 48px;
}

.about .col-md-12 p {
    font-family: var(--text);
    color: var(--dark-gray);
    margin-bottom: 100px;
}

.about .right {
    padding-left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about .right h4 {
    font-family: var(--heading);
    font-size: 32px;
    margin-bottom: 30px;
}

.about .col-md-6 img {
    border-radius: 10px;
}

.about .right p {
    border-left: 2px solid var(--secondary);
    padding: 10px;
}

/* News section */
.news {
    overflow: hidden;
}

.news .col-md-12 h2 {
    color: var(--primary);
    font-family: var(--heading);
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
}

.news .col-md-12 h2 span {
    color: var(--accent);
    font-weight: 700;
}

.news .news-sec {
    gap: 20px;
}

.news .news-box {
    border: 1px solid #f5f4ff;
    border-radius: 7px;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 0 10px #f5f4ff;
}

.news .news-box:hover {
    transform: translateY(-5px);
    transition: .4s ease-in-out;
}

.news .news-box img {
    border-radius: 6px;
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

.news .news-box h6 {
    font-family: var(--heading);
    color: var(--primary);
    font-size: 18px;
}

.news .news-box p {
    font-family: var(--text);
    color: var(--dark-gray);
    font-size: 15px;
    margin-bottom: 0;
}

.news .btn1 {
    display: flex;
    justify-content: right;
    margin-top: 30px;
}

.news .btn1 a {
    color: var(--violet);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--text);
}

.news .btn1 a:hover {
    transform: translateX(5px);
    transition: .3s ease-in-out;
}
/* Data */
.data {
    margin: 100px 0;
}

.data h2 {
    color: var(--primary);
    font-size: 32px;
    font-family: var(--heading);
    margin-bottom: 40px;
}

.data h2 span {
    color: var(--accent);
}

.flash-up {
    background-color: #10B981 !important;
    color: #fff;
    transition: 0.5s ease-in-out;
}

.flash-down {
    background-color: #EF4444 !important;
    color: #fff;
    transition: 0.5s ease-in-out;
}

.table tbody td,
.table thead td {
    text-align: center;
}

.data a {
    display: block;
    text-align: center;
}

.data .btn {
    margin-top: 30px;
}

/* Crypto */
.crypto {
    padding: 100px 0;
    background:
        url('../frontend/img/dot.svg'), var(--primary);
    background-size: auto, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, top center;
}

.crypto .col-md-12 h6 {
    color: var(--secondary);
    font-family: var(--text);
    text-align: center;
}

.crypto .col-md-12 h2 {
    font-family: var(--heading);
    font-size: 48px;
    text-align: center;
    color: #fff;
}

.crypto .col-md-12 p {
    font-family: var(--text);
    color: var(--gray);
    text-align: center;
    margin-bottom: 100px;
}

.crypto .box {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px 60px;
}

.crypto .box span {
    background-color: var(--violet);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    color: var(--gray);
    font-family: var(--text);
    margin-bottom: 10px;
}

.crypto .box h6 {
    font-family: var(--heading);
    font-size: 24px;
    color: #fff;
}

.crypto .box p {
    text-align: center;
    color: var(--gray);
    font-family: var(--text);
    font-size: 14px;
}

/* Single post */

.page-top {
    background-image:
        url('../frontend/img/dot.svg'),
        linear-gradient(180deg, #070113 18%, #4205b0 69%, #FFFFFF 100%);
    background-size: auto, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center, top center;
    height: 65vh;
    display: flex;
    align-items: center;
}

.page-top .breadcrumb {
    display: flex;
    justify-content: center;
    color: #fff;
}

.page-top .breadcrumb * {
    font-family: var(--text);
}

.page-top .breadcrumb a {
    color: #fff;
    padding: 0 5px;
}

.page-top .breadcrumb span {
    padding-left: 5px;
}

.page-top h1 {
    color: #fff;
    font-family: var(--heading);
    font-size: 64px;
    font-weight: 600;
    text-align: center;
}

.post-single {
    margin-top: -60px;
    margin-bottom: 100px;
}

.post-single .left {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 0 10px #f5f4ff;
}

.post-single .left .meta * {
    font-family: var(--text);
}

.post-single .left .meta p {
    padding: 0 5px;
}

.post-single .left img {
    border-radius: 10px;
    border: 2px solid var(--secondary);
    margin-bottom: 20px;
}

/* About */
.trust-page {
    padding: 100px 0;
}

.trust-page h2,
.trust-page h3,
.trust-page h4,
.trust-page h6 {
    font-family: var(--heading);
    color: var(--primary);
}

.trust-page p,
.trust-page a,
.trust-page span {
    font-family: var(--text);
    color: var(--dark-gray);
    text-align: justify;
}

/* Footer */

footer {
    background-color: var(--primary);
    padding: 120px 0 40px 0;
    color: #fff;
}

footer h5 {
    font-family: var(--text);
    font-size: 24px;
}

footer p {
    font-family: var(--text);
    color: var(--gray);
    margin-right: 200px;
    font-size: 14px;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li a {
    font-family: var(--heading);
    color: #fff;
    font-size: 14px;
}

footer span {
    font-family: var(--text);
    font-size: 14px;
}

footer hr {
    margin-top: 50px;
    margin-bottom: 30px;
}

footer .col-md-5 {
    text-align: right;
}

footer .col-md-6 h3 {
    font-family: var(--heading);
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 30px;
}

footer .col-md-6 input {
    background: var(--primary);
    border: 1px solid var(--dark-gray);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 20px;
    font-family: var(--text);
}

footer .col-md-6 input:focus {
    background: var(--primary);
}

footer .col-md-6 .d-flex {
    gap: 15px;
}

footer .col-md-6 input::placeholder {
    color: #fff !important;
    font-family: var(--text);
}

footer .d-flex .btn {
    background: #fff;
    color: var(--primary);
    font-family: var(--heading);
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
}
.page-top{
    height: 55vh;
}
.single-top h1{
    font-size: 38px;
}
.market-deep-dive .market-table-container h2{
    padding-left: 25px;
}
.market-deep-dive .market-table-container small{
    padding-left: 25px;
}


@media only screen and (max-width: 1200px) {
    .hero-bg img {
        margin-top: -150px;
    }

}

@media only screen and (max-width: 992px) {
    .offcanvas {
        background-color: var(--primary);
        height: 100vh;
        padding: 20px 30px;
    }

    .offcanvas-title {
        color: #fff;
    }

    .navbar-nav {
        gap: 10px;
    }

    .offcanvas .btn {
        margin-top: 20px;
    }

    .navbar-toggler {
        border: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .btn-grp {
        margin-top: 30px;
    }

    .news .col-md-12 h2 {
        font-size: 28px;
    }

    .about .col-md-12 p {
        margin-bottom: 50px;
        font-size: 14px;
    }

    .about .right {
        padding-left: 0;
    }

    .about .right h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about .right p {
        padding: 5px 10px;
        font-size: 14px;
    }

    .about .left {
        display: flex;
        align-items: center;
    }

    .about .col-md-12 h2 {
        font-size: 28px;
    }

    .data h2 {
        font-size: 28px;
        margin-bottom: 10px;
        text-align: center;
    }

    .crypto .col-md-12 h2 {
        font-size: 28px;
    }

    .crypto .col-md-12 p {
        font-size: 14px;
        margin-bottom: 50px;
    }

    .crypto .box {
        padding: 10px;
    }

    footer .col-md-6 h3 {
        font-size: 20px;
        line-height: 30px;
    }

    footer .col-md-6 .d-flex {
        gap: 5px;
    }

    footer .col-md-6 input {
        padding: 7px 20px;
    }

    footer .d-flex .btn {
        padding: 7px 20px;
        font-size: 14px;
    }

    footer .col-md-6 h3 {
        font-size: 20px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;
        padding: 0;
    }
    .main-market-data .market-table-container{
        margin-top: -180px;
    }

    .hero {
        height: 80vh;
        padding-top: 100px;
    }

    .hero-bg img {
        margin-top: -90px;
        margin-bottom: 0;
    }

    .news .col-md-12 h2 {
        font-size: 20px;
    }

    .news .news-box img {
        height: 150px;
        margin-bottom: 15px;
    }

    .news .news-box h6 {
        font-size: 16px;
    }

    .news .news-box p {
        font-size: 13px;
    }

    .about .col-md-6 img {
        margin-bottom: 30px;
    }

    .data {
        margin: 0;
    }

    .about {
        margin: 0;
    }

    footer .col-md-5 {
        text-align: left;
    }

    footer p {
        margin-right: 0;
    }

}

@media only screen and (max-width: 458px) {
    .hero{
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero .btn-grp .btn {
        padding: 8px 18px;
        font-size: 14px;
    }

    .news .news-box img {
        height: 200px;
    }

    .about .col-md-12 h2 {
        font-size: 22px;
    }

    .about .right {
        padding-left: 15px;
    }

    .data h2 {
        font-size: 22px;
    }

    .crypto .box {
        padding: 10px 50px;
    }

    .crypto {
        background-size: cover, cover;
    }

    .main-market-data .market-table-container{
        padding-top: 25px;
    }
    .section-title{
        display: block !important;
    }
    .page-top h1{
        font-size: 52px;
    }
    .page-top{
        height: 45vh;
    }
    .news h2{
        font-size: 24px !important;
    }
    .news .col-lg-8 p{
        font-size: 14px !important;
    }

    .single-top{
        height: 55vh;
    }
    .single-top h1{
        font-size: 24px;
    }
    .single-top .breadcrumb{
        font-size: 12px;
    }
    .post-single .left{
        padding: 40px 20px;
    }
    .post-single .meta{
        font-size: 13px;
    }
    .explore-top{
        height: 50vh;
        border-radius: 0 0 25px 25px;
        padding: 80px 0 40px 0 !important;
    }
    .explore-top .breadcrumb{
        font-size: 12px;
    }
    .explore-top h1{
        margin-top: 20px;
        font-size: 24px;
        text-align: left;
    }
    .explore-top p{
        font-size: 14px;
    }


    .market-deep-dive .market-table-container h2{
        padding-top: 30px;
    }

    #assetDetailModal{
        top: 70px;
        padding-bottom: 100px;
    }
    #modal-asset-price{
        font-size: 14px !important;
    }
    #modal-asset-change{
        font-size: 12px !important;
    }
    #assetDetailModalLabel{
        font-size: 14px;
    }



}

@media only screen and (max-width: 375px){
    .price-bubble{
        text-align: center;
        padding: 7px 10px !important;
        
    }
    .asset-detail-icon{
        height: 40px !important;
        width: 40px !important;
    }
    #modal-asset-symbol{
        font-size: 12px !important;
    }
}