@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    background-color: #222831;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
    padding: 0 0.5rem;
}

.navigation ul{
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

.navigation a {
    text-decoration: none;
    color: white;
}

.navigation a:hover {
    color: #00adb5;
}

hr{
    opacity: 15%;
}

.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: white;
    font-family: "Noto Kufi Arabic", sans-serif;
}

.title {
    font-size: 4rem;
    color: #00adb5;
    font-family: "Noto Kufi Arabic", sans-serif;
}

.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;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
}

.cv {
    position: relative;
    overflow: hidden;
    height: 3rem;
    border-radius: 1.5rem;
    background: #3d3a4e;
    background-size: 400%;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
  }
  
  .cv:hover::before {
    transform: scaleX(1);
  }
  
  .cv-content {
    position: relative;
    z-index: 1;
    
  }
  
  .cv::before {
    content: "Download CV";
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(
      82.3deg,
      #00adb5,
      rgba(99, 88, 238, 1) 94.3%
    );
    transition: all 0.475s;
    padding: 0.5rem 1.5rem;
   
  }

.aboutMe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    gap: 1rem;
    font-weight: bo;
}

.textContainer {
    display: flex;
    flex-direction: column;
}

.textTitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 2rem
}

.aboutName {
    color: white;
    font-family: "Noto Kufi Arabic", sans-serif;
}

.aboutTitle {
    color: #00adb5;
    font-family: "Noto Kufi Arabic", sans-serif;
}

.aboutMePar {
    text-align: justify;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
}

.works {
    background-image: url("photos/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;
    flex-wrap: wrap;
    gap: 15px;
}

.works li {
    border-radius: 16px;
    background-color: rgba(57, 62, 70, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem 4rem;
}

.works li img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: scale(1.5);
}

.works li :hover {
    transform: scale(1.5);
} 

.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: white;
    text-decoration: none;
    font-family: "Noto Kufi Arabic", sans-serif;
}

.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: white;
    padding: 2rem;
    text-align: center;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-weight: bold;
}


@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;
    }
  }