@charset "UTF-8";
@import url("https://v1.fontapi.ir/css/Estedad");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url("https://fonts.googleapis.com/css2?family=Lalezar&family=Vazirmatn:wght@100..900&display=swap");
@import url("https://v1.fontapi.ir/css/Sahel");
@font-face {
  font-family: lalezar;
  src: url(../fonts/Digi\ Lalezar\ Plus.ttf);
}
@font-face {
  font-family: fedra;
  src: url(../fonts/fedra\ arabic.ttf);
}
@font-face {
  font-family: shabnam;
  src: url(../fonts/Shabnam-Bold.ttf);
}
@font-face {
  font-family: yekan;
  src: url(../fonts/Yekan.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: rtl;
  font-family: estedad;
}

body {
  background-color: #131313;
}

.vazirmatn {
  font-family: "Vazirmatn", serif;
}

.sahel {
  font-family: Sahel, sans-serif;
}

.shabnam {
  font-family: shabnam ;
}

.yekan {
  font-family: yekan ;
}

.lalezar{
  font-family: lalezar;
}

.fedra{
  font-family: fedra;
}

.my-align {
  text-align: justify;
}

.color {
  background-color: #111111;
}


.btn-close{
  color: red !important;
}



.logo {
  width: 100px;
  padding: 8px;
}

.myax {
  height: 470px;
  box-shadow: -18px 8px 20px rgb(20 19 19);
  border-radius: 25px;
}


.skills-background-color{
  background-color: #1d1d1d6b;
  border-radius: 50px;
  width: 97%;
  height: 120%;
  justify-self: center;
  padding-top: 20px;
  padding-bottom: 30px;
}






.skills-card {
  border: none;
  box-shadow: 3px 2px 16px 0px rgb(0 0 0);
  padding: 18px;
  border-radius: 25px;
  transition: all 0.7s;
  height: 360px;
}

.skills-card:hover {
  transform: scale(1.03);
}

.sample-text {
  display: flex;
  justify-content: space-between;
  /* background-color: #323232; */
}

.sample-1 {
  background-color: #111111;
  border-radius: 18px;
  transition: all 0.7s;
  border: 0;
  padding: 15px;
  box-shadow: 3px 2px 16px 0px rgb(0 0 0);
  height: 430px;
}

.sample-1:hover {
  transform: scale(1.01);
}

.sample-1 img {
  border-radius: 16px;
  padding: 3px;
}

.sample:hover {
  transform: scale(1.05);
}

.sample img {
  border-radius: 15px;
}

.offcanvas-start{
  width: 290px!important;
}


.navbar-dk {
  position: fixed;
  transition: all 0.3s ease-in;
  width: 100%;
}

.dark {
  margin-top: 5px;
  width: 95%;
  border-radius: 65px;
  background-color: #000000f0;
}






.navbar-toggler-icon {
  color: red!important;
}


.form-container{
  height: auto;
  background-color: #111111;
  border: 1px rgb(58, 1, 1) solid;
  border-radius: 15px;
  padding: 20px;
}

.form-control{
  background-color: #323131;
  border: black;
  color: rgb(186, 4, 4);
}
.form-control:focus{
background-color: #323131;
color: white;
 
}

.form-control::placeholder {
  opacity: 0.6;
  color: rgb(255, 78, 78);
}



.more-ways{
  color: rgb(220 53 69);
}





/* دکمه نمایش سفید بولد */
.btn-show {
  background: none;
  color: rgb(255, 255, 255);
  background-color:#dc3545;
  font-weight: bold;
  border: 2px solid rgb(255, 47, 47);
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-show:hover {
  background: rgba(255, 255, 255, 0);
  color:#dc3545;
}





.btn-show 
  { 
  text-decoration:none;
  }






/* حالت پیشفرض مودال باید مخفی باشد */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content-wrapper {
  position: relative;
  display: inline-block; /* تغییر به inline-block */
}

.modal-content {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
}

.btn-close-2 {
  position: absolute;
  top: -15px; /* خارج از عکس، بالای آن */
  right: -15px; /* خارج از عکس، سمت راست آن */
  background: white;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-close-2:hover {
  background: red;
  color: white;
}


.resume {
    height: 350px;
    width: 250px;
    border-radius: 5px;
}


.download{
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-content: center;
}




.resume-sec{
  border: 2px #9d2430ca solid;
  border-radius: 15px;
}








@media only screen and (max-width: 1000px) {
  .myax {
    height: 400px;
    margin: 0;
  }
  .text-skills {
    margin: 0;
  }
  .offcanvas {
    background-color: #212428;
  }
  .intro {
    margin-top: 5rem;
  }
  .moreways-padding{
    padding-top: 52px;
    
  }
  
.portf-img{
  height: 160px;
  border-radius: 25px;
  display: block;

}


}



@media only screen and (max-width: 1000px) {
  
  .small-pic {
    height: 190px!important;
    border-radius: 25px;
    display: block;


    
    
  }  
  
  .margin-res{
  margin-bottom: 20px;
  }

}





.portf-img{
  height: 250px;
  border-radius: 25px;
  display: block;

}  


.position-relative {
    position: relative !important;
}    

/* آیکون در سمت چپ بالا */
.icon-overlay-left {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(229, 229, 229, 0.9);
    color: #000000;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: -3px 1px 8px 2px rgba(0, 0, 0, 0.2);

    
}    

.icon-overlay-left:hover {
    background-color: rgba(182, 182, 182, 0);
    border: 2px solid red;
    color: red;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}    


.portf-img2, .bigger-img-port {
    max-width: 100%; /* به جای width: 100% */
    height: auto;
    display: block;
    border-radius: 25px;
}    



/* برای حفظ سایز عکس */
.portf-img-wrapper {
    max-width: 400px; /* یا هر سایز دلخواه */
    width: 100%;
}    








