:root {
    --text-color: #fff;
    --border-radius: 20px;
    --section-wrap-padding: 20px;
    --wrapper-bg-color: #fff;
    --font-weight: 600;
}

body {
    position: fixed;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Open Sans', arial, sans-serif;
    background-color: var(--b-primary);
    color: var(--text-color);
}

/* PC Com, PC Com Essential */
body.b-1, body.b-5 {
    --b-primary: #FF6000;
    --b-secondary: #575757;
    --b-tertiary: #999999;
}

/* OwloTech */
body.b-2 {
    --b-primary: #070707;
}

/* Origial */
body.b-3 {
    --b-primary: #5781EF;
}

/* Nilait */
body.b-4 {
    --b-primary: #08b3cc;
    --b-secondary: #9ba7a9;
    --b-tertiary: #03171a;
}

/* Tempest */
body.b-6 {
    --b-primary: #e42320;
}

/* Tempest */
body.b-7 {
    --b-primary: #202020;
    --b-secondary: #ccac59;
}

/* Alurin */
body.b-8 {
    --b-primary: #0000cd;
    --b-secondary: #00bfff;
}

body.rtl {
    direction: rtl;
}

body.he {
    font-family: 'Rubik', Arial;
}

.pos-rel {
    position: relative;
}

.pos-abs,
.pos-abs.vertical-align,
.pos-abs.vertical-horizontal-align,
.pos-abs.horizontal-align {
    position: absolute;
}

.container {
    display: grid;
    grid-template-columns: 215px auto;
    grid-template-rows: 58px auto;
    height: 100vh;
}

.child-a {
    grid-column: 1;
    grid-row: 1;
    background: #f1f1f1;
    padding: 0 24px;
}
.child-b {
    grid-column: 1;
    grid-row: 2;
    background: #e1e1e1;
    padding: 0 24px;
}
.child-c {
    grid-column: 2;
    grid-row: 1 / span 2;
    background: #d1d1d1;
    padding: 0 24px;
}
.logo-wrap {
    background-color: var(--b-primary);
    display: flex;
    flex-wrap: wrap;
    align-content: end;
}

.logo-wrap img {
    max-height: calc(100% - 12px);
}

.qr-wrap {
    background-color: var(--b-primary);
    display: flex;
    flex-wrap: wrap;
    align-content: end;
    padding-bottom: 32px;
}

.qr-wrap .qr-img {
    width: 124px;
    display: inline;
}


.qr-wrap .cube {
    width: 20px;
    height: 20px;
}

.qr-wrap .txt {
    /* color: var(--bg-color); */
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight);
    line-height: normal;
}

.viewer-wrap {
    background-color: var(--wrapper-bg-color);
    position: relative;
}

hexa-viewer {
    display: block;
    height: 100%;
}

.place-btn {
    display: none;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--b-secondary);
    background: var(--wrapper-bg-color);
}

.instructions {
    color: var(--text-color);
    font-size: 12px;
    font-style: normal;
    font-weight: var(--font-weight);
    line-height: normal;
}

.tutorial-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    pointer-events: none;
    transition-duration: .35s;
    transition-property: opacity;
    padding: 20px;
    border-radius: var(--border-radius);
}

body.viewer-interaction .tutorial-over {
    opacity: 0;
}

.tutorial {
    /* position: absolute; */
    /* bottom: 24px; */
    /* transform: translateX(-50%); */
    /* left: 50%; */
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--text-color);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight);
    line-height: normal;
    align-items: center;
    text-align: center;
}

.tutorial img {
    max-width: 100%;
    filter: brightness(3);
}

.cube {
    filter: invert(1);
}

/* Mobile layout */
@media (max-width: 710px) {
    .container {
      grid-template-columns: 1fr;
      grid-template-rows: 68px auto 76px;
      height: 100vh;
      height: 100svh;
    }
    .child-a {
      grid-column: 1;
      grid-row: 1;
      padding: 12px 24px 16px;
    }
    .child-c {
      grid-column: 1;
      grid-row: 2;
      padding: 0 24px;
    }
    .child-b {
      grid-column: 1;
      grid-row: 3;
      padding: 16px 24px;
    }
    .qr-wrap {
        display: flex;
        flex-direction: column;
    }
    .qr-wrap .qr-img {
        display: none;
    }
    .qr-wrap .place-btn {
        display: flex;
    }
    .qr-wrap {
        align-content: center;
    }
    .instructions {
        display: none;
    }
    .logo-wrap img {
        max-height: 100%;
    }
}

img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.center-me {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.disp-none,
.main.disp-none,
.qr-wrap.disp-none {
    display: none;
}
