/*

viola scuro #2c336e
viola chiaro #5a539a
grigio chiaro #ededed
arancio accento #f7a941
verde accento #afcb08
verde #27EB80
 */

@font-face {
    font-family: 'Arsenal';
    src: url('../fonts/arsenal-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Arsenal';
    src: url('../fonts/arsenal-bolditalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Arsenal';
    src: url('../fonts/arsenal-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Arsenal';
    src: url('../fonts/arsenal-italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}


/********************************************

    OVERRIDES

 *********************************************/

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Arsenal", "Arial", sans-serif;
    position: relative;
    background-color: #ededed;

    font-weight: 300;
    font-variant-numeric: lining-nums;

    scroll-behavior: smooth;
}

b, strong {
    font-weight: 700;
}

a.btn, button.btn {
    background-color: #fff;
    border: none;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    font-size: 18px;
    padding: 8px 16px;
    color:#000;
}

a.btn:hover, a.btn:active, button.btn:hover, button.btn:active {
    background-color: #27EB80;
    color:#000;
    border: none;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

h2 {
    font-weight: 900;
    font-size: 48px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

h3 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.nav-pills .nav-link.active {
    background-color: #5a539a;
}

.nav-pills .nav-link.active:hover {
    background-color: #2c336e;
}

.nav-link {
    color: #000;
}

.nav-link:hover, .nav-link:active {
    color: #5a539a;
}


/********************************************

    SEZIONI

 *********************************************/

#sezioneHeader{
    height:100vh;
    width: 100%;
    margin: 0;

    color: #fff;

    position: relative;
}

#floatingMenu{
    width: 100%;
    height: 60px;
    padding:20px 30px;
    margin: 0;
    display: block;

    color: #fff;

    position: fixed;
    top:0;
    left: 0;
    z-index: 999;

    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
}

#floatingMenu.hide {
    display: none;
}

#sezioneHeader .unita {
    margin-top:60px;
}

.cookielawdiv {
    position: fixed;
    bottom:0;
    z-index: 999;
    padding:20px;
    left:10%;
    width:80%;
    background-color: rgba(0,0,0,0.7);
    color:#ffffff;
    text-align: center;
}

.cookielawdiv a:not(.btn) {
    color:#fff;
}

.cookielawdiv #accNone {
    position: absolute;
    top:-20px;
    right:-20px;
}

.cookielawdiv p {
    margin: 0px;
    margin-bottom: 5px;
}

#sezioneHeader h1 {
    font-weight: 900;
    font-size: 48px;
    margin-top: 60px;
}

#sezioneHeader h3 {
    margin: 30px 0;
}

#identity{
    position: absolute;
    top: 60px;
    left: 120px;
    z-index: 999;
}

#identityFloat img{
    height:20px;
}

#mainmenuFloat {
    position: absolute;
    right:30px;
    top:20px;
    text-align: right;


}

#mainmenuFloat a{
    margin-left: 10px;
    font-weight: 700;
    color: #fff;
}

#identity img{
    height: 60px;
}

#mainmenu {
    position: absolute;
    top: 80px;
    right: 120px;
    font-weight: 700;
    color: #fff;
    z-index: 999;
}
#mainmenu a {
    margin-left: 10px;
}

#mainmenu a:link, #mainmenu a:visited,
#mainmenuFloat a:link, #mainmenuFloat a:visited,
#sezioneCredits a:link, #sezioneCredits a:visited,
#sezioneFooter a:link, #sezioneFooter a:visited{
    color: #fff;
    text-decoration: none;
}

#mainmenu a:hover, #mainmenu a:active,
#mainmenuFloat a:hover, #mainmenuFloat a:active,
#sezioneCredits a:hover, #sezioneCredits a:active,
#sezioneFooter a:hover, #sezioneFooter a:active{
    color: #27EB80;
    text-decoration: underline;
}



.carousel-inner {
    height: 100vh;
}

