* { 
    margin: 0px; 
    padding: 0px;
    font-size: 22px;
}

/********************************************************/

div.download{
    width: 250px;
    position: absolute;   
    bottom: 0;
    right: 0;
    margin-right: 200px;
    margin-bottom: 200px;
}

.download a{
    font-size: 0.9em;
    color: blue;
}

/********************************************************/

header h1{
    font-size: 4em;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 10px solid green;
}

/********************************************************/

.main_table, .main_table table{                                                     /* позиционирование обёртки и таблицы на странице */
    width: 50%;
    margin: 0 auto 0 auto;
}

.main_table caption{                                                                /* форматирование названия таблицы */
    font-size: 2em;
    font-weight: 600;
    padding: 10px 0 10px 0;
    margin-bottom: 5px;
    border-radius: 0 0 20px 20px;
    background-image: linear-gradient(to bottom right, green, lightgreen);
}

.main_table th, .main_table td{                                                     /* установка границ ячеек */
    border: 1px solid black;
}
.main_table table{                                                                  /* установка для border-ов ячеек внутри таблицы, нужна для того, чтобы ячейки слились вместе */
    border-collapse: collapse;
}
.main_table th{ border-top: none;}                                                  /* тонкая настройка границ ячеек */
.main_table th:first-child{ border-left: none; border-radius: 20px 0 0 0; }
.main_table th:last-child{ border-right: none; border-radius: 0 20px 0 0; }


#product{ background-color: lightcoral; }                                          /* раскраска ячеек */   
#price{ background-color: lightpink; }
#quantity{ background-color: lightsalmon; }
.main_table th{ background-color: lightblue; }

td:nth-child(2), td:nth-child(3) { text-align: right; }                             /* выравнивание для ячеек с ценой и количеством */