body {
    /* background: #3a6a6dc4; */
    background: #fffff6;
}

main {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px;
    
}

.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 10px 20px;
    font-size: 17px;
    font-weight: bold;
    color: #333;
}


section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    
}

article {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    padding-bottom: 60px;
}

article:hover {
    transform: scale(1.05);
}

article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #00d2dd;
}

article h3 {
    font-size: 18px;
    margin: 15px;
    color: #333;
    text-align: center;
    font-weight: bold;
}

article h3 span {
    color: #666;
    font-style: italic;
}

article p {
    font-size: 16px;
    color: #666;
    margin: 0 15px 20px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 15px;
    padding-bottom: 15px;
}

article p::after {
    content: '...';
    display: inline;
    color: #666;
}

.read-more-button {
    display: block;
    width: 135px;
    padding: 8px;
    margin: 10px auto;
    text-align: center;
    font-size: 14px;
    color: white;
    background-color: #00d2dd;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.read-more-button:hover {
    background-color: #00b8c7;
}