.carousel-inner .carousel-image {
    height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-caption {
    bottom: calc(50vh - 100px);
    text-shadow: 0px 0px 5px rgba(0,0,0,0.4);
}


#sezioneFiera{
    background-image: url("../images/banner-fiera.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    font-size: 18px;

    color: #fff;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.4);
    position: relative;
}

#sezioneFiera .content {
    width: 40%;
    padding:60px;
    position: absolute;
    left:60px;
    top:60px;
    background-color: rgba(0,0,0,0.4);
}

#sezioneNewsletter{
    background-image: url("../images/passerella1.jpg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    font-size: 18px;

    color: #fff;
    position: relative;
}

#sezioneNewsletter2{
    background-image: url("../images/passerella2.jpg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    position: absolute;
    right:00px;
    top:00px;
    opacity: 1;
    z-index: 300;
    animation: fadeIn 1s infinite alternate;
}

@keyframes fadeIn {
    from { opacity: 0; }
}


#sezioneNewsletter .content {
    z-index: 1000;
    width: 40%;
    padding:60px;
    position: absolute;
    right:60px;
    top:60px;
}

#sezioneNewsletter h2 {
    display: block;
    position: absolute;
    left:60px;
    top:60px;
    font-weight: 700;
    font-size: 10em;
    text-transform: uppercase;
    z-index: 500;
}

#sezioneNewsletter a {
    color: #fff;
}

#sezioneNumeri{
    background-image: url("../images/incisione.jpg");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    font-size: 18px;

    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
}

#sezioneNumeri .content {
    z-index: 1000;
    width: 100%;
    padding:60px;
    text-align: center;
}

#sezioneNumeri .content .number {
    font-size: 3em;
    font-weight: 700;
}

#sezioneNumeri .content .icona {
    margin:0 auto;
    height: 128px;
    width: 96px;
    position: relative;
}

#sezioneNumeri .content .icona img {
    position: absolute;
    width: 100%;
    bottom:0;
    left:0;
}

#sezioneFilati{
    background-image: url("../images/filati.jpg");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    font-size: 18px;

    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#sezioneFilati .content {
    z-index: 1000;
    width: 100%;
    padding:60px;
    background-color: rgba(0,0,0,0.8);
}

#sezioneFilati h2 {
    display: block;
    position: absolute;
    right:60px;
    font-weight: 700;
    font-size: 10em;
    text-transform: uppercase;
    z-index: 500;
    animation-duration: 100s;
    animation-name: loopTextFilati;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

}

@keyframes loopTextFilati {
    0% { bottom:0px; }
    50% { bottom:-1000px; }
    100% { bottom:0px;; }
}

#sezioneTessuti{
    background-image: url("../images/tessuti.jpg");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    padding: 60px;
    font-size: 18px;

    color: #fff;
    position: relative;
    overflow: hidden;
}

#sezioneTessuti .content {
    z-index: 1000;
    max-width: 600px;
    width: 80%;
    position: absolute;
    right:60px;
    top:60px;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.4);
}

#sezioneTessuti h2 {
    display: block;
    position: absolute;
    left:-100vw;
    bottom:60px;
    font-weight: 700;
    font-size: 14em;
    text-transform: uppercase;
    z-index: 500;
    opacity:0.4;
    text-shadow: none;
    animation-duration: 100s;
    animation-name: loopText;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

}

@keyframes loopText {
    0% { left:-50vw; }
    50% { left:100vw; }
    100% { left:-50vw; }
}


#sezioneRicerca{
    background-image: url("../images/ricerca.gif");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    font-size: 18px;

    color: #fff;
    position: relative;
}

#sezioneRicerca .content {
    z-index: 1000;
    max-width: 600px;
    width: 80%;
    padding: 120px 60px;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
}

#sezioneRicerca h2 {
    font-weight: 700;
    font-size: 6em;
    text-transform: uppercase;
}

#sezionePrototipia{
    background-image: url("../images/ricamo1.jpg");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    padding: 60px;
    font-size: 18px;

    color: #fff;
    position: relative;
    overflow: hidden;
}

