/*LINK ICON*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* #navbar a {
  float: left;
  color: black;
}

/* #navbar a:hover {
  color: black;
  border-bottom: 1px solid red;
} */

#navbar a {
  --s: 0.1em;   /* the thickness of the line */
  --c: #1095c1; /* the color */
  
  color: #0000;
  padding-bottom: var(--s);
  background: 
    linear-gradient(90deg,var(--c) 50%,#000 0) calc(100% - var(--_p,0%))/200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
  -webkit-background-clip: text,padding-box;
          background-clip: text,padding-box;
  transition: 0.5s;
}

#navbar a:hover {
  --_p: 100%
}

.left{
  margin-left: -10%;
}

#navbar a.active {
  color: #0000;
  border-bottom: 0.1em solid #1095c1;
}

#header {
  z-index: 997;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0px;
}

#section1 {
  height: 100vh;
  max-width: 100%;
  background-image: url(../img/earth-background.jpg);
  background-attachment: fixed;
  background-position: 50% 70%;
  background-size: cover;
}

ul {
  list-style-type: none;
}

.text-darkgray{
  color: darkgray;
}

.text-semogray{
  color: #6b6868;
}

li .a{
  --s: 0.1em;   /* the thickness of the line */
  --c: #ffffff; /* the color */
  
  color: #ffffff00;
  padding-bottom: var(--s);
  background: 
    linear-gradient(90deg,var(--c) 50%, darkgray 0) calc(100% - var(--_p,0%))/200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
  -webkit-background-clip: text,padding-box;
          background-clip: text,padding-box;
  transition: 0.5s;
}

li .a:hover{
  --_p: 100%;
  text-decoration: none;
  color: #fff;
}


.arrow-down {
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb05 1.5s infinite;
  animation: sdb05 1.5s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb05 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb05 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

.arrow-down:hover {
  border-bottom-width: 4px;
  border-right-width: 4px;
  border-top-width: 4px;
  border-left-width: 4px;
}

#section2 {
  background-color: #fff;
}

#section3 {
  background-color: #f2f2f2;
}

#section3-2 {
  height: 100vh;
  max-width: 100%;
  background-position: 50% 50%;
  background-image: url(../img/ahead-of-ready-earth.jpg);
  background-size: cover;
  background-position: center;
}

#section4 {
  background-color: #fff;
}

#section5 {
  background-color: #f2f2f2;
}

#footerbg{
  background-color: #f2f2f2;
}

footer{
  padding: 0;
  margin: 0;
}
.parent {
  position: relative;
  height: 50vh;
  max-width: 100%;
}

.child {
  bottom: 0;
  max-height: 50px;
}

