body {
  text-align: center;
  margin-top: 200px;
}


.logo-home{
  width: 300px;
}


/* تیتر */
h1 {
  color: #333;
}

/* دکمه */
.button1 {
  background-color: #8FBC8F;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button1:hover {
  background-color: #48a74b;
}

/* محتوای کلی */
.content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding: 20px;
  margin: 50px;
}

.text {
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* تیترهای متن */
.headline,
.headline2,
.headline3 {
  width: 500px;
  max-width: 90%; /* باعث می‌شود در موبایل عرض از صفحه بیرون نزند */
  margin: 0 auto;
  line-height: 2;
  color: rgb(117, 117, 117);
  border-radius: 30px;
  padding: 10px;
  text-align: center;
}

/* headline خاص */
.headline3 {
  font-weight: bold;
  position: relative;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  animation: colorChange 1s linear infinite, mov 2s infinite;
}

.headline3::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #8FBC8F(117, 235, 8, 0.2), transparent);
    animation: shine 0.5s infinite;
    
    
}
/* انیمیشن‌ها */
@keyframes shine {
  0% { transform: translateX(-15%); }
  100% { transform: translateX(15%); }
}

@keyframes colorChange {
  0% { color: #d3d3d3; }
  50% { color: #c4c4c4; }
  100% { color: #929292; }
}

/* تصویر */
.pikcher1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}

.imgSaidOfPage {
  width: 120px;
  margin: 10px;
  transition: all 0.3s ease;
}

.imgSaidOfPage:hover {
  background-color: #48a74b;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* وسط‌چین شدن متن‌ها */
.midelText {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* ----------------------------------
   📱 ریسپانسیو برای موبایل
---------------------------------- */
@media screen and (max-width: 600px) {

  body {
    text-align: center;
  }

  .content {
    grid-template-columns: 1fr;
    margin: 20px 10px;
    padding: 10px;
  }

  .headline,
  .headline2,
  .headline3 {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    padding: 8px;
  }

  .pikcher1 {
    flex-direction: column;
    margin-top: 20px;
  }

  .imgSaidOfPage {
    width: 80px;
    margin: 5px;
  }

  .button1 {
    width: 80%;
    font-size: 14px;
    padding: 8px;
  }

  .midelText {
    flex-direction: column;
  }

  /* اگر بخشی از stepها داری، ترتیب نمایش تنظیم میشه */
  .step2 { order: 1; }
  .step1 { order: 2; }
  .step3 { order: 3; }
}
