html, body {
  overflow-x: hidden;
}

body {
  margin-left: 0rem;
  margin-right: 0rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
  background-color: #ffffff;
}

.bold {
  font-weight: 600;
}
h1 {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  line-height: 2.2rem;
}
h2 {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 0;
}
h3 {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.6rem;
}
h4 {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4rem;
}
h5 {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.7rem;
  line-height: 0.7rem;
}
h6 {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.6rem;
}

.text {
  color: #1D1D1B;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4rem;
}

.container-fluid {
  padding-left: calc(3vh - 1px);
  padding-right: calc(3vh - 1px);
}

.footer {
  margin-top: 60px;
}

.altri {
  margin-top: 60px;
}

.space {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 50px;
}

.spaceanc1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0px;
}

.spaceanc2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 50px;
}

.spacebegin {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
}

.spacemenu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
}

.spaceimg {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 25px;
}

.link {
  color: #1D1D1B;
  text-decoration:underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

.link:hover {
  color: #1D1D1B;
  text-decoration:underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

.link2 {
  color: #1D1D1B;
  text-decoration:underline solid 7%;
  text-underline-offset: 0.5rem;
  cursor: pointer;
}

.link2:hover {
  color: #1D1D1B;
  text-decoration:underline solid 7%;
  text-underline-offset: 0.5rem;
  cursor: pointer;
}

.linkattivo2 {
  color: #1D1D1B;
  text-decoration:underline solid 7%;
  text-underline-offset: 0.5rem;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.linkattivo2:hover {
  color: #1D1D1B;
  text-decoration:underline solid 7%;
  text-underline-offset: 0.5rem;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-style: normal;
}

@media (min-width: 576px) {
  h1 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  h2 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 0;
  }
  h3 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  h4 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.4rem;
  }
  h5 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.7rem;
    line-height: 0.7rem;
  }

  .text {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .container-fluid {
    padding-left: calc(3vh - 1px);
    padding-right: calc(3vh - 1px);
  }

  .footer {
    margin-top: 60px;
  }

  .spaceportfolio {
    margin-top: 60px;
  }

  .altri {
    margin-top: 80px;
  }

  .space {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 100px;
  }

  .spaceanc1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 30px;
  }

  .spaceanc2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 70px;
  }

  .spacebegin {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 30px;
  }

  .spaceimg {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 50px;
  }

  .link {
    color: #1D1D1B;
    text-decoration:underline;
    text-underline-offset: 0.3rem;
    cursor: pointer;
  }

  .link:hover {
    color: #1D1D1B;
    text-decoration:underline;
    text-underline-offset: 0.3rem;
    cursor: pointer;
  }
}

@media (min-width: 992px) {
  h1 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  h2 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 0;
  }
  h3 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  h4 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.4rem;
  }
  h5 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.7rem;
    line-height: 0.7rem;
  }

  .text {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .container-fluid {
    padding-left: calc(4vh - 1px);
    padding-right: calc(4vh - 1px);
  }

  .footer {
    margin-top: 160px;
  }

  .spaceportfolio {
    margin-top: 80px;
  }

  .altri {
    margin-top: 120px;
  }

  .space {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 160px;
  }

  .spaceanc1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 40px;
  }

  .spaceanc2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 120px;
  }

  .spacebegin {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 70px;
  }

  .spaceimg {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 40px;
  }

  .link {
    color: #1D1D1B;
    text-decoration:underline;
    text-underline-offset: 0.3rem;
    cursor: pointer;
  }

  .link:hover {
    color: #1D1D1B;
    text-decoration:underline;
    text-underline-offset: 0.3rem;
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 0;
  }

  .link2 {
    color: #1D1D1B;
    text-decoration:underline solid 5%;
    text-underline-offset: 0.5rem;
    cursor: pointer;
  }

  .link2:hover {
    color: #1D1D1B;
    text-decoration:underline solid 5%;
    text-underline-offset: 0.5rem;
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 0;
  }

  .linkattivo2 {
    color: #1D1D1B;
    text-decoration:underline solid 5%;
    text-underline-offset: 0.5rem;
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
  }

  .linkattivo2:hover {
    color: #1D1D1B;
    text-decoration:underline solid 5%;
    text-underline-offset: 0.5rem;
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
}

@media (min-width: 1400px) {
  h1 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.2rem;
    line-height: 2.8rem;
  }
}

@media (min-width: 1700px) {
  h1 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.2rem;
    line-height: 2.8rem;
  }
  h2 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 0;
  }
  h3 {
    color: #1D1D1B;
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 1.7rem;
  }
}

.animation {
  position: fixed;
  background-color: #FFFFFF;
  top: 0; bottom: 0; left: 0; right: 0;
  animation-name: pageOut;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  z-index: 1;
}

@keyframes pageOut {
  from   {transform: translate3D(0 , 0, 0, 0)}
  to     {transform: translate3D(0 , 100%, 0)}
}

.zoom {
  width: auto;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
}

.zoom img {
  width: 100%;
  transition: 0.5s all ease-in-out;
}

.zoom:hover img {
  transform: scale(1.03);
}

.su {
  margin-top: -5px;
}

.linkattivo {
  color: #1D1D1B;
  text-decoration:underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.linkattivo:hover {
  color: #1D1D1B;
  text-decoration:underline;
  text-underline-offset: 0.3rem;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.linktext {
  text-decoration: none;
  color: #1D1D1B;
}

.linktext:hover {
  color: #1D1D1B;
}

.bottonex {
  padding-left: 0px;
  padding-right: 0px;
  border-width: 0;
  background-color: #FFFFFF;
  position: absolute;
  top: calc(3.6vh - 7px);
  right: calc(3vh - 0px);
}

.navbar-toggler {
  border-width: 0;
  position: auto;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding:0px 0px 0px 0px;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: 0 0 0 0 transparent;
}

.offcanvas {
  background-color: #FFFFFF;
  border-width: 0;
  opacity: 100%;
  z-index: 2000;
  height: 100%;
  width: 100%;
  transition: .5s;
  padding-top: calc(1vh - 1px);
  padding-bottom: calc(1vh - 1px);
  padding-left: calc(1vh - 1px);
  padding-right: calc(1vh - 1px);
}

.offcanvas-body {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4rem;
  position: fixed;
  bottom: calc(1vh - 1px);
}

.carousel-item {
  transition: transform 0.8s ease-in-out;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transition: opacity 0s 0.8s;
}

.spacesx {
  margin-left: 30px;
}
