* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow: hidden;
  max-width: 100%;
 max-height: 100vh;
}
body {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  max-height: 100vh;
/*   background: rgb(3, 18, 18); */
  background: linear-gradient(180deg, #2f6ecc 0%, #e85628 100%);
}

h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}
h2 {
  color: #dedede;
  font-size: 50px;
  font-weight: 300;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 55px;
  letter-spacing: 3px;
}

h3 {
  text-align: center;
  font-size: 20px;
  margin-inline: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  color: #eae5e5;
}
h4 {
  color: #dedede;
  font-size: 55px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 400;
}
h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
}
h6 {
  position: absolute;
  color: #ffff;
  opacity: 0.6;
  font-size: 160px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}

.backgr {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -10;
  transform: translateY(100%);
  overflow: hidden;
  transition: all 1s ease;
}

.backgr h6 {
  top: 71%;
  left: 3%;
}
.sceltoBck {
  display: flex;
  transform: translateY(0%);
}
nav {
  padding-right: 80px;
  padding-top: 40px;
  position: absolute;
  display: flex;
  width: 100%;
  padding-left: 75px;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  background: url(./src/logo.png);
  height: 80px;
  width: 70px;
  background-repeat: no-repeat;
}

.vola {
  animation: 1s linear nave;
}

.navCont {
  display: flex;
  width: 80%;
  justify-content: space-between;
}
.directs {
  margin-right: 50px;
  width: 80%;
  display: flex;
  justify-content: space-evenly;
  height: fit-content;
}
.opt {
  cursor: pointer;
}

h3:hover {
  transition: all 0.5s ease;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.6);
}
.cont {
  overflow: scroll;
}
.cont ::-webkit-scrollbar {
  display: none;
}

.resume {
  margin-right: -20px;
  width: 95px;
  height: 40px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(40px);
  border-radius: 8px;
}
.resume a {
  padding: 10px 16px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.resume a h3 {
  font-size: 16px;
}
.resume a:hover {
  background: rgba(245, 243, 243, 0.54);
  backdrop-filter: blur(40px);
  scale: 1.05;
  border-radius: 8px;
}
.resume a:active {
  background: rgba(245, 243, 243, 0.916);
  backdrop-filter: blur(40px);
  transition: all 0.2s ease;
  border-radius: 8px;
}
.resume a:hover h3 {
  color: black;
}
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  gap: 10px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.cont {
  position: absolute;
  display: flex;
  transform: translateX(100%);
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding-left: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
  z-index: 5;
}
.next {
  width: 100%;
  height: 50px;
  position: absolute;
  display: flex;
  justify-content: end;
  top: 120px;
  right: 2%;
  top: 90%;
}

.buttNext {
  display: flex;
  cursor: pointer;
  animation: 2s linear infinite indica;
  position: relative;
  z-index: 20;
  width: fit-content;
}
.buttNext:hover {
  transition: all 0.5s ease;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.6);
}
.introCore {
  width: 100%;
}
.buttNext h3 {
  cursor: pointer;
  font-size: 24px;
}
.fa-arrow-right {
  display: flex;
  margin-top: 10px;
  color: #fff;
  scale: 1.2;
}
.scelto {
  transition: opacity 2s ease;
  display: flex;
  transform: translateX(0%);
  opacity: 1;
}

.nameIntro {
  display: flex;
}
.core {
  padding-top: 20px;
  display: flex;
  max-width: 80%;
}

.introCore {
  width: 80%;
}

/* name */
.wrapper {
  position: relative;
  display: flex;
  cursor: pointer;
  margin-top: -15px;
  margin-left: 10px;
}

.stack {
  display: grid;
  grid-template-columns: 1fr;
  color: #dedede;
}

.stack span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  grid-row-start: 1;
  grid-column-start: 1;
  font-size: 60px;
  --stack-height: calc(100% / var(--stacks) - 1px);
  --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
  --clip-top: calc(var(--stack-height) * var(--index));
  --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
  clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
}
.glitch {
  animation: stack 200ms cubic-bezier(0.96, 0.69, 0, 1.64) 1 backwards
    calc(var(--index) * 90ms);
}

.stack span:nth-child(odd) {
  --glitch-translate: 15px;
}
.stack span:nth-child(even) {
  --glitch-translate: -15px;
}

