@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;
  }
/*do header*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
}
header img{
    transition: 0.7s linear;
    transform: scale(1.3);
}
header img:hover{
    transform: scale(1.4);
}
.nav ul{
    display: flex;
    list-style-type: none;
    gap: 2rem;
}
.nav a {
    text-decoration: none;
    color: #eeeeee;
    transition: 0.8s linear;
}
.nav  a:hover{
    transform: scale(1.1);
    color:#00adb5;
}
hr{
    opacity: 10%;
}
/*do hero*/
.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: 3rem;
    color: #eeeeee;
}
.title{
    font-size: 4rem;
    color: #00adb5;  
}
.subtitle{
  font-size: 2rem;
}
.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);    
    transition: 0.9s linear;
}
.hireMe:hover{
    transform: scale(1.2);
}
.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);
    transition: 0.9s linear;
  }
.cv:hover{
    transform: scale(1.2);
}
/*do about me*/
.aboutMe {
    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: #eeeeee;
  }
  .aboutTitle {
    color: #00adb5;
  }
  .aboutMePar {
    text-align: justify;
    color: rgba(238, 238, 238, 0.75);
  }
/*do works*/
.works {
    background-image: url("assets/svg/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;
    align-items: center;
    justify-content: left;
    gap: 5px;
    font-size: 2rem;
  }
  .works ul {
    display: flex;
    list-style-type: none;
    align-items: center;
    justify-content: space-between;
  }
  .works li {
    border-radius: 16px;
    background-color: rgba(57, 62, 70, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem 4rem;
    margin-left: 15px;
  }
  .works li img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.2s;
  }
  .works li :hover {
    transform: scale(1.5);
  }
/*do contact */
.contactContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
  }
  .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;
    margin-right: 5rem;
    gap: 20rem;
  }
  .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;
  }
/*do footer */
footer {
    color: #eeeeee;
    padding: 2rem;
    text-align: center;
  }

/*do responsive */
@media (max-width: 1023px) {
    header {
      margin-left: 1rem;
      margin-right: 1rem;
    }
    header img{
        transform: scale(1);
        margin-right: 10px;
    }
    .nav ul{
        gap: 1rem;
        margin-left: 10px;
    }

    .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;
    }
  }
@media (max-width: 1228px) {
    header{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
/* Custom Scrollbar Styling for Webkit Browsers (Chrome, Safari) */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
  background-color: #000; /* Background color of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00adb5, #008a8f); /* Gradient color for the scrollbar thumb */
  border-radius: 6px; /* Rounded corners for the scrollbar thumb */
  border: 3px solid #000; /* Border color around the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #008a8f, #00777a); /* Darker gradient when hovering */
}

/* Custom Scrollbar Styling for Firefox */
.scrollable-element {
  scrollbar-width: thin; /* Make scrollbar thin */
  scrollbar-color: #00adb5 #000; /* Thumb color and track color */
}

/* Example usage */
.scrollable-element {
  height: 400px; /* Adjust height as needed */
  overflow: auto; /* Enable scrolling */
  background-color: #000; /* Dark background for the element */
  color: #fff; /* Text color */
  padding: 10px; /* Padding around content */
}
