@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html, body, button, input, textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 0;
}
body {
    overflow-x: hidden;
}
div, span, input, textarea, section, p, header, footer {
    box-sizing: border-box;
}

.for-mobile {
    display: none;
}
.for-desktop {
    display: inline-block;
}

header {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
}

.cover {
    margin: 0 auto;
    width: fit-content;
    height: 100%;
    text-align: center;
}

header .hero {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

header .hero .wrapper {
    text-align: center;
    margin-top: 47px;
}

header .hero .wrapper h1 {
    font-size: 40px;
    font-weight: bold;
    color: #033683;
    padding-bottom: 34px;
    padding-top:58px;
    margin: 0;
}

header .hero .wrapper p {
    color: #ffffff;
    font-size: 20px;
    margin: 0;
}

.cover svg {
    height: 100%;
    width: auto;
    display: inline-block;
}

section {
    padding: 0;
    margin: 0;
}

section .content {
    width: 1440px;
    height: fit-content;
    margin: 0 auto;
}

section .content .row {
    display: flex;
    justify-content: stretch;
    height: 30vw;
}

section .content .row .column {
    width: 50%;    
    height: 100%;
    position: relative;
}
section .content .row .column.text {
    display: flex;
    align-items: center;
    align-content: center;
}

section .content .row .column svg.right {
    position: absolute;
    right: 0;
} 
section .content .row .column svg.left {
    position: absolute;
    left: 0;
}

section .content .row .column > svg {
    width: auto;
    height: 100%;    
}

section .content .row .column.text p {
    padding-top: 25px;
    color: #595959;
    margin: 0;
}

a.link {
    color: #033683;
    /*font-weight: bold;*/
    font-size: 15px;
    display: block;
    padding-top: 10px;
}

a.link svg {
    
    margin-bottom: -3px;
    margin-left: 5px;
}

section .content .row .column.text h2 {
    margin: 0;
    padding: 0;
    color: #033683;
    font-weight: normal;
    font-size: 20px;
}
section.thankyou {
    margin: 50px 0 100px 0;
}
section.thankyou h2,
section.policy h2 {
    margin: 0;
    padding: 0;
    color: #033683;
    font-weight: normal;
    font-size: 30px;
    text-align: center;
}
section.thankyou p {
    text-align: center;
    font-size: 15px;
}
section.thankyou a {
    text-decoration: none;
    color: #033683;
    font-weight: bold;
}
section .content .row .column.text .wrapper {
    margin-bottom: 100px;
}

section.bottom .cover {
    background-image: url('images/bottom.svg');
    background-size: cover;
    background-position: top center;
    height: 844px;
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

section.bottom .cover .wrapper {
    width: 30%;
    color: #033683;
    padding-top: 135px;
}
section.bottom .cover .wrapper h2 {
    font-size: 30px;
}

section.bottom .cover .wrapper p {
    margin-bottom: 45px;
}

.form input[type="text"], 
.form textarea {
    border-radius: 20px;
    background-color: #ffffff;
    border: none;
    height: 40px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    outline: none;
    color: #595959;
    cursor: text;
} 

.form input[type="checkbox"]{
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background: none;
    border: 2px solid #033683;
    appearance: inherit;
}

.form input[type="checkbox"]:checked {
    background-color: #033683;
}

.form textarea {
    height: 130px;
    border-radius: 20px;
    padding-top: 20px;
   resize: none;
}

.form .form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.form .form-row.privacy {    
    align-items: center;
    align-content: center;
    justify-content: start;    
}
.form .form-row.privacy label {
    padding-left: 12px;
    font-weight: bold;
    font-size: 10px;
}

.form .form-row .form-col {
    width: 48%;
}

#btn-invia {
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
    background-color: #033683;
    border: 0;
    border-radius: 20px;
    height: 40px;
    width: 162px;
    margin: 0 auto;
    cursor: pointer;
}
#btn-invia:hover {
    background-color: #2356a3;
}

footer .wrapper {
    text-align: center;
    padding-bottom: 26px;
    color: #595959;
    
}
footer .wrapper .row {
   display: flex;
    align-content: start;
    justify-content: center;
    align-items: start;
    gap: 40px;
    
}

