:root {
    --result-width: 250px;
}
html, body {
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

#renderCanvas {
    width: 100vw;
    height: 100vh;
    touch-action: none;
}
canvas {
    touch-action: none;
}

.result {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
}
.result h2 {
    text-align: center;
    opacity: 0.6;
}

.result_img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    width: 50%;
}
.result_img .img_container {
    margin-left: 10px;
    margin-right: 10px;
}
.result_img img:not(.click_icon){
    width: var(--result-width);
}
.result_img p{
    text-align: center;
    color: white;
    background-color: #138d90;
    height: 2rem;
    width: var(--result-width);
    padding: 0.5rem 0;
    hyphens: auto;
    word-wrap: break-word;
    margin-top: 0;
    transform: translateY(-40px);
    font-size: 14px;
    text-transform: uppercase;
    font-style: italic;
    font-weight: bold;
}
.number_circle {
    display: flex;
    position: relative;
    width: 2rem;
    height: 2rem;
    top: 2rem;
    left: 0.5rem;
}
.number_circle div {
    border-radius: 50%;
    background-color: #138d90;
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    margin: auto;
    text-align: center;
}
.instructions {
    display: none;
    position: absolute;
    top: 0;
    color: white;
    right: 0;
    width: 300px;
    transition: all 400ms ease-in-out;
    background-color: rgba(0,0,0,0.5);
}
.instructions div {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.hide {
    display: none;
}
.copyright {
    display: flex;
    position: absolute;
    bottom: 0px;
    right: 0px;
    align-items: center;
    text-decoration: none;
    z-index: 998;
}
#logo3dtour {
    height: 20px;
    width: auto;
    margin:0;
    padding:0;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #8e8e8e;
}
.copyright_dot {
    background: #e83a39;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 0.5rem;
    transform: translateX(50px);
    transition: all 300ms ease-in-out;
}
.copyright_line {
    height: 1px;
    background: #e83a39;
    width: 0;
    transition: all 400ms ease-in-out;
}
.overlay {
    display: block;
    background-color: #faeed4;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

#info {
    position: absolute;
    top: 20px;
    right: 20px;
    display: none;
    width: 32px;
    height: 32px;
    z-index: 30;
    opacity: 60%;
}
.btn_container {
    display: flex;
    text-align: center;
}
.shop_btn {
    display: block;
    padding-top: 2rem;
    height: 122px;
    width: var(--result-width);
    border-radius: 5px;
    text-align: center;
    transition: all 400ms ease-in-out;
    background: #138d90;
    color: white;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 1.9rem;
}

.preload_container{
    display: flex;
    height: 100%;
}
#preloader {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    z-index: 1000;
    text-align: center;
}
.progressbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70vw;
}
.bar {
    margin: auto;
    height: 1px;
    width: 0%;
    background: #e83a39;
    text-align: center;
    color: #1e1f29;
}
.dot_container {
    width: 100%;

}

.dot {
    background: #e83a39;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: auto;
    transform: translateY(7px);
}

