@import url('https://v1.fontapi.ir/css/Vazir');





.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
  opacity: 1;
}


.fa-twitter {
  /* background: #55ACEE; */
  color: white;
}




/* فونت کلی صفحه */
body {
  font-family: "Vazir", sans-serif; /* یا هر فونت دلخواه */
  margin: 0;
  padding: 0;
}

/* تنظیم کلی هدر */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px;
  margin-left: 10%;
    margin-right: 10%;
}

/* آیتم‌های نوشته‌ای بالا */
.more-me {
  display: flex;
  gap: 30px;
}

.more-me p {
  margin: 0;
  font-weight: bold;
  font-size: 18px;
}

.more-me a {
  text-decoration: none;
  color: black;
  transition: 0.3s;
}

.more-me a:hover {
  color: #555;
}

/* آیکون‌های شبکه‌های اجتماعی */
.contact ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.contact li a {
  font-size: 24px;
  color: black;
  transition: 0.3s;
}

.contact li a:hover {
  color: #777;
}





.skill h4 a {
  text-decoration: none;
}

.about-1 h3 p a {
  text-decoration: none;
}





.link-course a{
  margin: 2px;
  padding: 10px;
  border-radius: 5px;
  background-color: aqua;
  color: black;
  text-decoration: none;
}





.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding:50px;
  flex-wrap: wrap; /* برای ریسپانسیو */
}

/* عکس */
.img img {
  width: 350px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 50px;
}

/* متن درباره من */
.about-me {
  max-width: 600px;
  margin: 10px;
  direction: rtl;
  text-align: right;
}

/* تیتر اصلی (سلام) */
.about-me h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* متن توضیح */
.about-me h4 {
  font-size: 20px;
  font-weight: normal;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* پاراگراف ساده */
.about-me p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

/* مهارت‌ها */
.skill h2 {
  font-size: 26px;
  font-weight: bold;
  margin-top: 30px;
}

.skill h4 {
  font-size: 18px;
  line-height: 1.7;
}


footer {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  background-color: #f5f5f5;
  font-size: 20px;
  font-family: "Vazirmatn", sans-serif;
  color: #333;
}

footer .heart {
  color: red;
  font-size: 25px;
  vertical-align: middle;
}



/* ------------------- Responsive Design ------------------- */
@media screen and (max-width: 768px) {
  /* هدر به حالت ستونی */
  header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px;
    margin: 0;
  }

  .more-me {
    flex-direction:row;
    align-items: center;
    gap: 5px;
  }

  .more-me p {
    font-size: 16px;
    margin: 20px;
  }

  .fa{
  padding: 13px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  }




  .contact ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
  }

  .contact li a {
    font-size: 22px;
  }

  /* بخش اصلی: تصویر و متن درباره من */
  .container {
    flex-direction: column;
    padding: 20px;
  }

  .img img {
    width: 100%;
    margin: 0 auto;
  }

  .about-me {
    max-width: 100%;
    padding: 0 15px;
    text-align: right;
  }

  .about-me h2 {
    font-size: 28px;
  }

  .about-me h4 {
    font-size: 18px;
  }

  .about-me p {
    font-size: 15px;
  }

  .skill h2 {
    font-size: 24px;
  }

  .skill h4 {
    font-size: 16px;
  }

  /* فوتر */
  footer {
    font-size: 18px;
    padding: 15px;
  }

  footer .heart {
    font-size: 22px;
  }
}





