﻿/* COURSE LIBRARY PAGE WRAPPER */

.course-list-page {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 1rem;
}

/* LIBRARY PAGE TITLE */

.course-list-page .course-title {
	text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

/* LIBRARY PAGE INTRO */

.course-list-page .course-intro {
	text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.6;
}

/* GRID LAYOUT FOR COURSE LIST */

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* COURSE GRID ITEM */

.course-item {
    background: #111;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #00aaff;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid #222;
    transition: background 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.course-item:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-4px);
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .course-list-page .course-title {
        font-size: 1.6rem;
    }

    .course-item {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
}