header {
  background-color: #00386b;
}

header nav {
  padding: 35px;
  max-width: 1280px;
  margin: 0 auto;
  display: flow-root;
}

header nav #logo {
  height: 57px;
  float: left;
}

header nav ul {
  list-style: none;
  float: right;
  margin: 17px 0;
}

header nav ul li {
  float: left;
  font-weight: 500;
  margin-right: 50px;
}

header nav ul li:last-child {
  margin-right: 0;
}

header nav ul li a {
  color: #ffffff;
  transition: 0.1s ease-out;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

/* pagine */
a.btn {
  color: var(--text-color);
  border: var(--text-color) 2px solid;
  padding: 10px 40px;
  border-radius: 0;
  text-transform: uppercase;
}

a.btn:hover {
  color: #fff;
  background-color: var(--text-color);
}

section aside {
  width: 50%;
  float: left;
}

.l {
  float: left;
}
.r {
  float: right;
}

.content h1 {
  color: var(--main-color);
  font-weight: bolder;
  font-size: 50pt;
  text-transform: uppercase;
}

.content h2 {
  color: var(--main-color);
  font-weight: bolder;
  font-size: 40pt;
}

section {
  position: relative;
  overflow: hidden;
  padding-bottom: 250px;
}

.move-your-image p {
  margin: 30px 0;
  width: 50%;
}

.shop #myi-calendar,
.move-your-image #myi-calendar {
  background-image: url("/static/sign/img/homepage_first.png");
  width: 300px;
  height: 500px;
  background-size: contain;
  background-repeat: no-repeat;
}

.move-your-image::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent #eee;
  position: absolute;
  left: 0;
}

.move-your-image .content::after {
  content: "< scopri di più";
  display: block;
  transform: rotate(-90deg);
  position: absolute;
  right: 0;
  bottom: 250px;
  font-style: italic;
  color: #444;
  animation: move-u-d 2s infinite;
}

@keyframes move-u-d {
  0% {
    bottom: 275px;
  }
  50% {
    bottom: 250px;
  }
  100% {
    bottom: 275px;
  }
}

.triangle-image {
  background-color: #eee;
}

.triangle-image p {
  color: var(--text-color);
}

.triangle-image #image-trng {
  background-image: url(/static/sign/img/triangle_image.png);
  width: 90%;
  height: 700px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.triangle-image #image-trng::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 150px 0 0 1525px;
  border-color: transparent transparent transparent #eee;
  position: absolute;
  left: 0;
  bottom: 0;
}

.triangle-image #image-trng::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 150px 0 0 1525px;
  border-color: #eee transparent;
  position: absolute;
  left: 0;
  top: 0;
}

.invest .content::after,
.triangle-image .content::after {
  content: "torna sopra >";
  display: block;
  transform: rotate(-90deg);
  position: absolute;
  left: 0;
  bottom: 330px;
  font-style: italic;
  color: #444;
  animation: move-u-d2 2s infinite;
}

@keyframes move-u-d2 {
  0% {
    bottom: 355px;
  }
  50% {
    bottom: 330px;
  }
  100% {
    bottom: 355px;
  }
}

.triangle-image::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  left: 0;
}

.shop-sc .ul {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-items: center;
}

.shop-sc .li {
  float: left;
  width: 55%;
  height: 450px;
  list-style: none;
  padding: 50px 20px;
  border: var(--text-color) 3px solid;
  position: relative;
}

.shop-sc .li h3,
.shop-sc .li h6 {
  font-weight: 600;
  font-size: 2.5rem;
}

.shop-sc .li p {
  color: #aaa;
}

.shop-sc .b {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  padding: 20px;
}

.shop-sc .li h6 {
  font-size: 2rem;
}

.try a:not(.btn),
.shop-sc a:not(.btn) {
  height: 48px;
  display: block;
  color: var(--text-color);
  text-decoration: underline;
}

.shop-sc::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent rgba(7, 90, 165, 0.1);
  position: absolute;
  left: 0;
}