.bg-tile {
  width: 100%;
  max-height: 460px;
  min-height: 100px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-decoration-none {
  text-decoration: none !important;
}

.bg-tile:hover .bg-size-img:before,
.bg-tile:focus .bg-size-img:before {
  display: block;
}

.bg-tile:hover .bg-size-img,
.bg-tile:focus .bg-size-img {
  transform: scale(1.1);
}

.TextShort {
  font-family: "DIN 2014 W01 Light", "Calibri", "Helvetica Nue", Arial,
    sans-serif;
  color: #fff;
  font-size: 4rem;
  line-height: 2.9375rem;
  font-weight: 300;
}

.TextLong {
  font-family: "DIN 2014 W01 Light", "Calibri", "Helvetica Nue", Arial,
    sans-serif;
  color: #fff;
  line-height: 2rem;
}

.arrow {
  margin-bottom: 20px;
  z-index: 2;
  height: 2rem;
  width: 2rem;
  background-image: url("../img/arrow-right-solid-white.svg");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 1.2rem;
}

.bg-size-img {
  width: 100%;
  height: 100%;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: content-box;
  text-decoration: none;
  transition: all 1s;
  position: absolute;
  z-index: 1;
}

.bg-size-img::before {
  content: "";
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

a .bg-size-img:hover {
  background-color: gray;
}

.carousel-item-info-wrapper {
  position: absolute;
  bottom: 10%;
  top: auto !important;
}

.text-title {
  margin: auto;
  z-index: 2;
}
.text-title h2 {
  text-align: center;
}

.actionButton,
a.actionButton {
  color: #fff;
  text-transform: uppercase;
  background-color: #0360ae;
  padding: 12px 3rem 15px 15px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #0360ae;
  display: inline-block;
  background-image: url("../img/arrow-right-solid-white.svg");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1rem;
}

.actionButton:hover {
  color: #0360ae;
  background-color: #fff;
  background-image: url("../img/arrow-right-solid-blue.svg");
}

.actionButton.inactive {
  color: #666;
  background-color: #f2f2f2;
  border: 2px solid #f2f2f2;
  background-image: url("../img/arrow-right-solid-white.svg");
  cursor: default;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler {
  border: none;
}

.carousel-next, .carousel-prev {
  top: 0;
  bottom: 0; 
  z-index: 1; 
  width: 20%;
  color: #fff;
  background: 0 0;
  border: 0;
  opacity: .5;
  transition: opacity .15s ease;
  cursor: pointer;
  outline: 0;
  text-decoration: none;
}

.carousel-next:focus, .carousel-next:hover, .carousel-prev:focus, .carousel-prev:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: .9;
}

.offcanvas-body {
  clip-path: ellipse(425px 417px at 0% 13%);
  background: #f2f2f2;
}

#contatti {
  letter-spacing: 2px;
  color: #000;
}
#contatti a {
  text-decoration: none;
}

@media (max-width: 575.98px) {
  #contatti .maps iframe {
    width: 100%;
    height: 400px;
  }
}

@media (min-width: 576px) {
  #contatti .maps iframe {
    width: 100%;
    height: 400px;
  }
}

@media (min-width: 768px) {
  #contatti .maps iframe {
    width: 100%;
    height: 400px;
  }
}

@media (min-width: 778px) {
  #contatti .maps iframe {
    width: 100%;
    height: 400px;
  }
}

@media (min-width: 799px) {
  #contatti .maps iframe {
    width: 100%;
    height: 400px;
  }
}

@media (min-width: 800px) {
  #contatti .maps iframe {
    width: 100%;
    height: 400px;
  }
}

@media (min-width: 820px) {
  #contatti .maps iframe {
    height: 400px;
    width: 100%;
  }
}

@media (min-width: 851px) {
  #contatti .maps iframe {
    height: 400px;
    width: 100%;
  }
}

@media (min-width: 823px) {
  #contatti .maps iframe {
    height: 400px;
    width: 100%;
  }
}

@media (min-width: 965px) {
  #contatti .maps iframe {
    height: 400px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  #contatti .maps iframe {
    height: 400px;
    width: 100%;
  }
}

@media (min-width: 1180px) {
  #contatti .maps iframe {
    height: 400px;
    width: 100%;
  }
}

@media only screen and (min-width: 667px) {
  .bg-tile {
    height: 67vh;
  }
}

@media only screen and (max-width: 667px) {
  .pt-5 {
    display: contents;
  }
  
  .mt-5{
    margin-top: 0rem!important;
  }
  .TextShort {
    font-size: 1.6rem;
    font-weight: normal;
  }
  .TextLong,
  .fs-4 {
    font-size: 3xp;
    font-size: calc(1.275rem + -0.7vw) !important;
  }
}

@media only screen and (max-width: 653px) {
  #header {
    .img-fluid {
      width: 160px;
    }
  }
}

@media only screen and (max-width: 767px){
.border-start {
    border-left: none;
}
}

@media only screen and (max-width: 768px) {
  
  .row .col .pt-5 {
    padding-top: 0 !important;
  }
}

@media (min-width: 768px) {
  .capabilitiesTile {
    height: 67vh;
  }
}
