/* ---------- Teaching materials cards ---------- */

.materials-section {
    margin: 2.5rem auto 1.5rem;
    max-width: 900px;
}

.materials-title {
    font-family: "Century Gothic", sans-serif;
    font-size: 1.8rem;
    color: #115740;
    margin-bottom: 1rem;
    text-align: left;
}

.materials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.material-card {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: #f5f2ec;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(17, 87, 64, 0.18);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.material-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #B9975B;
}

.material-icon {
    font-size: 1.8rem;
}

.material-text {
    display: flex;
    flex-direction: column;
}

.material-name {
    font-family: "Century Gothic", sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #115740;
}

.material-sub {
    font-family: "Century Gothic", sans-serif;
    font-size: 0.85rem;
    color: #5b5b5b;
}

.extra-text {
  font-size:1.3rem;
  line-height: 200%;
}


@media (max-width: 768px) {

    .extra-text {
        font-size:1rem;
        line-height: 200%;
    }

    .about_me_txt {
        font-size: 2.7vmax;
        margin-top: 0px;
        line-height: 4vh;
    }
}