html, body, header{
    height: 100%;
}
body{
    background-color: #131313;
}
section{
    padding: 80px 0px;
}
.container{
    width: 1140px;
    margin: 0 auto;
}
.row{
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.img-fluid{
    object-fit: cover;
}
/* PRELOAD */
#preload{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #131313;
    z-index: 11;
}
#preload{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#preload .container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}
.jelly-triangle {
    --uib-size: 44px;
    --uib-speed: 1.75s;
    --uib-color: black;
  
    position: relative;
    top: 50%;
    left: 50%;
    height: var(--uib-size);
    width: var(--uib-size);
    filter: url('#uib-jelly-triangle-ooze');
  }
  
  .jelly-triangle__dot,
  .jelly-triangle::before,
  .jelly-triangle::after{
    content: '';
    position: absolute;
    width: 33%;
    height: 33%;
    background: var(--uib-color);
    border-radius: 100%;
  }
  
  .jelly-triangle__dot {
    top: 6%;
    left: 30%;
    animation: grow var(--uib-speed) ease infinite;
    background-color: #2B4B9A;
}
  .jelly-triangle::before {
    bottom: 6%;
    right: 0;
    animation: grow var(--uib-speed) ease calc(var(--uib-speed) * -0.666)
      infinite;
    background-color: #379975;
    }
  
  .jelly-triangle::after {
    bottom: 6%;
    left: 0;
    animation: grow var(--uib-speed) ease calc(var(--uib-speed) * -0.333)
      infinite;
      background-color: #F2632B;
  }
  
  .jelly-triangle__traveler {
    position: absolute;
    top: 6%;
    left: 30%;
    width: 33%;
    height: 33%;
    background: #FFFFFF;
    border-radius: 100%;
    animation: triangulate var(--uib-speed) ease infinite;
  }
  
  .jelly-maker {
    width: 0;
    height: 0;
    position: absolute;
  }
  
  @keyframes triangulate {
    0%,
    100% {
      transform: none;
    }
  
    33.333% {
      transform: translate(120%, 175%);
    }
  
    66.666% {
      transform: translate(-95%, 175%);
    }
  }
  
  @keyframes grow {
    0%,
    100% {
      transform: scale(1.5);
    }
  
    20%,
    70% {
      transform: none;
    }
  }
.cerchio{
    position: absolute;
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    fill: transparent;
    stroke-width: 10px;
    stroke: #F2632B;
    stroke-dasharray: 244%;
    stroke-dashoffset: 10%;
    animation: spin 2s ease forwards;
}
.cerchio:nth-of-type(1){
    transform: translate(-50%, -50%) rotate(180deg);
}
.cerchio:nth-of-type(2){
    width: 270px;
    height: 270px;
    stroke: #379975;
    stroke-dasharray: 244%;
    stroke-dashoffset: 15%;
}
.cerchio:nth-of-type(3){
    width: 290px;
    height: 290px;
    stroke: #2B4B9A;
    stroke-dasharray: 244%;
    stroke-dashoffset: -70%;
}

/*font*/
h1, h2, h3, h4, h5, h6, a{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
}
h1,h2,h3, h4{
    margin-bottom: 25px;
}

span{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #F2632B;
}
h1{
    font-size: 3em;
}

h2{
    color: #F2632B;
    font-size: 2em;
    text-transform: uppercase;
}
h3{
    font-size: 1.3em;
    text-transform: uppercase;
    color: #F2632B;
}
h4{
    font-size: 1.2em;
}
h5{
    font-size: 1.1em;
    font-family: 'Roboto', sans-serif;
}
h6{
    font-size: 1em;
}
p{
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
}
a:hover{
    color:#F2632B;
}

.spanFormazione{
    color: #379975;
}

/*BTN*/
.btn, .btn-due{
    border: 1px solid #F2632B;
    border-radius: 10px;
    min-width: 200px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oxygen', sans-serif;
}
.btn a, .btn-due a{
    font-size: .8em;
    text-transform: uppercase;
    line-height: .6em;
}
.btn:hover a{
    color: #F2632B;
}
header .btn:hover a{
    color: #000000;
}
.btn:hover,.btn:focus{
    --hover: #{adjust-hue(f2632b, 45deg)};
    box-shadow: 0 0.5em 0.5em -0.4em var(--hover);
    transform: translateY(-0.25em);
}
.btnTre{
    border: none;
    text-align: left;
    background: none;
    border-bottom: 1px solid #F2632B;
}

