@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;800&display=swap);


@media only screen and (max-width: 1240px) {
    main > * {
        padding: 0px 10px
    }

    .header {
        padding: 0 25px;
        max-width: calc(100vw - 50px);
    }

    .sidebar-card {
        max-width: 800px;
    }
}

@media only screen and (min-width: 1240px) {
    .blogs-container {
        height: calc(100vh - 100px);
        width: 100%;
        display: flex;
    }

    .header {
        padding: 0 100px;
    }

    .main {
        flex: 0.66;
        align-items: flex-start;
    }
    
    .sidebar {
        flex: 0.34;
        align-items: flex-start;
    }

    .sidebar-card {
        max-width: 400px;

    }
}

.blog-card {
    max-width: 800px;
    width: 100%;
}

.blog-card, .sidebar-card > h3 {
    color: #adadad;
}

img {
    object-fit: cover;
    width: 100%;
}

.sidebar-card {
    width: 100%;
}

.sidebar-list{
    padding: 0;
    list-style: none;
    display: flex;
    gap: 50px;
    flex-direction: column;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none; 
    max-height: calc(100vh - 200px);
}

.sidebar-list::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.sidebar-list > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sidebar-list > li > a > img {
    width: 100px;
    height: 100px;
}

.sidebar-list > li > a > div > h4 {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    color: #adadad;
    margin: 0;
}