@font-face {
    font-family: "Aspekta";
    font-style: normal;
    font-stretch: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Aspekta-600.woff2');
}

*{
    margin: 0;
    padding: 0;
}

:root{
    --arancio: #EC6726; 
    --grigio: #B3B3B3;
    --nero: #000;
    --bianco: #fff;
}

body{
    font-family: "Aspekta";
    background-color: var(--arancio);
    /*overflow-x: hidden;*/
}

input:focus, textarea:focus, select:focus{
    outline: none;
}


header{
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;

    margin-bottom: 100vh;

    position: fixed;
    top: 0;  
    left: 0;
    z-index: 5;
}

.logo{
    width: 100%;
    height: 319px;
    height: 22.153vw;
    overflow: hidden;
    z-index: 10;
    /*
    background: url('../img/logoHeader.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    */
}
.logo svg{
    width: 100%;
    height: 100%;
}

.secondaryLogo{
    width: 100%;
    height: 41px;
    height: 2.847vw;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 11;
    /*
    background: url('../img/logoHeader2.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    */
}
.secondaryLogo svg{
    width: 100%;
    height: 100%;
}

.headerElements{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
    z-index: 10;
}

.hero {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 5;
  }

  .hero img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: scale(0.8); 
    z-index: 0;
  }

  .mask {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .mask div {
    position: absolute;
    z-index: 2;
  }

  .top,
  .bottom,
  .left,
  .right{
    background-color: var(--arancio);
  }

  .top {
    top: 0;
    transform-origin: center top;
    width: 100%;
    height: 22%;
    left: 0;
  }

  .bottom {
    bottom: 0;
    transform-origin: bottom center;
    width: 100%;
    height: 22%;
    left: 0;
  }

  .left {
    left: 0;
    transform-origin: center left;
    height: 100%;
    width: 38.5%;
    top: 0;
  }

  .right {
    right: 0;
    transform-origin: right center;
    height: 100%;
    width: 38.5%;
    top: 0;
  }


h1{
    font-size: 64px;
    line-height: 0.9;
}
h2{
    font-size: 48px;
    line-height: 1;
}
h3{
    font-size: 30px;
    line-height: 1;
}
p{
    font-size: 18px;
    line-height: 1.2;
}

.bigCopy{
    font-size: 30px;
    line-height: 1.2;
}

.grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.sl2{
    width: 100%;
    box-sizing: border-box;
    padding: 0px;
    padding-top: 22px;
    padding-bottom: 296px;
    background-color: var(--nero);
    position: relative;
    z-index: 50;
}

.carousel-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-top: 94px;
    /**/
    height: 452px;
}

.carousel-track {
    display: flex;
    position: absolute;
    left: 0;
    align-items: flex-start;
}
.carousel-item {
    flex-shrink: 0;
    object-fit: contain;
    width: 500px;
    height: auto;
    margin-right: 10px;
 /**/
    width: 322px;
}



.sl2 h1{
    color: white;
    padding-left: 20px;
}

.sl3{
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 20px;
    padding-bottom: 282px;    
}

.sl3 h3 {
    grid-column: span 5;
}

.sl3 p {
    grid-column: span 7;
}

.line {
    display: block; 
    overflow: hidden;
}

.sl4{
    padding-bottom: 200px;
}

.fieldBox{
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    border-top: 1px solid var(--nero);
}

.fieldBox:last-child{
    border-bottom: 1px solid var(--nero);
}


.fieldBox .fieldName{
    font-size: 64px;
    line-height: 1;
    color: var(--nero);
}

.fieldBox .fieldNumber{
    font-size: 18px;
    line-height: 1;
}

