:root {
    --ss-yellow: #FBD903;
    --ss-blue: #2979BC;
    --full-height : 100dvh;
}
body,html {


    height: var(--full-height);
    width: 100vw;

    color:#333333;

    font-family: "Outfit", sans-serif;
}
body.photo,
body.spin {
    background: #8ab5d4;
    background: radial-gradient(circle, rgba(138, 181, 212, 1) 0%, rgba(21, 117, 187, 1) 100%);
    color:#FFF;
}
.contentWrapper {
    width: 100vw;
    height: var(--full-height);
}
body.photo .contentWrapper,
body.spin .contentWrapper {
    overflow: hidden;
}
.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}
.pattern {
    background-image: url("/img/assets/pattern.svg");
    background-position: center center;
    background-size: 185%;
    background-repeat: no-repeat;
}
.frame-open {
    background-image: url("/img/assets/preview-frame-open.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    position: relative;
    z-index: 2;
}
.frame-closed {
    background-image: url("/img/assets/preview-frame-open.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    position: relative;
    z-index: 2;
}
* {
    /*position: relative;*/
}
@keyframes sway {
    0% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(2deg);
    }
}

.text-small {
    font-size: 0.8em;
}
.h-100 {
    height: 100svh !important;
}

.lh-0-8 {
    line-height: 0.8;
}
.lh-0-9 {
    line-height: 0.9;
}
.lh-1-1 {
    line-height: 1.1;
}
.lh-1-2 {
    line-height: 1.2;
}
.btn-lg.lh-1 {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.modal-dialog {
    margin-left: 25px;
    margin-right: 25px;
}


h1, h2, h3, h4, h5, h6 {
    font-family: "Lobster", cursive;
}
h1 {
    font-size: 65px;
}
.h1s {
    font-size: 55px;
}


@media screen and (min-height: 300px) and (max-width: 375px) {
    h1, .h1s {
        font-size: 45px;
    }
}



color {
    color: var(--ss-yellow);
}

big {
    font-size: 1.5em;
}
.lobster {
    font-family: "Lobster", cursive;
}

.btn {
    font-weight: 800;
    text-transform: uppercase;
}
.btn-warning, .btn-warning:active, .btn-warning:focus, .btn-warning:hover {
    border-color: var(--ss-yellow);
    background-color: var(--ss-yellow);
    color: var(--ss-blue) !important;
}
.btn-info, .btn-info:active, .btn-info:focus, .btn-info:hover,
.btn-primary, .btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    border-color: var(--ss-blue);
    background-color: var(--ss-blue);
    color: var(--ss-yellow);
}
.bg-warning, .bg-warning:active, .bg-warning:focus, .bg-warning:hover {
    border-color: var(--ss-yellow) !important;
    background-color: var(--ss-yellow) !important;
    color: var(--ss-blue) !important;
}

.btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary:focus, .btn-outline-primary:focus-visible, .btn-outline-primary:hover {
    border-color: var(--ss-blue);
    background-color: transparent;
    color: var(--ss-blue);
}


.bg-info {
    background-color: var(--ss-blue) !important;
}
.text-yellow {
    color: var(--ss-yellow);
}
.text-primary {
    color: var(--ss-blue) !important;
}

.modal-header {
    border-bottom: 0;
    text-align: center !important;
}
.modal-footer {
    border-top: 0;
}
.modal-content {
    background-color: rgba(255,255,255,0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 15px;
}
.modal-title {
    font-weight: 700;
    font-family: "Montserrat", sans-serif !important;
}

.select2, .select2-results__option {
    color:#1576BB;
}
.select2-container .select2-selection--single {
    height: 44px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1576BB;
    line-height: 44px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 41px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}
.select2-container--default .select2-selection--single {
    background-color: #FFFFFF;
    border: 1px solid #1576BB;
    border-radius: 8px;
}
.select2-dropdown {
    background-color: #FFFFFF;
    border: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
    border-radius: 8px;
}



.pageWrapper {
    position: relative;
    width: 100%;
    height: var(--full-height);
}
.pageWrapper .page {
    position: absolute;
    width: 100%;
    height: var(--full-height);
    z-index: 2;


    display: flex; /* Enable Flexbox */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Vertically center children */
    /*align-items: center; !* Horizontally center children (optional) *!*/
    height: var(--full-height); /* Make the container take up the full height of the viewport */
    box-sizing: border-box; /* Ensure padding and borders don't affect dimensions */
}

.wheelZoomHolder {
    transform-origin: 50% 50%;
    transform: scale(1.3);
    aspect-ratio: 20 / 15;
    /*pointer-events: none;*/
    /*margin-top: 60px;*/
    width: 100vw;
}
@media screen and (min-height: 600px) {
    .wheelZoomHolder {
        transform: scale(1.4);
    }
}
@media screen and (min-height: 650px) {
    .wheelZoomHolder {
        transform: scale(1.5);
    }
}
.wheelHolder {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;

    animation: sway 4s infinite alternate ease-in-out;
    overflow: hidden;

}
.wheelHolder .wheel {
    z-index: 3;
    width: 100%;
    height: 100%;
}
.wheelHolder .wheel img {
    width: 100%;
    height: 100%;
    max-width: none; max-height: none;
}
.wheelHolder .bottle  {
    position: absolute;
    z-index: 4 ;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
}
.wheelHolder .bottle img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;

    transform: scale(0.65);
}
.buttonHolder {
    width: 100%;
}


#prizePage .image {
    aspect-ratio: 1 / 1;
    width: 100%;
    text-align: center;
}
#prizePage .image img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}
#prizePage .row{
    z-index: 2;
}
#videoHolder {
    position: fixed;
    left:0; top:0;
    z-index: 1;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}
