html::-webkit-scrollbar-thumb {
  background: #dbc7a4;
}

html {
  scroll-behavior: smooth;
}
body {
  color: black;
  font-family: "Lato", Helvetica, Arial, "sans-serif";
}

.btn {
  text-decoration: none;
  font-size: 24px;
  margin: 20px 20px 0px 0px;
  padding: 15px 30px;
  color: white;
  border-radius: 40px;
  border: 1px solid #030303;
  width: 400px;
}

.btn:hover {
  border: 1px solid #030303;
}

.btnFillPrimary {
  background-color: #030303;
  opacity: 0;
}

.btnFillPrimary:hover {
  background-color: #030303;
  color: white;
}

.btnFillSecondary {
  background-color: white;
  color: black;
  opacity: 0;
  opacity: 0;
}

.opacita-0 {
  opacity: 0 !important;
}

.sliderController {
  right: 20px;
  bottom: 20px;
  z-index: 99;
  cursor: pointer;
}

.projectDisabled {
  opacity: 0.5;
}
header {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}
header nav ul {
  list-style: none;
}
header nav ul li a,
.project a {
  color: black;
  text-decoration: none;
  margin-right: 20px;
  transition: all 0.5s ease-out;
}

.project a:hover {
  background-color: #030303;
  color: white;
  padding-left: 20px;
}

.project a.activeSelection {
  background-color: #030303;
  color: white;
  padding-left: 20px;
}

p {
  font-family: "Lato", Helvetica, sans-serif;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.5px;
  margin: 0px;
}

h1,
h2,
h3 {
  font-size: 70px;
  font-weight: 700;
  letter-spacing: -2%;
  line-height: 90%;
  margin-bottom: 64px;
  font-family: "Poppins", Helvetica, sans-serif;
  margin: 0px;
}

h2 {
  font-size: 50px;
}

h3 {
  font-size: 30px;
}

h1 span {
  transition: all 1 s linear;
}

#projects {
  padding-top: 200px;
  height: 1200px;
}

#projects .overflow-hidden {
  height: 540px;
  width: calc(45% + 80px);
}
#projects .overflow-hidden img {
  border-radius: 20px 20px;

  transition: all 0.3s ease-out;
  object-fit: cover;
  position: absolute;
  opacity: 0;
}

#projects .overflow-hidden img.attivaImg {
  opacity: 1;
}

.project .col-12 {
  align-items: center;
  border-bottom: 1px solid black;
  height: 0;
  padding: 40px 0;
  transition: all 0.3s ease-out;
}

.project .col-12.attivaTesto {
  padding-left: 20px;
}

#projectsImage {
  left: -40px;
  z-index: 99;
}

#projects .projectsTexts {
  padding-left: 100px;
}

#projects .projectsTexts .col-md-3 {
  position: relative;
  height: 600px;
}
#projects .projectsTexts .text {
  position: absolute;
  left: 0;
  top: 100px;
  opacity: 0;
}

#projects .projectsTexts h2 {
  font-size: 140px;
  margin-bottom: 32px;
}

#projects .projectsTexts p,
.singleProjectInsight p {
  font-size: 32px;
  line-height: 140%;
}

.singleProjectInsight {
  padding-top: 80px;
  position: absolute;
  overflow: hidden;
  opacity: 0;
}

.singleProjectInsight p {
  padding: 0 100px;
  font-size: 24px;
}

.imgGalleryHolder {
  width: 3000px;
  position: absolute;
  top: 200px;
  left: -800px;
  height: 500px;
  margin: 50px 0;
}
.imgGalleryHolder .overflow-hidden img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}
.imgGalleryHolder .overflow-hidden {
  height: 500px;
  padding: 20px;
  transform: translateX(-20px);
  margin-right: 20px;
}
/*3D MODEL*/

#hero3D {
  background-color: #ff6f61;
}

#heroUxUi {
  background-color: #6b5b95;
}

#hero3D .container h1 {
  position: relative;
  z-index: 10;
}

#hero {
  background-color: white;
}

.heros {
  z-index: 0;
  opacity: 0;
  transform: translateX(-50%);
  transition: all 0.5s ease-in-out;
}

.heros.attivaHero {
  z-index: 10;
  transform: translateX(0);
  opacity: 1;
}

#fungo3D {
  position: absolute;
  top: 5%;
  left: 25%;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
}

/*Mediaqueries*/
/* Apply styles for extra small devices (phones) */
@media (max-width: 575px) {
  #projects > div:nth-child(2) > div {
    padding: 10px;
    justify-content: center;
  }

  h3 {
    font-size: 25px;
    padding-left: 8px;
  }

  .projectsTexts,
  #projectsImage,
  .projectInsights {
    display: none !important;
  }

  .project a:hover {
    padding-left: 0;
  }

  .project a p {
    padding-right: 8px;
  }

  #fungo3D {
    left: 0;
    top: 50%;
  }
}
/* Apply styles for small devices (tablets) */
@media (min-width: 576px) and (max-width: 767px) {
  /* styles here */
}

/* Apply styles for medium devices (desktops) */
@media (min-width: 768px) and (max-width: 991px) {
  /* styles here */
}

/* Apply styles for large devices (desktops) */
@media (min-width: 992px) {
  /* styles here */
}

/* Apply styles for extra large devices (desktops) */
@media (min-width: 1200px) {
  /* styles here */
}