.invest {
  background-color: rgba(7, 90, 165, 0.1);
}

.invest .r {
  padding-top: 50px;
}

.button-group {
  margin: 30px 0;
}

.button-group .btn {
  margin-right: 20px;
}

.button-group .btn:last-child {
  margin: 0;
}

.invest #myi-screen {
  background-image: url("/static/sign/img/homepage_first.png");
  width: 300px;
  height: 500px;
  background-size: contain;
  background-repeat: no-repeat;
  float: right;
  margin: 0 70px;
}

.invest::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 0;
}

.platform ul {
  display: grid;
  grid-template-columns: repeat(3, 33.3%);
  justify-items: center;
  list-style: none;
}

.platform li {
  display: grid;
  justify-items: center;
}

.platform li div {
  font-weight: bold;
  width: 65%;
  text-align: center;
}

.platform li .icon {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: var(--main-color);
  border: #ffffff 5px solid;
  border-radius: 100%;
  position: relative;
}

.platform li .icon::before {
  content: "";
  display: block;
  position: absolute;
  border: 7px solid #eee;
  width: 130%;
  height: 130%;
  margin: -15%;
  border-radius: 100%;
}

.platform::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent rgba(235, 95, 104, 0.1);
  position: absolute;
  left: 0;
}

.users {
  background-color: rgba(235, 95, 104, 0.1);
}

.users h3 {
  text-align: center;
  font-weight: bold;
}

.users ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 50% 50%;
}

.users ul li {
  padding: 20px;
  background: #ffff;
  margin: 20px;
  list-style: none;
  box-shadow: #ccc 0 0 30px;
  display: flow-root;
  float: left;
}

.users ul li img {
  float: left;
  width: 100px;
  height: 100px;
}

.users ul li div {
  margin-left: 120px;
}

.users ul li em {
  float: left;
}

.users::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 0;
}

.try ul {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-items: center;
}

.try li {
  float: left;
  width: 55%;
  height: 350px;
  list-style: none;
  padding: 50px 20px;
  position: relative;
}

.try h4 {
  font-weight: bold;
  margin-bottom: 30px;
}

.try .group {
  position: absolute;
  bottom: 0;
}

.hamburger {
  text-align: center;
  padding: 15px 0;
  color: var(--main-color);
  display: none;
}

.shop-sc.pricing .ul {
  grid-template-columns: repeat(3, 33.3%);
}

.shop-sc.pricing .li {
  height: 600px;
  width: 70%;
}

.shop-sc.pricing .li h3 {
  font-size: 2rem;
}

.shop-sc .li .btn {
  padding: 10px;
  margin: 0 auto;
  display: block;
}

.functions {
  background-color: rgba(7, 90, 165, 0.1);
}

.functions ul {
  list-style: none;
}

.functions li {
  display: flow-root;
  margin: 0 0 100px;
}

.functions li:last-child {
  margin-bottom: 0;
}

.functions .d {
  width: 50%;
}

.functions ul li h5 {
  font-weight: bold;
}

.functions ul li .icon {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background-color: var(--main-color);
  margin: 0 100px;
}

.faq ul {
  width: 70%;
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
}

.faq ul li {
  padding-bottom: 30px;
}

.faq ul h4 {
  font-weight: bold;
  padding-bottom: 15px;
  cursor: pointer;
}

.faq ul li .collapsed {
  display: none;
}

.faq ul h4 i {
  float: right;
}

.shop #myi-calendar {
  float: right;
  margin-right: 50px;
}

.shop h2 {
  color: var(--text-color);
}

.shop .button-group h4 {
  font-weight: bold;
  color: var(--main-color);
  float: left;
  line-height: 48px;
  margin-right: 50px;
}

.shop .button-group {
  margin-top: 100px;
}

.btn.primary {
  color: var(--main-color);
  border-color: var(--main-color);
}

.btn.primary:hover {
  background-color: var(--main-color);
}

.shop .carat h3 {
  font-weight: bold;
}

.shop .carat div {
  margin-bottom: 50px;
}

.shop hr {
  margin: 50px auto;
  width: 50%;
}