#sezionePrototipia2{
    background-image: url("../images/ricamo2.png");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    color: #fff;
    top:-100vh;
    right:-50vw;
    position: absolute;
    z-index: 400;

}

#sezionePrototipia2.posizione{
    transition: all 1s ease;
    right:0; top:0;
}


#sezionePrototipia .content {
    z-index: 1000;
    max-width: 600px;
    width: 80%;
    position: absolute;
    right:60px;
    bottom:60px;
}

#sezionePrototipia h2 {
    display: block;
    position: absolute;
    left:60px;
    top:60px;
    font-weight: 700;
    font-size: 14em;
    text-transform: uppercase;
    z-index: 500;
    opacity:0.4;
}

#sezioneProduzione{
    background-image: url("../images/cucire.jpg");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    padding: 60px;
    font-size: 18px;

    color: #fff;
    position: relative;
}

#sezioneProduzione .content {
    z-index: 1000;
    max-width: 600px;
    width: 80%;
    position: absolute;
    left:60px;
    top:60px;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.4);
}

#sezioneProduzione h2 {
    display: block;
    position: absolute;
    right:60px;
    bottom:60px;
    font-weight: 700;
    font-size: 12em;
    text-transform: uppercase;
    z-index: 500;
}

#particles-js {
    z-index: 1000;
    width: 100%;
    height:100vh;
    position: absolute;
    right:0px;
    top:0px;
}


#sezioneAzienda {
    background-image: url("../images/natura.jpg");
    background-position: left;
    background-size: 200%;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;

    font-size: 18px;

    color: #000;
    position: relative;
}

#sezioneAzienda2  {
    background-image: url("../images/tshirt.png");
    background-size: 200%;
    background-repeat: no-repeat;
    background-position-x:-25vw;
    background-position-y:-50vh;
    z-index: 300;
    height:100vh;
    width: 100%;
    position: absolute;
    transition: all 1s;

    backdrop-filter: blur(0px);

}



#sezioneAzienda .content {
    z-index: 1000;
    max-width: 600px;
    width: 80%;
    position: absolute;
    right:60px;
    top:60px;
}

#sezioneAzienda .content .certificazioni {
    max-width: 400px;
    width:60%;
}

#sezioneAzienda h2 {
    display: block;
    position: absolute;
    left:60px;
    top:120px;
    font-weight: 700;
    font-size: 14em;
    text-transform: uppercase;
    color:#fff;
    z-index: 500;
}


/**********************************
FOOTER
 */



#sezioneFooter{
    background-image: url("../images/city.jpg");

    background-attachment: fixed;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height:100vh;
    width: 100%;
    padding: 60px;
    text-align: left;
    font-size: 18px;

    color: #fff;
    position: relative;
}

#particlesFooter{
    position: absolute;
    bottom:0;
    left:0;
    height:60vh;
    width: 100%;
}

#sezioneFooter .brand{
    margin-bottom: 30px;
    height:60px;
}

#sezioneFooter .social img {
    height: 90px;
    margin: 60px;
}


#sezioneCredits{
    position: absolute;
    bottom:30px;
    left:0;
    text-align: center;
    width: 100%;
    padding: 0;
    font-size: 14px;
}

/************************************************************

    MEDIA QUERIES

************************************************************ */

@media screen and (max-width: 1200px) {
    #sezioneFiera .content {
        width: 100%;
        left:0;
        padding:30px;
    }

    #sezioneFiera h2 {
        font-size: 4em;
    }

    #sezioneNewsletter .content{
        padding:30px;
        width: 50vw;
        right:0;
        top:30px;
    }

    #sezioneRicerca .content{
        padding:30px;
    }



    #sezioneNewsletter h2 {
        font-size: 6em;
    }

    #sezioneFilati h2  {
        font-size: 8em;
    }

    #sezioneProduzione h2 {
        font-size: 6em;
    }

    #sezionePrototipia h2 {
        font-size: 8em;
    }

    #sezioneAzienda h2 {
        font-size: 6em;
    }

    #sezioneAzienda2 {
        background-position-x: -40vw;
        background-position-y: -20vh;
        background-size: 300%;
    }

    .carousel-caption {
        bottom: calc(50vh - 100px);
        text-shadow: 0px 0px 5px rgba(0,0,0,0.4);
    }
}


