*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.clearer{
     clear: both;
 }
img{
    border: none;
    height: auto;
    max-width: 100%;
}

*:focus{
    outline: none;
}

body{
    background-color: #1E2428;
    font-family: 'Exo', sans-serif;
    color: white;
}

header,
nav,
article,
aside,
section,
footer,
main,
figure,
figcaption{
    display: block;
}

.clearfix::before,
.clearfix::after{
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
}

.clearfix::after{
    clear: both;
}

.content {
    width: 1160px;
    margin: 0 auto;
}

.col-1{
    float: left;
    width: 8.33333%;
}

.col-2{
    float: left;
    width: 16.66666%;
}

.col-3{
    float: left;
    width: 25%;
}

.col-4{
    float: left;
    width: 33.33333%;
}

.col-6{
    float: left;
    width: 50%;
}

.col-8{
    float: left;
    width: 66.66666%;
}

.col-10{
    float: left;
    width: 83.33333%;
}

.divider{
    padding: 20px 0;
}

.spacer{
    padding: 70px 0;
}

.responsive,
.responsive img{
    height: auto;
    max-width: 100%;
}

.center{
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a{
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
/** Global style**/
/** SFONDO**/

.sfondo{
    background: #171A1C;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    padding: 30px;
}
/** header **/
.header{
    width: 100%;
    height: 118px;
    background: url("../img/sfondo_header2020.jpg");
    padding-top: 10px;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}
.navbar{
    display: flex;
    justify-content: space-between;
}
.nav{
    list-style: none;
    padding: 50px 0;
}
.nav li{
    width: 120px;
    height: 15px;
    font-size: 15px;
    font-weight: 300;
    color: white;
    text-transform: uppercase;
    display: inline;
    position: relative;
}

.nav a:hover,
.current-menu-item{
    color: #ea5b0c;
}

li a{
    text-decoration: none;
    transition: 0.3s;
    margin: 0 12.5px;
    color: #fff;
    text-wrap: nowrap;
}

nav ul ul{
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 1001;
    display: none;
    width: 200px;
    background-color: rgba(0,0,0,0.5);
}

nav ul li:hover ul{
    width: auto;
    display: block;
    min-width: 100%;
}

nav ul li ul{
    line-height: normal;
}


/* Swiper */
swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;

}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.slide-text{
    padding: 3em;
    text-align: left;

}

.slide-text h4{
    font-size: 25px;
    margin-bottom: 5px;
}

hr.small{
    background: #ea5b0c;
    border: solid 1px #ea5b0c;
    width: 20%;
    margin: 5px 0;
}

/* titolo */

.titolo{
    background: transparent;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
}

.taitol h1{
    color: white;
    font-size: 45px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #ea5b0c;
    margin-top: 30px;
}

/** Burger Button **/
.navbar1{
    float: right;
    cursor: pointer;
    margin-top: 38px;
    margin-right: 15px;
    display: none;
    transition: 0.3s;
}
.icon-bar{
    display: block;
    width: 22px;
    height: 1px;
    margin: 5px;
    background-color: white;

}

/* Prodotti */

.titolo2{
    width: 100%;
    display: flex;
    justify-content: center;
}
.taitol2 h2{
    color: white;
    font-size: 32px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #ea5b0c;
    margin-top: 30px;
}


.titolo4{
    width: 100%;
    min-height: 450px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
    box-sizing: border-box;
    background:  linear-gradient( rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../img/totem.jpg") no-repeat fixed;

}

.taitol2 h2{
    color: white;
    font-size: 32px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #ea5b0c;
    margin-top: 30px;
}

/* cartella */

.card{
    background: linear-gradient(145deg,#1e2024,#23272b);
    border-radius: 10px;
    padding: 0 2px 20px 2px;
    margin: 20px 10px;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    display: grid;
    min-height: 400px;
}

.card h4{
    margin: 5px 0;
}

a img{
    border-radius: 10px;
}

/* testo */

h3{
    color: #ea5b0c;
    font-weight: 400;
    font-size: 32px;
    text-transform: uppercase;
}
h4{
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

p{
    color: #b8b8b8;
    font-weight: 400;
    font-size: 16px;
}


.titolino{
    width: 150px;
    border-bottom: 4px solid #ea5b0c;
    margin-top: 2px;
    margin-bottom: 5px;
}

/* bottone */
.bottoni{
    display: flex;
    justify-content: space-around;
}
.buttom{
    margin-top: 20px;
}

.buttom a{
    margin-top: 10px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    width: 260px;
    padding: 10px;
    border: 1px solid #ea5b0c;
    border-radius: 15px;
    transition: all 0.6s;
    transform: scale(0,9);
}

.buttom a:hover{
    font-weight: 700;
    text-decoration: none;
    color: white;
    width: 260px;
    padding: 10px;
    background: #ea5b0c;
    border-radius: 35px;
    border: none;
    transition: all 0.6s;
}


/* footer */

.footer{
    background: linear-gradient(145deg,#1e2024,#23272b);
    padding: 20px;
    margin-top: 15px;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}
.footer p{
    color: #b8b8b8;
}

.footer .content{
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.foot-logo p a{
    text-underline: none;
    color: #b8b8b8;
}

.foot-logo p a:hover{
    color: #ea5b0c;
}

.footer .fex-box{
    display: flex;
    justify-content: space-between;
    text-align: left;
    flex-wrap: wrap;
}

.navigazione{
    margin: 5px;
}

.navigazione ul li,
.navigazione ul li a{
    list-style: none;
    padding: 5px 0;
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    color: #b8b8b8;
    text-wrap: nowrap;

}

.navigazione ul li:hover,
.navigazione ul li a:hover {
    color: #ea5b0c;
}

.seguici{
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    flex-wrap: wrap;
}

.bottone a{
    display: block;
    width: 60px;
    height: 60px;
    text-decoration: none;
    text-align: center;
    line-height: 60px;
    border-radius: 6px;
    background: linear-gradient(45deg, #1c1e22, #26282a);;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    font-size: 18px;
    margin: 10px;
    color: #fff;
    transition: .3s;
}

.bottone a:hover{
    color: #ea5b0c;
    font-size: 20px;
    transform: translateY(-5px);
}




.copyright{
    padding: 20px 0;
}

/* mini */
.flex{
    display: flex;
}



/*  This is for styling the main container that holds everything */
#container {
    height: 100vh;
    width: 96%;
    position: relative;
    background: #f7f7f7;
}
#container2 {
    height: 100vh;
    width: 96%;
    position: relative;
    background: transparent;
}



/* This styles the aside container */
#aSide {
    height: 100vh;
    width: 100%;
    position: absolute;
}

/* This styles the 3D object inserted in the aside container */
#aSide model-viewer {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}





/** prova **/
model-viewer {
    width: 100%;
    height: 700px;
    background-color: transparent;
}
#container{
    background: transparent;
}

     /* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
    display: none;
}

model-viewer {
    background-color: transparent;
    overflow-x: hidden;
}

#ar-button {
    background-image: url(../assets/ic_modelviewer.svg);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 12px 50%;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    bottom: 132px;
    padding: 0px 16px 0px 40px;
    font-family: Roboto Regular, Helvetica Neue, sans-serif;
    font-size: 14px;
    color:#ea5b0c;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    border: 1px solid #DADCE0;
}

#ar-button:active {
    background-color: #E8EAED;
}

#ar-button:focus {
    outline: none;
}

#ar-button:focus-visible {
    outline: 1px solid #ea5b0c;
}

@keyframes circle {
    from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
    to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
    from { transform: translateX(100px); }
    to   { transform: translateX(-100px); }
}

model-viewer > #ar-prompt {
    position: absolute;
    left: 50%;
    bottom: 175px;
    animation: elongate 2s infinite ease-in-out alternate;
    display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
    display: block;
}

model-viewer > #ar-prompt > img {
    animation: circle 4s linear infinite;
}

model-viewer > #ar-failure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 175px;
    display: none;
}

model-viewer[ar-tracking="not-tracking"] > #ar-failure {
    display: block;
}

.slider {
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: absolute;
    bottom: 16px;
}

.slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slide {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    margin-right: 10px;
    border-radius: 10px;
    border: none;
    display: flex;
}

.slide.selected {
    border: 2px solid #ea5b0c;
}

.slide:focus {
    outline: none;
}

.slide:focus-visible {
    outline: 1px solid #ea5b0c;
}
.view-button {
    background: #fff;
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 12px;
    font-weight: 700;
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    width: max-content;
    height: max-content;
    transition: 1s;
    transform: translate3d(-50%, -50%, 0);
    cursor: pointer;
}

/** d-box **/
.dissattiva{
    left: 90%;
    top: 5%;
    font-size: x-large;
}
.attiva:hover{
    color: #ea5b0c;
}
.ok{
    position: fixed;
    cursor: pointer;
}
model-viewer{
    position: relative;
    z-index: 1000;
}

.no{
    position: fixed;
    left: -40%;
    width: 40%;
    height: 100%;
    top: 0;
    z-index: 9;
    overflow-y: scroll;
    background-color: #222;
    transition: trasform .5s ease-in-out;
    margin-right: 0;
    float: none;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}

.info{
    transform: translate3d(100%, 0, 0);
    transition: 1s;
    background: linear-gradient(145deg,#1e2024,#23272b);
    display: grid;
    padding: 5%;
    justify-items: center;
    align-content: space-evenly;
}
.no1{
    position: fixed;
    left: -40%;
    width: 40%;
    height: 100%;
    top: 0;
    z-index: 9;
    overflow-y: scroll;
    background-color: #222;
    transition: trasform .5s ease-in-out;
    margin-right: 0;
    float: none;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}

.info1{
    transform: translate3d(100%, 0, 0);
    transition: 1s;
    background: linear-gradient(145deg,#1e2024,#23272b);
    display: grid;
    padding: 5%;
    justify-items: center;
    align-content: space-evenly;
}
.dissattiva1{
    left: 90%;
    top: 5%;
    font-size: x-large;
}
.attiva1:hover{
    color: #ea5b0c;
}
.ok1{
    position: fixed;
    cursor: pointer;
}

.no2{
    position: fixed;
    left: -40%;
    width: 40%;
    height: 100%;
    top: 0;
    z-index: 9;
    overflow-y: scroll;
    background-color: #222;
    transition: trasform .5s ease-in-out;
    margin-right: 0;
    float: none;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}

.info2{
    transform: translate3d(100%, 0, 0);
    transition: 1s;
    background: linear-gradient(145deg,#1e2024,#23272b);
    display: grid;
    padding: 5%;
    justify-items: center;
    align-content: space-evenly;
}
.dissattiva2{
    left: 90%;
    top: 5%;
    font-size: x-large;
}
.attiva2:hover{
    color: #ea5b0c;
}
.ok2{
    position: fixed;
    cursor: pointer;
}

.no3{
    position: fixed;
    left: -40%;
    width: 40%;
    height: 100%;
    top: 0;
    z-index: 9;
    overflow-y: scroll;
    background-color: #222;
    transition: trasform .5s ease-in-out;
    margin-right: 0;
    float: none;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}

.info3{
    transform: translate3d(100%, 0, 0);
    transition: 1s;
    background: linear-gradient(145deg,#1e2024,#23272b);
    display: grid;
    padding: 2%;
    justify-items: center;
    align-content: space-evenly;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.dissattiva3{
    left: 90%;
    top: 5%;
    font-size: x-large;
}
.attiva3:hover{
    color: #ea5b0c;
}
.ok3{
    position: fixed;
    cursor: pointer;
}
.info3 button{
    background: transparent;
    border: transparent;
}
.info3 button:hover{
    transform: translateY(-15px);
}

.no4{
    position: fixed;
    left: -40%;
    width: 40%;
    height: 100%;
    top: 0;
    z-index: 9;
    overflow-y: scroll;
    background-color: #222;
    transition: trasform .5s ease-in-out;
    margin-right: 0;
    float: none;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
}

.info4{
    transform: translate3d(100%, 0, 0);
    transition: 1s;
    background: linear-gradient(145deg,#1e2024,#23272b);
    display: grid;
    padding: 2%;
    justify-items: center;
    align-content: space-evenly;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.dissattiva4{
    left: 90%;
    top: 5%;
    font-size: x-large;
}
.attiva4:hover{
    color: #ea5b0c;
}
.ok4{
    position: fixed;
    cursor: pointer;
}
.info4 button{
    background: transparent;
    border: transparent;
}
.info4 button:hover{
    transform: translateY(-15px);
}

.flex2{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}




@media only screen and (min-width: 1224px) and (max-width: 1200px) {
    .immagini{
        display: list-item;
    }
}
/**Desktop, IPad Pro**/
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .content{
        margin: 0 2%;
        width: 96%;
    }
}

/** Display 12", IPad Pro Portrait, Ipad landscape **/
@media only screen and (max-width: 1024px){
    .content{
        margin: 0 2%;
        width: 96%;
    }
    .buttom{
        margin-top: 20px;
    }
}

/** Display 5.5", IPad Portait, IPhone 6,6s,7,8,X,Xs,11, SE2 portrait and lendscape**/
@media only screen and (max-width: 868px){
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-6,
    .col-8,
    .col-10{
        float: none;
        width: 100%;
    }
    /* testo */
    h2{
        color: #b8b8b8;
        font-size: 28px;
        font-weight: 700;
        text-transform: uppercase;
    }
    h3{
        color: #b8b8b8;
        font-weight: 400;
        font-size: 28px;
        text-transform: uppercase;
    }
    h4{
        color: #ffffff;
        font-weight: 700;
        font-size: 20px;
        text-transform: uppercase;
    }

    p{
        color: #656364;
        font-weight: 400;
        font-size: 15px;
    }

    .nav{
        position: fixed;
        left: -330px;
        width: 320px;
        height: 100%;
        top: 0;
        z-index: 1001;
        overflow-y: scroll;
        background-color: #222;
        transition: trasform .5s ease-in-out;
        margin-right: 0;
        float: none;
        box-shadow: 4px 4px 12px rgba(0,0,0,0.4);
    }

    .navbar1{
        position: relative;
        z-index: 1000;
    }

    nav ul li ul{
        position: initial;
    }


    .wide{
        transform: translate(330px, 0);
        transition: 1s;
    }
    .wide::-webkit-scrollbar {
        width: 15px;
        border-radius: 10px;
    }
    .wide::-webkit-scrollbar-track {
        border-radius: 10px;
        border: 1px solid #cacaca;
        background-color: #222222;
    }
    .wide::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: 10px;
    }






    .nav li{
        display: block;
        line-height: 50px;
        width: 100%;
        height: auto;
    }
    /**
    .nav li:first-child{
        padding-top: 100px;
    }*/

    .navbar1{
        display: block;
    }
    .navbar img{
        width: 50%;
        margin-top: 10px;
    }

    nav ul ul {
        position: absolute;
        top: 40px;
        left: 0;
        z-index: 999999991;
        display: none;
        width: 200px;
        background-color: #222;
        padding-left: 15px;
    }
    nav ul br{
        display: none;
    }

    nav ul li:hover ul{
        width: 200px;
        display: block;
    }

    nav ul li ul{
        line-height: normal;
    }

    .header{
        width: 100%;
        height: 90px;
        background: url("../img/sfondo_header2020.jpg");
        padding-top: 10px;
    }

    nav ul ul li a{
        margin-inline-end: auto;
    }

    nav ul li:hover ul{
        width: 300px;
        display: block;
    }


    /* titolo */

    .titolo{
        background: transparent;
        width: 100%;
        height: 70px;
        display: flex;
        justify-content: center;
    }

    .taitol h1{
        color: white;
        font-size: 25px;
        text-transform: uppercase;
        text-align: center;
        font-weight: 700;
        border-bottom: 3px solid #ea5b0c;
        margin-top: 15px;
    }

    .buttom a{
        text-decoration: none;
        color: white;
        width: 160px;
        padding: 10px;
        border-radius: 10px;
        transition: all 0.3s;
        font-size: 10px;
        margin-left: 0;
        margin-right: 0;
    }

}

/** Discplay4", IPhone 5s portait**/
@media only screen and (max-width: 415px) {
    .header{
        width: 100%;
        height: 90px;
        background: url("../img/sfondo_header2020.jpg");
        padding-top: 10px;
    }


    /* titolo */

    .titolo{
        background: transparent;
        width: 100%;
        height: 70px;
        display: flex;
        justify-content: center;
    }

    .taitol h1{
        color: white;
        font-size: 22px;
        text-transform: uppercase;
        text-align: center;
        font-weight: 700;
        border-bottom: 3px solid #ea5b0c;
        margin-top: 15px;
    }

    /* testo */
    h2{
        color: #b8b8b8;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
    }
    h3{
        color: #b8b8b8;
        font-weight: 400;
        font-size: 16px;
        text-transform: uppercase;
    }
    h4{
        color: #ffffff;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
    }

    p{
        color: #656364;
        font-weight: 400;
        font-size: 10px;
    }

    .buttom a{
        text-decoration: none;
        color: white;
        width: 160px;
        padding: 10px;
        border-radius: 10px;
        transition: all 0.3s;
    }

}