.spinner-container {
    width: 100%;
    height: 100%;
    margin: auto;
    filter: url(#gooey);
    transform: translateY(78px);
}
.spinner-path {
    position: relative;
    margin: auto;
    width: 56px;
    height: 56px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 0.5s ease-in 1s;
}
.spinner-path > * {
    animation: spinner 3s infinite;
}
.spinner-path > *:after {
    content: " ";
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.spinner-path > *:nth-child(1) {
    animation-delay: 0.5s;
}
.spinner-path > *:nth-child(1):after {
    background: #e83a39;
}
.spinner-path > *:nth-child(2) {
    animation-delay: 1s;
}
.spinner-path > *:nth-child(2):after {
    background: #c62d2c;
}
.spinner-path > *:nth-child(3) {
    animation-delay: 1.5;
}
.spinner-path > *:nth-child(3):after {
    background: #bd2827;
}
.spinner-path > *:nth-child(4) {
    animation-delay: 2s;
}
.spinner-path > *:nth-child(4):after {
    background: #a12120;
}
svg {
    width: 0;
    height: 0;
}
.change_opacity {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

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






.logo {
    padding-bottom: 10%;
}
.action_dots {
    display: flex;
    width: 100%;
    justify-content: center;
}
.a_dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #138d90;
    cursor: pointer;
    transition: all 400ms ease-in;
}
.a_dot:hover {
    box-shadow: 0 0 10px 10px rgba(19,141,144,0.45);
}
.a_dot:nth-child(2) {
    margin-left: 70px;
    margin-right: 70px;
}
.a_block {
    width: 50px;
    height: 50px;
}
.active {
    box-shadow: 0 0 10px 10px rgba(19,141,144,0.45);
}
.arrows_container {
    position: absolute;
    bottom: 35px;
    width: 100%;
    z-index: 5;
}
.action_arrows {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.a_arrow {
    display: flex;
    width: 66px;
    height: 63px;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}
.a_arrow:first-child {
    border-radius: 0 4px 4px 0;
}
.a_arrow:last-child {
    border-radius: 4px 0 0 4px ;
}
#bwd:hover .arrow_l {
    transform: translateX(-50%);
}
#fwd:hover .arrow_r {
    transform: translateX(50%);
}

.a_arrow p {
    margin: auto;
}
.redline {
    height: 100%;
    width: 5px;
    background: #e93a3a;
}
.message_box p {
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    font-size: 18px;
    font-style: italic;
    text-align: center;
}
.msg_mob {
    display: none;
}
#customer_logo {
    position: absolute;
    top: 20px;
    left: 0;
    display: flex;
    width: 120px;
    height: 80px;
    z-index: 30;
    background: #138d90;
    border-radius: 0 4px 4px 0;
}
#customer_logo img {
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}
@media screen and (min-device-width: 320px) and (max-device-width: 520px) {
    .arrows_container {
        position: fixed;
        bottom: 90px;
        z-index: 12;
    }
    .a_arrow {
        width: 120px;
        height: 117px;
    }
    .a_arrow:first-child {
        border-radius: 0 8px 8px 0;
    }
    .a_arrow:last-child {
        border-radius: 8px 0 0 8px ;
    }
    .redline {
        width: 10px;
    }
    .dots_container {
        padding-top: 23px;
    }
    .a_dot {
        width: 24px;
        height: 24px;
    }
    .a_dot:nth-child(2) {
        margin-left: 100px;
        margin-right: 100px;
    }
    .dot {
        width: 24px;
        height: 24px;
        transform: translateY(13px);
    }
    .bar {
        height: 3px;
    }
    .message_box p {
        font-size: 24px;
    }
    #info {
        display: none;
        width: 64px;
        height: 64px;
    }
    #logo3dtour {
        font-size: 24px;
    }
    .copyright {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 42px;
    }
    .copyright_dot {
        display: none;
    }
    .copyright_line {
        display: none;
    }
    .result{
        width: 100vw;
        height: 100%;
        right: unset;
        top: 0;
        background: #faeed4;
        padding-top: 150px;
    }
    .result_img {
        overflow: auto;
        height: 60vh;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }
    .result_img img:not(.click_icon) {
        width: 60vw;
    }
    .result_img .img_container {
        margin: auto;
        transition: all 400ms ease-in-out;
    }

    .result_img p {
        width: 60vw;
        height: auto;
        font-size:  2rem;
        word-wrap: break-word;
        text-transform: uppercase;
        font-style: italic;
    }
    .number_circle {
        display: flex;
        position: relative;
        width: 3rem;
        height: 3rem;
        top: 4rem;
        left: 4rem;
    }
    .number_circle div {
        border-radius: 50%;
        background-color: #138d90;
        width: 3rem;
        height: 3rem;
        color: white;
        margin: auto;
        text-align: center;
        font-size: 2rem;
    }


    .shop_btn {
        display: flex;
        height: 4.5rem;
        width: 60vw;
        margin: auto;
        justify-content: center;
        align-items: center;
        padding-top: 0.5rem!important;
        position: fixed;
        left: 20%;
        bottom: 25%;
        -webkit-box-shadow: 0px -60px 30px 20px rgba(250, 238, 212, 0.75);
        -moz-box-shadow: 0px -60px 30px 20px rgba(250, 238, 212, 0.75);
        box-shadow: 0px -80px 80px 80px rgba(250, 238, 212, 0.85);

    }
    .msg_pc{
        display: none;
    }
    .msg_mob {
        display: block;
        margin-left: 2rem;
        font-size: 2rem;
    }
    .instructions {
        display: none;
        position: absolute;
        top: 0;
        color: white;
        right: 0;
        width: 100vw;
        font-size: 2.2rem;
        background-color: rgba(0,0,0,0.65);
        z-index: 30;
    }
    .instructions ol {
        padding-inline: 10%;
    }
    .instructions h3 {
        padding-left: 5%;
    }
}

@media screen and (min-device-width: 521px) and (max-device-width: 760px)

{
    :root {
        --result-width: 100px;
    }
    .result_img {
        width: 60%;
    }
    .result_img p {
        transform: translateY(-5px);
        font-size: 10px;
    }
    .shop_btn{
        height: 88px;
        padding-top: 1rem;
    }
    .click_icon {
        width: 30px;
    }
    .msg_pc {
        font-size: 10px;
    }
}
@media screen and (min-device-width: 761px) and (max-device-width: 1019px)
{
    :root {
        --result-width: 120px;
    }
    .result_img {
        width: 55%;
    }
    .result_img p {
        transform: translateY(-5px);
        font-size: 11px;
    }
    .shop_btn{
        height: 100px;
        padding-top: 1rem;
    }
    .click_icon {
        width: 30px;
    }

}
@media screen and (min-width: 1020px) and (max-width: 1349px)
{
    :root {
        --result-width: 150px;
    }
    .result_img p {
        transform: translateY(-5px);
        font-size: 12px;
        height: 2rem;
    }
    .shop_btn{
        height: 115px;
        padding-top: 1rem;
    }
}
@media screen and (min-width: 1350px) and (max-width: 1620px)
{
    :root {
        --result-width: 200px;
    }
    .result_img p {
        transform: translateY(-20px);
        font-size: 13px;
    }
    .shop_btn{
        height: 120px;
        padding-top: 1rem;
    }
}