#loading-screen {
    background-color: rgb(17 24 39 / 1);
    background-image: url("./images/bs/gradient.svg"),
        url("./images/bs/bg-grid-dark.svg");
    background-repeat: no-repeat, repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

img#bata-logo-loading {
    position: absolute;
    top: 5%;
}

#loading-progress-bar {
    width: 0%;
    background: var(--primary-color);
    height: 100%;
    transition: width 5s ease-out;
}
.fixed-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
}

canvas.deepar {
    border: 0px none;
    background-color: black;
    display: block;
    margin: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100vh;
}

/* watermark */
div.bata_watermark img {
    width: 50%;
}
div.bata_watermark {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 13%;
}

/*Start Terms and Conditions  styles*/
.terms-and-conditions-container {
    width: 85vw;
    height: 85vh;
    box-shadow: 0px 0px 20px #a3a3a3;
    border-radius: 10px;
}

div#terms-and-conditions-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    z-index: 6;
}

div#terms-and-condition-header img {
    width: 26px;
    margin-right: 6px;
}
div#terms-and-condition-header h1 {
    font-size: 14px;
}
u#sidebar_section_bottom_terms {
    cursor: pointer;
}
div#terms-and-condition-header {
    font-size: 10px;
    text-align: center;
    border-bottom: 1px solid #80808078;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7%;
}
.terms-and-conditions-text {
    margin: 10px 10px;
    overflow-y: scroll;
    height: 80%;
}
.terms-and-conditions-text p {
    margin: 0px 10px;
    padding: 10px 0;
}

div#terms-and-condition-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10%;
}

div#terms-and-condition-footer button {
    margin: 5px;
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    cursor: pointer;
}
div#terms-and-condition-footer button:nth-child(2),
.permission-denied-button {
    margin: 5px;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 10px 25px;
}
/* end terms and conditions styles */

div#deepar_logo_hidden {
    position: absolute;
    width: 35%;
    top: 18%;
    right: 8%;
}
.deepar_logo_hidden_container,
.bata_watermark_container {
    background: white;
    padding: 6px 8px;
    border-radius: 5px;
}
div#deepar_logo_hidden img {
    width: 100%;
    padding: 0px;
}
#feet-text {
    position: absolute;
    top: -5%;
    left: 0%;
    text-align: center;
    width: 100%;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
}
#feet-text img {
    width: 85%;
}
#buy_this_shoe_button_container {
    left: 0%;
    width: 100%;
    position: absolute;
    top: 23%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    z-index: 4;
}

#buy_this_shoe_button {
    width: 20%;
    cursor: pointer;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    float: right;
    background: var(--primary-color);
    border-radius: 0 50% 50% 0;
}
div#buy_this_shoe_button button {
    background: var(--primary-color);
    border: none;
    float: right;
    padding: 13px 9px;
    border-radius: 27px;
    color: white;
    font-weight: bold;
    font-size: large;
    font-family: "Montserrat" !important;
    cursor: pointer;
}

div#shoe_try_on_screenshot_container {
    width: 100%;
    height: 100vh;
    z-index: 5;
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
img#shoe_try_on_screenshot_logo {
    width: 35%;
    margin-bottom: 5%;
}
#shoe_try_on_screenshot {
    width: 70%;
    border: 6px solid var(--primary-color);
    border-radius: 10px;
    position: relative;
    box-shadow: 0px 8px 5px #a3a3a3;
    max-height: 70%;
}
#shoe_try_on_screenshot_image {
    width: 100%;
    height: 100%;
}
#shoe_try_on_screenshot_options {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
div#shoe_try_on_screenshot_options img {
    width: 70px;
    cursor: pointer;
    margin: 0px 10px;
}
img#shoe_try_on_screenshot_close {
    position: absolute;
    top: 5%;
    right: 5%;
    cursor: pointer;
}
div#sidebar_toggle_options_container {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 100vh;
    background: transparent;
}
div#sidebar_toggle_options img {
    cursor: pointer;

    width: 31px;
    margin-bottom: 9px;
}

div#sidebar_section {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff;
    top: 0;
    right: -100%;
    z-index: 6;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
}
div#sidebar_section_top {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 6%;
}

