:root {
    --input-padding-x: 1.5rem;
    --input-padding-y: 0.75rem;
}

body {
    /* background: url("../images/bg-lucky-spin.jpg") no-repeat center center fixed; */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 0px;
    overflow-x: hidden;
}

.background-spinner {
    display:block;
    width: 100%;
    height: 100vh;
    /* border: 5px solid red; */
    background: url("../images/bg-lucky-spin3.png");
    background-repeat: no-repeat;
    /* background-size: contain; */
    /* background-position-x: 100px;
    background-position-y: 30px; */
    z-index: 2;
}

.logo {
    width: 800px;
    /* border: 3px solid #10140a; */
    z-index: 1;
    position: relative;
    left: 47%;
    /* transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0); */
}

.logo > img {
    /* max-height: 200px; */
    width: 100%;
    max-width: 800px;
}

.bg-effect {
    background-repeat: no-repeat;
    background-size: cover;
}

.voucher-box {
    display: flex;
    width: 600px;
    position: absolute;
    /* border: 3px solid #0501ee; */
    /* top: 20px; */
    right: 300px;
    margin: 0px;
    padding: 10px;
    text-align: center !important;
    justify-content: center;
    align-items: center;
}

.img-wrapper,
.form-wrapper {
    position: relative;
}

.img-wrapper > img {
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.form-wrapper {
    position: absolute;
    top: 110px;
    z-index: 2;
    display: flex;
    /* border: 3px solid #73ad21; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.voucher-input {
    padding-left: 20%;
    padding-right: 20%;
    width: 100%;
    align-items: center;
    /* border: 3px solid #ff0303; */
}

.voucher-label {
    color: #ffffff;
    border-color: #495057;
    font-weight: bold;
    font-size: x-large;
    margin-bottom: 10px;
    /* border: 3px solid #73ad21; */
}

.form-input-voucher {
    border-radius: 8px;
    box-shadow: 0 5px rgba(0, 0, 0, 0.55);
    border: 3px solid #f100dd;
}

.button-voucher {
    position: absolute;
    width: 265px;
    height: 265px;
    background-image: url("../images/submit-button.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: none;
    bottom: -65px;
    align-items: center;
    z-index: 2;
    transition: 0.3s;
    /* border: 3px solid #73ad21; */
    padding: 0;
    margin: 0;
    background-position: center center;
}

.button-voucher:hover {
    /* bottom: -5px; */
    background-image: url("../images/submit-button_hover.png");
}

.spinner-container {
    /* height: calc(100vh - 48px); */
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    align-items: center;
    position: relative;
}

.spinner-effect {
    width: 557px;
    position: absolute;
    z-index: 1;
    top: -30px;
    left: -59px;
    opacity: 0.5;
}

.spinner-header {
    width: 80%;
}

.spinner-wrapper {
    width: 450px;
    margin-bottom: -30px;
}

.spinner-podium {
    width: 300px;
    /* margin: auto; */
    position: relative;
    z-index: -1;
    bottom: 20px;
}

.modal-link {
    transition: 0.3s;
}

.modal-link:hover {
    text-decoration: underline;
}

.canvas-container {
    position: relative;
}
.canvas {
    /* background-image: url('../vendor/winwhell/spin-wheel-outer.png'); */
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
}

.prize-pointer {
    width: 35px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 12px;
    left: 0;
    right: 0;
    text-align: center;
    /* width: 5%; */
    z-index: 2;
}

.spinner-frame {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 420px;
    height: 420px;
    background-image: url("../vendor/winwhell/spin-wheel-outer.png");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
}

@media (max-width: 480px) {

    .form-wrapper {
        top: 60px;
    }

    .prize-pointer {
        width: 5%;
    }

    .voucher-box {
        width: 100vh;
        right: 0;
        left: 0;
        text-align: center !important;
        justify-content: center;
        align-items: center;
    }

    .voucher-input {
        padding-left: 80px;
        padding-right: 80px;
        width: 100%;
        align-items: center;
    }

    .button-voucher {
        bottom: -90px;
    }

    .button-submit {
        max-width: 150px;
    }

    .spinner-effect{
        min-width: 105%;
    }

    .spinner-podium {
        width: 300px;
        position: relative;
        z-index: -1;
        bottom: 35px;
    }

}

@media (min-width: 480px) {
    .prize-pointer {
        width: 3%;
    }
}

.inner {
    position: absolute;
    top: 0px;
    bottom: 5px;
    left: 0px;
    right: 0px;
    margin: auto;
    z-index: 3;
    width: 25%;
}

.clickable {
    cursor: pointer;
}

.spinbutton {
    /* position: relative; */
    /* bottom: -200px; */
    left: 100px;
    z-index: 1;
}

.card-signin {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

.card-signin .card-title {
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.5rem;
}

.card-signin .card-body {
    padding: 2rem;
}

.form-signin {
    width: 100%;
}

.form-signin .btn {
    font-size: 80%;
    border-radius: 5rem;
    letter-spacing: 0.1rem;
    font-weight: bold;
    padding: 1rem;
    transition: all 0.2s;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-label-group input {
    height: auto;
    border-radius: 2rem;
}

.form-label-group > input,
.form-label-group > label {
    padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;
    /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: calc(
        var(--input-padding-y) + var(--input-padding-y) * (2 / 3)
    );
    padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label {
    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
    color: #777;
}

.btn-google {
    color: white;
    background-color: #ea4335;
}

.btn-facebook {
    color: white;
    background-color: #3b5998;
}

/* Fallback for Edge
  -------------------------------------------------- */

@supports (-ms-ime-align: auto) {
    .form-label-group > label {
        display: none;
    }
    .form-label-group input::-ms-input-placeholder {
        color: #777;
    }
}

/* Fallback for IE
  -------------------------------------------------- */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form-label-group > label {
        display: none;
    }
    .form-label-group input:-ms-input-placeholder {
        color: #777;
    }
}

/* Responsive configuration */
@media (max-width: 1025px) {
    body,
    .bg-effect {
        width: 100vw;
        height: 100vh;
    }

    .voucher-box,
    .spinner-container {
        width: 100%;
        box-sizing: border-box;
    }

    .img-wrapper > img {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .voucher-box {
        width: 100%;
        right: 0;
        left: 0;
    }

    .form-wrapper {
        top: 100px;
    }

    .button-submit {
        max-width: 230px;
    }

    /* .logo {
        width: 100% !important;
    } */
}

@media (max-width: 500px) {
    /* .logo {
        width: 100% !important;
    } */

    .form-wrapper {
        top: 80px;
    }

    .voucher-box {
        width: 100%;
        right: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .img-wrapper {
        z-index: 5;
    }

    .img-wrapper > img {
        /* width: 105%;
        margin-left: -45px; */
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .voucher-input {
        width: 100%;
        padding-left: 70px;
        padding-right: 70px;
    }

    .form-input-voucher {
        width: 100%;
        font-size: 12px;
        padding: 2px 5px;
    }

    .voucher-label {
        font-size: 14px;
    }

    /* .button-voucher {
        width: 100%;
        height: 200px;
        left: 25%;
        bottom: 0px !important;
    } */

    .spinner-effect {
        width: 100%;
        position: absolute;
        z-index: 1;
        top: 10px;
        left: 0;
        opacity: 0.5;
    }

    .spinner-header {
        width: 100%;
    }
    
    .spinner-podium {
        width: 80%;
    }

    .spinner-wrapper {
        width: 100%;
        margin-bottom: -30px;
    }

    /* .spinner-frame {
        margin-top: 7px;
        width: 270px;
    } */

    .prize-pointer {
        top: -5px;
        width: 15%;
    }

    .button-submit {
        max-width: 200px;
    }
}

@media (max-width: 380px) {

    .form-wrapper {
        top: 50px;
    }
    .img-wrapper > img {
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .voucher-input {
        width: 100%;
    }

    .voucher-box {
        width: 100%;
        right: 0;
        left: 0;
        padding: 0;
        margin: 0;
    }

    .voucher-box > img {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .button-submit {
        max-width: 140px;
    }

    .spinner-podium {
        width: 80%;
        top: -30px;
    }

    .spinner-frame {
        margin-top: 10px;
        width: 300px;
    }

}

@media (max-width: 320px) {

    .row {
       margin-top: 100px;
    }

    .form-wrapper {
        top: 50px;
    }

    .voucher-box {
        width: 100%;
        right: 0;
        left: 0;
    }

    .img-wrapper > img {
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .spinner-frame {
        margin-top: 7px;
        width: 270px;
    }

    .voucher-input {
        width: 100%;
        padding-left: 70px;
        padding-right: 70px;
    }

    .button-submit {
        max-width: 120px;
    }

    /* .button-voucher {
        bottom: -90px;
    } */

    .background-spinner {
        width: 100%;
        height: 100vh;
    }
}

@media (max-width: 1200px) {

    .background-spinner {
        background-image: none;
    }

    .voucher-box {
        width: 100%;
        right: 0;
        left: 0;
    }
}

@media (max-width: 1800px) {
    .background-spinner {
        background-image: none;
    }

}
