:root {
    --softer-blue: #1A364C;
    --darker-blue: #0B2234;
    --softer-red: rgb(218, 97, 79);
    --darker-red: #b87474;
    --orange:#FF7F04;
    --text-light-blue: #C3E2F8;
    --orange-yellow:#ffcd60;
    --black: #111;
    --ga-grey: #383838;
    --ga-light-grey: #bbbbbb;
    --white:rgb(247, 247, 247);
    --regular-padding: 1rem 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*----------------

        Text

----------------*/

/* .highlight-underline {

    background:linear-gradient(180deg, transparent 60%, rgba(133, 49, 34, 0.6) 60%)
    
} */

body {
    font-family: 'Lato', sans-serif;
}

h1,h2,h3,p {
    color: var(--darker-blue);
}

.paragraph > p {
    font-size: .925rem;
    padding-top: 1rem;
    line-height: 1.375;
}

.paragraph ol {
    padding-top: 1.5rem;
}

.paragraph ol li {
    padding-bottom: 1.5rem;
}

form {
    font-size: .925rem;
}

form > h2 {
    font-size: 1.75rem;
}

.partner-btn {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--darker-blue);
}

.hidden-header ul li {
    font-size: 1.25rem;
    list-style-type: none;
}

.btn {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--darker-blue);
}

.go-back {
    display: inline-block;
    font-size: .875rem;
    color: var(--ga-light-grey);
    margin-bottom: 1.5rem;
    transition: color 0.2s ease-in-out;
}

.go-back:hover,
.go-back:active {
    color: var(--darker-blue);
}

.back-contatti {
    margin-top: 1rem;
    margin-left: 2rem;
}

.contatti {
    padding: 1rem 2rem 2rem;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    border-bottom: 1px solid rgba(11, 34, 52, 0.5);
}

.contatti p,
.contatti a {
    margin-bottom: 2rem;
    color: var(--darker-blue);
}

.contatti h3 svg {
    margin-right: .5rem;
}

/*----------------

        /Text

----------------*/


header{
    /* background-image: linear-gradient(90deg, rgba(78, 99, 218, 0.2) 30%, rgba(78, 99, 218, 0.7) 60%, hsla(231, 80%, 20%, 0.7) 100%); */
    background-image: linear-gradient(90deg, hsl(206, 30%, 60%) 50%, var(--softer-blue));
    display: flex;
    flex-direction: column;
    transition: height 0.6s ease-in-out;
    height: 90px;
    width: 100%;
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2.5rem 2.5rem;
}

.hidden-header {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    z-index: -1;
    transition: all 0.6s ease-in-out;
    opacity: 0.01;
}

.pointer-events {
    pointer-events: none;
}

.opacity {
    z-index: 3;
    opacity: 1;
}

.bodyfixed {
    overflow-y: hidden;
}

.hidden-header ul li {
    padding: 2rem 0;
}

.hidden-header ul li a {
    text-decoration: none;
    color: var(--darker-blue);
}

/* .light-blue {
    color: var(--orange);
} */

.partner-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0.75rem 1.125rem;
    margin: 1rem auto;
    justify-self: flex-end;
    margin-bottom: 2rem;
    width: 100%;
    border-radius: 6px;
    border: none;
    background-color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.partner-logo {
    height: 2.25rem;
    width: auto;
    padding-left: .25rem;
}

#header-logo{
    width: 10rem;
    max-width: 50vw;
    height: auto;

}

.header-toggled {
    height: 100vh;
}


.btn {
    position: relative;
    display: inline-block;
    margin: 2rem auto;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, #FFAE03, transparent) #FF7F04;
    padding: 1rem 2rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 4px 2px 1px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    cursor: pointer;
    max-width: 90%;
    text-align: center;
}

.secondary-btn {
    background: linear-gradient(90deg, #f4f5f7, transparent) #c3c8d8;
    color: var(--darker-blue);
    text-decoration: none;
}

.btn:hover,
.btn:active {
    background-color: var(--orange-yellow);
    box-shadow: none;
}

.secondary-btn:hover,
.secondary-btn:active {
    background-color: var(--white);
}

/*----------------

        Form

----------------*/

form {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--regular-padding);
}

form > h2 {
    margin: 1.375rem 0;
}

.form-flex-style {
    display: flex;
    flex-direction: column;
}

