@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.container {
    position: relative;
    width: 1200px;
    height: 768px;
    display: flex;
}

.menu {
    background-color: #F1EFF0;
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px 15px 25px;
    min-width: 280px;
}

.title {
    margin: 20px 0;
    font-weight: bold;
    color: #000;
    font-size: 17.5px;
}

.info {
    font-size: 14px;
    color: #5e5e5e;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 18px;
    font-weight: normal;
}

.info>span {
    font-size: 12px;
    text-transform: none;
}

.menu-acabamentos {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.group {
    width: 100%;
    min-height: 48px;
    display: grid;
    align-items: flex-start;
    grid-template-columns: 33.33% 33.33% 33.33%;
    grid-gap: 5px;
}

.element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
}

.element:hover {
    cursor: pointer;
    color: rgb(161, 155, 155);
    font-weight: bold;
}

.element img {
    width: 32px;
    border: 1px solid #5e5e5e;
    /*border-radius: 50%;*/
}

.element.active img {
    border: 1px solid black;
    color: rgb(161, 155, 155);
    font-weight: bold;
    opacity: .7;
}

.element p {
    font-size: 14px;
    color: #000;
}

.view-qr-code {
    display:flex;
    width:100%;
    justify-content:center;
    align-items:center;
}

.button-qrcode {
    width: 100%;
    height: 50px;
    border: 1px solid #16829d;
    background-color: #fafafa;
    color: #16829d;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s ease-in-out;
    cursor: pointer;
    margin-top: 15px;
}

.button-qrcode:hover {
    background-color: #16829d;
    color: white;
}

#close-qrcode {
    position: absolute;
    right: -21px;
    top: 0;
    font-weight: bold;
}

#close-qrcode:hover {
    cursor: pointer;
}


#close-qrcode:hover {
    cursor: pointer;
}

.container-qrcode {
    display: none;
    position: absolute;
    bottom: 10%;
    width: 170px;
    height: 170px;
    border: 2px solid black;
    background-color: white;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.container-qrcode img {
    display: none;
    width: 170px;
}

.container-qrcode-view img {
    width: 170px
}

.viewer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    background-color: white;
}

model-viewer {
    position: relative;
    width: 90%;
    height: 90%;
}

#ar-button {
    background-image: url(../imgs/ic_view_in_ar_new_googblue_48dp.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 12px 50%;
    background-color: #fff;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0px 16px 0px 40px;
    font-family: Roboto Regular, Helvetica Neue, sans-serif;
    font-size: 15px;
    color: #4285f4;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    border: 2px solid #DADCE0;
}

#ar-button:active {
    background-color: #E8EAED;
}

#ar-button:focus {
    outline: none;
}

#ar-button:focus-visible {
    outline: 1px solid #4285f4;
}

.active {
    font-weight: bold;
}

.footer-logos {
    position: absolute;
    bottom: 15px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

#default-ar-button {
    display: none;
}

.logo_mmix {
    margin: 5px;
    width: 96px;
}

.title-viewer {
    position: absolute;
    top: 10px;
}

.select-option {
    width: 90%;
    padding: 7px;
    font-size: 1rem;
}

.hidden {
    display: none;
}

.element:hover>svg>rect:fist-child {
    stroke: #4285f4;
}

.element>svg {
    border-bottom: 10px;
}