footer .wrapper .row .column  {
  width: fit-content;
  text-align: left;
}

footer .wrapper svg.logo {
    padding: 48px 0;
}

footer .wrapper span {
    font-size: 12px;
}

footer .wrapper p  {
    line-height: 18px;
}

footer .wrapper p span {
    display: inline-block;
    width: 260px;
    font-size: 12px;
    line-height: 18px;
}

footer .wrapper a {
    color: #595959;
    text-decoration: none;
}

footer .wrapper svg.green {
    margin: 10px 0;
}

div.overlay {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, .4);
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
div.overlay.active {
    display: flex;
}
div.overlay .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 12px;
    width: 500px;
}

div.overlay .modal-content .centered {
    padding-top: 20px;
    text-align: center;
}
div.overlay .modal-content .centered a {
    color: #033683;
    font-weight: bold;
    text-transform: uppercase;
}
div.overlay .modal-content .centered a:hover {
    color: #2356a3;
}

@media screen and (max-width: 1440px){
    .hero svg {
        height: 80px;
        width: auto;
    }

    header .hero .wrapper h1 {
        font-size: 30px;
        padding-bottom: 24px;
        padding-top: 28px;
    }

    .content {
        width: 80%;
    }
    section .content .row {
        height: fit-content;
        justify-content: space-around;
    }
 
    section .content .row .column {
        height: 600px;
        width: 45%;
    }

    section .content .row .column.text {
        padding-left: 25px;
    }
}


@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes rotating {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg) scale(1);
      transform-origin: center center;
      transform-box: fill-box;
      background-color: yellow;
    }
    to {
      -ms-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg) scale(.9);
      transform-box: fill-box;
      transform-origin: center center;
        
    }
  }
  
  @keyframes cloud {
    from {
      -ms-transform: translateX(0);
      -moz-transform: translateX(0);
      -webkit-transform: translateX(0);
      -o-transform: translateX(0);
      transform: translateX(0);
      transform-origin: center center;
      transform-box: fill-box;
      background-color: yellow;
    }
    to {
      -ms-transform: translateX(75px);
      -moz-transform: translateX(75px);
      -webkit-transform: translateX(75px);
      -o-transform: translateX(75px);
      transform: translateX(75px);
      transform-box: fill-box;
      transform-origin: center center;
        
    }
  }

  #to-right {
    -webkit-animation: cloud 5s linear infinite alternate;
    -moz-animation: cloud 5s linear infinite alternate;
    -ms-animation: cloud 5s linear infinite alternate;
    -o-animation: cloud 5s linear infinite alternate;
    animation: cloud 5s linear infinite alternate;
  }

  #to-left {
    -webkit-animation: cloud 5s linear infinite alternate-reverse;
    -moz-animation: cloud 5s linear infinite alternate-reverse;
    -ms-animation: cloud 5s linear infinite alternate;
    -o-animation: cloud 5s linear infinite alternate-reverse;
    animation: cloud 5s linear infinite alternate-reverse;
  }


  #pale {
    -webkit-animation: rotating 8s linear infinite;
    -moz-animation: rotating 8s linear infinite;
    -ms-animation: rotating 8s linear infinite;
    -o-animation: rotating 8s linear infinite;
    animation: rotating 8s linear infinite;
  }

  #ruote1, #ruote2 {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
  }