/*BUTTON EFFECT*/
.btn{
    position: relative;
    --c: goldenrod;
    overflow: hidden;
}
.bubble {
    position: absolute;
    width: calc((25%) + 24px);
    height: 100%;
    background-color: var(--c);
    transform: translateY( 150%);
    border-radius: 50%;
    left: calc((var(--n) - 2) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}
.btn:hover {
    color: black;
}
.btn:hover .bubble {
    transform: translateY(0) scale(2);
}
.bubble:nth-child(1) {
    --n: 1;
}
.bubble:nth-child(2) {
    --n: 2;
}
.bubble:nth-child(3) {
    --n: 3;
}
.bubble:nth-child(4) {
    --n: 4;
}
.btn-due{
    background-color: #F2632B;
  }
.btn-due a {
    color: #FFFFFF;
  }
.btn-due:hover a{
    color: #131313;
  }
/*NAV*/
nav{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;     
    width: 100%;
    padding-top: 10px;
}
.aos-animate[data-aos="fondo"] {
    position: fixed;
    background-color: rgba(0, 0, 0, .5);
}
.aos-animate[data-aos="fondo"] .boxImg{
    max-width: 3vw;
}
nav[data-aos]{
    pointer-events: visible;
}
nav ul{
    padding: 0;
}
li{
    list-style: none;
}
nav .row{
    width: 100%;
    align-items: center;
}
nav .col-2{
    transform: rotate(180deg);
    transform-origin: center center;
}
nav .boxImg{
    max-width: 7vw;
    height: auto;
}
#fullMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(242,99,43,.9);
    z-index: 4;
    text-align: center;
    overflow: hidd      en;     
}
#fullMenu .container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#fullMenu ul{
    flex-direction: column;
}
#fullMenu ul li{
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}
#fullMenu ul li.active {
    animation: up .5s ease;
    
    animation-fill-mode: forwards;
}
#fullMenu ul li.active:nth-of-type(2){
    animation-delay: .5s;
}
#fullMenu ul li.active:nth-of-type(3){
    animation-delay: 1s;
}
#fullMenu ul li.active:nth-of-type(4){
    animation-delay: 1.5s;
}
#fullMenu ul li.active:nth-of-type(5){
    animation-delay: 2      s;
}
#fullMenu ul li a:hover{
    color: #000000;
    transition:all .5s ease-in-out;
}
.hamburger{
    max-width: 25px;
    max-height: 25px;
    cursor: pointer;
    margin: 0;
}
.ham{
    display: block;
    height: 3px;
    width: 25px;
    background-color: #FFFFFF;
    margin-bottom: 5px;
    transform: translate(0, 0) rotate(0);
    transform-origin: 50% 50%;
}
.ham:nth-of-type(2){
    width: 15px;
}
.ham:nth-of-type(3){
    width: 20px;
}
.active
.effectOne{
    animation: hamburgerEffect 1s ease;
    animation-fill-mode: forwards;
    margin: 0;
}
.ham:nth-of-type(2).effectOne{
    display: none;
}
.ham:nth-of-type(3).effectOne{
    animation: hamburgerEffectTwo 1s ease forwards;
    width: 25px;
}
header{
    position: relative;
}
video{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    top: 0px;
    left: 0px;
}
header .container{
    position: relative;
    height: 100%;
}
.wrapperTitoli, .wrapperSocial{
    z-index: 2;
    position: absolute;
}
.wrapperTitoli{
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}
.wrapperTitoli span{
    display: block;
    text-align: left;
    color: #FFFFFF;
}
.wrapperTitoli .btn{
    margin-bottom: 10px;
}
.wrapperSocial{
    bottom: 5%;
    right: 0%;
    display: flex;
}       
.wrapperSocial svg{
    width: 30px ;
    height: auto;
    fill: #FFFFFF;
    margin-left: 10px;
}
.wrapperSocial svg .cls-2, footer .wrapperSvg .cls-2{
    stroke: #131313;
    stroke-width: 5px;
}
.wrapperSocial svg path.cls-2, footer .wrapperSvg path.cls-2{
    border-radius: 10%;
}
footer #instaIcon *{
    fill: #FFFFFF;
}
.wrapperSocial svg:hover, footer .wrapperSvg:hover{
    transition: all .5s ease;
    transform-origin: 50% 50%;
    transform: scale(1.1);
}
#about .row{
    align-items: center;
}
#about .boxText{
    text-align: right;
    padding-left: 25%;
}
#about .boxImg{
    max-height: 30vh;
    object-fit: cover;
}
#about .boxText .btn{
    margin-left: calc(100% - 200px);
}
#about h3{
    padding: 0px 10%;
}
#cta{
    padding: 0px;
}
#cta .row{
    align-items: center;
    position: relative;
    min-height: 45vh;
}
#cta .boxImg{
    max-height: 40vh;
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-25%, -50%);
}
#cta .boxImg.active{
    animation: moveToCenter 1s 10s ease forwards;
}
#cta .logo{
    width: 100%;
    height: 40vh;
    object-fit: contain;
}
.logo-g *, .logo-ub *, .logo-srl *{
    fill: #FFFFFF!important;
}
 .st4, .st5, .st6{
    opacity: 1;
    transform-origin: center center;
    transform: rotate(0deg);
    opacity: 0;
}
.st4.active, .st5.active, .st6.active{
    animation: rotFade 1s ease-in-out forwards;
}
.st6.active{animation-delay: 2.5s;}
.st5.active{animation-delay: 6s;}
.st4.active{animation-delay: 9.5s;}
#cta h3{
    position: relative;
    margin-bottom: 25px;
}
#cta h3::after{
    content: '';
    width: 150px;
    height: 1px;
    background-color: #FFFFFF;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}
