@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: rgb(245, 245, 245);
}

header, main, footer {
    max-width: 1920px;
    margin: 0 auto;
}

/* header */
header {
    padding: 10px;
    background-color: rgb(70, 94, 211);
}

.header-title {
    margin: 0;
}

/* main */
main {
    background-color: #546DE5;
}

.main-block {
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 50px;
    max-width: 720px;
}

.main-section-1-title {
    margin: 0;
}

.main-section-1-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 5px;
}

.main-section-1 {
    padding-bottom: 15px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.main-section-2 {
    display: flex;
    justify-content: center;
    text-align: center;
}

.main-section-2-item {
    max-width: 420px;
    margin-top: 30px;
    border-radius: 10px;
    padding: 20px;
    background-color: #4f68e3;
}

/* footer */
footer {
    background-color: #7DC9FE;
}

.footer-block {
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

.footer-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin: 10px;
    text-align: left;
}

/* other */
p {
    font-family: Ubuntu;
    color: white;
    text-align: center;
}

h1, h2 {
    font-family: Ubuntu;
    font-size: 40px;
    font-weight: 300;
    line-height: 48px;
    color: white;
    text-align: center;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

li {
    font-family: Ubuntu;
    color: white;
}

td {
    text-align: center;
    width: 80px;
}
.main-section-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.main-section-2-item {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    border-radius: 10px;
    padding: 20px;
    background-color: #4f68e3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-section-2-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.block-title {
    font-family: Ubuntu;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Второй блок - другой цвет и стиль */
.block-2 {
    background: linear-gradient(#4f68e3);
    border: 2px solid #4f68e3;
}

.block-2 p {
    font-size: 16px;
}