body {
  font-family: Arial , sans-serif;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  color: #1a1a1a;
}

.hide {
	height: 0;
	overflow: hidden;
}

  /* */
  .container-clike {
    width: 100%;
    height: 400px; /* فقط برای نمونه */
  }
.btn-clike{
  margin: auto, auto;
 display: flex;
 align-items: center;
 justify-content: center;
}

.btn-clike a {
    display: inline-block;
    background-color:  #0056d6;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border: 2px solid  #0056d6;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .btn-clike a:hover {
    background-color: white;
    font-weight:bold;
    color: #0056d6;
    border-color: #0056d6;
  }



.continar{
    max-width: 700px;   /* حداکثر عرض برای مرکز */
    margin: 70px auto;   /* وسط‌چین */
    padding: 50px;
    background: white;
    border: 1px solid #eee;
    border-radius: 19px;
}

header {
    display: flex;
  justify-content: space-between;
  align-items: center;
 
  position: sticky;
  top: 0;
}

header .logo {
    font-weight: bold;
    color: #1a2a4a;
}
nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

nav a:hover {
  color: #0056d6;
}

.intro {
    text-align: center;
    padding: 40px 20 px;

}

.profile-pic{
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.intro h1 {
    margin : 15px 0 5px;
    font-size: 28px;
}
.intro p {
  color: #555;
  margin-bottom: 15px;
}
.btn-contact{
  margin: auto, auto;
 display: flex;
 align-items: center;
 justify-content: center;
}

.btn-contact a {
    display: inline-block;
    background-color:  #0056d6;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border: 2px solid  #0056d6;
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .btn-contact a:hover {
    background-color: white;
    font-weight:bold;
    color: #0056d6;
    border-color: #0056d6;
  }



.btn{
     background: #0056d6;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
 cursor: pointer;
}
/* فونت و تنظیمات کلی */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  color: #1a1a1a;
}

/* هدر */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
}

header .logo {
  font-weight: bold;
  color: #1a2a4a;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

nav a:hover {
  color: #0056d6;
}

/* بخش معرفی */
.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;      /* فاصله بین عکس و متن */
  padding: 40px 20px;
  text-align: left;
}


.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.intro h1 {
  margin: 15px 0 5px;
  font-size: 28px;
}

.intro p {
  color: #555;
  margin-bottom: 15px;
}

.btn {
  background: #0056d6;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.btn:hover {
  background: #0041a8;
}

.skills{
    margin: 0 auto;   /* وسط‌چین */
  padding: 40px 20px;
}

.skills-list{
    display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 20px auto;

}
.skill{
background: #f3f8ff;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
}

.contact {
  text-align: center;
  padding: 40px 20px;
}

form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap:10px;

}
.form-row {
  display: flex;
  gap: 10px; /* فاصله بین Name و Email */
}

.form-row input {
  flex: 1; /* هر دو مساوی کش می‌شن */
}
input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  margin-top: 10px; /* کمی فاصله از textarea */
  width: auto; /* دکمه به اندازه متن باشه */
  align-self: flex-start; /* بچسبه سمت چپ (اگه بخوای وسط هم میشه) */
}


/*بخش تایمر */

.test-area{
   margin: 0 auto;
    max-width: 550px;
}

.pattern h2 {
  margin: 15px 0 5px;
  font-size: 28px;
  font-weight: 600;
}

.pattern p {
  color: #555;
  margin-bottom: 15px;
  text-align: center;
}

#origin-text {
    margin: 1em 0;
    padding: 1em 1em 1em;

    background-color: #ededed;
    margin-top: 7px;
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

.test-wrapper {
    border: 4px solid grey;
    border-radius: 10px;
    height: 200%;
    display: flex;

}


.test-wrapper textarea {
    flex: 1;
}

.meta {
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.timer {
    font-size: 3em;
    font-weight: bold;
}
.pattern{
    padding-top: 10px;

}

#reset {
  background: #0056d6;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

#reset:hover {
  background: #0041a8;
}

.load{
  margin-top: 130px;
  text-align: center;
}
.load h2 , .text {
  font-size: 32px;
  font-weight: 700;
  margin-top: 40px;
}