#cta .boxText{
    min-height: 20vh;
}  
#cta .boxText.active{
    animation: fadeOut 1s 10s ease forwards;
}
#cta .wrapper{
    margin: 25px auto;
    max-width: 230px;
    min-height: 10vh;
    position: relative;
}
#cta .wrapper:nth-of-type(2){
    max-width: 280px;
}
#cta .wrapper:nth-of-type(3){
    max-width: 320px;
    
}
#cta span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

    font-size: 2.6em;
    
    overflow: hidden;
    border-right: .15em solid transparent;
    white-space: nowrap; 
    margin: 0 auto;
    width: 0;
}
#cta span.active{
    animation:scrivi 3.5s steps(15, end), cursore .75s step-end infinite;  
}
#cta .wrapper:nth-of-type(1) span.active{
    animation:scrivi 3.5s steps(15, end), cursore .75s step-end infinite, disappear 1s 2.5s forwards;
    color: #2B4B9A;
}
#cta .wrapper:nth-of-type(2) span.active{
    animation:scrivi 3.5s 3s steps(15, end), cursore .75s step-end infinite, disappear 1s 7s forwards;
    color: #379975;
}
#cta .wrapper:nth-of-type(3) span.active{
    animation:scrivi 4s 5s steps(15, end), cursore .75s step-end infinite, disappear 1s 11s forwards;
}

.containerAd .boxText{
    border: 1px solid #F2632B;
    width: 31%;
    margin: 10px 1%;
    height: 200px;
    display: flex;
    align-items: center;
}
.containerAd .row{
    flex-wrap: wrap;
}
.containerAd h4{
    width: 100%;
}


#unimarconi h2{
    color: #FFFFFF;
}
#unimarconi .row {
    align-items: center;
}
#unimarconi .boxText{
    padding: 10%;
    text-align: center;
}
#unimarconi .col-5 .btn{
    margin: 0 auto;
}
#webAgency .row{
    margin-bottom: 30px;
    overflow: visible;
    flex-wrap: wrap;
}
#webAgency .col-3{
    margin-bottom: 35px;
}
#webAgency .boxText{
    border: 1px solid #F2632B;
    padding: 20px 30px;
    min-height: 22vh;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#webAgency .boxText h4{
    font-weight: 700;
}
#webAgency .boxText h5{
    margin-bottom: 25px;
}
#webAgency .row, #advisory .row, #secMappa .row{
    align-items: center;
}
#webAgency .col-8 .wrapper *, #advisory .col-8 *, #secMappa .col-8 *{
    text-align: right;
    padding-left: 25%;
}
.spanWeb{
    position: absolute;
    top: -15%;
    left: 0%;
    font-size: 3em;
    color: #FFFFFF;
    background-color: #131313;
}
#form .row .row{
    width: 98%;
    margin: 0 1%;
    flex-direction: column;
}
#form form{
    text-align: center;
}
#form .wrapper{
    position: relative;
    margin: 25px 0px;
}
.spanForm{
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 5px;
    position: absolute;
    top: -19px;
    left: 30px;
}
#form input{
    width: 100%;
    height: 50px;
    background: none;
    border: none;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    color: #FFFFFF;
    padding: 2%;
}
#form input::placeholder, textarea::placeholder{
    font-size: .9em;
    color: rgba(255, 255, 255, .6);
    line-height: 50px;
}
textarea::placeholder{
    line-height: .9em;
}
textarea{
    width: 100%;
    min-height: 150px;
    max-height: 400px;
    word-wrap: break-word;
    background-color: transparent;
    color: #FFFFFF;
    padding: 20px;
}