div#sidebar_section_shoes {
    display: grid;
    grid-template-columns: auto auto;
    max-height: 94%;
    overflow-y: scroll;
    margin: 10px 0px;
    text-align: center;
}
div#sidebar_section_middle {
    text-align: center;
    height: 88%;
}
.sidebar_single_shoe img {
    width: 80%;
}
.sidebar_single_shoe p {
    font-size: 12px;
    font-weight: 900;
    margin: 5px 0px;
}
.sidebar_single_shoe {
    background: white;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 7px 3px rgb(202, 199, 199);
    -webkit-user-select: none;
    cursor: pointer;
}
div#sidebar_section_middle h1 {
    margin: 0;
    padding: 0;
    color: var(--primary-color);
    font-size: 20px;
}
div#sidebar_section_bottom p {
    margin: 0;
}
div#sidebar_section_bottom {
    text-align: center;
    height: 4vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#sidebar_toggle_options_close {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 10px;
}
.feet_span_text {
    color: var(--primary-color);
    font-weight: 900;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: "Montserrat", serif;
}
div#shoe_try_on_wrapper {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
#shoe_try_on_container {
    font-family: "Montserrat", serif;
    position: relative;
    overflow: hidden;
    max-width: 603px;
}
div#sidebar_toggle_options {
    position: absolute;
    top: 2%;
    right: 2%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    z-index: 4;
}

img.bata_watermark {
    position: absolute;
    top: 17%;
    right: 10%;
    width: 32%;
}
div#shoe_try_on_screenshot_image_container {
    margin: 0;
    height: 100%;
    background: black;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

button#fullscreen-button {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    display: none;
}
.simpleImageButton {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    margin: 6px;
    border: 5px solid rgb(5, 27, 68);
    transition: border 0.3s ease;
}

@keyframes shake {
    0% {
        transform: translate(0.5px, 0.5px) rotate(0deg);
    }
    10% {
        transform: translate(-0.5px, -1px) rotate(-0.5deg);
    }
    20% {
        transform: translate(-1.5px, 0px) rotate(0.5deg);
    }
    30% {
        transform: translate(1.5px, 1px) rotate(0deg);
    }
    40% {
        transform: translate(0.5px, -0.5px) rotate(0.5deg);
    }
    50% {
        transform: translate(-0.5px, 1px) rotate(-0.5deg);
    }
    60% {
        transform: translate(-1.5px, 0.5px) rotate(0deg);
    }
    70% {
        transform: translate(1.5px, 0.5px) rotate(-0.5deg);
    }
    80% {
        transform: translate(-0.5px, -0.5px) rotate(0.5deg);
    }
    90% {
        transform: translate(0.5px, 1px) rotate(0deg);
    }
    100% {
        transform: translate(0.5px, -1px) rotate(-0.5deg);
    }
}

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

.loading {
    border: 5px solid beige;
    border-top: 5px solid white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    animation: rotate 1s linear infinite;
}

/* Carousel */
#carousel-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel {
    position: absolute;
    bottom: 1%;
    overflow: hidden;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 100%;
    max-width: 603px;
}

.carousel.active {
    cursor: grabbing;
}

.carousel-slider {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    top: 0;
    left: 0;
    width: fit-content;
    height: inherit;
    transition: left 0.3s ease;

    will-change: transform;
}

.carousel.active .inner {
    transition: none;
}

.carousel-center {
    width: 84px;
    height: 84px;
    border: 8px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0px 0px 7px 3px var(--primary-color);
    -webkit-user-select: none;
}
div#screenshot_icon img {
    width: 61%;
}
div#screenshot_icon {
    width: 100%;
    background: #ffffff00;
    border-radius: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slider .slide {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0px 0px 6px 5px var(--primary-color);
}

.carousel-slider .slide.active {
    margin-left: 24px;
    margin-right: 24px;
    width: 80px;
    height: 80px;
}

.slide {
    overflow: hidden;
    border: 2px solid white;
    -webkit-touch-callout: none; /* Safari Touch */
    -webkit-user-select: none; /* Webkit */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Edge*/
    user-select: none; /* Future-proof*/
}
.slide.active {
    background-color: #010c43;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading spinner */

.lds-ring {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid var(--primary-color);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-color) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    /* max-width: 600px; */
}

/* Custom scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--primary-color) 85%, black);
}

div#permission-denied-screen {
    background: #dddbdb;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

:root {
    --primary-color: #00a0db;
    --accent-color: #e914ed;
}