@keyframes stack {
  1% {
    opacity: 0;
    transform: translateX(-50%);
    text-shadow: 6px 8px 0 red, 6px -8px 0 blue;
  }
  60% {
    opacity: 0.5;
    transform: translateX(50%);
  }
  80% {
    transform: none;
    opacity: 1;
    text-shadow: 6px -8px 0 red, -6px 8px 0 blue;
  }
  100%,
  0% {
    text-shadow: none;
  }
}

@keyframes nave {
  0% {
    transform: translateX(0%) translateY(0%);
  }
  40% {
    transform: translateX(150%) translateY(-200%);
  }
  40.01% {
    transform: translateX(-250%) translateY(150%);
  }
  100% {
    transform: translateX(0%) translateY(0%);
  }
}

@keyframes indica {
  0% {
    gap: 0px;
    right: 3%;
  }
  50% {
    gap: 25px;
    right: 2%;
  }
  100% {
    gap: 0px;
    right: 3%;
  }
}

/* About */

.introAb {
  max-width: 40%;
}

.introAb h2 {
  font-size: 27px;
  line-height: 30px;
}
.coreAb {
  max-width: 70%;
  padding-top: 10px;
  display: flex;
}
.coreAb h4 {
  font-size: 35px;
  line-height: 40px;
}
/* SKILLS */
.contSkills {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.skillsUp {
  display: flex;
}
.skillsUp .wrapper {
  margin-top: -27px;
}
.contSkills h4 {
  font-size: 35px;
  font-weight: 600;
}
.contSkills h5 {
  line-height: 25px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 20px;
  color: #dedede;
  font-weight: 300;
  text-align: end;
  /*   border-bottom: 2px solid  rgba(0, 0, 0, 0.15);
  border-style: blur(40px); */
}
.skillsIntro {
  width: 50%;
}

.skillsIntro h5 {
  margin-top: 10px;
  font-size: 35px;
  font-weight: 300;
  text-align: inherit;
  line-height: 40px;
}
.skillsCore {
  width: 40%;
  display: flex;
  flex-direction: column;
  padding-right: 60px;
  margin-top: -20px;
}

/* works */
/* .projects {
  margin-top: -80px;
} */

.contWorks {
  margin-top: 10px;
  /*   width: 100%;
  height: 80%; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(27%, 1fr));
  padding-right: 50px;
}

.contWorks a {
  margin-top: -50px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(40px);
  border-radius: 40px;
  text-decoration: none;
  padding-top: 20px;
  margin-inline: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 350px;
  transition: all 0.3s ease;
}
.contWorks a:hover {
  background: rgba(245, 243, 243, 0.54);
  backdrop-filter: blur(40px);
  scale: 1.05;
}
.contWorks a:active {
  background: rgba(245, 243, 243, 0.916);
  backdrop-filter: blur(40px);
  transition: all 0.1s ease;
}

.contWorks a:hover h5 {
  color: black;
}
.contWorks a:hover h2 {
  color: black;
}


.imgSpace{
  background: url(./src/spaceDesk.png);
}
.imgShop{
  background: url(./src/shopDesk.png);
}
.imgPlan{
  background: url(./src/planDesk.png);
}
.imgWork {
  

  width: 80%;
  height: 50%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
border-radius: 10px;
}

.textWork {
  padding-inline: 10px;
  position: relative;
height: 50%;
  /* align-items: center; */
  width: 95%;
  display: flex;
  margin-top: 20px;
  justify-content: start;
  flex-direction: column;
}
.textWork h5 {
  width: 100%;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 40px;
  color: #dedede;
  text-align: center;
}
.textWork h2 {
  width:100%;
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  position: relative;
}
/* .textPlan h2 {
  padding-top: 20px;
} */
/* Contact */
.contact {
  margin-top: 350px;
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
}
.textContact {
  width: 60%;
}
.textContact h4 {
  font-weight: 300;
  max-width: 80%;
}
.contContact {
  width: 40%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 70%;
}

input,
button {
  border: 0;
  outline: none;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(40px);
  width: 80%;
  border-radius: 10px;
  text-align: center;
  justify-content: center;
}

input:hover,
button:hover {
  background: rgba(245, 243, 243, 0.54);
  backdrop-filter: blur(40px);
  cursor: pointer;
  color: black;
}

input:active,
button:active {
  background: rgba(245, 243, 243, 0.916);
  backdrop-filter: blur(40px);
  border: 1px solid black;
  transition: all 1s ease;
  cursor: pointer;
}
input:hover::placeholder,
button:hover button::placeholder {
  color: black;
  opacity: 1;
}
input {
  height: 50px;
}
.textForm {
  height: 150px;
  display: flex;
  text-justify: center;
  align-content: center;
}

button {
  height: 40px;
  width: 100px;
  margin-left: 30%;
  color: #dedede;
}

input::placeholder,
button::placeholder {
  color: #dedede;
  opacity: 0.4;
  padding: 20px;
}

.socials {
  margin-left: 50%;
}

.fa-bounce:hover {
  transition: text-shadow 0.5s ease;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.6);
}