#form .row .row:nth-of-type(2) .wrapper:nth-of-type(2){
    margin: 10px 0px;
}
#form .col-6:nth-of-type(2) h4{
    margin: 0;
    text-align: left;
}
#form .col-6:nth-of-type(2) a{
    font-size: .9em;
    text-decoration: underline;
}
#form label{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
#form label p{
    width: 90%;
    margin: 0;
    text-align: left;
}
#form input[type="checkbox"]{
    width: 10%;
    height: 15px;
    max-width: 15px;
    margin-right: 10px;
}

#form input[type="submit"]{
    width:200px;
    height: 50px;
    font-size: 1em;
    line-height: 50px;
    padding: 0;
    color: #FFFFFF;
    border: 1px solid #F2632B;
    text-transform: uppercase;
}
#form input[type="submit"]:disabled{
    background-color: rgba(255,255,255,.4);    
}
.nascosto{
    height: 1px;
    width: 0px;
}
input:invalid {
	border-color: red;
}
input, input:valid {
	border-color: #F2632B;
}
#thanks{
    display: none;
}
#thanks .btn{
    color: #F2632B;
    margin: 0 auto;
}
#secMappa{
    position: relative;
    padding-bottom: 55vh;
}
#secMappa{
    overflow: hidden;
}
#secMappa .col-4{
    border-left: 1px solid #F2632B;
} 
.containerMappa{
    position: absolute;
    bottom: 0%;
    right: 0%;
    width: 75vw;
    height: 50vh;
}

.containerMappa::after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: #F2632B;
    position: absolute;
    top: 0%;
    left: 0%;
    mix-blend-mode: hue;
    pointer-events: none;    
}
#mappa{
    opacity: 1;
    width: 100%;
    height: 100%;
}
footer{
    padding-top: 80px;
}
footer .wrapperImg{
    width: 9%;
    margin: 0 auto;
}
footer .row{
    padding: 80px 0px;
    align-items: center;
}
footer .col-4 p{
    font-size: 12px;
}
footer .row.col-4{
    justify-content: center;
}
footer .row .wrapperSvg{
    width: auto;
}
footer .row .col-4:nth-of-type(3){
    text-align: right;
}

#why .boxText, #aboutFormazioneDue .boxText{
    display: none;
}
  #why .boxText.active, #aboutFormazioneDue .boxText.active{
    display: block;
}
  #why h4, #aboutFormazioneDue h4{
    letter-spacing: 0;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid #F2632B;
    margin-top: 25px;
    position: relative;
}
  #why h4::after, #aboutFormazioneDue h4::after{
    content: '';
    width: 10px;
    height: 100%;
    position: absolute;
    right: 0px;
    bottom: 25%;
    transform: rotate(45deg);
    transform-origin: center center;
    background-image: url(/img/svg/arrow_web.svg);
    background-repeat: no-repeat;
    background-position: 100% 100%;
    transition: all .5s ease-in-out;
}
  #why h4.active::after, #aboutFormazioneDue h4.active::after{
    transform: rotate(0deg);
}

