body {
  position: relative;
  overflow-x: hidden;
}

#navPC {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 15px 10%;
  gap: 1rem;
}

li h2 {
  color: rgba(255, 255, 255, 0.6);
}

li:hover h2,
li:hover h4 {
  color: rgba(255, 255, 255, 1);
}

#landingContianer {
  overflow-x: hidden;
  max-height: 100vh;
  background-color: #ececec;
}
canvas {
  display: block;
  background-color: #ececec;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(
    90deg,
    transparent 99%,
    rgba(255, 255, 255, 0.5)
  );
  background-size: 10%;
  min-width: 100vw;
}

#title {
  font-family: "Space Mono", monospace;
  font-style: normal;
  position: relative;
}

#writing {
  white-space: nowrap;
  mix-blend-mode: difference;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  position: absolute;
  bottom: 5%;
  left: 10%;
  right: 10%;
}

#writing h1 {
  font-size: clamp(1.5rem, 10vw, 13rem);
  font-weight: 400;
  line-height: 1;
}

#graphic {
  margin-left: -1%;
  color: #575700;
}

#writing h2 {
  font-weight: 200;
  white-space: wrap;
}

#callNow {
  position: absolute;
  right: 10%;
  top: 150px;
  z-index: 3;
  width: 340px;
  height: 300px;
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 and 1/3 */
  grid-template-rows: auto auto;
  gap: 10px;
}

#callNow > * {
  border-radius: 10px;
  padding: 25px;
}

#callNow h4 {
  color: black;
}

#frase {
  background-color: white;
  grid-column: 1 / 2;
  grid-row: 1;
  max-width: 350px;
  overflow-wrap: break-word; /* fallback */
  hyphens: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* border-left: 1px solid black;
  border-top: 1px solid black; */
  border: 1px solid rgb(239, 220, 255);
}

#frase h2 {
  color: black;
  line-height: 1;
  margin-bottom: 15px;
}

#frase p {
  color: #000000b3;
}

#businessImg {
  grid-column: 2 / 3;
  grid-row: 1;
  position: relative;
  background-image: url("/img/homepage/foto-cv.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}

#businessImg h4 {
  font-weight: 800;
  position: absolute;
  bottom: 25px;
  color: white;
}

#cta {
  grid-column: 1 / 3;
  grid-row: 2;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  /* border-right: 1px solid black;
  border-bottom: 1px solid black; */
  border: 1px solid #4332c7;
  color: black;
  transition:
    background-color 0.3s,
    color 0.3s;
  font-family: "Space Mono", monospace;
}

#cta:hover {
  background-color: #4332c7;
  color: #fff;
}

canvas > *:hover {
  background-image: black;
}

/* fine home */

/* inizio slider*/

#verticalSliderContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* height: 480vh; */
  height: auto;
  /* overflow: hidden; */
  overflow-x: clip;
  padding-bottom: max(30px, 5%);
}

.slides {
  width: 89%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 15px;
  color: white;
  height: 90vh;
  margin-bottom: 30px;
  margin-right: 11%;
}

.slides h2 {
  font-family: "Space Mono", monospace;
}

.slides a {
  color: white;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
  overflow: visible;
}

#slide2 {
  background-color: #7780d5;
  z-index: 2;
}

#slide3 {
  background-color: #ab7430;
  z-index: 3;
}

.dateAndType,
.projectTitleAndArrow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.dateAndType {
  border-bottom: solid white 1px;
  padding: 7px 0;
}

.projectTitleAndArrow h2 {
  font-size: clamp(22px, 5vw, 38px);
  padding: 10px 0;
  text-transform: capitalize;
  font-weight: 400;
}

.projectImgs {
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 0;
  flex: 1;
}

#projectImg2 {
  background-image: url("/img/brand-identity/beautyque by aleas - logo presentation and color palette.webp");
  /* background-image: url("/img/brand-identity/vetrofanie beautyque by aleas.webp"); */
  background-color: #f5f8f7;
  /*  background-color: #7780d5; */
  background-size: contain;
  background-repeat: no-repeat;
}
#projectImg3 {
  /* background-image: url("/img/illustrazioni/2.Petrichor - book by Ahiryn Wooddrop - copertina completa con sottotitolo.webp"); */
  background-image: url("/img/lavori-editoriali/petrichor/petrichor-fronte-retro-dorsetto-meno-ombra.webp");
  background-color: #275887;
  background-size: contain;
  background-repeat: no-repeat;
}

/*sezione about*/
#sezioneAbout {
  display: grid;
  grid-template-columns: 4fr 1fr 3fr;
  margin: 10% 11% 5% 0%;
}

#colSinAbout {
  grid-column: 1; /* occupa le 4fr */
}

#colDexAbout {
  grid-column: 3; /* occupa le 3fr, salta la colonna centrale */
}

#colDexImgAbout {
  grid-column: 3; /* occupa le 3fr, salta la colonna centrale */
  background-image: url(/img/homepage/foto-cv.webp);
  background-size: cover;
  background-repeat: none;
  min-height: 60vh;
}

#job1 {
  color: #a8b228;
}

#job2 {
  color: white;
}

#job3 {
  color: #9595ec;
}

#transitionalBg .buttonContainer {
  margin-right: 11%;
}

/*sez. ultimi lavori*/
#ultimiLavori {
  display: flex;
  flex-direction: column;
}

.ultimiLavori {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 20vh;
  overflow: visible;
}

#ultimiLavori ul {
  padding: 3% 0;
}

#ultimiLavori ul a {
  color: white;
}

#ultimiLavori ul h4::after {
  display: none;
}

/*--------- fix nav nero ---------*/
#homepage {
  background-color: #ececec;
}