.sl5{
    background-color: var(--grigio);
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 200px;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.sl5 .pCont{
    grid-column: span 7;
    padding-left: 20px;
}

.splide{
    width: 100%;
    height: 400px;
    grid-column: span 12;
    margin-top: 290px;
    display: flex;
    box-sizing: border-box;
}
.splide__slide{
    width: 25vw;
    height: 100%;
    border-left: 1px solid var(--nero);
    box-sizing: border-box;
    padding-left: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.splide__slide:first-child{
    margin-left: 20px;
}

.splide__slide span{
    font-size: 18px;
    line-height: 1;
}

.dragCursor{
    position: fixed;
    top: 0;
    left: 0;
    user-select: none;
    pointer-events: none;
    z-index: 85;
    
    border-radius: 20px;
    font-size: 14px;
    box-sizing: border-box;
    padding: 10px 15px;

    background-color: var(--arancio);
    color: var(--nero);
    transform: scale(0);
}

.sl6{
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 20px;
    padding-bottom: 280px;
}

.sl6 h2{

}

.portfolioCont{
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.contactCont{
    grid-column: 7/13;
    display: flex;
    flex-direction: column;
    gap: 44px;
}


.cta{
    height: auto;
    box-sizing: border-box;
    padding: 20px 25px;
    border-radius: 50px;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    color: var(--bianco);
    background-color: var(--nero);
    border-style: none;
}

.cta:hover{
    color: var(--nero);
    background-color: var(--grigio);
}

.ctaSecondary{
    border-radius: 50px;
    border: 1px solid var(--nero);
    color: var(--nero);
    background-color: var(--arancio);
}
.ctaSecondary:hover{
    border: 1px solid var(--nero);
    color: var(--bianco);
    background-color: var(--nero);
}

form{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 34px;
}
.inputFields{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
}
form button{
    width: 100%;
    height: auto;
}

input,
button,
textarea{
    font-family: "Aspekta";
    font-size: 12px;
    line-height: 1;
}

.grecaptcha-badge{
    visibility: hidden;
}

.formData{
    width: calc(50% - 10px);
    height: auto;
    padding-bottom: 10px;
    border-style: none;
    background-color: unset;
    border-bottom: 1px solid var(--nero);
    color: var(--nero);
}

textarea{
    box-sizing: border-box;
    padding: 15px;
    width: 100%;
    background-color: unset;
    border: 1px solid var(--nero);
    height: 240px;
}

.formData::placeholder,
textarea::placeholder{
    color: var(--nero);
}
.formStuff{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.notice,
.notice a{
    font-size: 10px;
    color: var(--nero);
    margin-top: -10px;
}

/* checkbox */
.checkbox{

}
.checkbox label{
    font-size: 12px;
    line-height: 1.1;
    padding-left: 50px;
    padding-top: 3px;
}
.checkbox a{
    color: var(--nero);
    text-decoration: underline;
}
.checkbox a:hover{
    color: var(--grigio);
    text-decoration: underline;
}
.checkboxContainer {
    display: block;
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkboxContainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    border: 1px solid var(--nero);
    background-color: unset;
}
.checkboxContainer input:checked ~ .checkmark {
    background-color: black;
    height: 32px;
    width: 32px;
    border: 1px solid var(--nero);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkboxContainer input:checked ~ .checkmark:after {
    display: block;
}
.checkboxContainer .checkmark:after {
    left: 11px;
    top: 6px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* end checkbox */


.wrapper{
    width: 100%;
    height: auto;
    margin-bottom: 100vh;
    background-color: var(--arancio);
    z-index: 1;
}

footer{
    box-sizing: border-box;
    padding: 20px;
    background-color: var(--nero);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.ftrLogo{
    width: 100%;
    height: 407px;
    height: 28.264vw;
    background: url('../img/logoFooter.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.ftrLink{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.ftrLink div{
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.ftrLink p,
.ftrLink a{
    font-size: 16px;
    color: var(--bianco);
    text-decoration: none;
}

.ftrLink a:hover{
    color: var(--grigio);
    text-decoration: none;
}


.sectionSend{
    background-color: var(--arancio);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    height: 100vh;
}
.sectionSend h1{
    line-height: 1;
}


@media (min-width: 320px) and (max-width: 767px) {
  


    h1{
        font-size: 30px;
    }
    h2{
        font-size: 28px;
    }
    h3{
        font-size: 24px;
    }
    p{
        font-size: 14px;
    }


    header{
        padding: 16px;
    }
    .headerElements{
        flex-direction: column;
        align-items: center;
    }
    .headerElements p:nth-child(2){
        display: none;
    }

    .logo{
        height: 82px;
        height: 21.867vw;
    }
    .secondaryLogo{
        height: 22px;
        height: 5.314vw;
        top: 72%;
    }
    .hero img{
        /*
        background: url('../headerImage-mob.jpg');
        */
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .top,
    .bottom{
        height: 30%;
    }
    .left,
    .right{
        width: 20%;
    }

    .sl2 h1{
        padding-left: 16px;
    }

    .sl2{
        padding-top: 16px;
        padding-bottom: 145px;
    }
    .carousel-container{
        margin-top: 60px;
    }
    .sl3{
        padding: 16px;
        padding-bottom: 70px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .sl3 h3{
        grid-column: span 12;
        font-size: 22px;
        margin-bottom: 150px;
    }
    .sl3 p{
        grid-column: span 12;
        font-size: 22px;
    }
    .fieldBox{
        padding: 10px 16px;
    }
    .fieldBox .fieldName{
        font-size: 44px;
    }
    .fieldBox .fieldNumber{
        font-size: 14px;
    }
    .sl4{
        padding-bottom: 150px;
    }
    .sl5{
        padding: 16px;
        padding-bottom: 150px;
        padding-right: 0px;
    }
    .sl5 .pCont{
        grid-column: span 12;
        padding-left: 0;
        padding-right: 16px;
    }
    .splide{
        margin-top: 96px;
    }
    .splide__slide:first-child{
        margin-left: 16px;
    }

    .bigCopy{
        font-size: 22px;
    }
    .splide__slide span{
        font-size: 14px;
    }

    .splide__slide{
        width: 60%;
    }

    .sl6{
        padding: 16px;
        padding-bottom: 120px;
    }
    .portfolioCont {
        grid-column: span 12;
        height: auto;
        border-bottom: 1px solid var(--nero);
        gap: 20px;
        padding-bottom: 80px;
        margin-bottom: 48px;
    }
    .contactCont{
        grid-column: span 12;
    }
    .cta{
        padding: 16px 20px;
        font-size: 16px;
    }
    .formData{
        width: 100%;
    }
    .ftrLink,
    .ftrLink div{
        flex-direction: column;
        align-items: center;
        gap: 10px
    }
    
}