.shop::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 250px 0 0 2560px;
  border-color: transparent transparent transparent rgba(7, 90, 165, 0.1);
  position: absolute;
  left: 0;
}

.invest .slider div {
  width: 100%;
  height: 400px;
  background-size: cover;
}

.container {
  margin: 90px auto;
}

.container .card {
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 20px;
  border: none;
  padding: 0;
  overflow: hidden;
}

.container .card .row > div {
  padding: 85px;
}

.container .card .row .blue {
  background-color: #075aa5;
  display: grid;
  align-items: center;
  justify-items: center;
}

.container .card .row .blue img {
  align-self: end;
}

.container .card .row div h1 {
  text-align: center;
  font-weight: bold;
  color: #474747;
  margin: 0;
}

.container .card .row div > hr {
  margin: 50px auto;
  width: 80%;
}

form.sign input.text {
  height: 45px;
  color: #474747;
  background-color: #efefef;
  font-style: italic;
  box-shadow: 0px 3px 6px #00000029;
  border: none;
  margin-bottom: 25px;
  width: 100%;
}

form.sign input.text:focus {
  background-color: #ffffff;
  border: #075aa5 1px solid;
}

form.sign .psw {
  position: relative;
}
form.sign .psw .see-psw {
  position: absolute;
  right: 10px;
  top: 15px;
  cursor: pointer;
  filter: grayscale(100%);
}
form.sign .psw .see-psw.active {
  filter: none;
}

.card .alert .errorlist {
  padding: 0;
  margin: 0;
  list-style: none;
}

p.remember-me {
  margin: 50px auto 35px;
  display: block;
  width: 90px;
  text-transform: lowercase;
  font-weight: bold;
}

a.forgot-psw {
  color: #075aa5;
  font-style: italic;
  font-weight: bold;
  text-decoration: underline;
}

.btn-core {
  background-color: #075aa5;
  color: #ffffff;
  border: none;
  border-radius: 5px !important;
  font-weight: bold;
  margin: 0 auto;
  display: block;
}

.btn-core.inverse {
  color: #fff;
  background-color: transparent;
  border: #fff 2px solid;
}

.btn-core.inverse:hover {
  background-color: #ffffff;
  color: #075aa5;
}

@media all and (max-width: 768px) {
  header nav #logo {
    float: none;
    margin: 0 auto;
    display: block;
  }
  .hamburger {
    display: block;
  }
  header nav ul {
    float: none;
    text-align: center;
    display: block;
    padding: 0;
    display: none;
  }

  header nav ul li {
    margin: 0;
    float: none;
    padding: 5px 0;
  }

  section aside {
    float: none;
    width: 100%;
  }
  .content {
    padding: 30px;
  }

  .move-your-image .r {
    position: absolute;
    z-index: -1;
    right: -65%;
  }
  .move-your-image .content::after {
    color: var(--main-color);
    z-index: 1;
  }
  .shop-sc .li {
    width: 100%;
    margin-bottom: 30px;
  }
  .shop-sc .ul {
    grid-template-columns: 100%;
  }
  .invest #myi-screen {
    position: absolute;
    z-index: -1;
    left: -60%;
    opacity: 0.1;
  }
  .platform li {
    margin-bottom: 50px;
  }
  .platform li:nth-child(2) a {
    display: none;
  }
  .button-group {
    display: grid;
    justify-items: right;
  }
  .button-group .btn {
    margin: 0 0 20px 0;
  }
  .shop-sc.pricing .ul,
  .platform ul,
  .try ul,
  .users ul {
    grid-template-columns: 100%;
    padding: 0;
  }
  .try li {
    margin-bottom: 20px;
    height: 400px;
  }
  .functions .d {
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
    float: none !important;
  }
  .functions ul li .icon {
    float: none !important;
  }
  .shop #myi-calendar {
    float: none;
    margin: 0;
  }

  .shop .button-group {
    justify-items: center;
  }
  .shop .button-group h4 {
    float: none;
    margin: 0;
  }
}