@media screen and (max-width: 992px) {
    #sezioneNewsletter h2 {
        font-size: 4em;
    }

    #sezioneFiera h2 {
        font-size: 2em;
    }

    #sezioneFiera .content {
        top:0;
    }

    #sezioneNumeri .content .number {
        font-size: 2.5em;
        font-weight: 700;
    }

    #sezioneNumeri .content {
        font-size: 14px;
        padding:30px;
    }

    #sezioneRicerca .content {
        width:100%;
        padding:30px;
        top:auto;
        bottom:0;
        height: auto;
        position: absolute;
    }

    #sezioneRicerca h2 {
        font-size: 2em;
    }

    #sezioneTessuti h2 {
        bottom:0px;
        font-size:10em;
    }

    #sezionePrototipia h2 {
        bottom:0;
        top:auto;
        left:30px;
        font-size:6em;
    }

    #sezioneProduzione h2 {
        bottom:30px;
        right:30px;
        font-size:6em;
        opacity:0.4;
    }

    #sezioneAzienda2 {
        background-position-x: -70vw;
        background-position-y: -100vh;
    }

    #sezioneAzienda h2 {
        top:auto;
        left:30px;
        bottom:0px;
    }

    #sezioneCredits {
        bottom:30px;

    }

    #sezioneFooter, #sezioneFiera {
        background-attachment: local;
    }

}



@media screen and (max-width: 768px) {

    #identity{
        top: 60px;
        left: 30px;
    }


    #sezioneNumeri .content {
        font-size: 14px;
        padding:30px;
    }



}

@media screen and (max-width: 576px) {

    #sezioneFooter{
        padding: 60px 30px;
    }

    #sezioneFooter .social img {
        height: 60px;
        margin: 30px;
    }

    #sezioneNewsletter .content{
        padding:30px;
        width: 100%;
        right:0;
        top:200px;
    }

    #sezioneNewsletter h2 {
        font-size: 4em;
        top:30px;
        left:30px;
    }



    #sezioneNumeri .content .icona {
        width: 64px;
        height: 96px;
    }

    #sezioneFiera .content {
        padding:30px;
    }

    #sezioneFiera .content h2 {
        font-size: 2em;
    }

    #sezioneFilati .content {
        padding:30px;
    }

    #sezioneFilati h2 {
        font-size: 4em;
        right: 30px;
    }

    #sezioneTessuti .content {
        right:30px;
    }

    #sezioneTessuti h2 {
        font-size: 3em;
    }

    #sezioneRicerca {
        position: relative;
        background-size: 250vh;
        background-position-y: -50vh;
    }

    #sezioneRicerca .content {
        width:100%;
        padding:30px;
        top:auto;
        bottom:0;
        height: auto;
        position: absolute;
    }

    #sezioneRicerca h2 {
        font-size: 2em;
    }

    #sezionePrototipia .content {
        width:100%;
        right:0px;
        padding:30px;
    }

    #sezionePrototipia h2 {
        font-size: 3em;
        left:30px;
    }


    #sezioneProduzione .content {
        width:100%;
        top:30px;
        left:0;
        padding:30px;

    }

    #sezioneProduzione h2 {
        font-size: 3em;
        bottom:30px;
        right:30px;
    }

    #sezioneAzienda {
        background-size: cover;
        background-position:center;
        position: relative;
    }

    #sezioneAzienda2 {
        background-size: 500%;
        background-position-x:-240vw;
    }

    #sezioneAzienda h2{
        bottom: 30px;
        top:auto;
        left:30px;
        font-size: 3em;
    }

    .carousel-caption h2 {
        font-size: 2em;
    }


}
