:root {
    --error-color: #e94b4b;
    --header-bg-color: #ed1c24;
    --header-text-color: #faf9f5;
    --header-text-color-25-opacity: #faf9f540;
    --footer-bg-color: #ed1c24;
    --footer-text-color: #faf9f5;
    --footer-text-color-10-opacity: #faf9f51A;
    --footer-text-color-40-opacity: #faf9f566;
    --footer-text-color-60-opacity: #faf9f599;
    --primary-text-color: #111827;
    --primary-text-color-5-opacity: #1118270D;
    --primary-text-color-10-opacity: #1118271A;
    --primary-text-color-20-opacity: #11182733;
    --primary-text-color-50-opacity: #11182780;
    --primary-text-color-60-opacity: #11182799;
    --primary-text-color-80-opacity: #111827CC;
    --accent-color: #ed1c24;
    --accent-color-75-opacity: #ed1c24bf;
    --action-color: #ed1c24;
    --action-color-5-opacity: #ed1c240D;
    --action-color-20-opacity: #ed1c2433;
    --action-color-80-opacity: #ed1c24CC;
    --primary-bg-color: #faf9f5;
    --content-bg-color: #ffffff;
    --content-bg-color-85-opacity: #ffffffD9;
    --content-bg-color-50-opacity: #ffffff80;
    --secondary-bg-color: #f3f4f4;
    --greeting-text-color: #ffffff;
    --banner-image-size-desktop: 440px;
    --banner-image-size-mobile-portrait: 256px;
    --banner-image-size-mobile-landscape: 168px;
    --greeting-text-font-size-desktop: 48px;
    --greeting-text-font-size-mobile: 24px;
    --cover-background-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.17) 100%),;
}
.main-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    padding: 3%;
}
.page-title{
    z-index: 0;
    background: white;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 1rem 0px;
    font-weight: bold;
}
.page-title-text{
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}
.subheading{
    text-align: center;
    background: rgb(255, 255, 255);
}
.tips-btn{
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 0px;
    background: rgb(255, 255, 255);
    cursor: pointer;
    align-items: start;
    margin-top: 0.25rem;
    height: auto;
}
#img-show{
    background: linear-gradient(90deg, rgb(167, 108, 192) 0%, rgb(190, 122, 200) 100%) 0% 0% no-repeat border-box border-box;
    border: 0.5rem solid rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.145) 0px 0.25rem 0.5rem 0px;
    border-radius: 1.875rem;
    position: relative;
    margin: 1rem 0px 2.5rem;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
}
#img-show>.left-img{
    position: absolute;
    bottom: -1.875rem;
    left: -1.25rem;
    z-index: 2;
    width: 130px;
}
#img-show>.right-desc{
    position: absolute;
    top: 10%;
    left: 35%;
    z-index: 2;
    width: 65%;
    height: 80%;
    display: flex;
    align-items: center;
}

.reward-codes-container{
    /*padding: 8.125rem 0px;*/
}
.reward-codes-title-img{
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 20.375rem;
    z-index: 1;
}
.reward-codes-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgb(188, 125, 196) 7.86%, rgb(156, 170, 245) 100%) 0% 0% no-repeat border-box border-box;
    padding: 5rem 0px 10.625rem;
    margin: 1.25rem 0px;
    border-radius: 1.875rem;
    border: 0.5rem solid rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.145) 0px 0.25rem 0.5rem 0px;
}
.reward-codes-text{
    text-align: center;
    color: rgb(255, 255, 255);
    padding: 0px 1.25rem;
    z-index: 1;
    text-shadow:
    -1px -1px 1px rgba(0, 0, 0, 0.545),
    1px -1px 1px rgba(0, 0, 0, 0.545),
    -1px  1px 1px rgba(0, 0, 0, 0.545),
    1px  1px 1px rgba(0, 0, 0, 0.545);
    font-size: 1.25rem;
    font-family: grav-heavy;
}
.top-tips{
    text-align: center;
    color: rgb(255, 255, 255);
    margin: 1rem 0px 0px;
    padding: 0px 1.25rem;
    z-index: 1;
}
.reward-codes-bg-shine{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.code-title{
    height: 15%;
    margin: auto;
    margin-top: 5%;
}
.reward-codes-input-wrap{
    width: 85%;
    max-width: 36.25rem;
    z-index: 2;
    margin-top: 32%;
}
.reward-codes-input{
    font-size: 1rem;
    text-align: center;
    width: 100%;
    max-height: 3rem;
    border-radius: .5rem;
    font-family: grav-heavy;
}
.reward-codes-btn{
    font-family: grav-heavy;
    background-image: url("/resource/code_btn_bg.png");
    background-size: 100% 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 1.25rem;
    outline: 0px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    color: rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.16) 0.03125rem 0.0125rem;
    /*background: linear-gradient(rgb(74, 194, 0) 0%, rgb(99, 198, 4) 100%) 0% 0% no-repeat border-box border-box;*/
    /*box-shadow: rgb(53, 144, 0) 0px 0.125rem 0px 0px, rgba(179, 174, 119, 0.6) 0px 0.25rem 0.125rem 0px;*/
    box-sizing: border-box;
    /*border: 1px solid rgb(123, 228, 34);*/
    transition: 0.1s cubic-bezier(0, 1.5, 1, 2);
    font-size: 1.125rem;
    height: 2.125rem;
    padding: 1rem 2rem;
    padding-top: 0.7rem;
    margin-top: 1rem;
    z-index: 2;

}
.reward-codes-btn:before{
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 1.25rem;
}
.reward-codes-bottom-img-wrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}
.bottom-img-left{
    width: 100%;
    height: auto;
    max-width: 360px;
    position: absolute;
    right: -30px;
    bottom: -100px;
}
.bottom-img-right{
    width: 100%;
    height: auto;
    max-width: 360px;
    position: absolute;
    left: -30px;
    bottom: -130px;
}

@media (max-width: 1200px) {
    .reward-codes-container{
        /*padding: 4.375rem 0px;*/
    }
    .reward-codes-title-img{
        width: 12.5rem;
    }
    .reward-codes-content{
        padding: 2.5rem 0px 10.625rem;
    }
    .bottom-img-left{
        max-width: 200px;
        height: auto;
        right: -10px;
        bottom: -50px;
    }
    .bottom-img-right{
        max-width: 200px;
        height: auto;
        left: -30px;
        bottom: -50px;
    }
}
@media (min-width: 1200px) {
    main {
        padding:10%;
    }
}
@media (min-width: 768px) {

    .reward-codes-text{
        font-size: 2.5rem;
        margin-top: 2%;
    }
    .reward-codes-input-wrap{
        margin-top: 40%;
    }
    .reward-codes-input{
        padding: 1.5rem;
        font-size: 1rem;
        text-align: center;
        width: 100%;
        max-height: 3rem;
        border-radius: .5rem;
    }
}