/* Tablet in modalità verticale */
@media (min-width: 768px) and (max-width: 991px) {
    .container{
        width: auto;
        margin: 0 10px;
        padding: 0;
    }
    .row{
        flex-wrap: wrap;
    }
    nav{
        width: 100vw;
        padding: 10px 0px;
    }
    #unimarconi .row .row{
        flex-direction: row;
        width: 100%;
    }
}
/* Smartphone o piccoli Tablet */
@media (max-width: 767px) {
    .jelly-triangle{
        left: 0;
    }
    .container{
        width: auto;
        max-width: initial;
        margin: 0 10px;
        padding: 0;
    }
    .row{
        flex-wrap: wrap;
    }
    nav{
        width: 100vw;
    }
    nav .col-2{
        width: 16.666667%;
    }
    nav .boxImg, .aos-animate[data-aos="fondo"] .boxImg{
        max-width: 15vw;
    }
    #fullMenu ul li{
        margin: 0px 0px 15px 0px;
    }
    .wrapperTitoli{
        top: auto;
        left: 0px;
        bottom: 10%;
        transform: none;
        align-items: flex-start;
    }
    header .btn{
        margin: 0px;
    }
    h1{
        margin-bottom: 50px;
        text-align: left;
    }
    h2{
        font-size: 2em;
    }
    h4{
        letter-spacing: 0;
    }
    .btn{
        margin: 0px auto 25px auto;
    }
    #about .boxText{
        text-align: center;
        padding: 0;
    }
    #webAgency .col-8 .wrapper *, #advisory .col-8 *, #secMappa .col-8 *{
        text-align: center;
        padding-left: 0;
    }
    .col-6, .col-5, .col-2, .col-8, .col-4{
        width: 100%;
        height: auto;
    }
    #cta .boxImg{
        position: relative;
        max-height: 100%;
        transform: none;
        left: 0;
    }
    #cta .boxImg.active{
        animation: none;
    }
    .st6.active{animation-delay: 1.5s;}
    .st5.active{animation-delay: 2s;}
    .st4.active{animation-delay: 2.5s;}
    #cta .boxText{
        display: none;
    }
    #advisory{
        padding: 0;
    }
    .containerAd{
        width: 100%;
        height: auto;
        position: relative;
    }
    .containerAd .boxText{
        width: 48%;
    }
    .col-2 .boxImg{
        max-width: 50%;
        margin: auto;
    }
    #webAgency .row{
        margin-bottom: 45px;
    }
    #webAgency .col-3{
        width: 48%;
        min-height: 200px;
        margin: 0 1%;
    }
    #webAgency .boxText{
        padding: 30px 10px;
        min-height: 300px;
    }
    #form input{
        min-height: 50px;
    }
    .spanForm{
        left: 10px;
    }
    #form label p{
        text-align: left;
    }
    .containerMappa{
        width: 100%;
        height: 50vh;
    }
    footer .wrapperImg{
        width: 15%;
    }
    footer .col-4{
        width: 50%;
    }
    footer .row .col-4:nth-of-type(3){
        text-align: left;
    }
    footer .row .col-4 .btn{
        margin: 0;
    }
    .row.col-4{
        flex-direction: column;
        align-items: center;
        margin:0;
    }
    .col-4 .wrapperSvg{
        margin-bottom: 20px;
    }
}
@keyframes spin {    0%{stroke-dasharray: 30%;} 100%{stroke-dasharray: 244%;}  }
@keyframes hamburgerEffect{    0%{transform:translate(0,0) rotate(0);} 100%{transform:translate(0, 2px) rotate(45deg);}    }
@keyframes hamburgerEffectTwo{    0%{transform:translate(0, 0) rotate(0deg);} 100%{transform:translate(0, 0) rotate(-45deg);}   }
@keyframes scrivi {     0% {width: 0%;} 50% {width: 100%;} 100%{width: 0%;}  } 
@keyframes cursore {    from, to { border-color: transparent;} 50% { border-color: #FFFFFF;}    }
@keyframes disappear{   0%{opacity: 1;} 100%{ opacity: 0;}  }
@keyframes moveToCenter {   0%{top: 50%; left: 25%; transform: translate(-25%, -50%);} 100%{top: 50%; left:50%; transform: translate(-50%, -50%);}  }
@keyframes rotFade{ 0%{transform: rotate(0deg); opacity: 0;} 100%{ transform: rotate(360deg); opacity: 1;}  }
@keyframes fadeOut{ 0%{opacity: 1;} 100%{ opacity: 0;}  }
@keyframes up {     0%{opacity: 0; transform: translateY(20px);} 100%{opacity: 1; transform: translateY(0px);}  }