@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
    font-size: 15px;
    color: #fff;
    background: url("../images/julyevent/bg.jpg")no-repeat top center;
    background-size: cover;
}

a {
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

    a:hover, a:focus, button:focus, button:hover {
        text-decoration: none;
        outline: none;
    }

img {
    max-width: 100%;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], textarea, select {
    color: #666;
    width: 100%;
}

button {
    background: none;
    border: none;
    padding: 0;
}

.t-body {
    overflow: hidden;
}

.deco {
    position: absolute;
}

.max-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.top-sec {
    position: relative;
    text-align: center;
    padding-bottom: 30px;
}

.content_header {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
}

.quest-date-wrap {
    font-size: 30px;
    font-weight: 700;
    padding: 0 0 40px;
}

.rwimg {
    cursor: pointer;
    max-width: max-content;
    margin: 0 auto;
    transition: 0.2s;
}

    .rwimg:hover {
        transform: scale(1.03);
        filter: brightness(1.07);
        transition: 0.2s;
    }

.token-wrapper {
    position: relative;
    max-width: 320px;
    margin: -15px auto 15px;
}

.tk-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.quest-wrapper {
    padding: 30px 0 10px;
}

.quest-box {
    position: relative;
    display: inline-block;
    max-width: 275px;
    margin: 10px 10px 30px;
}

.quest-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 26%;
}

.tk-amt {
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    font-size: 50px;
    font-weight: 700;
    color: #f7e188;
    line-height: 1;
}

button.claim-btn {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7%;
    max-width: 57%;
    margin: 0 auto;
    z-index: 1;
}

    button.claim-btn:hover {
        transform: scale(0.98);
        filter: brightness(1.07);
    }

button.close-x {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    position: absolute;
    right: 0;
    top: 20%;
    font-size: 18px;
    z-index: 2;
    bottom: unset;
    left: unset;
    opacity: unset;
}

.modal-content.reward {
    background: none;
    border: none;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.reward-box {
    position: relative;
    cursor: pointer;
}

.prize {
    position: absolute;
    left: 0;
    right: 0;
    top: 42%;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    transform: none;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
    transform: scale(0.3);
    text-shadow: 0 1px 5px #000;
    filter: drop-shadow(0 0 4px #fbffb2) drop-shadow(0 0 8px #fbffb2);
}

img.open {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
}

.reward-box.active img.closed {
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.reward-box.active img.open {
    opacity: 1;
    visibility: visible;
    transition: 0.2s;
}

.reward-box.active .prize {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: 0.3s;
    transition-delay: 0.3s;
}

.btm-btn-wrap {
    padding: 25px 0;
}

button.tnc-btn {
    background: url("../images/julyevent/tnc-bg.png") no-repeat;
    background-size: 100% 100%;
    text-shadow: 0 0 5px #bd01ce, 0 0 10px #bd01ce, 0 0 20px #bd01ce;
    max-width: 344px;
    height: 61px;
    width: 100%;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto;
    border: none;
    padding: 0;
}

.modal-dialog.terms {
    max-width: 650px;
}

.modal-content.terms {
    background: #0f1829;
    border: none;
    padding: 20px 20px;
}

.tnc-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

button.close-btn {
    color: #fff;
    font-size: 34px;
    opacity: 1;
    position: absolute;
    right: 10px;
    top: 6px;
    line-height: 1;
    z-index: 2;
}

ul.terms {
    padding-left: 20px;
}

    ul.terms li {
        font-size: 14px;
        margin-bottom: 10px;
    }

@media(max-width: 480px) {
    .quest-date-wrap {
        font-size: 22px;
    }

    button.tnc-btn {
        max-width: 74%;
        font-size: 4.5vw;
        height: 13vw;
    }

    .modal-content.terms {
        padding: 20px 15px;
    }
}
