@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');

body {
    font-family: 'Arial Rounded MT Bold', 'Verdana', sans-serif;
    margin: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    margin: 0 70px;
}

header {
    color: rgb(34, 34, 34);
    padding: 0;
    text-align: center;
}

header h1, header h2, header h3 {
    font-family: 'Comfortaa', cursive;
    color: #1a1a1a;
    margin: 5px;
    padding: 5px;
    font-size: 30px;
    font-weight: 500px;
}

h1 {
    font-family: 'Rubik', sans-serif;
    color: #1a1a1a;
}

h2 {
    color: #2b2b2b;
    font-size: 26px;
}

h3 {
    color: #3e3a41;
}

#after-header1 {
    border-bottom: 2px solid #652583;
    width: fit-content;
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

a {
    text-decoration: none;
    color: #0000EE;
    font-weight: bold;
}

a:hover {
    color: #0000a1;
}

p {
    font-family: 'Nunito', sans-serif;
    color: #555;
    font-size: 16px;
}

h2, h3 {
    margin-top: 20px;
}

.panel {
    background: #ffffff;
    border: 1px solid #d9d2df;
    border-top: 4px solid #652583;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 20px 30px 30px;
    margin-bottom: 30px;
}

.textbook {
    text-align: center;
    margin-top: 0;
}

.columns {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.card {
    flex: 1;
    background: #f4f0f7;
    border-radius: 10px;
    padding: 10px 24px 20px;
}

.section-title {
    border-bottom: 2px solid #652583;
    width: fit-content;
    margin-top: 10px;
}

/* stack the cards on narrow screens */
@media (max-width: 700px) {
    body { margin: 0 16px; }
    .columns { flex-direction: column; }
}