h5 {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    margin: 1px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h5>svg {
    pointer-events: none;
}

.box {
    background-color: white;
    border: 1px solid #a5a5a5;
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    body {
        position: relative;
    }

    .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .viewer {
        width: 100%;
        min-height: 500px;
    }

    .menu {
        position: relative;
        width: 100%;
        /* height: 50%; */
        min-height: 668px;
    }

    h2.title {
        margin-top: 20px;
        font-size: 16px;
    }

    .info {
        font-size: 13px;
        text-align: center;
    }

    .menu-acabamentos {
        height: 50%;
    }

    #default-ar-button {
        display: none;
    }

    .group {
        min-height: 60px;
        max-height: 70px;
    }

    .element {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .element p {
        font-size: 13px;
        margin: 0 5px;
        width: 60px;
    }

    .title {
        position: absolute;
        top: 0;
    }

    .info {
        position: absolute;
        top: 50px;
    }

    .element img {
        width: 32px;
    }

    .button-qrcode {
        display: none;
        border: 1px solid palegreen;
    }

    model-viewer {
        width: 100%;
        height: 90%;
        z-index: 10;
    }

    .logo_mmix {
        margin: 20px;
        width: 84px;
    }

    .footer-logos {
        position: absolute;
        bottom: 0;
    }

    .container-qrcode {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}

/* loader qrcode */
.loader-qrcode {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7.33333em;
    height: 7.33333em;
    margin-left: -3.66667em;
    margin-top: -3.66667em;
}

.loader-block {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    opacity: 0;
    width: 2em;
    height: 2em;
    background: #fdfdfd;
    -webkit-animation: show 0.88s step-end infinite alternate, pulse 0.88s linear infinite alternate;
    animation: show 0.88s step-end infinite alternate, pulse 0.88s linear infinite alternate;
}

.loader-block:nth-child(1) {
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-animation-delay: 0.065s;
    animation-delay: 0.065s;
}

.loader-block:nth-child(2) {
    -moz-transform: translate(2.66667em, 0);
    -ms-transform: translate(2.66667em, 0);
    -webkit-transform: translate(2.66667em, 0);
    transform: translate(2.66667em, 0);
    -webkit-animation-delay: 0.13s;
    animation-delay: 0.13s;
}

.loader-block:nth-child(3) {
    -moz-transform: translate(5.33333em, 0);
    -ms-transform: translate(5.33333em, 0);
    -webkit-transform: translate(5.33333em, 0);
    transform: translate(5.33333em, 0);
    -webkit-animation-delay: 0.195s;
    animation-delay: 0.195s;
}

.loader-block:nth-child(4) {
    -moz-transform: translate(0, 2.66667em);
    -ms-transform: translate(0, 2.66667em);
    -webkit-transform: translate(0, 2.66667em);
    transform: translate(0, 2.66667em);
    -webkit-animation-delay: 0.325s;
    animation-delay: 0.325s;
}

.loader-block:nth-child(5) {
    -moz-transform: translate(2.66667em, 2.66667em);
    -ms-transform: translate(2.66667em, 2.66667em);
    -webkit-transform: translate(2.66667em, 2.66667em);
    transform: translate(2.66667em, 2.66667em);
    -webkit-animation-delay: 0.13s;
    animation-delay: 0.13s;
}

.loader-block:nth-child(6) {
    -moz-transform: translate(5.33333em, 2.66667em);
    -ms-transform: translate(5.33333em, 2.66667em);
    -webkit-transform: translate(5.33333em, 2.66667em);
    transform: translate(5.33333em, 2.66667em);
    -webkit-animation-delay: 0.455s;
    animation-delay: 0.455s;
}

.loader-block:nth-child(7) {
    -moz-transform: translate(0, 5.33333em);
    -ms-transform: translate(0, 5.33333em);
    -webkit-transform: translate(0, 5.33333em);
    transform: translate(0, 5.33333em);
    -webkit-animation-delay: 0.39s;
    animation-delay: 0.39s;
}

.loader-block:nth-child(8) {
    -moz-transform: translate(2.66667em, 5.33333em);
    -ms-transform: translate(2.66667em, 5.33333em);
    -webkit-transform: translate(2.66667em, 5.33333em);
    transform: translate(2.66667em, 5.33333em);
    -webkit-animation-delay: 0.26s;
    animation-delay: 0.26s;
}

.loader-block:nth-child(9) {
    -moz-transform: translate(5.33333em, 5.33333em);
    -ms-transform: translate(5.33333em, 5.33333em);
    -webkit-transform: translate(5.33333em, 5.33333em);
    transform: translate(5.33333em, 5.33333em);
}

@-webkit-keyframes pulse {

    from,
    40% {
        background: #fdfdfd;
    }

    to {
        background: #dadada;
    }
}

@-webkit-keyframes show {

    from,
    40% {
        opacity: 0;
    }

    41%,
    to {
        opacity: 1;
    }
}

@keyframes pulse {

    from,
    40% {
        background: #fdfdfd;
    }

    to {
        background: #dadada;
    }
}

@keyframes show {

    from,
    40% {
        opacity: 0;
    }

    41%,
    to {
        opacity: 1;
    }
}