@import url('https://fonts.googleapis.com/css2?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');

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  position: relative;
  list-style: none;
}
body {
  min-height: 100%;
  background-color: #ffffff00;
  min-width: 100%;
}
header {
  background-color: #ffffffd4;
  width: 95%;
  position: fixed;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: #3a6cf4;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1.9em;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation li a {
  color: #3a6cf4;
  padding: 20px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 500;
}
li:hover {
  border-radius: 50px;
  background-color: #4e9eff7b;
}

section {
  padding: 100px 200px;
}

.main {
  min-height: 80svh;
  display: flex;
  align-items: center;
  background-color: #fff no-repeat;
  background-size: calc(1500px);
  background-position: center;
  background-attachment: fixed;
}

.main h1 {
  content: '';
  color: #3a6cf4;
  font-size: 2.4em;
  font-weight: 500;
}

h1 {
  animation-name: text;
  animation-duration: 3s;
  animation-delay: 2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

h1:before {
  content: '';
  animation-name: text;
  animation-duration: 5s;
  animation-fill-mode: both;
}
@keyframes text {
  25% {
    content: 'Hello ';
  }
  50% {
    content: ' My Name ';
  }
  75% {
    content: ' Is Ahmed';
  }
}
.main h2 span {
  display: inline-block;
  margin-top: 10px;
  color: #4e9eff;
  font-size: 3em;
  font-weight: 600;
}

.main h3 {
  color: #3a6cf4;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.main .box-om {
  padding: 100px;
}

.main .box-om img {
  width: 40%;

  position: absolute;
  left: 700px;
  bottom: 1px;

  border-radius: 90%;
}

.vvv {
  border-width: 20px;

  border-color: linear-gradient(rgb(190, 13, 172));
  animation-name: vvv;
  animation-duration: 10s;

  animation-iteration-count: infinite;
  animation-direction: normal;
}

@keyframes vvv {
  25% {
    transform: translate(0px);
    border-style: dashed;
    border-color: rgb(0, 62, 134);
  }
  50% {
    transform: translate(0px);
    border-style: dashed;
    border-color: rgb(18, 160, 58);
  }
  75% {
    transform: translate(20px);
    border-style: dashed;
    border-color: rgb(150, 168, 48);
  }
  100% {
    border-style: dashed;
    transform: translate(0px);
    border-color: rgba(23, 71, 214, 0.74);
  }
}
.social-icons a {
  color: #726363;
  font-size: 1.7em;
  padding-right: 30px;
}

.title {
  display: flex;
  justify-content: center;
  color: #3a6cf4;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 30px;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.card {
  background-color: #fff;
  width: 21.25em;
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  border-radius: 10px;
  padding: 25px;
  margin: 15px;
  transition: 0.7s ease;
}

.card .icon {
  color: #3a6cf4;
  font-size: 8em;
  text-align: center;
}

.info {
  text-align: center;
}

.info h3 {
  color: #3a6cf4;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;
}

.projects {
  background-color: #ffffff;
}

.projects .content {
  margin-top: 30px;
}

.project-card {
  background-color: #fff;
  border: 1px solid #fff;
  min-height: 14em;
  width: 23em;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px;
  transition: 0.7s ease;
}

.project-card:hover {
  transform: scale(1.1);
}

.project-card:hover .project-image {
  opacity: 0.9;
}

.project-image img {
  width: 100%;
}

.project-info {
  padding: 1em;
}

.project-category {
  font-size: 0.9em;
  color: #210d0d;
  font-weight: 300;
}

.project-title {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 10px;
}

.more-details {
  text-decoration: none;
  color: #3a6cf4;
}

.more-details:hover {
  color: #601cfc;
}

.contact .icon {
  font-size: 4.5em;
}

.contact .info h3 {
  color: #ffffff;
}

.contact .info p {
  font-size: 1.5em;
}

.footer {
  justify-content: center;
  display: flex;
  justify-content: space-evenly;
}

.footer-title {
  font-size: 1.5em;
  font-weight: 500;
}

.footer-title span {
  color: #3a6cf4;
}

.footer .social-icons a {
  font-size: 1.5em;
  padding: 0 12px 0 0;
  color: #2f2828;
}

@media (max-width: 1023px) {
  header {
    padding: 12px 20px;
  }

  .navigation a {
    padding-left: 10px;
  }

  .title {
    font-size: 1.8em;
  }

  section {
    padding: 80px 20px;
  }

  .main-content h2 {
    font-size: 1em;
  }

  .main-content h3 {
    font-size: 1.6em;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 641px) {
  body {
    font-size: 12px;
  }

  .main-content h2 {
    font-size: 0.8em;
  }

  .main-content h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 10px;
  }
  .main .box-om img {
      width: 40%;

  position: absolute;
  left: 200px;
  bottom: 1px;

  border-radius: 50%;
  }
}

