
@media screen and (max-width: 1670px) {
    .main {
        min-height: 685px;
        height: auto;
    }
}

@media screen and (max-width: 1530px) {
    .main {
        min-height: 550px;
        width: 100%;
    }

    .main-main {
        background-size: 600px;
        background-position: right center;
    }

    .main[data-slide="2"] {
        background-position: right -160px center;
        background-size: 927px;
    }

    .main[data-slide="3"] {
        background-position: right -40px top -40px;
        background-size: 685px;
    }

    .slider-container {
        height: 500px;
    }
}

@media screen and (max-width: 1110px) {

    .main-main {
        background-size: 400px;
    }

    .main[data-slide="2"] {
        background-size: 724px;
    }
    .main[data-slide="3"] {
        background-position: right -80px center;
        background-size: 586px;
    }
}

@media screen and (max-width: 1050px) {
    .main {
        min-height: 350px;
    }
    .main[data-slide="3"] {
        background-position: right -20px top -20px;
        background-size: 461px;
    }
}

@media screen and (max-width: 1420px) {
    .content {
        width: 98%;
    }
    .main-left .subtitle {
        max-width: 620px;
    }
    .title {
        font-size: 80px;
    }

    .page-footer {
        gap: 70px;
    }
    .page-footer img {
        height: 45px;
    }

    header{
        padding-left: 10px;
        padding-right: 10px;
    }
    .market-banner {
        background-size: 580px;
        min-height: 500px;
    }
    .market-list {
        justify-content: center;
    }
    .market2-list {
        justify-content: center;
    }

    .market2-toplist-item {
        width: calc(100% / 9);
    }
}

@media screen and (max-width: 1300px) {
    .market-banner {
        background-size: 450px;
    }
}


@media screen and (max-width: 1000px) {
    .main {
        background-image: none!important;
        margin-top: 50px;
    }
    .main-left {
        align-items: center;
    }
    .page-footer img {
        height: 35px;
    }
    .main-right .item {
        display: none;
    }

    .market-banner {
        padding: 20px;
        align-items: center;
        background: none;
    }

    .market2-toplist-item img {
        height: 30px;
    }
}

@media screen and (max-width: 850px) {
    footer .content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 800px) {
    .market-header-nav nav {
        gap: 50px;
    }
	.headertitle {
		display: none;
	}
}

@media screen and (max-width: 750px) {
    .market2-toplist {
        flex-wrap: wrap;
        height: auto;
    }
    .market2-toplist-item {
        width: calc(100% / 3);
    }

    .market2-pagination button:not(.current):not(.edge):not(.last) {
        display: none;
    }
}

@media screen and (max-width: 710px) {
    .page-footer {
        height: auto;
        flex-direction: column;
        padding-top: 30px;
        padding-bottom: 30px;
        gap: 30px;
    }
    .slider-container {
        height: 400px;
    }
    header button {
        width: 150px;
    }
    .title {
        font-size: 72px;
    }
    .main-left .subtitle {
        font-size: 22px;
        max-width: 90%;
        text-align: center;
    }
    .main-left button {
        width: 250px;
    }
    .main-left .hr {
        width: 70%;
    }
    .market-header-nav nav {
        gap: 25px;
        margin-left: 25px;
    }
    .market-header-right a {
        gap: 10px;
    }
}

@media screen and (max-width: 610px) {
    .market-header-right a p {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .title {
        font-size: 64px;
    }
    header nav {
        gap: 30px;
    }

    .market-banner .hr {
        width: 80%;
    }
}

@media screen and (max-width: 520px) {
    .market-header-nav nav {
        gap: 15px;
        margin-left: 15px;
    }
    .market-header-nav .market-title {
        font-size: 14px;
    }
}

@media screen and (max-width: 500px) {
    .title {
        font-size: 48px;
    }


    .modal[data-modal="login"], .modal[data-modal="scan"] {
        width: 90%;
        padding: 27px 20px;
    }
    .modal-close {
        right: 11px;
    }
}

@media screen and (max-width: 460px) {
    .market-header-nav .market-title {
        padding: 0 8px;
    }
    .market-header-nav nav a p {
        font-size: 14px;
    }
}

@media screen and (max-width: 420px) {
    .market-header-nav nav a p {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .title {
        font-size: 38px;
    }
    .main-left .subtitle {
        font-size: 18px;
    }
    .button p {
        font-size: 14px;
    }
    header button {
        width: 105px;
    }
}