/* navbar */

nav {
  border-bottom: 1px solid transparent;
}

.s1-button {
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgb(234, 90, 88);
  background: -moz-linear-gradient(124deg, rgba(234, 90, 88, 1) 0%, rgba(241, 146, 125, 1) 100%);
  background: -webkit-linear-gradient(124deg, rgba(234, 90, 88, 1) 0%, rgba(241, 146, 125, 1) 100%);
  background: linear-gradient(124deg, rgba(234, 90, 88, 1) 0%, rgba(241, 146, 125, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ea5a58", endColorstr="#f1927d", GradientType=1);
  padding: 3px 15px;
  text-align: center;
}

@media screen and (max-width: 990px) {
  .s1-button {
    background: transparent;
    padding: 3px 15px;
    text-align: center;
    border: 1px solid white;
    border-radius: 8px;
  }

}

.s1-logo {
  width: 150px;
}

.bg-white {
  background-color: #fff;
}

/* seconda sezione */

.bg-1st {
  background: rgb(31, 146, 208);
  background: -moz-linear-gradient(45deg, rgba(31, 146, 208, 1) 0%, rgba(95, 108, 175, 1) 69%);
  background: -webkit-linear-gradient(45deg, rgba(31, 146, 208, 1) 0%, rgba(95, 108, 175, 1) 69%);
  background: linear-gradient(45deg, rgba(31, 146, 208, 1) 0%, rgba(95, 108, 175, 1) 69%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1f92d0", endColorstr="#5f6caf", GradientType=1);
  background-repeat: no-repeat;
  background-size: 100%;
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.img-header {
  position: absolute;
  width: 50%;
  bottom: 0;
  right: 0;
}

.background-header-lg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s1-text {
  display: block;
  padding: 100px 15px;
}

.border-white {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Terza sezione */

.s3-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

@media screen and (max-width: 990px) {
  .s1-text {
    padding: 70px 15px;
  }

  .s3-content {
    padding: 0 10px;
  }

  .img-header {
    display: none;
  }

  .bg-1st {
    height: 65vh;
  }
}

/* quarta sezione */
.line-bg {
  background-image: url('/images/line.svg');
  background-repeat: no-repeat;
  background-size: auto;
}

.line-bg img {
  width: 100%;
}

.line-bg .row {
  margin-left: 0;
  margin-right: 0;
}


.s4-content-margin {
  margin-bottom: 100px;
}

.line-img {
  max-width: 300px;
  height: auto;
}

.line-num {
  max-width: 100px;
  height: auto;
}

.text-negative-margin {
  margin-top: -80px;
}

@media screen and (max-width: 990px) {
  .line-bg {
    background-image: none;
  }

  .line-img {
    max-width: 300px;
    height: auto;
  }
}

@media screen and (max-width: 770px) {
  .line-num {
    display: none;
  }

  .text-negative-margin {
    margin-top: 30px;
  }

  .line-img {
    margin-top: 30px;
  }

  .blue-spacer {
    background: rgb(31, 146, 208);
    background: -moz-linear-gradient(45deg, rgba(31, 146, 208, 1) 0%, rgba(95, 108, 175, 1) 69%);
    background: -webkit-linear-gradient(45deg, rgba(31, 146, 208, 1) 0%, rgba(95, 108, 175, 1) 69%);
    background: linear-gradient(45deg, rgba(31, 146, 208, 1) 0%, rgba(95, 108, 175, 1) 69%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1f92d0", endColorstr="#5f6caf", GradientType=1);
    height: 10px;
    display: block;
    margin: 70px 0;
  }

  .s4-content-margin {
    margin-bottom: 50px;
  }

  .line-bg img {
    width: auto;
  }
}


/* quinta sezione */

.s5Card {
  background: rgb(87, 119, 222);
  background: -moz-linear-gradient(224deg, rgba(87, 119, 222, 1) 0%, rgba(90, 138, 163, 1) 32%, rgba(0, 134, 226, 1) 81%);
  background: -webkit-linear-gradient(224deg, rgba(87, 119, 222, 1) 0%, rgba(90, 138, 163, 1) 32%, rgba(0, 134, 226, 1) 81%);
  background: linear-gradient(224deg, rgba(87, 119, 222, 1) 0%, rgba(90, 138, 163, 1) 32%, rgba(0, 134, 226, 1) 81%);
  border: 0px solid transparent;
  border-radius: 20px;
  padding: 50px 50px;
}

.s5Card .container {
  padding: 0;
}

.s5-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

@media screen and (max-width: 580px) {
  .s5Card {
    border-radius: 0px;
  }

  .s5 {
    padding-top: 0px;
  }
}

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

  .s5-content {
    padding-top: 20px;
  }

}