body,h1,p,label,span,button,a{
    margin: 0;
    font-family: 'Neuton', serif;
}

main{
    background-image: url("/images/game-bg.jpg");
    background-size: cover;
    background-position: bottom center;
    min-height: 100vh;
}

.game-container h1 {
    padding: 20px 0;
    text-align: center;
    line-height: 2rem;
}

.row{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.column{
    flex: 20%;
    display: flex;
    justify-content: center;
}
.game-block{
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.game-block .row{
    max-width: 90%;
}
.game-block .row .column .box {
    background-color: #b57b4b;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 2rem;
}

.game-block .row .column .box.opened {
    background-color: #b9ded7;
    color: #b57b4b;
}

.game-block .row .column .box.lock {
    background-image: url(/images/lock.png);
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}

.game-block .row .column .box.open {
    background-image: url(/images/golden-bg.jpg);
    background-size: cover;
    color: #f9e2e6;
}


.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 18px;
}
.control input {
    position: absolute;    display: block;

    z-index: -1;
    opacity: 0;
}
.control__indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #83bcb1;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #75a59c;
}
.control input:checked ~ .control__indicator {
    background: #83bcb1;
}
.control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control__indicator:after {
    display: block;
}
.control--checkbox .control__indicator:after {
    left: 8px;
    top: 4px;
    width: 3px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.box.open{
    animation-name: glow;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@-webkit-keyframes glow {
    from { -webkit-box-shadow: 0 0 1px #AFE30E; }
    50% {  -webkit-box-shadow: 0 0 20px #91bd09; }
    to {-webkit-box-shadow: 0 0 13px #8FB518; }
}


h1 span.lg-text{
    font-family: 'Neuton', serif;
    font-weight: 800;
    font-size: 2rem;
    display: block;
    color: #34363d;
}
h1 span.tr-text,
h1 span.fr-text
{
    font-size: 2rem;
    font-weight: 400;
    display: block;
    color: #34363d;
}
.price-container p.sm-text{
    font-size: 2rem;
    font-weight: 400;
    color: #34363d;
    text-align: center;
}

.price-container p.md-text,
.price-container p.lg-text {
    font-weight: 800;
    font-size: 2rem;
    color: #34363d;
    text-align: center;
}
.price-container {
    text-align: center;
}
.box-container,
.game-winner{
    background-color: #badad5;
    width: 75%;
    margin: 0 auto;
    margin-top: 30px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border: 5px solid #ce7528;
    padding: 25px;
    position: relative;
    box-sizing: border-box;
}

.box-container .left-door,
.game-winner .left-door{
    width: 50%;
    height: calc(100% + 6px);
    background-color: #ce7528;
    position: absolute;
    top: -1px;
    left: -1px;
    border-top-left-radius: 56px;
    z-index: 1;
    transform-origin: left;
}

.box-container .right-door,
.game-winner .right-door{
    width: 50%;
    height: calc(100% + 6px);
    background-color: #ce7528;
    position: absolute;
    top: -1px;
    right: -1px;
    border-top-right-radius: 56px;
    transform-origin: right;
    z-index: 1;
}

.open-door-animation-left{
    transition: all 0.5s ease-in-out;
    animation: open-door-animation-left 2s normal forwards ease-in-out;
}

.open-door-animation-right{
    transition: all 0.5s ease-in-out;
    animation: open-door-animation-right 2s normal forwards ease-in-out;
}

@-webkit-keyframes open-door-animation-left {
   to{ transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-135deg);}
}

@-webkit-keyframes open-door-animation-right {
    to{ transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(135deg);}
}

.price-img {
    width: 150px;
    margin: 10px 0;
}

.brand-logo {
    width: 70px;
    margin: 10px 0;
}

button.play-btn,
button.submit-btn,
.back-btn{
    display: block;
    margin: 0 auto;
    background-color: #feba58;
    border: 2px solid #ce7528;
    padding: 2px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
    line-height: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #000!important;
}


.form-field label {
    font-size: 1.5rem;
    font-weight: 800;
    color: #34363d;
    display: block;
}

.form-field input {
    background-color: #83bcb1;
    outline: none;
    border: none;
    width: 100%;
    font-size: 1.2rem;
    padding: 5px;
    margin-bottom: 10px;
}


.thank-you {
    display: flex;
    justify-content: center;
    align-items: center;
        z-index: 10;
}

.tk-container {
    width: 80%;
}

.thank-you p.lg-text {
    font-weight: 800;
    font-size: 4rem;
    color: #34363d;
    text-align: center;
    margin-top: 60px;
}

.thank-you p.md-text {
    font-weight: 800;
    font-size: 3rem;
    color: #34363d;
    text-align: center;
}

.thank-you p.sm-text {
    font-weight: 800;
    font-size: 2rem;
    color: #34363d;
    text-align: center;
    margin-top: 30px;
}
button.ok-btn{
    display: block;
    margin: 0 auto;
    background-color: #feba58;
    border: 2px solid #ce7528;
    padding: 2px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
    line-height: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 30px;
    color: #000!important;
}

.gift-box .gift svg {
    width: 60%;
    overflow: visible;
}

.gift-box .gift {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}


.gw-cnt {
    text-align: center;
}

.game-winner {
    display: flex;
    justify-content: center;
        z-index: 10;
}

.gw-cnt p {
    font-weight: 400;
    font-size: 2rem;
    color: #34363d;
    line-height: 2rem;
}
.game-container {
    min-height: 720px;
}
.gw-cnt p.lg-text {
    font-weight: 800;
    margin-top: 10px;
}

.loader-animation {
    text-align: center;
}

.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.footer-logo {
    position: relative;
}

img.cascavelle-logo {
    width: 130px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    bottom: -5px;
}

img.west-logo {
    width: 80px;
    right: 15px;
    position: absolute;
    bottom: -5px;
}


canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

main {
    max-width: 560px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
body{
    background-color: #E88F7E;
    display: flex;
    justify-content: center;
}

label.control.control--checkbox {
    font-size: 1rem;
    line-height: 2rem;
    text-decoration: underline;
}

.no-winner-cnt {
    padding: 150px 0;
}

.terms-condition {
    justify-content: center;
    display: flex;
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.tc-cnt {
    width: 90%;
    background-color: #83bcb1;
    max-height: 60vh;
    position: relative;
    padding: 25px 0;
    border-radius: 30px;
}


/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f6cec6;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #417e71;
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #182d29;
}

@supports (-webkit-touch-callout: none) {


    img.cascavelle-logo {
        bottom: -10px;
        width: 110px;
    }
    img.west-logo {
        width: 70px;
        bottom: -10px;
    }
    .price-container p.sm-text {
        font-size: 1.5rem;
    }
    .price-container p.md-text, .price-container p.lg-text {
        font-size: 1.5rem;
    }
    h1 span.lg-text {
        font-size: 2rem;
    }
    h1 span.tr-text, h1 span.fr-text {
        font-size: 2rem;
        line-height: 1.5rem;
    }
    .box-container, .game-winner {
         margin-top: 0;
        padding: 10px 20px;
    }
    .price-img {
        width: 130px;
    }
    .brand-logo {
        width: 70px;
    }
    .game-container h1 {
        padding: 15px 0;
    }
    .gw-cnt p {
         font-size: 1.5rem;
         line-height: 1.5rem;
          margin-bottom: 5px;
     }
    button.play-btn, button.submit-btn, .back-btn {
        padding: 5px 30px;
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    .thank-you p.lg-text {
        font-size: 3rem;
        margin-top: 20px;
    }
    .thank-you p.md-text {
        font-weight: 800;
        font-size: 3rem;
    }
    .thank-you p.sm-text {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 380px) {


    img.cascavelle-logo {
        bottom: -10px;
        width: 110px;
    }
    img.west-logo {
        width: 70px;
        bottom: -10px;
    }
    .price-container p.sm-text {
        font-size: 1.5rem;
    }
    .price-container p.md-text, .price-container p.lg-text {
        font-size: 1.5rem;
    }
    h1 span.lg-text {
        font-size: 2rem;
    }
    h1 span.tr-text, h1 span.fr-text {
        font-size: 2rem;
        line-height: 1.5rem;
    }
    .box-container, .game-winner {
        margin-top: 0;
        padding: 10px 20px;
    }
    .price-img {
        width: 130px;
    }
    .brand-logo {
        width: 70px;
    }
    .game-container h1 {
        padding: 15px 0;
    }
    .gw-cnt p {
        font-size: 1.5rem;
        line-height: 1.5rem;
        margin-bottom: 5px;
    }
    button.play-btn, button.submit-btn, .back-btn {
        padding: 5px 30px;
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    .thank-you p.lg-text {
        font-size: 3rem;
        margin-top: 20px;
    }
    .thank-you p.md-text {
        font-weight: 800;
        font-size: 3rem;
    }
    .thank-you p.sm-text {
        font-size: 1.5rem;
    }
}


.gg-close-o {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 30px;
    height: 30px;
    border: 2px solid;
    border-radius: 40px;
    color: #d16247;
    background: #ffe4df;
}

.gg-close-o::after,
.gg-close-o::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 12px;
    left: 3px
}

.gg-close-o::after {
    transform: rotate(-45deg)
}

.tc-cnt button {
    background: transparent;
    border: none;
    position: absolute;
    top: -10px;
    right: -15px;
}

.tc-cnt-text {
    max-height: 100%;
    overflow-y: scroll;
    padding: 0 25px;
    overflow-x: hidden;
}

audio#music {
    display: none;
}

.footer-logo p {
    font-size: 0.8rem;
    left: 12px;
    position: absolute;
    bottom: -5px;
    color: #34363d;
    font-weight: 600;
}
.footer-logo p a{
    color: #34363d;
}
.ok-btn {
    display: inline-block;
    margin: auto;
    background-color: #feba58;
    border: 2px solid #ce7528;
    padding: 2px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
    line-height: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 30px;
    color: #000!important;
    text-decoration: none;
    text-align: center;
}
.text-center{
      text-align: center;
}