/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/


@import url('https://fonts.googleapis.com/css?family=Helvetica&display=swap');

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
    width: 50%;
}

.grid-item {
    float: left;
}

.grid-item img {
    display: block;
    max-width: 100%;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
    display: block;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Helvetica', sans-serif;
    font-weight: 400;
    background-color: #624031;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.2rem;
    color: #ffffff;
}

a {
    text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul {
    margin-bottom: 0px;
}

ul li {
    color: #fff;
    list-style-type: none;
    margin-left: 20px !important;
}

p {
    font-size: 1rem;
    line-height: 30px;
    color: #2a2a2a;
}

.wid-60 {
    width: 60%;
}

.wid-40 {
    width: 40%;
}

.text-white {
    color: #fff !important;
}

.text-red {
    color: #ff4d2a;
}

div.file {
    position: relative;
    overflow: hidden;
}

input.upload {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    top: 0;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
    /* background: #e6e2dd; */
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
}

::selection {
    background: #03a4ed;
    color: #fff;
}

::-moz-selection {
    background: #03a4ed;
    color: #fff;
}

h5 {
    font-size: 1.4rem;
    font-weight: normal;
}

h6 {
    font-size: 1rem;
}

.bg-red {
    background-color: #fe0100;
}

h4.bg-red {
    line-height: 1;
}


.step-card {
    width: 100%;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    background: #d8b7ab;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.5);
    border: 3px solid #fff;
}

.step-top {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: red;
    padding: 10px;
    background: #e6cfc7;
}

.step-header {
    background: #ff0000;
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px;
}

.step-body {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    color: #000;
    font-weight: 600;
}

.step-body p {
    margin: 0;
    line-height: 1.25;
    font-size: 0.8rem;
}



.trait-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trait-list input[type="checkbox"] {
    display: none;
}

.trait-list li {
    position: relative;
    margin-bottom: 8px;
}

/* label styling */
.trait-list label {
    display: block;
    padding: 0.24rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* arrow */
.trait-list label::before {
    content: "»";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: red;
    transition: all 0.3s ease;
    font-size: 1.75rem;
}

/* hover */
.trait-list label:hover {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 2.5rem;
    color: #FF3737;
    text-shadow: 2px 2px #333333;
}

.trait-list input label:hover::before {
    transform: translateY(-75%) translateX(10px) scale(1.3);
    color: #FF3737;
    text-shadow: 2px 2px #333333;
}

/* checked state */
.trait-list input:checked+label {
    background: rgba(255, 0, 0, 0.15);
    box-shadow: 0 0 10px rgba(237, 206, 197, 0.4);
    padding: 0.25rem 2.5rem;
    color: #FF3737;
    text-shadow: 2px 2px #333333;
}

/* arrow animation on select */
.trait-list input:checked+label::before {
    transform: translateY(-75%) translateX(10px) scale(1.3);
    color: #FF3737;
}


.divider {
    width: 2px;
    background: rgba(255, 255, 255, 0.6);
    height: auto;
}


@media(max-width:768px) {
    .trait-list li {
        font-size: 20px;
    }

    .divider {
        display: none;
    }

    .border-end {
        border-right: none !important;
    }
}



.upload-box {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #4a1606;
    padding: 0.75rem 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5rem;
}

.upload-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}


.upload-icon {
    width: 35px;
    height: 35px;
}


.upload-text {
    font-size: 1.5rem;
    font-weight: 500;
}


#fileInput {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}


.note {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.9;
}


@media(max-width:768px) {
    .upload-text {
        font-size: 24px;
    }

    .upload-icon {
        width: 40px;
        height: 40px;
    }

    .note {
        font-size: 18px;
    }
}




.download-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 80px 20px;
}


.line {
    width: 120px;
    height: 6px;
    background: red;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


.download-btn {
    background: red;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    padding: 0.25rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    cursor: pointer;
}


.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}



@media(max-width:768px) {
    .download-btn {
        font-size: 28px;
        padding: 15px 25px;
    }

    .line {
        height: 3px;
    }
}



.bg-red {
    background-color: #e30613;
    color: #fff;
    padding: 1rem !important;
    border-radius: .8rem;
}

.bg-red a {
    color: #4f2c3c;
}

.bg-red buuton.btn-close {
    color: #fff !important;
}

.bg-red button {
    color: #fff;
    text-shadow: none;
    background: #da001a;
}

.bg-red button:hover {
    color: #fff;
    text-shadow: 2px 2px #ea9ea2;
}

.bg-red .btn-sbmt {
    color: #da001a;
    background-color: #fff;
    border-color: #fff;
    cursor: pointer;
    border-radius: .45rem;
    padding: .4rem 2.5rem;
    text-shadow: none;
}

