
header {
    text-align: center;
}

 .narrative {
    text-align: justify;
    margin: 0 20px 0 20px;
 }
header h1 {
    font-size: 1.2rem;
    text-align: center;
}
.heading {
    text-align: center;
}
/* section 1 - cards */
.card-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}
.card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #ddd;
}
.card-content {
    padding: 15px;
}
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}
.card p {
    font-size: .8rem;
    color: #666;
}

.title {
    font-size: 1.2rem;
    text-align: center;
}

video {
    margin-left: 50px;
}
 footer {
    background-color:#333;
    color: white;
    padding: 20px;
    text-align: center;
 }

/* responsive screen sizes */
/* @media screen and (max-width: 1200px) {
    .card-section {
    grid-template-columns: repeat(3, 1fr);
    }
} */
@media screen and (max-width: 900px) {
    .card-section {
    grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 600px) {
    .card-section {
        grid-template-columns: 1fr;
    }
    .heading {
        font-size: 1rem;
    }
}


