/* body {
  text-align: center;
  font-family: sans-serif;
  background-color: #f0f0f0;
} */

body {
    margin: 0;
    /* background: #fff; */
    background-color: #0d272c;
    /* overflow: hidden; */
    /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   height: 100vh; */
    font-family: sans-serif;
}

#glasses-gallery {
    display: flex;
    /* justify-content: center; */
    gap: 1rem;
    margin: 0 auto;
    padding: 0px 10px;
    /* width: 320px; */
    /* overflow-x: scroll; wfn */
    overflow-x: hidden;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* Movimiento fluido al usar botones */

    /* Ocultar barra de scroll */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.glasses {
    width: 80px;
    max-height: 80px;
    cursor: pointer;
    transition: transform 0.2s;
}

.glasses:hover {
    transform: scale(1.1);
}

/* Buton Level */
.btn-level {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* opacity: 0.6; */
}

.btn-control {
    margin-top: 50px;
    margin-bottom: 20px;
}

.pos-relative {
    position: relative;
}

.pos-relative #camera-section {
    position: absolute;
    display: inline-block;
    /* width: 640px; */
    left: 50%;
    transform: translate(-50%, 0);
}

#overlay {
    /* position: relative; */
    position: absolute;
    top: 0;
    left: 0;
}

/* video,
canvas {
  /* position: absolute; */
/*transform: scaleX(-1);*/
/* espejo */
/*border-radius: 10px;
  display: block;
  margin: 0 auto;
} */

#previewContainer {
    display: block;
    position: fixed;
    z-index: 100;
    transform: scaleX(-1);
}

.preview-photo {
    padding: 10px;
}

.product {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

video {
    /* position: absolute; */
    /* espejo */
    /* transform: scaleX(-1); */
    border-radius: 0px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    /* margin-left: 10px; wfn */
    /* margin-top: 9px;  wfn */
}

canvas {
    position: absolute;
    transform: scaleX(-1);
    /* espejo */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    /* border: solid 10px #1d23a7; */
    border: solid 2px #5c5c62;
    /* wfn */
    box-shadow: 1px 0px 7px #888c8d;
    /* wfn */
}

.rec-border {
    width: 80%;
    height: 80vh;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    border: solid 10px #1d23a7;
}

/* .btn {
    height: 30px;
    border-radius: 5px;
    background-color: #ffffff;
    border: solid #1d23a7;
} */

.btn-slider {
    padding: 10px;
    height: auto;
    color: white;
    box-shadow: 1px 1px 7px #ffffff;
    border-radius: 5px;
    background-color: #0d272c;
    margin: 0px 5px ;
}

.btn {

    height: 30px;
    border-radius: 9px;
    background-color: #0d272c;
    /* border: solid 2px #617487; */
    color: white;
    box-shadow: 1px 1px 7px #4c4b6c;
}

.btn-dim {
    /* Set equal width and height for a square shape */
    width: 60px;
    height: 60px;
    /* Apply border-radius to create the circular shape */
    border-radius: 50%;
    /* Optional: Basic styling for appearance */
    background-color: #ffffff;
    /* border: double 10px #1d23a7; */
    opacity: 0.7;
}

.btn-photo {
    background-image: url("../img/camera.png");
    background-size: cover;
    /* Adjusts image size to cover the button */
    filter: drop-shadow(0px 3px 4px blue);
}

.btn-save {
    background-image: url("../img/save.png");
    background-size: cover;
    /* Adjusts image size to cover the button */
    filter: drop-shadow(0px 3px 4px blue);
}

.btn-return {
    background-image: url("../img/return.png");
    background-size: cover;
    /* Adjusts image size to cover the button */
    filter: drop-shadow(0px 3px 4px blue);
}

.btn-sale {
    background-image: url("../img/return.png");
    background-size: cover;
    /* Adjusts image size to cover the button */
    filter: drop-shadow(0px 3px 4px rgb(255, 0, 0));
}

.btn-close {
    cursor: pointer;
    width: 40px;
    float: right;
}

.btn-eye {
    border-radius: 10px;
    border: 1px;
    opacity: 0.6;
}

.mtn-75 {
    position: relative;
    opacity: 0.8;
    margin-top: -75px;
    z-index: 100;
}

.mt-20-btn-sale {
    position: fixed;
    opacity: 0.8;
    /* margin-top: 75px; */
    z-index: 110;
    right: 10px;
    margin-top: 20px;
}

.mt-20-btn-eye {
    position: fixed;
    opacity: 0.8;
    /* margin-top: 75px; */
    z-index: 110;
    left: 20px;
    margin-top: 20px;
}

@font-face {
    font-family: "fontello";
    src: url("./../icon/font/fontello.eot?4292053");
    src: url("./../icon/font/fontello.eot?4292053#iefix") format("embedded-opentype"), url("./../icon/font/fontello.woff?4292053") format("woff"),
        url("./../icon/font/fontello.ttf?4292053") format("truetype"), url("./../icon/font/fontello.svg?4292053#fontello") format("svg");
    font-weight: normal;
    font-style: normal;
}

.icon-20 {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    /* speak: never; */

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    /* margin-right: .2em;*/
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    /* margin-left: .2em; */

    /* You can be more comfortable with increased icons size */
    font-size: 25px;

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-80 {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    /* speak: never; */

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    /* margin-right: .2em;*/
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    /* margin-left: .2em; */

    /* You can be more comfortable with increased icons size */
    font-size: 80px;

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.box-load {
    position: relative;
    width: 120px;
    z-index: 100;
}

.load-img {
    font-size: 80px;
    text-align: center;
    position: fixed;
    margin-left: calc(50% - 50px);
    margin-right: calc(50% - 50px);
    margin-top: 50px;
    color: #73e0fc;
    opacity: 0.8;
}

/* wfn */
.carousel-wrapper {
    padding: 20px 0;
    display: flex;
    /* justify-content: center; */
    max-width: 500px;
    margin: 0 auto;
}

/*  wfn */
.thumb {
    width: auto;
    height: 50px;
    background: #e5e7eb;
    border-radius: 12px;
    transition: 0.2s;
    padding: 4px;
}

/* Menssage */

.box-msg {
    position: absolute;
    width: 100%;
    z-index: 200;
    margin-top: 8px;
    padding: 10px;
}

.info-msg {
    margin: 0 auto;
    width: 60%;
    height: 200px;
    text-align: center;
    align-content: center;
    padding: 10px;
    font-size: 20px;
    color: white;
    background-color: black;
}

.card-img-glasse {
    min-height: 110px;
}

/* Media uery */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .btn-dim {
        width: 45px;
        height: 45px;
        padding: 0px;
    }

    .icon-20 {
        /* You can be more comfortable with increased icons size */
        font-size: 20px;
        margin-top: 0px;
        margin-left: -1px;
    }

    .icon-80 {
        /* You can be more comfortable with increased icons size */
        font-size: 45px;
        margin-top: 2px;
        margin-left: -1px;
    }

    .mtn-75 {
        margin-top: -48px;
    }

    .btn-control {
        margin-top: 25px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .card-img-glasse {
        min-height: 80px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
/* @media only screen and (min-width: 600px) {
  .example {background: green;}
} */

/* Medium devices (landscape tablets, 768px and up) */
/* @media only screen and (min-width: 768px) {
  .example {background: blue;}
}  */