
/* Phone */
@media (max-width: 767px), 
       (max-width: 767px) and (min-resolution: 2dppx), 
       (max-width: 767px) and (min-device-pixel-ratio: 2) {
    .navbar-toggler {
        position: absolute !important;
        right: 3rem !important;
        top: 20px !important;
    }
    .electricity-cost-block-mobile {
        padding-top: 0px !important;
        padding-bottom: 5px !important;
    }
    .language-theme-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    .grouped-menu-items {
        justify-content: center;
        }
    .asictitle {
        font-size: 0.9rem !important;
    }
    .coin-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .imgcoin {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
    h1 {
        font-size: 1.5rem !important;
    }
    .card {
        margin-top: 15px;
    }
    #myBtn{right: 15px;bottom: 15px;width: 35px;height: 35px;line-height: 30px;font-size: 16px;}
    .deals-table .d-none.d-md-table-cell {
        display: none;
    }
    .miner-name {
        display: none !important;
    }
    .spec-details {
        font-size: 0.55rem;
    }
    .contact-button {
        font-size: 0.5rem;
        text-align: center;
    }
    .contact-button::after {
        font-size: 0.5rem;
    }
    .spec-separator {
        height: 0.6rem !important;
    }
    .portfolio-btn {
        font-size: 0.5rem;
        margin-right: 3px;
    }
    .pool-content {
        display: block !important;
        text-align: center !important;
    }
    .pool-logo {
        width: 180px !important;
        margin: 0 auto 0.5rem auto !important;
    }
    .pool-name {
        font-size: 1.2rem !important;
        font-weight: bold !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    .pool-section .coin-logo {
        width: 50px !important;
        margin: 0 5px !important;
    }
    .pool-fees {
        display: inline-flex !important;
        align-items: center !important;
        font-size: 1rem !important;
        margin: 0 5px !important;
    }
    .link-icon {
        width: 35px !important;
        margin: 0 5px !important;
        display: inline-block !important;
    }
    .last-info-item {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        margin: 0 auto !important;
    }
    .button-group .btn {
        padding: 0.5rem 1.5rem !important;
        font-size: 0.6rem !important;
        font-weight: bold !important;
        margin-bottom: 15px !important;
    }
    .portfolio-btn {
        font-size: 0.6rem;
    }
    .subtext {
        display: none;
    }
    .asictable th {
        font-size: 12px !important;
        font-weight: bold !important;
    }
    .asictable td {
        font-size: 11px !important;
    }
    .miner-header-title {
        font-size: 12px !important;
        font-weight: normal !important;
    }
    .miner-row-title {
        font-size: 12px !important;
        font-weight: normal !important;
    }
    .miner-row-data {
        font-size: 12px !important;
        font-weight: normal !important;
    }
    .miner-info-list {
        margin-bottom: 15px;
    }
    .miner-card {
        margin: 0 10px;
        padding: 15px;
        min-width: 250px;
        max-width: 100%;
    }
    .stat-label {
        display: block;
        font-size: 10px;
        color: #B0B8C6;
    }
    .stat-value {
        font-size: 10px;
        font-weight: bold;
    }
    .miner-title {
        font-size: 14px;
        margin: 5px 0;
    }
    .filters.d-md-none .btn-secondary {
        min-width: 265px;
    }
    .custom-search-wrapper {
        min-width: 300px;
    }
    .paginator-buttons .btn-light.me-2:before {
        content: 'Prev' !important;
    }
    .paginator-buttons .btn-light.ms-2:before {
        content: 'Nxt' !important;
    }
    .paginator-buttons .btn-light.me-2,
    .paginator-buttons .btn-light.ms-2 {
        font-size: 0 !important;
    }
    .paginator-buttons .btn-light.me-2:before,
    .paginator-buttons .btn-light.ms-2:before {
        font-size: 0.5rem !important;
        display: inline-block;
        font-weight: normal;
    }
    .paginator-buttons .btn-secondary, 
    .paginator-buttons .btn-primary, 
    .paginator-buttons .btn-light.mx-1 {
        font-size: 0.5rem;
        padding: 0.1rem 0.3rem;
        min-width: 1.8rem;
    }
    .paginator-buttons .mx-1 {
        margin-left: 0.05rem !important;
        margin-right: 0.05rem !important;
    }
    .miner-carousel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .carousel-nav {
        display: none;
    }
    .miner-card {
        width: 100%;
        max-width: 300px;
    }
    .miner-image {
        width: 100%;
        max-height: 200px;
    }
    .section-title {
        font-size: 18px;
    }
    .profit-container,
    .stat {
        padding: 4px;
    }
    #bitcoin-difficulty .col-md-2:nth-child(-n+2),
    #bitcoin-difficulty .col-md-2:nth-child(3),
    #bitcoin-difficulty .col-md-2:nth-child(4) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #bitcoin-difficulty .col-md-2:nth-child(5) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #mempool-stats .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .card .card-body .mb-4.fw-bold {
        font-weight: bold;
        font-size: 1.5em !important;
    }  
    .accordion-button {
        background-color: transparent !important;
        color: inherit !important;
        box-shadow: none !important;
    }

    .accordion-button:not(.collapsed) {
        background-color: transparent !important;
    }

   .mineable-crypto-header {
        padding: 1rem;
    }
    
    .mineable-crypto-coin-info {
        min-width: auto;
    }
    
    .mineable-crypto-table thead th,
    .mineable-crypto-table tbody td {
        padding: 0.75rem 0.5rem;
    }

    .mineable-crypto-table-responsive {
        overflow-x: auto;
    }

}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) and (min-device-pixel-ratio: 2) and (max-aspect-ratio: 10/13),
       (min-width: 768px) and (max-width: 1199px) and (min-resolution: 1.5dppx),
       (min-width: 768px) and (max-width: 1199px) and (min-resolution: 2dppx),
       (min-width: 768px) and (max-width: 1199px) and (min-device-pixel-ratio: 2) {
    .menu-wrapper {
        flex-wrap: nowrap;
        justify-content: center !important;
    }
    .navbar-flex {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
    }
    .navbar-brand {
        text-align: left;
    }
    .navbar-toggler {
        justify-content: flex-end;
        margin-right: 15px;
    }
    .button-group .btn {
        margin-bottom: 25px !important;
        margin-top: 5px !important;
    }
    .deals-table .d-none.d-md-table-cell:nth-child(7),
    .deals-table .d-none.d-md-table-cell:nth-child(4),
    .deals-table .d-none.d-md-table-cell:nth-child(5) {
        display: none !important;
    }
    .miner-card {
        margin: 0 10px;
        padding: 15px;
        min-width: 200px;
        max-width: 100%;
    }
    .stat-label {
        display: block;
        font-size: 8px;
        color: #B0B8C6;
    }
    .stat-value {
        font-size: 10px;
        font-weight: bold;
    }
    .miner-title {
        font-size: 14px;
        margin: 5px 0;
    }   
    .asictable th:nth-child(4),
    .asictable td:nth-child(4),
    .asictable th:nth-child(5),
    .asictable td:nth-child(5),
    .asictable th:nth-child(6),
    .asictable td:nth-child(6) {
        display: none;
    }
    .asictable th {
        font-size: 14px !important;
        font-weight: bold !important;
    }
    .asictable td {
        font-size: 13px !important;
    }
    .filters-group {
        gap: 10px;
    }
    .custom-search-wrapper {
        min-width: 200px;
    }
    .filter-dropdown .btn, .filter-reset .btn-reset {
        padding: 5px 10px;
        font-size: 13px;
        height: 40px;
    }
    #bitcoin-difficulty .col-md-2:nth-child(-n+2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #bitcoin-difficulty .col-md-2:nth-child(n+3) {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
    #mempool-stats .col-md-2 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
    .electricity-cost-block-mobile {
        display: none !important;
    }
    .electricity-cost-block {
        display: none !important;
    }
    .electricity-cost-block-tablet {
        display: flex !important;
    }
    .paginator-buttons .btn-light.me-2:before {
        content: 'Prev' !important;
    }
    .paginator-buttons .btn-light.ms-2:before {
        content: 'Nxt' !important;
    }
    .paginator-buttons .btn-light.me-2,
    .paginator-buttons .btn-light.ms-2 {
        font-size: 0 !important;
        max-width: 5rem !important;
    }
    .paginator-buttons .btn-light.me-2:before,
    .paginator-buttons .btn-light.ms-2:before {
        font-size: 1rem !important;
        display: inline-block;
        font-weight: normal;
    }
    .paginator-buttons .btn-secondary, 
    .paginator-buttons .btn-primary, 
    .paginator-buttons .btn-light.mx-1 {
        font-size: 0.9rem !important;
        padding: 0.1rem 0.2rem !important;
        min-width: 0.5rem !important;
        max-width: 3.5rem !important;
        width: auto !important;
    } 
    .accordion-button {
        background-color: transparent !important;
        color: inherit !important;
        box-shadow: none !important;
    }
    .accordion-button:not(.collapsed) {
        background-color: transparent !important;
    }  
    .pool-item .pool-logo,
    .pool-item .coin-logo,
    .pool-item .pool-name,
    .pool-item .pool-fees,
    .pool-item .pool-link {
        text-align: center;
    }
    .pool-section:nth-child(1) {
        width: 15%;
    }
    .pool-section.pool-name {
        width: 25%;
    }
    .pool-section:nth-child(3) {
        width: 15%;
    }
    .pool-section.pool-fees {
        width: 25%;
    }
    .pool-section:nth-child(5) {
        width: 10%;
    }
    .pool-logo, .coin-logo, .pool-name, .pool-fees, .pool-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

/* Desktop */
@media (min-width: 1200px) and (max-resolution: 1.5dppx),
       (min-width: 1200px) and (min-resolution: 2dppx),
       (min-width: 1200px) and (min-device-pixel-ratio: 2) {
    .menu-wrapper {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
    }
    .grouped-menu-items {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .language-theme-wrapper {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        gap: 10px !important;
    }
    h1 {
        font-size: 2.2rem !important;
    }
    .contact-form-container {
        max-width: 700px;
    }
    .miner-card {
        margin: 0 10px;
        padding: 15px;
        min-width: 300px;
        max-width: 100%;
    }
    .stat-label {
        display: block;
        font-size: 12px;
        color: #B0B8C6;
    }
    .stat-value {
        font-size: 14px;
        font-weight: bold;
    }
    .miner-title {
        font-size: 18px;
        margin: 5px 0;
    }
    .filters-group {
        gap: 10px;
    }
    .custom-search-wrapper {
        min-width: 300px;
    } 
    .paginator-buttons .btn-light.me-2:before {
        content: 'Prev' !important;
    }
    .paginator-buttons .btn-light.ms-2:before {
        content: 'Nxt' !important;
    }
    .paginator-buttons .btn-light.me-2,
    .paginator-buttons .btn-light.ms-2 {
        font-size: 0 !important;
    }
    .paginator-buttons .btn-light.me-2:before,
    .paginator-buttons .btn-light.ms-2:before {
        font-size: 1rem !important;
        display: inline-block;
        font-weight: normal;
    }
    .paginator-buttons .btn-secondary, 
    .paginator-buttons .btn-primary, 
    .paginator-buttons .btn-light.mx-1 {
        font-size: 0.9rem !important;
        padding: 0.1rem 0.2rem !important;
        min-width: 0.5rem !important;
        max-width: 3.5rem !important;
        width: auto !important;
    }
    .pool-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .pool-section {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pool-item .pool-logo,
    .pool-item .coin-logo,
    .pool-item .pool-name,
    .pool-item .pool-fees,
    .pool-item .pool-link {
        text-align: center;
    }
    .pool-section:nth-child(1) {
        width: 15%;
    }
    .pool-section.pool-name {
        width: 25%;
    }
    .pool-section:nth-child(3) {
        width: 15%;
    }
    .pool-section.pool-fees {
        width: 25%;
    }
    .pool-section:nth-child(5) {
        width: 10%;
    }
    .pool-logo, .coin-logo, .pool-name, .pool-fees, .pool-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }
        
}

/* Windows 150% */
@media (min-width: 1024px) and (min-resolution: 1.5dppx) and (hover: hover), (min-width: 1280px) {
    .navbar-brand {
        padding-left: 0 !important; /* Remove padding from the left side */
        margin-left: 0 !important; /* Remove margin from the left side */
        flex-shrink: 0 !important; /* Prevent the logo from shrinking */
    }
    .navbar-collapse {
        display: flex !important;

    }
    .electricity-cost-block-mobile,
    .electricity-cost-block-tablet {
        display: none !important;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: row;
    }
    .navbar-toggler {
        display: none !important;
    }
    .navbar-expand-xxl {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }
}

/* Small Phone */
@media (max-width: 360px) {
    .miner-row-title,
    .miner-row-data {
        font-size: 0.85rem;
    }
    .miner-row-title[style*="font-weight: bold"],
    .miner-row-data[style*="font-weight: bold"] {
        font-size: 0.9rem;
    }
    .miner-row-title img {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
    .miner-table-header, .miner-table-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 0;
    }
}

/* General */
.language-switcher,
.theme-switcher {
    display: flex;
    align-items: center;
}
