@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
body {
    padding: 20px;
    background-color: #f8f8f8;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    flex: 3;
}
.article {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-right: 20px;
}
.article iframe{
    width: 100%;
    border-radius: 8px;
}
.article h3 {
    font-size: 16px;
    margin: 10px 0;
}
.article span {
    display: inline-block;
    background: black;
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 5px;
}
.newsletter {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 300px;
    margin-left: 20px;
}
.newsletter input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.newsletter button {
    width: 100%;
    padding: 10px;
    background: purple;
    color: white;
    border: none;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .newsletter {
        margin-left: 0;
        margin-top: 20px;
        max-width: 100%;
    }
}
