*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f3f4f6;
}

header{

    background:#111827;
    color:white;

    padding:20px 50px;

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.logo{
    font-size:1.5rem;
    font-weight:bold;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    color:white;
    text-decoration:none;
}

.hero{
    padding:20px;
}

.hero img{
    width:100%;
    display:block;
}

main{

    max-width:1400px;

    margin:auto;

    padding:20px;

    display:grid;

    grid-template-columns:
    3fr 1fr;

    gap:30px;

}

.posts{

    display:grid;
    gap:30px;

}

.posts article{

    background:white;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 0 10px rgba(0,0,0,.1);

}

.posts img{

    width:100%;
    display:block;

}

.posts h2{

    padding:20px;

}

.posts p{

    padding:0 20px 20px;

}

aside{

    display:flex;
    flex-direction:column;
    gap:20px;

}

aside section{

    background:white;

    min-height:200px;

    padding:20px;

    border-radius:10px;

}

footer{

    background:#111827;

    color:white;

    text-align:center;

    padding:30px;

}

@media(max-width:768px){

    main{
        grid-template-columns:1fr;
    }

    header{
        flex-direction:column;
        gap:15px;
    }

}