.fa-bounce {
  scale: 2;
  margin-inline: 20px;
}

.textContact h4 {
  font-size: 47px;
  line-height: 55px;
}
.textContact .introMail {
  margin-top: 30px;
}
.textContact h2 {
  font-size: 30px;
  line-height: 38px;
}

@media screen and (max-width: 1400px) {
  h2 {
    font-size: 40px;
    line-height: 45px;
  }

  h4 {
    font-size: 45px;
    line-height: 50px;
  }
  .cont {
    padding-bottom: 100px;
  }
  .contact {
    padding-bottom: 0;
  }
  .stack span {
    margin-top: 8px;
    font-size: 45px;
  }
  .core {
    padding-top: 10px;
  }

  .backgr h6 {
    font-size: 140px;
    top: 70%;
  }
  .introCore {
    width: 70%;
  }
  .next {
    top: 85%;
    margin-right: 10px;
    right: 5%;
    margin-top: -10px;
  }
  .buttNext {
    padding-top: 15px;
    top: auto;
  }

  .buttNext h3 {
    font-size: 20px;
  }
  /* about  */
  .introAb {
    max-width: 60%;
  }

  .introAb h2 {
    font-size: 27px;
    line-height: 30px;
  }
  .coreAb {
    max-width: 70%;
    padding-top: 10px;
    display: flex;
  }
  .coreAb h4 {
    font-size: 37px;
    line-height: 43px;
  }
  @keyframes indica {
    0% {
      gap: 0px;
      left: 2%;
    }
    50% {
      gap: 40px;
      left: 0%;
    }
    100% {
      gap: 0px;
      left: 2%;
    }
  }
  /* SKILLS */
  .skills {
    padding-bottom: 0px;
  }
  .skillsIntro {
    width: 45%;
  }
  .skillsIntro h4 {
    font-size: 33px;
    line-height: 40px;
  }
  .skillsIntro h5 {
    margin-top: 0;
    font-size: 30px;
  }
  .skillsUp .wrapper {
    margin-top: -20px;
  }
  .skillsCore {
    width: 45%;
  }
  .skillsCore h5 {
    font-size: 20px;
  }
  /* works */
  .contWorks a {
    margin-top: -20px;
  }
/*   .textWork h5 {
    margin-top: 10px;
    margin-left: 20px;
    line-height: 30px;
    font-size: 20px;
  }
  .textWork h2 {
    font-size: 10px;
    line-height: 13px;
    padding-top: 10px;
  }
  .textPlan h2 {
    padding-top: 20px;
  } */
  .buttContact {
    top: 10px;
  }
  /* contact */
  form {
    height: 65%;
  }
  .textContact h4 {
    font-size: 47px;
    line-height: 50px;
  }
  .introMail{
    margin-top: 10px;
  }
  .textContact h2 {
/*     margin-top: 10px; */
    font-size: 30px;
  }
}

