/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */


/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1px;
    line-height: 1.4;
    font-size: 62.5%;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, sans-serif;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    display:none;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #00ABB6; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #56C5CF; 
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* utilities */

.icon-image {
    height: 4rem;
}

.capitalize{
    text-transform: capitalize;
}
.center-text-parent{
    display: flex;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
}

.tooltip {
    position: relative;
    display: inline-block;
  }
  
.tooltip .tooltiptext {
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    width: 120px;
    background-color: #00ABB6;
    color: #fff;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    cursor: auto;
    pointer-events: none;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.unselectable{
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* app container */
.thumbnail-overlay{
    z-index: 102;
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}
.thumbnail-overlay img{
    cursor: pointer;
}
/* clickable-thumbnail affordance: pulsing play button + label centered over the thumbnail */
.thumb-play-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(0, 199, 199, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    z-index: 2;
    animation: thumbPulse 2s ease-in-out infinite;
    transition: transform 0.15s ease, background 0.15s ease;
}
.thumb-play-btn svg{
    width: 2.3rem;
    height: 2.3rem;
    fill: #ffffff;
    margin-left: 0.2rem;
}
.thumbnail-overlay:hover .thumb-play-btn{
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0, 199, 199, 1);
    animation: none;
}
.thumb-play-label{
    position: absolute;
    top: calc(50% + 3.7rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 0.32rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}
@keyframes thumbPulse{
    0%, 100% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(0, 199, 199, 0.5); }
    50% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 0.9rem rgba(0, 199, 199, 0); }
}
.landing-screen {
    z-index: 101;
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}
.thumbnail-container{
    display: none;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow: auto;
    max-width: 1200px;
    -webkit-mask-image: url(../img/gradient-mask.png);
    mask-image: url(../img/gradient-mask.png);
}
.thumbnail-container img{
    cursor: pointer;
    width: 20rem;
    height:20rem;
}
.thumbnail-option{
    width: 20rem;
    height:25rem;
    margin: 2rem;
}
.thumbnail-image{
    box-shadow: rgb(170, 170, 170) 2px 2px 4px 0px;
}
.landing-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.landing-logo {
    /* margin: 2rem auto; */
    /* margin-bottom: 6rem; */
    width: 25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;

}
.landing-trial-legend-container{
    position: absolute;
    width:100vw;
    bottom: 5px;
    height: 50px;
    font-size: 10px;
    text-align: center;
    display: none;
}
.landing-trial-legend{
    position: relative;
    height:10px;
    color:#3f3f3f;
    border-radius: 5px;
    font-size: 10px;
    margin:auto;
    padding-right: 70px;
}
.landing-trial-legend a{
    
    text-decoration:none;
    color: #00ABB6;
}
.qr-positioner {
    width: 60rem;
    margin-top: 1rem;
    height: 60rem;
}

@media only screen and (max-width:800px) {
    /* For tablets: */
    .landing-logo {
        width: 20rem;
    }
    .qr-positioner {
        width: 30rem;
        height: 30rem;
    }

}
@media only screen and (max-width:650px) {
    .landing-trial-legend-container{
        bottom: 60px;
    }
    .landing-trial-legend{
        padding-right: 0px;
       
    }
}


.landing-input{
    width:15rem;
    text-align: center;
    border-radius: 0.75rem;
    background-color: #00ABB6;
    color: #ffffff;
    font-weight: 500;
    border-width: 0;
    outline: none;
    font-size: large;
    height: 3rem;
    font-size: 1.5rem;
}
.landing-input::selection {
    background: #00c4ad;
}
.landing-input::placeholder {
    color: #b8b8b8;
}
.landing-input:focus {
    border-width: 0;
    outline: none;
}
.input-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 19rem;
    margin-top: 6rem;
}

.landing-button{
    height: 3rem;
    cursor: pointer;
}
.landing-error{
    transition: opacity 0.5s ease;
    padding-top: 10px;
}
.landing-error span{
    font-size: 1.4rem;
    color: #00ABB6;
    font-weight: 500;
}
.hidden-opacity {
    opacity: 0;
}

