@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;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
 }
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem auto;
  padding: 0;
  max-width: 1400px;
}
.navigation ul{
  display: flex;
list-style-type: none;
gap: 2rem;
}
.navigation a{
  text-decoration: none;
  color: #eeeeee;
}
.navigation a:hover{
  text-decoration: none;
  color: #00adb5;
}
hr{
  opacity: 10%;
}
header img{
  width: 50px;
  height: 50px;
}
.hero{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6rem auto;
  max-width: 1400px;
}
.arrow{
  position: absolute;
  transform: translateX(-5.5rem) translateY(1.5rem);
}
.heroSub{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.name{
  font-size: 3rem;
  color: #eeeeee;
}
.title{
  font-size: 1.5rem;
  color: #00adb5;
}
.heroBtns{
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hireMe{
  background-color: #00adb5;
  color: #eeeeee;
  border-radius: 24px;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0,0.5);
}
.cv{
  background-color: rgba(57,62,70,0.75);
  color: #eeeeee;
  border-radius: 24px;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}
.aboutMe{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6rem auto;
  max-width: 1400px;
  gap: 8rem;
}
.textContainer{
  display: flex;
  flex-direction: column;
}
.textTitle{
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
}
.aboutName{
  color: #eeeeee;
}
.aboutTitle{
  color: #00adb5;
}
.aboutMePar{
  text-align: justify;
  color: rgba(238,238,238,0.75);
}
.works{
  background-image: url("assets/svg/background.svg");
  background-size: cover;
  padding: 6rem 0;
  margin: 6rem -2rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.worksContainer{
  display: flex;
  flex-direction: column;
  justify-items: space-around;
  align-items: left;
  margin: 5rem auto;
  max-width: 1400px;
}
.projectTitle{
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
  justify-content: left;
}
.works ul{
  display: flex;
  list-style-type: none;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;

}
.works li{
  border-radius: 16px;
  background-color: rgba(57,62,70,0.75);
  backdrop-filter: blur(4px);
  padding: 1rem 4rem;

}
.works li img{
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.2s;
}
.works li img:hover{
  transform: scale(1.5);
}
.contactContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin: 6rem auto;
  max-width: 1400px;
}
.contactTitle{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom:10px;
  font-size: 2rem;
}
.contact{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
}
.contact h3,.contact a{
  color: #eeeeee;
  text-decoration: none;
}
.emailAndPhone{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.socialMedia{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.socialMedia a{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: rgba(57,62,70,0.5);
  backdrop-filter: blur(4px);
  padding: 1rem;
}
.socialMedia img{
  width: 24px;
  height: 24px;
}
footer{
  color: #eeeeee;
  padding: 2rem;
  text-align: center;
}
.socialMedia img:hover{
  transform: scale(1.5);
}
.tag-list{
  width: 37rem;
  font-family: "Montserrat";
  position: relative;
  overflow: hidden; 
}
.inner{
  width: fit-content;
  display: flex;
  gap: 1rem;
  animation: loop 5s linear infinite;

}
.tag{
  display: flex;
  align-items: center;
  gap: 0 0.2rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  background-color: #334155;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  box-shadow: 
    0 0.1rem 0.2rem #00000033,
    0 0.1rem 0.5rem #0000004d,
    0 0.2rem 1.5rem #00000066;
}
.tag span{
  font-size: 1.2rem;
  color: #64748b;
}
.fade{
 position: absolute;
 background: linear-gradient(90deg,
 #1e293b, transparent 30%, transparent 70%, #1e293b);
 inset: 0;
 pointer-events: none;
}
.skills{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 3rem;
}
@keyframes loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 1023px) {
  header {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  /* Hide clock on small screens */
  .css_top_container {
    display: none;
  }
  .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;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .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;
  }
}