
@media screen and (min-width: 100px){
      body{
            zoom: .9;
      }
}   


@font-face {
  font-family: 'Vazirmatn-Light';
  src: url('./font/BTitrBold.woff') format('woff2');
}

@font-face {
  font-family: 'BMitra';
  src: url('./font/BBaran.woff') format('woff');
}

h1, h2, h3, h4, h5, span , button ,a {
  font-family: 'Vazirmatn-Light', sans-serif;
}

p {
  font-family: 'BMitra', monospace;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ............. navbar............... */
/* navbar {
  background-color: white;
}
.nav-link {
  color: black;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-link:hover {
  color: white;
  background-color: black;
}
.navbar-brand {
  font-size: 1rem;
  font-weight: 700;
} */
/*....................... main ............*/
.hero {
  display: flex;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-text {
  position: absolute;
  top: 2%;
  right: 2%;
  color: aliceblue;
}
.hero-text p{
  font-size: xx-large;
  margin-top: 20%;
}

.hero img {
  position: relative;
  width: 100%;
  min-height: 60vh;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
}
.skills {
  display: flex;
  flex-wrap: wrap;         /* برای اینکه دکمه‌ها در صورت پر شدن به سطر بعد برن */
  justify-content: center; /* برای وسط‌چین کردن دکمه‌ها */
  gap: 10px;              /* فاصله بین دکمه‌ها */
}

.skill-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 150px;           /* عرض دکمه‌ها */
}

.skill-btn:hover {
 color: rgb(245, 194, 10);
  background-color: #5a6268; /* تغییر رنگ پس‌زمینه روی هاور */
}


/*.......................... ABOUT ME ..................*/
.about img{
  width: 400px;
  height: 400px;
  border: none;
  border-radius: 50%;
  box-shadow: 8px 5px 26px 3px rgba(0, 0, 0, 0.59);
  -webkit-box-shadow: 8px 5px 26px 3px rgba(0, 0, 0, 0.59);
  -moz-box-shadow: 8px 5px 26px 3px rgba(0, 0, 0, 0.59);
}
.about h2 {
 padding: 1rem;
 margin-right: 28%;
}
.about p {
  font-size: x-large;
  margin: 5%;
}
.hero a{
  color: rgb(255, 255, 255);
  font-size: xx-large;
margin-right: 70%;
margin-right: 0%;
}
,.about h2{
  margin: 0%;
}
/* ............project................ */

.project h2{
  margin-right: 45%;
  margin-top: 4%;
}
.project img {
  width: 350px;
  height: 350px;
}
.card {
    cursor: pointer;
    position: relative;
    transition: 0.5s;
    align-items: center;
    justify-content: center; 
    margin-top: 1rem;
    border: 0cap;
}
.video-card:hover {
    transform: scale(1.03);
}
.video-card::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
}

/* .............. papers ............. */
.card-body img{
  position: relative;
  overflow: hidden;
  /* display: flex; */

}
.card-body a{
  position:absolute;
  top: 70%;
  text-align: center;
  font-size: xx-large;
  color: rgb(255, 255, 255);
 

}

@media (max-width: 576px) {
  .custom-modal {
    max-height: 70vh;
  overflow-y: auto;
    max-width: 90%;
    margin: 1.75rem auto;
  }
}

.modal-body img {
  padding: 2rem 2rem
  width: 300px;
  height: 300px;
  border-radius: 0.5rem;
  margin: 1%;
}







/* ................... resume .................... */

.resume h2 {
  padding: 2rem;
  margin-right: 45%;

}
.resume-title img {
  width: 40px;
  height: 40px;
}
.resume-title {
  color: rgb(34, 15, 162);
  font-style: oblique;
  margin-bottom: 1%;
}

.experiense {
  font-size: medium;
  font-family: cursive;
  margin-right: 5%;
  line-height: 2;
}
.experiense address {
  margin-bottom: 0%;
}
.experiense h5 {
  margin-bottom: 0%;
}
.resume-title svg {
  margin-right: 8px;
  margin-left: 20px;
}
.resume h4 {
  margin-left: 40%;
  font-family: serif;
  margin-bottom: 0%;
}



/* .........CONTACT............ */
.contact h3 {
  text-align: center;
  font-family: serif;
  margin-top: 2rem;
}
/* .contact form{
  margin-left: 5%;
  font-size: large;
} */
.contact form{
  margin-left: 10%;
  margin-top: 5%;
}
.contact input{
  margin: 0.3rem;
  background-color: rgb(227, 238, 238);
  border-radius: 0.5rem;
  width: 295px;
  height: 50px;
  font-size: large;
  font-family: serif;
  font-weight: bold;
  font-style: italic;
  border: 2px solid rgb(64, 64, 59);
  outline: none;
}
.contact input::placeholder {
  transition: 1s;
}
.contact input:focus::placeholder {
  color: #000;
}
.contact textarea{
  margin-top: 0.3rem;
  margin-left: 0.3rem;
  background-color: rgb(227, 238, 238);
  border-radius: 0.5rem;
  border: 2px solid rgb(64, 64, 59);
  width: 300px;
  height: 100px;
  font-size: large;
  font-family: serif;
  unicode-bidi: isolate;
  font-style: italic;
  font-weight: bold;
}

.contact textarea::placeholder {
  transition: 1s;
}
.contact textarea:focus::placeholder {
  color: #000;
  font-size: large;
}
.contact button{
  margin-top: 1rem;
  margin-left: 5rem;
  font-size: large;
  background-color:#000;
  color: aliceblue;
  padding: .5rem;
  border-radius: .5rem;
  cursor: pointer;
}
.contact-mee svg {
  color: rgb(98, 48, 217);
  margin: 5px;
}
.contact-mee {
  padding-left: 30%;
  font-family: serif;
  font-size: larger;
}

.contact--mesage {
  margin: 1rem;
  font-family: monospace;
  font-size: 1rem;
  align-items: center;
}
/* .contact form{
  margin-left: 30%;
  margin-top: 5%;
} */

/* .contact-mee svg {
  color: rgb(0, 0, 0);
  margin: 10px;
} */
.contact-mee{
  padding: 10px;
  font-size: large;
  padding-right: 25%;
  padding-top: 5%;
display: inline-block;

}

.contact-mee span{
font-size: large;
font-family:serif;
}


/* ........... line ........... */
/* section {
  position: relative;
  padding: 80px 0;
}

section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background-color: #000000;
} */