body.home {
    background-image: url(assets/img/bg.jpg);
}
.container {
    text-align: center;
    margin-top: 50px;
    padding: 2%;
}
.btns-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* padding-top: 50%; */
    z-index: 1;
    background: #00000091;
    /* vertical-align: middle; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.2s;
}
.btns-group-active,.btns-group-win {
    background: none;
    bottom: 1px;
    height: unset;
    bottom: 30px;
    top: unset;
    transition: all 0.5s;
}

.btns-group-active h2,.btns-group-active .second-btn,.btns-group-active img{
    display: none;
}
.btns-group-active-form .sub-btn-s,.btns-group-active-form h2 ,.btns-group-active img,.btns-group-active-form img{
    display: none;
}

.btns-group-active-form .form-group {
    display: block !important;
}

.btns-group-win .form-group {
    display: none !important;
}
.btns-group-win h1 {
    color: #fff;
}

.btns-group-win .wining {
    display:block !important;
} 

.wining {
    display: none;
}
.form-group button,.form-group input {
    min-width: 300px;
}

.form-group input {
    padding: 10px 30px;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group {
    display: none;
}
.btns-group h2 {
    color: #fff;
}

.sub-btn-s button,#submitCode{
    display: block;
    min-width: 300px;
    font-size: 20px;;
    padding: 10px 30px;
    margin-bottom: 10px;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
}

.sub-btn-s button:hover,#submitCode:hover {
    opacity: 0.8;
    border:solid 1px #fff;
}

.sub-btn-s .first-btn,#submitCode {
    background: #da380f;
    border: solid 1px #da380f;
}

.sub-btn-s .second-btn {
    background: #ffc124;
    border:solid 1px #ffc124;
}

.boxes {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    padding: 50px;
}

.box {
    width: 20%;
    margin: 15px;
    background-image: url(assets/img/box.png);
    background-size: contain;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
}
.box-open {
    background-image: url(assets/img/box-open.png);
    transition: all 1s;
}
.box .image-box {
    width: 100%;
    height:100%;
    object-fit: contain;
}

.box-open .prize {
    display: block;
}
.prize {
    background: #4f1d00d2;
    border-radius: 15px;
    color: #fff;
    padding: 15px;
    margin-top: 15% !important;
    margin: 0 auto;
    display: none;
}

.prize img {
    width: 50px;
}

.prize h4 {
    font-size: 35px;
    margin: 0px ;
}

.login-container {
    text-align: center;
    margin-top: 20%;
}

input {
    display: block;
    margin: 10px auto;
}

button {
    padding: 5px 10px;
}


/* adminpage */
#adminpage {
    text-align: center;
    margin-top: 50px;
    padding: 2%;
}

#mute-button {
    position: fixed;
    z-index: 10000000000000;
}

@media screen and (max-width:774px) {
    .boxes {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
        padding: 15px;
    }
    
    .box {
        width: 30%;
        height: 150px;
        margin: 5px;
    }
    .prize {
        padding: 5px;
        margin-top: 50px !important;
    }
    .prize img {
        width: 25px;
    }
    
    .prize h4 {
        font-size: 12px;
        margin: 0px ;
    }
    .prize h4 small {
        font-size: 9px;
    }
     .img-logo {
        max-width:80%;
    }
}

@media screen and (max-width:345px) {
    .boxes {
        display: flex;
        justify-content: center;
        margin-top: 5px;
        flex-wrap: wrap;
        padding: 5px;
    }
    
    .box {
        width: 25%;
        height: 90px;
        margin: 5px;
    }
    .prize {
        padding: 5px;
        margin-top: 17px !important;
    }
    .prize img {
        width: 25px;
    }
    
    .prize h4 {
        font-size: 10px;
        margin: 0px ;
		height:30px;
    }
    .prize h4 small {
        font-size: 9px;
    }
    .img-logo {
        max-width:200px;
    }
}