@font-face {
  font-family: proximaNova;
  src: url("./fonts/ProximaNova-Regular.otf");
  font-display: swap;
}

@font-face {
  font-family: proximaNova-Bold;
  src: url("./fonts/Proxima\ Nova\ Bold.otf");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: proximaNova-Extra;
  src: url("./fonts/Proxima\ Nova\ Extrabold.otf");
  font-weight: bolder;
  font-display: swap;
}

@font-face {
  font-family: lato;
  src: url("./fonts/Lato-Regular.ttf");
  font-display: swap;
}

@font-face {
  font-family: lato-Bold;
  src: url("./fonts/Lato-Bold.ttf");
  font-weight: bold;
  font-display: swap;
}

body {
  font-family: proximaNova;
  background-repeat: no-repeat;
}

.title {
  font-family: proximaNova-Extra;
  text-transform: uppercase;
  font-size: 57px;
  line-height: 1.14;
  color: #1e1e1e;
}

.nav-items {
  margin: 0px;
}

.button-header {
  border-radius: 25px;
  font-family: lato-Bold;
  font-size: 20px;
  line-height: 1.39;
}

.distance-top {
  margin-top: 200px;
}

.sub-title {
  font-family: lato;
  font-size: 25px;
  line-height: 1.2;
  color: #1e1e1e;
}

.source {
  font-family: lato-Bold;
  font-size: 12px;
  color: #696969;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.source-mobile {
  font-family: lato-Bold;
  font-size: 12px;
  color: #696969;
}

.chapter {
  font-family: proximaNova-Bold;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0059ff;
}

.img-description {
  font-family: proximaNova-Bold;
  font-weight: bold;
  font-size: 40px;
  color: #1e1e1e;
  line-height: 1.13;
}

.paragraph-title {
  font-family: proximaNova-Bold;
  font-size: 40px;
  color: #1e1e1e;
}

.sub-paragraph {
  font-family: lato;
  font-size: 20px;
  color: #1e1e1e;
}

.blue-paragraph {
  color: #0059ff;
}

.image-right {
  right: 0px;
  position: absolute;
  z-index: 0;
}

.box-container {
  position: relative;
}

.little-box {
  top: 40px;
  left: 0px;
  position: absolute;
  z-index: 10;
}

.little-box.phase1-1 {
  top: 186px;
}

.little-box.phase1-2 {
  top: 332px;
}

.little-box.phase2 {
  left: none;
  right: 0px;
}

.move-right {
  float: right;
  padding-right: 0px;
}

.box {
  width: 252px;
  height: 150px;
  padding: 24px 7px 20px 24px;
  border-radius: 20px;
  border: solid 2px #cccccc;
  margin-right: 30px;
  margin-bottom: 30px;
}

.box.box-large {
  height: 170px;
}

.box-title {
  font-family: proximaNova-Bold;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 3px;
  color: #1e1e1e;
}

.box-paragraph {
  font-family: lato;
  font-size: 20px;
  color: #1e1e1e;
  line-height: 1.15;
}

.box-white {
  width: 100%;
  height: 733px;
  background-color: white;
  position: relative;
}

.box-purple {
  width: 100%;
  height: 587px;
  margin-top: 73px;
  background-color: #0059ff;
  position: absolute;
  z-index: 0;
}

.image-box-left {
  left: 0px;
  bottom: 0px;
  position: absolute;
  z-index: 10;
}

.image-box-right {
  top: 0px;
  right: 0px;
  position: absolute;
  z-index: 10;
}

.roles {
  margin-left: 10%;
}

.box-roles {
  width: auto;
}

.box-green {
  width: 252px;
  height: 252px;
  padding: 30px 8px 77px 30px;
  margin-right: 30px;
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 14px 0 #dddddd;
  background-color: #44ae3f;
}

.box-dark {
  width: 252px;
  height: 252px;
  padding: 30px 8px 77px 30px;
  margin-right: 30px;
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 14px 0 #dddddd;
  background-color: #1e1e1e;
}

.text-box-color {
  font-family: proximaNova-Bold;
  font-size: 25px;
  line-height: 1.2;
  color: #ffffff;
}

.text-box-green {
  font-family: lato;
  font-size: 20px;
  line-height: 1.15;
  color: #ffffff;
}

.underline-big {
  font-family: proximaNova-Bold;
  text-decoration: underline;
  font-size: 90px;
  line-height: 1;
  color: #0059ff;
}

.underline-small {
  text-decoration: underline;
  font-family: proximaNova-Bold;
  font-size: 40px;
  color: #ffffff;
}

.footer-text {
  font-family: lato;
  font-size: 20px;
  color: #ffffff;
}

.footer-dark {
  padding: 120px 170px 48px 170px;
  background-color: #1e1e1e;
}

