@media (max-width: 991.98px) {
    header {
        padding-inline: 12px;
    }
    #main_nav:not(:checked) ~ .main-nav {
        height: 0;
        overflow: hidden;
    }
    .main-nav {
        position: absolute;
        width: calc(100% - 48px);
        background: #562238;
        background: radial-gradient(
            circle,
            #562238 0%,
            #582d3f 50%,
            #6f253c 100%
        );
        left: 24px;
        right: 24px;
        top: 72px;
        z-index: 999;
        align-items: start;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    .main-nav .nav-item {
        width: 100%;
    }
    .main-nav .nav-link {
        display: block;
    }
    header .nav-link::before {
        content: none;
    }

    .process-single::before {
        content: "";
        position: absolute;
        top: auto;
        left: 50%;
        bottom: -12px;
        transform: translateY(0) translateX(-50%) rotate(135deg);
        width: 24px;
        height: 24px;
        background: inherit;
        z-index: 99;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
    }
}

/* snowfall */
@media only screen and (max-width: 992px) {
    .slow-flake {
        width: 100% !important;
        height: 120vh !important;
    }

    .santa-img {
        height: auto !important;
        width: 20% !important;
    }

    .christmas-tree {
        height: auto !important;
        width: 10% !important;
    }
}

@media only screen and (max-width: 831px) {
    .santa-img {
        right: 20% !important;
    }
}

@media only screen and (max-width: 768px) {
    .santa-img {
        height: auto !important;
        width: 24% !important;
    }
    .christmas-tree {
        height: auto !important;
        width: 12% !important;
    }
}

@media only screen and (max-width: 480px) {
    .santa-img {
        height: auto !important;
        width: 34% !important;
    }
    .christmas-tree {
        height: auto !important;
        width: 16% !important;
    }
}

/* user profile */

@media (max-width: 768px) {
    .user-profile-info {
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* custom-dropdown-menu */
@media (min-width: 992px) {
    .custom-dropdown-menu {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        background-color: #f8f9fa;
        border-radius: 5px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        width: max-content;
    }
}

/* ====Main widget css ===== */
@media only screen and (max-width: 500px) {
    .widget-img .logo {
        height: 50px !important;
    }
    .form-control.form-amount {
        font-size: 15px !important;
    }
    .exchange-label {
        font-size: 15px !important;
        height: 35px !important;
    }
    .exchange-coin img {
        height: 19px !important;
        width: 19px !important;
    }
    .swap-coin .fa-arrow-up-arrow-down {
        font-size: 12px !important;
    }
    .swap-coin {
        width: 30px !important;
        height: 30px !important;
        line-height: 31px !important;
    }
    .exchange-info {
        padding-top: 10px !important;
    }
    .btn-exchange {
        font-size: 12px !important;
        height: 44px !important;
        line-height: 0 !important;
    }
    .form-search .form-control {
        height: 44px !important;
        font-size: 15px !important;
    }
    .close-list {
        padding-bottom: 10px !important;
    }
    .exchange-list-inner2 {
        top: -180px !important;
    }

    .widget-heading {
        font-size: 11px !important;
    }

    .exchange-info h3 {
        font-size: 10px !important;
    }

    .waiting-text {
        font-size: 13px;
    }

    .payment-qr svg {
        height: 100px !important;
        width: 100px !important;
    }

    .address-text .copy-text {
        font-size: 12px !important;
    }
    .exchange-wrap .copy-to-clipboard .fa-copy {
        font-size: 14px !important;
    }

    .get-text {
        font-size: 12px !important;
    }
    .received-text {
        font-size: 15px !important;
    }
    .sent-text {
        font-size: 15px !important;
    }

    .hash-out-text {
        font-size: 15px !important;
    }

    .address-group input {
        font-size: 13px !important;
        height: 40px !important;
    }

    .address-group .input-group-prepend .input-group-text {
        height: 40px !important;
    }

    .address-group .input-group-prepend .input-group-text .icon {
        width: 26px !important;
        height: 26px !important;
    }

    .message-image img {
        padding: 10px !important;
    }
}

@media only screen and (max-width: 992px) {
    .exchange-list-inner2 {
        top: -170px !important;
    }
}

/* login and signup */
@media (max-width:992px) {
    .login_signup .form-card{
        width: 100%!important;
        height:auto!important;
    }
}

/* language dropdown */
@media only screen and (max-width:767px){
    .language-dropdown{
        margin-left: auto!important;
    }
}

@media only screen and (max-width:767px){
    .market-content-container table{
        display: block;     
        width: 100%;          
        overflow-x: auto;    
        border-collapse: collapse !important;
        height: auto !important;
    }
}
