
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');
small {
    font-size:12px;
}

body{
    font-family: 'Lexend', sans-serif;
    color: #0d2f39;
}

.page-break{
    background-image: url("../img/page-break.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100px;
}


.text-limit-2-row{
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical
}




/* QR Kutusu */
#camera-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 2;
    z-index: 2;
}

.qr-box {
    position: relative;
    width: 300px;
    height: 300px;
    border: 5px solid rgb(102, 211, 157);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
}

#qr-text {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    color: #fff;
}

#qr-foot {
    font-family: 'Lexend', sans-serif;
    float:right;
    font-size: 16px;
    color: rgb(102, 211, 157);
}

canvas#qr-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
        
        
/* BEGIN::Main page */


#main-content{
    z-index: 2;
    color: #fff;
    background-image:url("../img/background.jpg");
}
#main-content h1{
    font-family: "Afacad Flux", sans-serif;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 0 5px rgba(0,0,0, 0.75);
    letter-spacing: 1px;
    line-height: 1.25;
    color: rgb(102, 211, 157);
    text-transform: uppercase;
}
#main-content h3{
    font-family: "Afacad Flux", sans-serif;
    text-align: center;
    color:#f8e9ca;
    text-shadow: 0 0 5px rgba(0,0,0, 0.6);
    font-weight: 400;
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    right: 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
#select-lang-container{
    margin: 2.5rem auto;
    width: auto;
    text-align: center;
}

/* END::Main page */





/* BEGIN::QR */
#qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgb(255 255 255 / .5);
}
#qr-container img {
    max-width: 350px;
    margin-bottom: 20px;
}

#logox {
    z-index: 2;
    width: 250px;
    margin-bottom: 20px;
}

#qr-container p {
    font-family: 'Lexend', sans-serif;
    font-size: 2vw;
    color: #333;
    background-color:#fff;
    padding:5px;
    border-radius:5px;
}
/* END::QR */




/* BEGIN::Bottom-sheet customization */
.sheet .body img{
    border-radius: 1rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}
.sheet .body span{
    position: absolute;
    left: 2rem;
    top: 2rem;
    background: rgba(0, 0, 0, .4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}
.sheet .body h1{
    text-align: center;
    margin: 0;
    font-weight: 400;
    font-size: 1.75rem;
}
.sheet .body hr{
    margin-bottom: 1rem;
}

#preview-button-ar{
    color: #a68501;
    background: #1e5667;
    background: linear-gradient(90deg, rgba(13, 47, 57, 1)  0%, rgba(30, 86, 103, 1) 100%);
    font-size: 1.15rem;
    border: none;
    width: 50%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 1rem;
    font-family: inherit;
    cursor: pointer;
}
#preview-button-detail{
    color: #a68501;
    background: #1e5667;
    background: linear-gradient(90deg, rgba(13, 47, 57, 1)  0%, rgba(30, 86, 103, 1) 100%);
    font-size: 1.15rem;
    border: none;
    width: 50%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 1rem;
    font-family: inherit;
    cursor: pointer;
}

/* END::Bottom-sheet customization */

#model-preview.modal{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    opacity: 0;
    transition: height .3s ease-in, opacity .2s ease-in;
    background: #fff;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 0 15px 5px rgba(32, 32, 32, .5);
}

#model-preview.modal.active{
    opacity: 1;
    transition: height .3s ease-in, opacity .2s ease-in;
}

#model-preview.modal .modal-overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: none;
}
#model-preview.modal.active .modal-overlay{
    display: unset;
}
#model-preview.modal .modal-close{
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    cursor: pointer;
    background: #1e5667;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    align-items: center;
    display: flex;
    justify-content: center;
}

#model-preview.modal .modal-body{
    background-image: url("../img/bgbody.jpg");
    overflow-y: auto;
    padding: 1.5rem 1rem;
}

#model-preview.modal .modal-body img{
    border-radius: 1rem;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
    margin-bottom: 1rem;
}

#model-preview.modal .modal-body span{
    position: absolute;
    left: 2rem;
    top: 2rem;
    background: rgba(0, 0, 0, .4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}
#model-preview.modal .modal-body h1{
    font-family: "Afacad Flux", sans-serif;
    text-align: center;
    margin: 0;
    font-weight: 700;
    font-size: 1.75rem;
}


#mute-video{
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9;
}
#ar-video-player{
    display: none;
}
#ar-back-button{
    position: fixed;
    left: 1rem;
    top: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 9;
}
#ar-back-button img{
    margin-right: .5rem;
}






/* BEGIN::Select2 customization */
.select2-option-image{
    display: flex;
    align-items: center;
}
.select2-selection__rendered .select2-option-image{
    color: #fff;
}
.select2-option-image img{
    width: 20px;
    margin-right: .5rem;
}
[dir="rtl"] .select2-option-image img{
    margin-right: 0;
    margin-left: .5rem;
}
.select2-container .select2-selection--single{
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 2px solid rgb(102, 211, 157);
    background-color: transparent;
    color: #fff;
    height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 40px;
    right: 5px;
}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{
    left: 5px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b{
    border-color: #fff transparent transparent transparent;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 40px;
    padding-right: 25px;
}
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-left: 25px;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.select2-results__option{
    padding: 10px;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background-color: rgb(102, 211, 157);
}
/* END::Select2 customization */