#world {
    -webkit-animation: rotating 50s linear infinite;
    -moz-animation: rotating 50s linear infinite;
    -ms-animation: rotating 50s linear infinite;
    -o-animation: rotating 50s linear infinite;
    animation: rotating 50s linear infinite;
  }

  #right1, #right2 {
    -webkit-animation: rotating 8s linear infinite alternate;
    -moz-animation: rotating 8s linear infinite alternate;
    -ms-animation: rotating 8s linear infinite alternate;
    -o-animation: rotating 8s linear infinite alternate;
    animation: rotating 8s linear infinite alternate;
  }

  #left1 {
    -webkit-animation: rotating 8s linear infinite alternate-reverse;
    -moz-animation: rotating 8s linear infinite alternate-reverse;
    -ms-animation: rotating 8s linear infinite alternate;
    -o-animation: rotating 8s linear infinite alternate-reverse;
    animation: rotating 8s linear infinite alternate-reverse;
  }

  @-webkit-keyframes pulse /* Safari and Chrome */ {
    from {
      -webkit-transform: scale(1);
      -o-transform: scale(1);
      transform: scale(1);
    }
    to {
      -webkit-transform: scale(.8);
      -o-transform: scale(.8);
      transform: scale(.8);
    }
  }
  @keyframes pulse {
    from {
      -ms-transform: scale(1);
      -moz-transform: scale(1);
      -webkit-transform: scale(1);
      -o-transform: scale(1);
      transform: scale(1);
      transform-origin: center center;
      transform-box: fill-box;
    }
    to {
      -ms-transform: scale(.8);
      -moz-transform: scale(.8);
      -webkit-transform: scale(.8);
      -o-transform: scale(.8);
      transform: scale(.8);
      transform-box: fill-box;
      transform-origin: center center;
    }
  }

  #sun-idee {
    -webkit-animation: pulse 2s linear infinite alternate;
    -moz-animation: pulse 2s linear infinite alternate;
    -ms-animation: pulse 2s linear infinite alternate;
    -o-animation: pulse 2s linear infinite alternate;
    animation: pulse 2s linear infinite alternate;
  }

 #sun {
    -webkit-animation: pulse 2s linear infinite reverse;
    -moz-animation: pulse 2s linear infinite reverse;
    -ms-animation: pulse 2s linear infinite reverse;
    -o-animation: pulse 2s linear infinite reverse;
    animation: pulse 2s linear infinite reverse;
  }


  @keyframes updown {
    from {
      -ms-transform: translateY(0px) rotate(0deg); 
      -moz-transform: translateY(0px) rotate(0deg);
      -webkit-transform: translateY(0px) rotate(0deg);
      -o-transform: translateY(0px)rotate(0deg);
      transform: translateY(0px) rotate(0deg);
      transform-box: fill-box;
    }
    to {
      -ms-transform: translateY(5px) rotate(-3deg); 
      -moz-transform: translateY(5px) rotate(-3deg); 
      -webkit-transform: translateY(5px) rotate(-3deg); 
      -o-transform: translateY(5px) rotate(-3deg); 
      transform: translateY(5px) rotate(-3deg);  
      transform-box: fill-box;
      transform-origin: center center;
        
    }
  }

  #fumo {
    -webkit-animation: updown 0.2s linear infinite alternate;
    -moz-animation: updown 0.2s linear infinite alternate;
    -ms-animation: updown 0.2s linear infinite alternate;
    -o-animation: updown 0.2s linear infinite alternate;
    animation: updown 0.5s linear infinite alternate;
  }

  
  @keyframes bounce2 {
    from {transform: translateY(0);}
    to {transform: translateY(-10px);}
    
  }

  #ico1 {
    animation: bounce2 2s linear infinite alternate;
  }

  #ico2 {
    animation: bounce2 2.6s linear infinite alternate;
    
  }

  #ico3 {
    animation: bounce2 2.2s linear infinite alternate;
    
  }

  #ico4 {
    animation: bounce2 2.8s linear infinite alternate;
    
  }

  #ico5 {
      animation: bounce2 2.4s linear infinite alternate;

  }

/* COOKIE LAW */
.cookie-law {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    z-index: 1000;
}
.cookie-law .content {
    position: absolute;
    left: 0;
    bottom: 0;
    height: auto;
    padding: 50px 25px;
    background-color: #000000;
    color: #ffffff;
    width: 100%;
}
.cookie-law a {
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
}
.cookie-law a:hover {
    text-decoration: underline;
}
.cookie-law .content .row {
    gap: 20px;
    width: fit-content;
    height: auto;
    display: flex;
    margin: 0 auto;
}
.cookie-law * {
    font-size: 1em;
}
.cookie-law p {
    text-align: left;
}
.cookie-button {
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
    background-color: #033683;
    border: 0;
    border-radius: 20px;
    height: 40px;
    width: 162px;
    margin: 0 auto;
    cursor: pointer;
}
.cookie-button:hover {
    background-color: #2356a3;
}

section.policy {
    font-size: 15px;
}