.privacy-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.label > input {
    padding-right: .375rem;
}

textarea {
    width: 100%;
    height: 10rem;
    resize: none;
}

input, textarea {
    font-family: 'Lato', sans-serif;
}

form > input,
.input > input,
textarea {
    width: 100%;
    padding: .55rem .75rem;
    margin: .5rem 0;
    background-color: var(--white);
    border: none;
    border-radius: 3px;
    box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset -1px -1px -1px -1px rgba(175, 175, 175, 0.1);
}

/*----------------

        /Form

----------------*/

/*----------------

        Footer

----------------*/

footer {
    padding: 2rem;
    background-color: var(--softer-blue);
    line-height: 2;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    font-size: .875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

footer p,
footer span{
    color: var(--white);
}

footer a {
    color: var(--white);
}

footer a:hover,
footer a:active {
    font-weight: 700;
}

.inline-block {
    display: inline-block;
}

.back-home {
    max-width: 1200px;
    margin: 0 auto;
}


/*----------------

        /Footer

----------------*/

/*----------------

        Hamb-Btn

----------------*/

.hamb-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
  }

.line {
    fill: none;
    stroke: var(--darker-blue);
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
  }
  .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }
  .opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
  }
  .opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }

  .reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  
  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  }
  
  /*----------------

        /Hamb-Btn

----------------*/

.display-mobile {
    display: none;
}

@media screen and (max-width:380px){


    .partner-btn {
        font-size: 1.25rem;
        justify-content: center;
    }

    .partner-logo {
        height: 1.875rem;
        padding-left: .75rem;
    }

    .display-mobile {
        display: block;
    }

    .display-desktop {
        display: none;
    }

}

@media screen and (min-width:768px) and (max-width: 955px){
    #hidden-header ul li{
        font-size: 1rem;
        margin: 0 max(0.5rem, 1.5vw);
    }

    .partner-btn {
        min-width: 12rem;
        font-size: 1rem;
        margin: 0 max(0.5rem, 1.5vw);
        align-items: center;
    }
}


@media screen and (min-width:768px){

    #hidden-header ul li a {
        color: #f4f5f7;
    }

    #hidden-header ul li a span {
        color: var(--text-light-blue);
    }

    .partner-btn {
        max-width: 20rem;
        transition: all .2s ease-in-out;
    }

    .partner-btn:hover,
    .partner-btn:active {
        background-color: var(--darker-blue);
        color: var(--text-light-blue);
    }

    .form-flex-style {
        flex-direction: row;
        justify-content: space-between;
    }

    .input {
        width: 48%;
    }

    .header-wrapper {
        height: 5.5rem;
        padding: 1.5rem 2.5rem 2.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    #hidden-header {
        background: linear-gradient(to left, #555555 50%, #414141 75%);
        padding: .875rem 2rem;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: auto;
        z-index: 1;
        transition: none;
        opacity: 1;
        pointer-events: all;
        width: 100%;
        margin: 0 auto;
    }

    .partner-btn {
        height: 3.5rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.125rem;
        margin: 0;
        margin-bottom: 0;
        width: auto;
        border-radius: 6px;
        border: none;
        background-color: var(--ga-light-grey);
        text-decoration: none;
        cursor: pointer;
        margin: 0 max(1rem, 3vw);
        min-width: 11rem;
    }

    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }

    .hidden-header ul {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .hidden-header ul li {
        width: fit-content;
        padding: 0;
        margin: 0 max(1rem, 3vw);
        text-align: center;
    }

    .hover-underline-animation {
        display: inline-block; 
        position: relative; 
        color: var(--text-light-blue); 
    }
    
    .hover-underline-animation::after {
        content: ''; 
        position: absolute; 
        width: 100%; 
        transform: scaleX(0); 
        height: 2px; 
        bottom: 0; 
        left: 0; 
        bottom: -2px;
        background-color: var(--text-light-blue); 
        transform-origin: bottom right; 
        transition: transform 0.25s ease-out; 
    }
      
      .hover-underline-animation:hover::after {
        transform: scaleX(1); 
        transform-origin: bottom left; 
    }

    .back-contatti {
        margin-top: 7rem;
    }

    .footer-wrapper {
        flex-direction: row;
    }

    .footer-links {
        margin-left: 6rem;
    }


}

@media screen and (min-width:955px){

}