@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");



* {
  margin: 0;
   padding: 0;
 box-sizing: border-box;
 scroll-behavior: smooth;
 font-family: "poppins", serif;
    }

body {
  background-color: #222831;
    }


header  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    padding: 0.5rem;
    max-width: 12000px;
   }


.navigation ul{
    display: flex; 
    list-style-type: none;
    gap: 2rem;      
}

.navigation a{
    text-decoration: none;
    color: rgb(240, 240, 240);
}

.navigation a:hover{
    color: aqua;
}

hr{
    opacity: 10%;
}
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
}
.arrow {
    position: absolute;
    transform:translateX(-5.5rem) translateY(1.5rem) ;
}
.herosub {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

}

.name{
    font-size: 2.4rem;
    color: #eee;
}

.title{
    font-size: 3rem;
    color: chocolate;
}

.herobtns{
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
 .adaminf{
    background-color: rgb(0, 0, 0);
    color: #eee;
    border-radius: 24px;
    text-decoration: none;
    padding: 1rem 1rem;
    text-shadow: rgba;

 }
 @media (max-width: 1023px) {
    header {
      margin-left: 1rem;
      margin-right: 1rem;
    }
    .hero {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }
    .heroImg {
      width: 400px;
    }
    .name,
    .title {
      font-size: 2rem;
    }
    .arrow {
      display: none;
    }
    .aboutMe {
      flex-direction: column-reverse;
      align-items: center;
      gap: 2rem;
    }
    .textContainer {
      align-items: center;
      margin: 0rem 5rem;
      gap: 1rem;
    }
    .aboutName,
    .aboutTitle {
      font-size: 2rem;
    }
    .light {
      width: 60px;
    }
    .aboutMeImg {
      width: 400px;
    }
    .works {
      padding: 0;
    }
    .worksContainer {
      padding: 5rem 0rem;
      gap: 3rem;
    }
    .projectTitle {
      margin-left: 1rem;
    }
    .works ul {
      flex-direction: column;
      gap: 1rem;
    }
    .contactContainer {
      margin: 10rem 5rem;
      gap: 2rem;
    }
    .contact {
      flex-direction: column;
      gap: 1rem;
      margin-right: 0;
    }
  }