@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');



* {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.hidden {
    display: none;
}

img {
    display: block;
    max-height: 100%;
    margin: auto;
}

html,
body {
    height: 100%;
    color: #85868c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

@media (max-width: 1023px) {

    html,
    body {
        font-size: 12px;
    }

}


#container_webgl,
#content,
#config_3d,
canvas {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}


#container_webgl {
    background: #121212;
}

#content {
    position: absolute;
    transition: all 1s ease;
    top: 0;
    right: 0;
}

#config_3d {
    width: 100vw;
    height: 100vh;
    position: absolute;
    cursor: grab;
}



#AR_DOM_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
}

h1,
h2,
h3 {
    display: block;
    font-weight: 600;
    margin: 0.5em 0;
    color: #242323;
    transition: all 1s ease;
}

h1 {
    font-size: 28px;
    font-weight: 600;
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 17.5px;
    text-transform: uppercase;
    margin: 1em 0;
}


strong {
    font-size: 18px;
}

a,
.link {
    color: inherit;
    display: inline-block;
    cursor: pointer;
    text-decoration: underline;
}



.btn {

    color: #e8e8e8;
    display: inline-block;
    transition: all 0.5s ease;
    text-transform: uppercase;
    min-width: 200px;
    background: #12121233;
    cursor: pointer;
    margin: 0.5em;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.btn:hover {
    display: inline-block;
    border: solid 2px #e8e8e8;
    background-color: #e8e8e8;
    color: black;
    fill: white;
}

#logo {
    width: 60px;
    height: 60px;
    z-index: 2;
}

#titolo {
    position: absolute;
    top: 20px;
    right: 50%;
    z-index: 2;
    transform: translateX(50%);
    text-align: center;
    transition: all 0.5s ease;
    /*width: 0px;*/
    height: 100px;
}

@media (max-width: 1023px) {

    #titolo {
        text-align: center;

    }
}

#qr_panel{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 20px;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    background-color: #e8e8e8;
    color: #242323;
}

#qr_panel.open {
    display: block;
}



#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(127, 127, 127, 0.5);
    z-index: 100;
}

.loading #loader {
    display: block;
}


#config_buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    width: 100%;
}

.closex {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    line-height: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}


#back {
    position: absolute;
    z-index: 4;
    color: #e8e8e8;
    left: 15px;
    font-size: 14px;
    top: 16px;
    opacity: 0.5;
    transition: all 1s ease 0s;
}

#back::before {
    content: '\2039';
}

#back:hover {
    opacity: 1;
}

/**
  * Waterfall
  *
  * @author jh3y
*/
@-webkit-keyframes waterfall {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-250%);
        transform: translateY(-250%);
    }
    40%,
    60% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(250%);
        transform: translateY(250%);
    }
}

@keyframes waterfall {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-250%);
        transform: translateY(-250%);
    }
    40%,
    60% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(250%);
        transform: translateY(250%);
    }
}

.waterfall div {
    -webkit-animation: waterfall 1.5s infinite;
    animation: waterfall 1.5s infinite;
    background-color: #e8e8e8;
    height: 20px;
    left: 50%;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 20px;
}

.waterfall div:nth-of-type(1) {
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
    margin-left: -10px;
}

.waterfall div:nth-of-type(2) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    margin-left: 15px;
}

.waterfall div:nth-of-type(3) {
    -webkit-animation-delay: 0.75s;
    animation-delay: 0.75s;
    margin-left: -35px;
}

.waterfall div:nth-of-type(4) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    margin-left: 40px;
}

.waterfall div:nth-of-type(5) {
    -webkit-animation-delay: 1.25s;
    animation-delay: 1.25s;
    margin-left: -60px;
}


.material-icons {
    vertical-align: middle;
}
