* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin: 20px 0;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #ffffff;
    color: #111111;
    line-height: 1.6;
}

header {
    padding: 40px 0px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 60px;
}

.about img {
    width: 220px;
    object-fit: cover;
    border-radius: 4px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 16px;
}

.sections {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.card {
    display: block;
    padding: 24px;
    text-decoration: none;
    color: #111;
    border: 1px solid #d0d0d0;
    background: #fafafa;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    background: #f0f0f0;
    border-color: #888;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.back {
    display: inline-block;
    margin-top: 30px;
    color: #111;
}

.done {
  position: relative;
  text-decoration: line-through; /* Зачеркивает текст */
  color: #888; /* Делает текст немного бледнее (опционально) */
  padding-left: 21px; /* Отступ слева для галочки, чтобы она не сливалась с текстом */
  list-style-type: none;
}

.done::before {
  content: '✓'; /* Сам символ галочки */
  position: absolute;
  left: 0;
  top: 0;
  color: #4caf50; /* Цвет галочки (например, зеленый) */
  font-weight: bold; /* Делает галочку более жирной и выразительной */
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    border-top: 1px solid #ddd;
    margin-top: 60px;
}

/* Планшеты и телефоны */

@media (max-width: 768px) {

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 180px;
        height: 180px;
    }

    h1 {
        font-size: 1.7rem;
    }
}