* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    font-family: sans-serif;
}

.grid {
    /* background: #DDD; */
    position: relative;
}


/* clear fix */

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-item {
    float: left;
    width: 24%;
    background-image: url('../images/tubg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-left: 0.5%;
    margin-right: 0.5%;
    margin-bottom: 20px;
    padding-bottom: 28px;
}

.grid-item--width2 {
    width: 40%;
}

.grid-item--height1 {
    /* height: 390px; */
    /* height: 100%; */
}

.grid-item--height2 {
    height: 507px;
}

.match-box {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.match-content {
    padding-top: 63px;
    background: url("../images/contentbg.png") no-repeat;
    background-size: 100% 100%;
}

.match-img-fuild {
    width: 100%;
    height: auto;
}

.match-regular {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.match-vote-regular {
    position: absolute;
}

.match-vote-regular p {
    margin-bottom: 0px;
}

.vote-regular-text {
    padding-left: 12px;
    padding-right: 12px;
    line-height: 30px;
}

.vote-btn {
    width: 268px;
    height: 60px;
    background-image: url('../images/regular-button.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-align: center;
    line-height: 54px;
    color: #fff;
    font-size: 24px;
    margin: 0 auto;
    margin-bottom: 24px;
}

.vote-regular-text {
    color: #FEFD01;
    font-size: 18px;
}

.match-nav.nav {
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin-bottom: 43px;
}

.match-nav .nav-item {
    margin-left: 11px;
    margin-right: 11px;
}

.match-nav .nav-link {
    background-color: #72c0e6;
    width: 343px;
    height: 62px;
    color: #fff;
    font-size: 24px;
    border-radius: 8px;
    text-align: center;
    line-height: 45px;
}

.match-nav .nav-link:hover,
.match-nav .nav-link:focus {
    color: #fff;
    background-color: #0f8bc7;
}

.match-nav .nav-item.active .nav-link {
    color: #fff;
    background-color: #0f8bc7;
}

.match-name {
    font-size: 20px;
    color: #666;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.match-big-btn {
    width: 80%;
    height: 40px;
    line-height: 40px;
    margin-bottom: 0px;
    border: 1px solid #72c0e6;
    color: #72c0e6;
    text-align: center;
    cursor: pointer;
}

.bigImg {
    width: 600px;
    height: auto;
    position: fixed;
    /* top: 10%; */
    /* top: 18%;
    left: 20%; */
}

.close-img {
    color: rgb(255, 255, 255);
    display: block;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    position: fixed;
    /* top: 17%;
    right: 19.3%; */
    /* top: 10%;
    right: 10%; */
    top: 5%;
    right: 5%;
    z-index: 9999;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.floatBox {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    position: fixed;
    top: 0px;
    left: 0px;
    /* background: rgba(0, 0, 0, 0.7); */
    background: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: start;
    /* padding-top: 50%; */
}

.text-bg {
    background: url('../images/text-bg.png') no-repeat;
    background-size: 100% 100%;
    padding: 65px 10%;
    margin-top: 48px;
}

.text-bg h5 {
    font-size: 24px;
    color: #003D5B;
    text-align: center;
    font-weight: normal;
    margin-bottom: 12px;
}

.text-bg h4 {
    font-size: 16px;
    color: #003D5B;
    text-align: left;
    font-weight: normal;
    margin-bottom: 12px;
    margin-top: 12px;
}

.text-bg h6 {
    text-align: center;
    margin-bottom: 18px;
    color: #003D5B;
}

.text-bg p {
    font-size: 14px;
    color: #003D5B;
    margin-bottom: 0px;
    text-indent: 2em;
}

.img-pc {
    display: block;
}

.img-mobile {
    display: none;
}

@media(max-width:1600px) {
    .bigImg {
        width: 500px;
        height: auto;
        position: fixed;
        /* top: 10%; */
        /* top: 18%;
        left: 20%; */
    }
}

@media(max-width:1366px) {
    .bigImg {
        width: 400px;
        height: auto;
        position: fixed;
        /* top: 10%; */
        /* top: 18%;
        left: 20%; */
    }
}

@media(max-width:576px) {
    .grid-item {
        width: 48%;
        margin-left: 1%;
        margin-right: 1%;
    }
    .vote-btn {
        width: 134px;
        height: 48px;
        line-height: 48px;
        color: #fff;
        font-size: 24px;
        margin: 0 auto;
    }
    .vote-regular-text {
        color: #FEFD01;
        font-size: 12px;
        line-height: 18px;
    }
    .match-nav .nav-item {
        width: 48%;
        margin-left: 1%;
        margin-right: 1%;
    }
    .match-nav .nav-link {
        background-color: #72c0e6;
        width: 100%;
        height: 40px;
        color: #fff;
        font-size: 18px;
        border-radius: 4px;
        text-align: center;
        line-height: 24px;
    }
    .match-name {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .match-big-btn {
        font-size: 15px;
    }
    .text-bg {
        padding: 120px 10%;
    }
    .bigImg {
        max-width: 100vw;
        /* top: 10%; */
    }
    .close-img {
        position: fixed;
        top: 6%;
        right: 5%;
    }
    .floatBox {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 1);
    }
    .img-pc {
        display: none;
    }
    .img-mobile {
        display: block;
    }
}