@media only screen and (max-width: 600px) {
  body {
    background-image: url("./images/mesh.png");
  }

  .button-header {
    font-size: 18px;
  }

  .distance-top {
    margin-top: 100px;
  }

  .distance-absolute {
    margin-top: 500px;
  }

  .title {
    font-size: 32px;
  }

  .sub-title {
    font-size: 20px;
    line-height: 1.5;
  }

  .img-description {
    font-size: 25px;
    line-height: 1.2;
  }

  .paragraph-title {
    font-size: 25px;
    line-height: 1.2;
  }

  .padding-dark {
    padding: 20px;
  }

  .footer-dark {
    padding: 120px 20px 48px 20px;
  }

  .box {
    margin-right: 0px;
    width: 327px;
    height: 140px;
  }

  .box-purple {
    height: 780px;
    margin-top: 0px;
  }

  .box-green {
    margin-right: 0px;
    width: 327px;
    height: 220px;
  }

  .box-dark {
    margin-right: 0px;
    width: 327px;
    height: 220px;
  }
}

/* Fix by Andrea De Giovine */

.navbar-light {
  padding: 16px 0;
}

.source {
  position: absolute;
  right: 0;
  margin: 0 !important;
  transform: rotate(-90deg);
  white-space: nowrap;
  writing-mode: unset;
}

.source.margin-top {
  margin-top: -400px !important;
}

.image-full {
  width: 100%;
}

.image-90 {
  width: 90%;
}

.box {
  height: auto;
  margin: 0 0 30px;
  min-height: 150px;
  width: 100%;
  transition: all .2s ease-in-out;
}

.box:hover {
  transform: scale(1.03);
}

.box.box-large {
  height: auto;
  min-height: 170px;
}

.box-dark,
.box-green {
  height: auto;
  margin: 30px 0 0;
  min-height: 270px;
  padding-bottom: 20px;
  width: auto;
  transition: all .2s ease-in-out;
}

.box-dark:hover,
.box-green:hover {
  transform: scale(1.03);
}

.padding-top {
  padding-top: 40px;
}

.blue-bg {
  padding-bottom: 40px;
  padding-top: 40px;
  position: relative;
}

.blue-bg:before {
  background-color: #0059ff;
  content:'';
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.little-box {
  left: -76px;
}

.little-box.phase2 {
  left: auto;
  right: -76px;
}

.little-box.phase4 {
  right: 33px;
  top: -44px;
}

.img-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  width: 100%;
}

.img-wrap.alternative {
  padding-top: 75%;
}

.img-wrap.borders-left-radius {
  border-bottom-left-radius: 30px;
  border-top-left-radius: 30px;
}

.img-wrap.borders-left-bottom-radius {
  border-bottom-left-radius: 30px;
}

.img-wrap.borders-left-top-radius {
  border-top-left-radius: 30px;
}

.img-wrap.borders-right-radius {
  border-bottom-right-radius: 30px;
  border-top-right-radius: 30px;
}

.img-wrap.borders-right-bottom-radius {
  border-bottom-right-radius: 30px;
}

.img-wrap img {
  height: 100%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all .2s ease-in-out;
}

.img-wrap:hover img {
  transform: translate(-50%, -50%) scale(1.03);
}

.bounce-up {
  opacity: 0;
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -o-transform: translate(0px, 200px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 200, 0px);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.bounce-up.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.underline-big {
  align-items: center;
  display: flex;
  font-size: 60px;
}

.underline-big img {
  width: 65px;
}

.social {
  margin-top: 24px;
}

@media only screen and (min-width: 576px) {
  .container {
    max-width: 1124px !important;
  }
  .navbar-light {
    padding: 33px 0;
  }
  .padding-top {
    padding-top: 233px;
  }
  .blue-bg {
    padding-bottom: 0;
    padding-top: 0;
  }
  .blue-bg:before {
    height: 37vw;
    top: 73px;
  }
  .underline-big {
    font-size: 90px;
  }
  .underline-big img {
    width: 100px;
  }
}

@media only screen and (min-width: 1124px) {
  .image-box {
    position: relative;
    margin-left: calc((100vw - 1124px) / 2 * -1 + 12px);
    right: calc(((100vw - 1124px - 16px) / 2) * -1);
    width: calc(1112px - 58.3333% + (100vw - 1124px) / 2);
  }
  .image-box-sx {
    position: relative;
    margin-right: calc((100vw - 1124px) / 2 * -1 + 12px);
    left: calc(((100vw - 1124px - 16px) / 2) * -1);
    width: calc(1112px - 58.3333% + (100vw - 1124px) / 2);
  }
}

@media only screen and (min-width: 1300px) {
  .image-110 img {
    padding-bottom: 5px;
    transform: scale(1.1);
  }
}
