

/* reset هوشمند */
.main {
  display: flex;
  gap: 20px;
  width: 100%;
}

/* لپ‌تاپ - ترتیب عادی */
.left   { flex: 1; }
.center { flex: 2; }
.right  { flex: 1; }

.col {
  padding: 20px;
  background: #eee;
  box-sizing: border-box;
}

/* 📱 موبایل */
@media (max-width: 768px) {

  .main {
    flex-direction: column;
  }

  .right  { order: 1; }
  .center { order: 2; }
  .left   { order: 3; }

}



.x {

    background-color: rgb(0, 255, 98);
  padding: 10px 20px;      /* padding موبایل کمتر */
    border-radius: 20px;
    overflow:hidden;
        text-align: center;
        justify-content: center;
        align-items: center;
          width: 100%;
    box-sizing: border-box;
    display: flex;
      flex-direction: column;
  align-items: center;





    
}
@media (max-width: 768px) {
  x {
    padding: 10px 10px;
  }
}

.y {

   text-align: center;  
   /*justify-content: center;*/
  
}
.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    justify-content: center;
    gap: 15px; /* فاصله بین لینک‌ها */
}
.z {

    background-color: rgb(40, 215, 40);
    text-align-last: auto;
    color: black;
    
}
.w {
    /*display: inline-block;*/
    display: inline-block;
    background-color: blue;
    color: white;
    padding: 10px;
    margin: 5px;
    text-decoration: none;
    border-radius: 15px;
    text-align: justify;

}
/*.ww{
      display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;

}*/
.avatar {
    border-radius: 50%;   /* دایره‌ای شدن تصویر */
    object-fit: cover;    /* جلوگیری از کشیدگی تصویر */

}
✅ درست
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #f1f1f1;
    padding: 20px;
    width: 100%;
}

.footer-column {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}
.signup-section{
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
    margin-right: 20px; /* فاصله از سمت راست برای حرکت به سمت چپ */
}
.signup-section p.y {
    margin-right: 100px; /* فاصله از سمت راست برای حرکت به سمت چپ */
}
.site-logo {
    padding: 10px 20px;
    background-color: white;
}
.big-text{
font-size: 200px;
}
/* اضافه کردن استایل برای زیرمنوها */
ul li {
    position: relative;
}

ul li ul {
    list-style-type: none;
    position: absolute;
    right: 100%;
    top: 0;
    display: none;
    background-color: #fff;
    padding: 0;
}

ul li:hover > ul {
    display: block;
}
ul li ul li a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: black;
}
ul li ul li a:hover {
    background-color: #ddd;
}
/*@font-face  {
  font-family: 'Vazirmatn';
  src: url('../fonts/webfonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}*/

@font-face{
  font-family: 'Vazirmatn';
  src: url('../fonts/webfonts/Vazirmatn[wght].woff2') format('woff2'),
       url('../fonts/webfonts/Vazirmatn[wght].woff2') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
p{
    font-size: 1rem;
    text-align: justify;

}

body {
/*  font-family: Tahoma, Arial, sans-serif; */
  font-family: 'Vazirmatn'; 
    text-align: justify;

}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
header {
  display: flex;
  justify-content: center;  /* وسط افقی */
  align-items: center;      /* وسط عمودی */
}



 