.about-myself .content h2,
.about-myself .content p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;


}

.about-myself .content h2.visible,
.about-myself .content p.visible {
  opacity: 1;
  transform: translateY(0);
}
@font-face{
    font-family: iranSanss;
    src: url('./IRANSans/fonts/woff/IRANSansWeb_Bold.woff');
}
*{
    margin: 0;
    padding: 0;
}
::-webkit-scrollbar{
  width: 10px;
}
::-webkit-scrollbar-track{
  background-color: #303030;
}
::-webkit-scrollbar-thumb{
  background-color: #737270;
  border-radius: 10px;
}
@import url(https://fonts.googleapis.com/css?family=PT+Sans);
*,
*:before,
*:after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html,
body {
width: 100%;
height: 100%;
}

body {
color: #444;
background: #f9f9f9;
font-size: 16px;
font-family: iranSanss;
src: url('./IRANSans/fonts/woff/IRANSansWeb_Bold.woff');
}

a {
color: inherit;
text-decoration: none;
}

section {
position: relative;
width: 100%;
}

/*##### HERO SECTION #####*/
.hero {
height: 100%;
/* Credit image : Unsplash - Luke Chesser */
background: url("./image/24.jpg");
background-size: cover;
background-position: center;
}
.hero .content {
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
}
.hero .content .header {
position: absolute;
top: 55%;
width: 100%;
-webkit-transform: translate(0%, -50%);
transform: translate(0%, -50%);
text-align: center;
opacity: 0;
}
.hero .content .header h1 {
color: #ffffff;
font-size: 2.5em;
text-shadow: 0px 2px 3px #2d2d2d;
}
.hero .content .header p {
  color: #ffffff;

  }
/*##### ABOUT MYSELF SECTION #####*/
.about-myself {
padding: 50px 20px;
}
.about-myself .content {
text-align: center;
}
.about-myself .content h2 {
color: #3d3d3d;
font-size: 3em;
margin-bottom: 20px;
-webkit-transform: translateY(-50px) scale(0);
transform: translateY(-50px) scale(0);
-webkit-transition: transform 0.7s;
-moz-transition: transform 0.7s;
transition: transform 0.7s;
}
.about-myself .content .aboutTitleVisible {
-webkit-transform: translateY(0px) scale(1);
transform: translateX(0px) scale(1);
}
.about-myself .content p span {
color: #c0392b;
font-weight: bold;
}

/*##### EXPERIENCE SECTION #####*/
.experience {
background: #1a1a1a;
padding: 50px 0;
overflow-x: hidden;
}
.experience .content {
text-align: center;
}
.experience .content h1 {
font-size: 2em;
color: #fff;
}
.experience .content ul {
padding: 50px 0;
list-style-type: none;
}
.experience .content ul li {
background: #f9f9f9;
position: relative;
margin-left: 20px;
width: 5px;
padding-bottom: 40px;
}
.experience .content ul li:last-child {
padding-bottom: 7px;
}
.experience .content ul li:before {
content: "";
background: #1a1a1a;
position: absolute;
left: 50%;
top: 0;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
width: 20px;
height: 20px;
border: 4px solid #f9f9f9;
}
.experience .content ul li .hidden {
opacity: 0;
margin-left: 10vw;
}
.experience .content ul li .experience-content {
background: #f9f9f9;
position: relative;
top: 7px;
left: 48px;
width: calc(100vw - 100px);
padding: 20px;
text-align: center;
-webkit-border-radius: 0 5px 5px;
-moz-border-radius: 0 5px 5px;
border-radius: 0 5px 5px;
}
.experience .content ul li .experience-content h2 {
font-size: 1.5em;
color: #3c3c3c;
padding-bottom: 10px;
}
.experience .content ul li .experience-content .experience-time {
color: #777;
font-size: 1.1em;
padding-bottom: 10px;
}
.experience .content ul li .experience-content p {
color: #1a1a1a;
font-size: 0.95em;
}
.experience .content ul li .experience-content:before {
content: "";
background: #f9f9f9;
position: absolute;
top: 0;
left: -35px;
width: 35px;
height: 5px;
}

/*##### SKILLS SECTION #####*/
.skills {
padding: 70px 20px;
}
.skills .content .development-wrapper .development-title {
color: #3c3c3c;
font-size: 2em;
text-align: center;
margin-bottom: 20px;
}
.skills .content .development-wrapper .skills-bar-container {
position: relative;
width: 100%;
list-style-type: none;
}
.skills .content .development-wrapper .skills-bar-container li {
width: 100%;
margin-bottom: 20px;
}
.skills .content .development-wrapper .skills-bar-container li .progressbar-title {
color: #3c3c3c;
margin-bottom: 5px;
}
.skills .content .development-wrapper .skills-bar-container li .progressbar-title h3 {
display: inline-block;
}
.skills .content .development-wrapper .skills-bar-container li .progressbar-title .percent {
position: absolute;
right: 20px;
font-size: 1.1em;
}
.skills .content .development-wrapper .skills-bar-container li .bar-container {
background: #ececec;
position: relative;
width: 100%;
height: 10px;
}
.skills .content .development-wrapper .skills-bar-container li .bar-container .progressbar {
background: #34495e;
position: absolute;
width: 0%;
height: 100%;
}
.skills .content .tools-knowledge-wrapper {
width: 100%;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper {
position: relative;
padding: 20px 0;
width: 100%;
text-align: center;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper .title,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper .title {
color: #3c3c3c;
font-size: 2em;
margin-bottom: 10px;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper ul,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper ul {
list-style-type: none;
margin-left: 40px;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper ul li,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper ul li {
color: #444;
font-weight: bold;
font-size: 1.1em;
text-align: left;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper ul li i,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper ul li i {
color: #27ae60;
}

/*##### RESUME SECTION #####*/
.resume {
background: #1a1a1a;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.resume .content {
background: rgba(0, 0, 0, 0.3);
padding: 50px 0;
text-align: center;
}
.resume .content a {
color: #fff;
text-transform: uppercase;
}
.resume .content a .btn-resume {
display: inline-block;
font-size: 1.1em;
padding: 20px;
margin: 0 15px;
background: rgba(255, 255, 255, 0.2);
position: relative;
border: 2px solid #fff;
border-radius: 5px;
overflow: hidden;
}
.resume .content a .btn-resume span {
-webkit-transition: opacity 1.2s;
-moz-transition: opacity 1.2s;
transition: opacity 1.2s;
}
.resume .content a .btn-resume i {
color: #fff;
position: absolute;
padding: 20px 0;
top: -80px;
width: 100%;
left: 0;
-webkit-transition: top 0.5s;
-moz-transition: top 0.5s;
transition: top 0.5s;
}
.resume .content a .btn-resume:hover span {
opacity: 0.5;
-webkit-transition: opacity 0.4s;
-moz-transition: opacity 0.4s;
transition: opacity 0.4s;
}
.resume .content a .btn-resume:hover i {
top: 0;
}

/*##### PORTFOLIO SECTION #####*/
.portfolio {
background: #f9f9f9;
padding: 80px 0;
}
.portfolio .content {
text-align: center;
}
.portfolio .content h1 {
color: #3c3c3c;
font-size: 2em;
margin-bottom: 50px;
}
.portfolio .content .projects {
width: 100%;
}
.portfolio .content .projects .project {
color: #fff;
position: relative;
width: 80%;
margin-left: 10%;
margin-right: 10%;
margin-bottom: 10%;
overflow: hidden;
}
.portfolio .content .projects .project:last-child {
margin-bottom: 0;
}
.portfolio .content .projects .project .project-image img {
width: 100%;
}
.portfolio .content .projects .project .project-title {
color: #3c3c3c;
padding: 10px 0;
}
.portfolio .content .projects .project .project-description {
color: #444;
}

/*##### CONTACT SECTION #####*/
.contact {
padding: 30px 0;
}
.contact .socials {
list-style-type: none;
width: 100%;
}
.contact .socials .social {
width: 25%;
float: left;
text-align: center;
}
.contact .socials .social a {
color: #3d3d3d;
font-size: 1.5em;
-webkit-transition: color 0.3s;
-moz-transition: color 0.3s;
transition: color 0.3s;
}
.contact .socials .social .email:hover {
color: #c8a028;
}
.contact .socials .social .twitter:hover {
color: #57AEE7;
}
.contact .socials .social .linkedin:hover {
color: #0177B5;
}
.contact .socials .social .codepen:hover {
color: #707070;
}
.contact .clear {
clear: both;
}

.footer {
padding: 25px 0;
text-align: center;
}
.footer p {
color: #777;
font-size: 1.1em;
}
.footer i {
color: #e74c3c;
}
.experience-content p{
  text-align:justify;
}

.link-to-portfolio {
  color: #000000;
  background-color: rgba(250, 250, 250, 0.3);
  padding-top: 10px;
  /* font-size: 19px; */
  font-weight: 600;
  text-decoration: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 200;
  cursor: pointer;
  width: 100px;
  height: 50px;
  text-align: center;
  border-radius: 3px;
  background-position: center center;
  background-size: 65%;
background-repeat: no-repeat;
  /* background-image: url('https://assets.codepen.io/1462889/fcy.png'); */
  box-shadow: 0 0 0 2px rgba(255,255,255,.1);
  transition: opacity .2s, border-radius .2s, box-shadow .2s;
  transition-timing-function: ease-out;
}
.link-to-portfolio:hover {
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  opacity: 0.8;
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(255,255,255,.1);
}
/* ############################
RESPONSIVE
############################### */
@media screen and (min-width: 480px) {
.skills .content .tools-knowledge-wrapper .tools-wrapper,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper {
width: 50%;
float: left;
padding: 0;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper ul,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper ul {
margin-left: 0;
}
.skills .content .clear {
clear: both;
}
}
@media screen and (min-width: 640px) {
.about-myself {
padding: 100px 40px;
}

.skills {
padding-left: 0;
padding-right: 0;
}
.skills .content .development-wrapper {
width: 600px;
margin: auto;
margin-bottom: 50px;
}
.skills .content .tools-knowledge-wrapper {
width: 600px;
margin: auto;
}

.contact .content .socials {
width: 600px;
margin: auto;
}
}
@media screen and (min-width: 960px) {
.experience .content ul li {
margin: 0 auto;
}
.experience .content ul li .experience-content {
width: 40vw;
}
.experience .content ul li:nth-child(odd) .experience-content {
left: 63px;
}
.experience .content ul li:nth-child(odd) .experience-content:before {
left: -50px;
width: 50px;
}
.experience .content ul li:nth-child(even) .experience-content {
left: calc(-40vw - 57px);
-webkit-border-radius: 5px 0px 5px 5px;
-moz-border-radius: 5px 0px 5px 5px;
border-radius: 5px 0px 5px 5px;
}
.experience .content ul li:nth-child(even) .experience-content:before {
left: auto;
right: -50px;
width: 50px;
}
.experience .content ul li:nth-child(odd) .hidden {
margin-left: 10vw;
}
.experience .content ul li:nth-child(even) .hidden {
margin-left: -10vw;
}

.skills {
padding-left: 50px;
padding-right: 50px;
}
.skills .content {
max-width: 1100px;
margin: auto;
}
.skills .content .development-wrapper,
.skills .content .tools-knowledge-wrapper {
float: left;
}
.skills .content .development-wrapper {
margin-bottom: 0;
width: 60%;
}
.skills .content .tools-knowledge-wrapper {
width: 40%;
margin-top: 60px;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper,
.skills .content .tools-knowledge-wrapper .knowledge-wrapper {
float: none;
margin: auto;
}
.skills .content .tools-knowledge-wrapper .tools-wrapper {
margin-bottom: 30px;
}

.portfolio .content .projects .project {
position: relative;
margin: auto;
margin-bottom: 3%;
width: 680px;
height: 450px;
overflow: hidden;
}
.portfolio .content .projects .project:hover .project-image {
-webkit-transform: scale(0.5);
transform: scale(0.5);
}
.portfolio .content .projects .project:hover .project-title, .portfolio .content .projects .project:hover .project-description {
opacity: 1;
}
.portfolio .content .projects .project .project-image {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
-webkit-transition: transform 0.5s ease;
transition: transform 0.5s ease;
-webkit-transform-origin: left top;
transform-origin: left top;
z-index: 3;
overflow: hidden;
}
.portfolio .content .projects .project .project-image img {
width: 100%;
height: auto;
min-height: 100%;
min-width: 100%;
}
.portfolio .content .projects .project .project-title,
.portfolio .content .projects .project .project-description {
position: absolute;
height: 50%;
opacity: 0;
-webkit-transition: opacity 0.3s linear;
transition: opacity 0.3s linear;
overflow: hidden;
}
.portfolio .content .projects .project .project-title {
width: 50%;
top: 0;
right: 0;
padding: 10px;
text-align: center;
display: table;
}
.portfolio .content .projects .project .project-title h2 {
font-size: 2em;
text-decoration: underline;
display: table-cell;
vertical-align: middle;
}
.portfolio .content .projects .project .project-description {
width: 100%;
top: 50%;
left: 0;
padding: 25px 10px;
text-align: left;
}
}

.experience .content .experience-content {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
visibility: hidden;
}

.experience .content .experience-content.visible {
opacity: 1;
transform: translateY(0);
visibility: visible;
}
.about-myself ul {
  
  list-style: none; /* حذف استایل پیش‌فرض لیست */
  padding: 0;
  margin: 10px 0;
}

.about-myself ul li {
  background: url('https://cdn-icons-png.flaticon.com/128/845/845646.png') no-repeat right center;
  background-size: 20px;
  padding-right: 30px; /* فاصله از راست برای آیکون */
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.6;
  transition: all 0.3s ease-in-out;
}

.about-myself ul li:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .about-myself ul {
    padding: 0;
  }

  .about-myself ul li {
    font-size: 1rem;
    padding-right: 25px;
    background-size: 18px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 481px) {
  .experience .content ul li .experience-content h2 {
    font-size: 20px;
    color: #3c3c3c;
    padding-bottom: 10px;
    text-align: center;

}
.skills .content .development-wrapper .development-title {
  color: #3c3c3c;
  font-size: 31px;
  text-align: center;
  margin-bottom: 20px;
}
.experience .content ul li .experience-content .experience-time {
  text-align: center;
  font-size: 15px;
  padding-bottom: 10px;
}
  .experience .content h1 {
    padding: 12px 24px;
    font-size: 20px;
    text-align: center;
    color: #fff;
}
  .link-to-portfolio{
		padding-top: 18px;
		font-size: 11px;
	}
  .hero .content .header h1{
    font-size: 30px;
    padding: 12px 24px;
    text-align: center;
  }
  .hero .content .header p {
    text-align: center;

    padding: 12px 24px;
  }


  .footer p {
    color: #777;
    font-size: 15px;
    padding: 12px 24px;
}
  .visible{
    text-align: justify;

  }
  .resume .content a .btn-resume span {
    -webkit-transition: opacity 1.2s;
    -moz-transition: opacity 1.2s;
    transition: opacity 1.2s;
    text-align: center !important;

}
  .about-myself .content h2{
    text-align: right;
    font-size: 23px;
  }
  .experience-content p{
    text-align:justify;
  }
  .skills-bar-container h3{
    margin-top: 30px;
    font-size: 17px;
  }
  .portfolio .content h1{
    font-size: 23px;
  }
  .portfolio .content .projects .project .project-title h2{
    font-size: 21px;
  }
  .portfolio .content .projects .project .project-description p{
    font-size: 13px;
    text-align: justify;
  }
}