/* پدینگ دورادور صفحه */
.main {
    padding: 0%;
}

/* کانتینر اصلی */
.box {
    width: 100%;
}

/* کل متن */
.text {
    padding: 5% 10%;
    font-family: 'Poppins', sans-serif;
    line-height: 1.9;
    text-align: justify;
}

/* تصویر سمت چپ با جریان متن */
.text img {
    float: left;              /* کلید اصلی */
    width: 22%;               /* عرض تصویر */
    margin: 0 2% 0% 0;        /* فاصله از متن */
    height: auto;
    display: block;
    border: 1px solid #00aeef;
}
.text img:hover {
    filter:brightness(0.9);
}

/* عنوان */
.text h1 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 2.5vw;
    margin-top: 0;
    font-weight: 900;
}

.text h1 span {
    color: #00aeef;
}
.text p{
    margin-top: -1%;
    font-size: 1.2vw;
}
/* لیست */
.text ul {
    margin-left: 20px;
}

/* جدول باید زیر تصویر شروع شود */
.table {
    clear: both;              /* بسیار مهم */
    margin:-19% 1% 0 16%;
}

/* جدول */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    border: 1px solid #000;
    padding:6px 5px;
    font-size: 12px;
}

.table-title {
    text-align: center;
    font-weight: bold;
}
.table td:nth-of-type(odd){
    font-weight: bold;
}
.text p:last-child{
    font-size: 1.5vw;
    font-weight: bold;
}
/* موبایل */
@media (max-width: 768px) {
    .main,.box{
        margin: 0;
        padding: 0;
    }
    .text img {
        float: none;
        width: 100%;
        margin: 0 0 2% 0;
    }

    .text h1 {
        font-size: 7vw;
        text-align: center;
    }
    .text p{
        padding: 0 3%;
        font-size: 3vw;
    }
    .text ul{
        margin-top:-4%;
    }
    .text ul li{
        font-size: 3vw;
    }
    .table{
        display: flex;
        justify-content: center;
        margin: 1%;
        width: 96%;
    }
     table,
    thead,
    tbody,
    tr,
    td,
    th {
        display: block;
        width: 96%;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        padding: 2%;
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
    }
    .text p:last-child{
        font-weight: bolder;
        font-size: 4vw;
        color: #00aeef;
    }
}
