/* Общие стили */
body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: #333;
    background: #fafafa;
    /* height: calc(100vh - 80px); */
    min-height: calc(100vh - 140px);
    width: 100%;
}

/* Основной контент */
main {
    margin-top: 80px;
    /* отступ под фиксированный header */
    max-width: 1200px;
    width: 1200px;
    min-height: calc(100vh - 140px);
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.course-description {
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.course-description h2 {
    margin-top: 0;
    color: #222;
}

.course-description p {
    line-height: 1.6;
}

.buy-section {
    margin-top: 20px;
    text-align: center;
}

.buy-button {
    background: #2196F3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buy-button:hover {
    background: #1976D2;
}

.go-button {
    background: #2196F3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.go-button:hover {
    background: #1976D2;
}

.price {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}



footer {
    color: white;
    /* width: 100%; */
    min-width: 1240px;
}

footer h2 {
    color: white;
    margin-bottom: 10px;
    padding-top: 8px;
}

footer a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

footer a:hover {
    color: #8dc6ff;
}

.footer-div {
    min-height: 170px;
    background: #364f6b;
    padding-left: 36px;
    padding-right: 36px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    /* width: 100%; */
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer li {
    margin-bottom: 10px;
}


#buy-container {
    border-radius: 5px;
    padding: 12px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#buy-container.highlight {
    background-color: #e6f7ff;
    border-color: #10549d;
}