/* styles.css */

/* Include the Google Font - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px; /* Increased max-width for a more spacious layout */
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 36px; /* Increased font size for a more prominent heading */
    color: #333;
    margin-bottom: 40px; /* Increased margin for better spacing */
}

.lesson-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px; /* Increased margin for better spacing */
}

.lesson-card {
    width: calc(33.33% - 20px);
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Increased box-shadow for a subtle lift effect */
    overflow: hidden;
    transition: transform 0.2s ease-in-out; /* Added a hover effect */
}

.lesson-card:hover {
    transform: scale(1.03); /* Scale the card slightly on hover */
}

.lesson-card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
}

.lesson-card h2 {
    font-size: 28px; /* Adjusted font size for better readability */
    margin: 0;
    color: #333;
}

.lesson-card p {
    margin-top: 10px;
    color: #666;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .lesson-card {
        width: 100%;
        margin-right: 0;
    }
}