#videoHolder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


.owl-item .thumb img {
    display: inline-block;
    width: 70%;
}

@media screen and (min-height: 600px) {
    .owl-item  .thumb img {
        width: 80%;
    }
}

.showToWaiter {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.6) !important;
    margin-left: 30px;
    margin-right: 30px;
    backdrop-filter: blur(5px);

    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}
.showToWaiter .bg-warning {
    border-radius: 0 0 8px 8px;
}

#showToWaiterHolder {
    position: absolute;
    top:30%;
    z-index: 12;
}

#shareInstructionsHolder,
#claimPrizeHolder {
    left:0; top:0;
    width: 100vw; height: 100vh;
    position: absolute;
    z-index: 12;
}
#shareInstructionsHolder .showToWaiter {
    margin-left: 25px;
    margin-right: 25px;
    background-color: rgba(255, 255, 255, 0.8) !important;

    color:var(--ss-blue);
}



.owl-carousel .owl-stage,
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.owl-carousel .owl-item {
    justify-content: center; /* optional: centers horizontally */
}

.owl-carousel .item {
    width: 100%;
}

.bg-milk {
    background-color: rgba(255, 255, 255, 0.8) !important;
}
.bg-bottle {
    background-image: url("/img/assets/fles-patroon3.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#slider {
    width: 100%;
}


.cameraHolder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex; /* Enables flexbox for centering */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */

    pointer-events: none;
}

#photoCanvas {
    aspect-ratio: 1 / 1;
    width: 100vw; /* Makes the canvas span the entire width */
    max-width: 100vw; /* Prevents overflowing over the parent's width */

    transform:scale(1.4);
}

#photoPreview {
    aspect-ratio: 1 / 1;
    width: 100%; /* Makes the canvas span the entire width */
    max-width: 100%; /* Prevents overflowing over the parent's width */

    transform:scale(1.4);
}
#photoPreview img {
    max-width: 100%;
    height: auto;
}

.imagePreview img {
    max-width: 150px;
    max-height: 150px;
    width: auto !important;
    height: auto !important;

    border-radius: 6px;
    margin-top: -50px;
}


.shareButton {
    display: inline-block;
    width: 40px; height: 40px;
    border-radius: 80%;
    margin:0 5px;
    cursor: pointer;
    background-color: #FFF;
    color:#2879BC;
    box-sizing: border-box;
    padding-top: 12px;
    line-height: 0;
}


.modal-backdrop {
    backdrop-filter: blur(10px) brightness(0.5) !important;
    background-color: rgba(0,0,0,0.0) !important;

}
.modal-backdrop.show {
    opacity: 1;
}
.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;

    transition: all 0.3s;
    backdrop-filter: blur(0px) brightness(1);
    opacity: 0;
}
.overlay.in {
    display: block;
}
.overlay.in.show {
    backdrop-filter: blur(10px) brightness(0.5);
    opacity: 1;
}
.overlayTomorrow {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;

    transition: all 0.3s;
    backdrop-filter: blur(0px) brightness(1);
    opacity: 0;
}
.overlayTomorrow.in {
    display: block;
}
.overlayTomorrow.in.show {
    backdrop-filter: blur(10px) brightness(0.5);
    opacity: 1;
}


.backdrop {
    backdrop-filter: blur(10px) brightness(0.5);
}

.animate-right-nudge {
    animation: nudge 0.7s infinite ease-in-out;
}
.animate-pulsate {
    animation: pulsate 2s infinite ease-in-out;
}
.animate-pulsate-fast {
    animation: pulsate 1s infinite ease-in-out;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


@keyframes nudge {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform:  translateX(0);
    }
}