.overlay-ontainer{
    position: absolute;
    display: flex;
    pointer-events: none;
}



.overlay-arrow-left{
    width:30px;
    clip-path: polygon(100% 0%, 100% 100%, 0% 55%, 0 45%);
    pointer-events: auto;
    margin-left: 5px;
}

.overlay-arrow-right{
    width:30px;
    clip-path: polygon(100% 45%, 100% 55%, 0% 100%, 0 0%);
    pointer-events: auto;
    margin-right: 5px;
}

.overlay-display{
    background-color: rgba(0,0,0, 0.75);
    max-width: 300px;
    min-width: 200px;
    border-radius: 4px;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.bottom-overlay-display{
    position: absolute;
    width: calc(100% - 8px); /* This will make the element stretch from left to right */
    border-radius: 4px;
    bottom: 80px;
    left: 4px;
    background-color: white;
    background-color: rgba(0,0,0, 0.75);
    filter: drop-shadow(0 0.1rem .3rem #888888);
    text-align: center;
    padding: 15px;
}

.overlay-display-title {
    text-align: center;
    margin-bottom: 2px;
    min-height: 0px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.overlay-link-btn{
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: flex;
}
.flex-between{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.overlay-divider {
    position: relative;
    width: 100%;
    height: 10px; /* Adjust height as needed */
}

.overlay-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px; /* Thickness of the line */
    background-color: #ffffff; /* Color of the line */
    transform: translateY(-50%);
}

.overlay-display-info {
    flex-grow: 1;
    text-align: center;
    overflow-y: auto;
    margin-top: 2px;
    min-height: 0px;
    max-height: 200px;
    font-size: 15px;
    font-weight: 400;
    color: #e4e4e4;
}


.overlay-display-title::selection {
    background: #00ABB6;
}

.overlay-display-info::selection {
    background: #00ABB6;
}

.app-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
}

.loading-screen {
    z-index: 100;
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.loading-logo {
    margin: 0 auto;
    width: 10rem;
    height: 10rem;
}

#load-percentage {
    text-align: center;
    color: rgb(56, 56, 56);
}
.load-percentage{
    margin: 2px;
}


/* header */

.nav-var {
    background-color: white;
    height: 6rem;
    filter: drop-shadow(0 0.1rem .3rem #888888);
    padding: 1rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-var span{
    font-family: "Montserrat",Sans-serif;
    padding-top: 5px;
    font-size:1.1rem;
    font-weight: 500;
    color: #7c7c7c;
    text-transform: uppercase;
    margin-right: 1rem;
}
#navigation-logo{
    cursor: pointer;
}

/* mid-section */

.mid-section {
    pointer-events: none;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 1;
}


/* side-bar */



.side-bar {
    background-color: white;
    width: 7rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: all;
}

@media only screen and (max-width:800px) {
    /* For tablets: */
    .side-bar {
      display: none;
    }
}

.side-bar:first-child {
    padding-top: 2rem;
}

.side-bar__buttons {
    padding: 1.5rem;
    height: 7rem;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    flex: auto;
    /* height: 100%;
    width: 100%; */
    display: flex;
    flex-direction: column-reverse;
}

.main-contaier {
    height: 100%;
    width: 100%;
    flex: auto;
    background-color: black;
}

#container-3d {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/*lower section*/

.lower-section {
    height: 8rem;
    display: flex;
    justify-content: space-between;
}

.lower-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.left-side{
    margin-left: 0.5rem;
}

.right-side{
    margin-right: 0.5rem;
}

.lower-bar__buttons {
    cursor: pointer;
    pointer-events: all;
    width: 3rem;
    height: 3rem;
    margin: 1rem;
    padding: 0.2rem;
}

.left-side-button{
    height: 4rem;
    width: 4rem;
    
}

@media only screen and (min-width:801px) {
    /* For tablets: */
    .left-side {
      visibility: hidden;
    }
}



/* container */


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}


/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}


/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}


/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}