@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;

 }
.aboutadam {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5rem auto;
  max-width: 1200px;
  gap: 10rem;
}
.textContainer{
  display: flex;
  flex-direction: column;

 }
.textTitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
}
.aboutname {
  color: rgb(255, 255, 255);
}
.aboutitle {
  color: #8a3333;
}
.aboutadampar {
  text-align: justify;
  color: snow;
}
.works {
  background-image: url(adam/background.svg);
  padding: 10rem 10rem;
  margin: 5rem 0rem;
}
.worksContainer{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: left;
  margin: 5rem auto;
  max-width: 1200px;
}
.projectTitle{
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
}
.works ul{
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style-type: none;
  align-items: center;
  justify-content: space-between;
}
.works li{
  border-radius: 16px;
  background-color: #8a3333;
  backdrop-filter: blur(4px);
  padding: 1rem 4rem;
} 
.works li img{
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.2s;
}

.works li :hover{
  transform: scale(1.5);
}
.contactContainer{
  display: flex;
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  margin: 2rem auto;
  max-width: 1200px;
}
.contacttitle{
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 2rem
}

.socialmedia a{
  display: flex;
  align-items: center;
  justify-items: center;
  border-radius: 50px;
  background-color: #222831;
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.socialmedia img {
  width: 1000px;
  height: 1000px;
  object-fit: contain;
  transform: 0.2s;
}
.socialmedia li img :hover{
  transform: scale(0.6);
}
footer {
  color: #8a3333;
  padding: 2rem;
  text-align: center;
  scale: 10rem;
}
@media  (max-width:1023px){
  
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8;
  }

  header img {
    max-width: 100px;
    height: auto;
  }

  .navigation ul {
    list-style: none;
    padding: 0;
   margin: 0;
   display: flex;
    gap: 15px;
  }

  .navigation ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }

  .hero {
   text-align: center;
   padding: 20px;
  }

  .hero img {
    max-width: 100%;
    height: auto;
  }

  .herobtns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .herobtns a {
    padding: 10px 20px;
   background-color: #007BFF;
    color: white;
   text-decoration: none;
   border-radius: 5px;
  }

  .aboutadam, .works, .Contactcontainer {
    padding: 20px;
    text-align: center;
  }

  .aboutadamimg, .works img, .socialmedia img {
    max-width: 100%;
   height: auto;
  }

  footer {
   text-align: center;
    padding: 10px;
    background-color: #f8f8f8;
    margin-top: 20px;
  }

}
@media (max-width: 768px) {
  header {
      flex-direction: column;
      align-items: center;
  }

  .navigation ul {
      flex-direction: column;
      gap: 10px;
  }

  .herobtns {
      flex-direction: column;
      align-items: center;
  }

  .herobtns a {
      width: 100%;
      text-align: center;
  }

  .works ul {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .works ul li {
      width: 100%;
  }
}