.bg-red .btn-sbmt:hover {
    color: #fff;
    background-color: #da001a;
    text-decoration: none;
    text-shadow: none;
}

.bg-red .modal-header {
    border: none;
    justify-content: end;
}

.bg-red label {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    color: #ffffff !important;
    vertical-align: top;
}

.bg-red input {
    height: calc(2.5em + 1rem + 10px);
    background-color: #ea9ea2;
    border-color: #ea9ea2;
    color: #fff;
    border-radius: .8rem;
    vertical-align: top;
}

.bg-red .form-check input {
    /*position: absolute;*/
    opacity: 1;
    cursor: pointer;
    height: 1.25rem;
    width: 1.25rem;
    color: #fff;
    margin-right: 0.25rem;
}

.bg-red .form-check .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #da001a;
}

/* On mouse-over, add a grey background color */
.bg-red .form-check :hover input~.checkmark {
    background-color: #ea9ea2;
    color: #fff;
}

/* When the checkbox is checked, add a blue background */
.bg-red .form-check input:checked~.checkmark {
    background-color: #ea9ea2;
}

.bg-red .form-check input:focus {
    color: #fff;
    background-color: #ea9ea2;
    border-color: #ea9ea2;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}


.bg-red .form-check .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


.bg-red .form-check input:checked~.checkmark:after {
    display: block;
}


.bg-red .form-check .checkmark:after {
    left: 8px;
    top: 0px;
    width: 9px;
    height: 18px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #4a1606;
}

#termCheck {
    height: 20px;
    margin-top: 0.15rem;
    opacity: 1;
    width: 20px;
}


#game {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    will-change: transform, opacity;
}

#game.show {
    max-height: 2000px;
    /* enough height */
    opacity: 1;
    transform: translateY(0);
}

.game-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-30px);
    transition: max-height 0.6s ease, opacity 0.4s ease, transform 0.4s ease;
}


.game-section.show {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}


.section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.5s ease;
}

.section.show {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}



#certificate .certificate-wrapper {
    max-width: 950px;
    margin: 0px auto;
    padding: 0.35rem 0.25rem;
    background: url("../images/bg-certificate.jpg") center/cover no-repeat;
    color: #000000;
}

#certificate .certificate {
    padding: 20px;
}

#certificate .inner-border {
    border: 8px solid #caa64c;
    padding: 30px;
    position: relative;
}


#certificate .outer-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #caa64c;
}

#certificate .outer-tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

#certificate .outer-tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

#certificate .outer-bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

#certificate .outer-br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

#certificate .text-frame {
    position: relative;
    margin: 0px auto;
}

#certificate .image-frame {
    position: relative;
    /* margin: 40px auto 20px; */
    padding: 12px;
    display: inline-block;
}

#certificate .image-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
}


#certificate .frame-corner {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 4px solid #caa64c;
}

#certificate .frame-tl {
    top: -6px;
    left: -6px;
    border-right: none;
    border-bottom: none;
}

#certificate .frame-tr {
    top: -6px;
    right: -6px;
    border-left: none;
    border-bottom: none;
}

#certificate .frame-bl {
    bottom: -6px;
    left: -6px;
    border-right: none;
    border-top: none;
}

#certificate .frame-br {
    bottom: -6px;
    right: -6px;
    border-left: none;
    border-top: none;
}

#certificate .title {
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
    color: #7a5c2e;
}

#certificate .line {
    height: 2px;
    background: #caa64c;
    width: 60%;
    margin: 10px auto;
}

#certificate .text-frame h3 {
    border: none;
    border-bottom: 2px solid #673b0c;
    background: transparent;
    outline: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #673b0c;
    margin: 0 auto;

}

#certificate .main-text h4 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e20612;
    margin: 0 auto;
    margin-top: 0.5rem;
}

#certificate .highlight {
    color: #e20612;
    font-weight: bold;
}

#certificate .info {
    font-size: 14px;
}

#certificate .signature {
    text-align: right;
    color: #d40000;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
}

#certificate .signature .highlight {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 0.35rem;
}

#certificate .signature .brdr {
    border-top: 1px solid #683b0b;
    width: 140px;
    margin-left: auto;
    display: block;
}

#certificate .signature small {
    color: #683b0b;
    font-size: 12px;
}

#certificate .custom-input {
    border: none;
    border-bottom: 2px solid #673b0c;
    background: transparent;
    outline: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #673b0c;
    margin: 0 auto;
}

#certificate .custom-input-sm {
    border: none;
    border-bottom: 2px solid #673b0c;
    background: transparent;
    outline: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    width: 150px;
}

#certificate .custom-input:focus {
    border-bottom: 2px solid #673b0c;
}

@media(max-width:768px) {
    #certificate .main-text {
        font-size: 20px;
    }

    #certificate .signature {
        margin-top: 2rem;
    }
}