:root {
    --buttoncolour: #46A330;
    --textcolour: #000;
    --sliderbuttoncolour: rgba(0,104,55,1);
    --popupbackgroundcolor: rgba(0,104,55,0.8);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fff;
    color:#000;
}

#gamezone {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

h1, h2, h3, h4 {
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
}

.step-mobile-row {
    flex-direction: row !important;
}

    .step-mobile-row .popup {
        max-width: 1200% !important;
    }

.step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    width: 100vw;
    height: 100%;
    min-height:100vh;
    z-index: 1000 !important;
    color: #fff;
}

    .step.fadeout {
        opacity: 0;
        animation-name: fadeOutOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-out;
        animation-duration: 2s;
    }

    .step.fadein {
        opacity: 1;
        animation-name: fadeInOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 2s;
    }

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

#background-video-overlay {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    background-color: rgba(52, 19, 98, 0.8);
    z-index:10;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.step .bigimg {
    max-width: 100%;
    opacity: 0.5;
    max-height: 97vh;
    display: block;
    margin: 0 auto;
}

#step1 .popup {
    width: 75%;
}

.popup {
    background-color: #414251; /*rgba(52, 19, 98, 0.95);*/
    padding: 25px;
    padding-bottom: 50px;
    width: 75%;
    max-width: 800px;
    text-align: center;
    color: #fff;
    /*    border-image-slice: 27 126 32 3;
    border-image-width: 20px 0px 20px 0px;
    border-image-outset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iTeC0WJAgAAAMwjLkLiciS3KqVps9nOypT6vsfpXif1ZHNB0vIkLk7SIwAAAMAsyswxvltPbmVK0916QuigSBm0fPgoM/Gmy3esQgEAAABOKy5Ecpf35I7nsidKyHxZfaeeesVK/Ty3AiV9DAAAADCr3G2KyxOMTsV7ohTJMX69acVJ0+oTRQoAAABwEmXDa+WUx7lLgJo+69TSy3mKKZNu2/dEcQIAAAAsQtP+JrOUJmd6i+NiyoTjkkVpAgAAAJyFcobHuecLVczxvvIEAAAAOA/ljK8dP6k8fb8yOOXkFCoAAABAl8qLMpF/BBgAfvCr3EI1owcAAAAASUVORK5CYII=");
    border-style: solid;*/
}

h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #EBC474;
    line-height: 1.2em;
    font-size: 1.8em;
    font-weight: bold;
}

.choose-window {
    text-align: center;
    color: #fff;
}

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

    .popup {
        width: 100%
    }

    #step1 .popup {
        width: 100% !important;
    }
}

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

    .step-mobile-row {
        flex-direction: column !important;
    }


/*    h1, h2, h3, h4 {
        font-size: 40px;
    }*/

    #step1 .popup {
        top: 20%;
    }

    #step1 .bigimg {
        position: absolute;
        bottom: 0;
    }

    #spin-wrapper {
        padding-top: 20px;
    }

    #pinger {
        top: 0px;
    }

    .popup.small {
        height: 150px !important;
    }

    .popup.med {
        height: 225px !important;
    }

    #gamezone {
        height: auto;
    }

    #Layer_1 {
        margin-left: -181px;
        margin-right: -119px;
    }

  /*  .swiper-slide img {
        display: block;
        width: 75% !important;
        margin: 0 auto;
    }*/
}

@media only screen and (min-width:501px) and (max-width:768px) {
    .popup {
        width: 100%
    }
}

button {
    background-color: #EBC474;
    border: 1px solid #EBC474;
    color: #3d3d3d;
}

#kcemail,
#kcfullname {
    width: 100%;
}

#kcfullname {
    margin-bottom: 10px;
}

#kcrewardsnumber {
    width: 90%;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes spinwin {
    0% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    10% {
        transform: rotate(180deg);
    }

    20% {
        transform: rotate(360deg);
    }

    40% {
        transform: rotate(720deg);
    }

    60% {
        transform: rotate(900deg);
    }

    80% {
        transform: rotate(1080deg);
    }

    100% {
        transform: rotate(1147deg);
    }
}

@keyframes spinnowin {
    0% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    10% {
        transform: rotate(180deg);
    }

    20% {
        transform: rotate(360deg);
    }

    40% {
        transform: rotate(720deg);
    }

    60% {
        transform: rotate(900deg);
    }

    80% {
        transform: rotate(1080deg);
    }

    100% {
        transform: rotate(1192deg);
    }
}

#spin-wheel.spin-win {
    animation: spinwin 5s linear;
    animation-fill-mode: forwards;
}

#spin-wheel.spin-nowin {
    animation: spinnowin 5s linear;
    animation-fill-mode: forwards;
}

.step-validation {
    font-weight: 600;
    color: #E3DA94;
}

.asda-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #3d3d3d;
    padding: 20px;
    background-color: #EBC474;
    border: none;
    border-radius: 4px;
    display: inline-flex;
    height: 40px;
    padding: 0 16px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    font-size: 19px;
    font-weight: 700;
}

    .asda-btn:hover {
        color: #3d3d3d;
    }

.asda-text-field {
    font-size: 16px;
    letter-spacing: .2px;
    line-height: 20px;
    font-weight: 400;
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 10px;
    color: #3d3d3d;
}

.present-wrapper {
    padding: 20px;
}

.present-img {
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    cursor: pointer;
}


    .present-img:hover, .present-img:focus, .present-img:active {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.carousel-control-prev {
    left: -25px;
    opacity: 1;
}

.carousel-control-next {
    right: -25px;
    opacity: 1;
}

    .carousel-control-prev img, .carousel-control-next img {
        background: #D2322A;
        background: url(https://asdagroceries.scene7.com/is/image/asdagroceries/231127_FestiveFavourites_Button_BG?scl=1) !important;
        border: none;
        border-radius: 50px;
        padding: 5px !important;
    }


/*.swiper-slide {
    width: 500px !important;
}

    .swiper-slide img {
        display: block;
        width: 80%;
        margin: 0 auto;
        padding-bottom: 40px;
        padding-top:20px;
        filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
    }*/

.buttons-wrapper {
    z-index: 100;
    margin-top: -30px;
}

.button-next, .button-prev {
    width: 60px;
    height: 60px;
    color: #fff;
    border-radius: 30px;
    font-size: 50px;
    line-height: 60px;
    font-weight:600;
    background-color: #341362;
    display: inline-block;
    text-align: center;
    margin: 10px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.button-next {
    padding-left: 8px;
}

.button-prev {
    padding-right: 8px;
}