@media screen and (max-width: 1200px) {
  .cont {
    padding-bottom: 230px;
  }
  .next {
    left: -30px;
  }
  .home {
    padding-top: 110px;
  }
  .about {
    padding-top: 110px;
  }
  .projects {
    padding-top: 130px;
  }
  .contact {
    padding-bottom: 0;
  }
  /* ABOUT */
  .coreAb {
    max-width: 90%;
  }
  .coreAb h4 {
    font-size: 30px;
    line-height: 35px;
  }
  /* SKILLS */

  .skills {
    padding-bottom: 50px;
  }
  .skillsUp .wrapper {
    margin-top: -25px;
  }
  .stack span {
    font-size: 40px;
    margin-top: 12px;
  }

  .skillsIntro h4 {
    font-size: 30px;
    line-height: 35px;
  }
  .skillsIntro h5 {
    font-size: 25px;
    line-height: 30px;
  }
  .skillsUp h5 {
    line-height: 35px;
    line-height: 40px;
  }
  .skillsCore {
    /* width: 45%; */
    padding-right: 20px;
  }
  .skillsCore h5 {
    font-size: 17px;
  }
  /* WORK */
/*   .contWorks {
    margin-top: 20px;
  }
  .buttContact {
    top: 30px;
  }
  .imgWork img {
    height: 150px;
  }

  .contWorks a {
    height: 350px;
  }



  .textWork h5 {
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .textWork h2 {
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 20px;
    width: 100%;
    margin-top: 10px;
  }
  .textPlan h2 {
    padding-inline: 30px;
  } */
/*   .textWork {
    margin-top: -10px;

  } */
  /* contact */
  .textContact h4 {
    font-size: 43px;
  }
  .textContact .introMail {
    margin-top: 10px;
  }
  .textContact h2 {
    font-size: 27px;
  }
}

@media screen and (max-width: 1072px) {
  h3 {
    font-size: 15px;
  }
  .introCore {
    width: 80%;
  }

  /* about  */
  .introAb {
    max-width: 70%;
  }

  .introAb h2 {
    /* font-size: 17px; */
    line-height: 30px;
  }
  .coreAb {
    max-width: 75%;
    padding-top: 10px;
    display: flex;
  }
  .coreAb h2 {
    font-size: 30px;
  }
  .coreAb h4 {
    font-size: 32px;
    line-height: 35px;
  }
  .textContact h4 {
    font-size: 40px;
    line-height: 45px;
  }
  .textContact h2 {
    font-size: 25px;
  }

  .introMail {
    margin-top: 30px;
  }
  /* SKILLS */
  .skills {
    padding-bottom: 0;
    margin-bottom: -50px;
  }
  .skillsIntro {
    width: 48%;
  }
  .skillsIntro h4 {
    font-size: 25px;
    line-height: 30px;
  }
  .skillsIntro h5 {
    font-size: 20px;
    line-height: 25px;
  }
  .skillsUp h5 {
    line-height: 30px;
    line-height: 45px;
  }
  .skillsUp .wrapper {
    margin-top: -29px;
  }
  .skillsCore {
    width: 45%;
    padding-right: 20px;
  }
  .skillsCore h5 {
    font-size: 17px;
  }
}

@media screen and (max-width: 1000px) {
  h4 {
    font-size: 43px;
  }

  .backgr h6 {
    top: 73%;
    left: 4%;
  }
  .next {
    top: 70%;
    justify-content: start;
    left: 30px;
  }
  .coreAb h4 {
    font-size: 30px;
    line-height: 35px;
  }
  /* SKills */
  .skillsUp h4 {
    max-width: 90%;
  }
  /* work */
.textWork h2{
font-size: 10px;
line-height: 15px;
margin-top: 10px;
}
.textWork h5{
  font-size: 20px;
  line-height: 25px;
}
  /* contact */
  .contact {
    position: relative;
  }
  .textContact h4 {
    font-size: 35px;
  }

   .textContact h2 {
    font-size: 20px;
  }
  .socials {
    position: absolute;
    top: 50%;
    left: -47%;
    scale: 0.8;
  }
}
@media screen and (max-width: 836px) {
  h4 {
    font-size: 38px;
    line-height: 42px;
  }
  .introAb h2 {
    font-size: 20px;
    line-height: 25px;
  }
  .coreAb h4 {
    font-size: 27px;
    line-height: 32px;
  }
  /* SKILSS */

  .skillsIntro .wrapper {
    margin-top: -27px;
  }
  .skillsIntro h4 {
    font-size: 28px;
  }
  .skillsIntro h5 {
    font-size: 23px;
    line-height: 30px;
  }
  .skillsCore h5 {
    font-size: 14px;
  }

  /* WORK */

  .textWork h5 {
    margin-bottom: -10px;
    font-size: 17px;
    line-height: 22px;
  }
  .contContact {
    margin-left: 20px;
  }
  /* contact */
  .textContact h4 {
    font-size: 33px;
    line-height: 35px;
    margin-top: 20px;
  }
  .introMail {
    margin-top: 20px;
  }
  .textContact h2 {
    line-height: 23px;
    font-size: 18px;
  }
}
