

main{
    width: 100%;
    min-height: 100vh;
    padding: 20px 50px;
    background: whitesmoke;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-section{
    width: 100%;
}

.showcase{
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
    margin-bottom: 20px;
}
.showcase-banner{
    width: 100%;
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.banner-image{
    width: 500px;
    height: 300px;
}
.banner-image img{
    width: 100%;
    height: 100%;
}
.banner-text{
    font-size: 40px;
    width: 500px;
    font-weight: 1000;
    letter-spacing: 1px;
}
.banner-text:hover{
    text-decoration: underline;
}
/*Sidebar*/
.sidebar{
    width: 400px;
    height: auto;
}

.sub-topics{
    width: 100%;
    display: flex;
    gap: 15px;
    list-style-position: unset;
}
.sub-topics div{
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.sub-topics h6{
    font-size: 13px;
}
.sub-topics h6:hover{
    text-decoration: underline;
}
.sub-topics i{
    font-size: 5px;
}

/*Latest stories*/

.latest{
    width: 100%;
    
}
.sec2{
    flex: 1;
}
.latest-title{
    margin-bottom: 20px;
}
.latest-title h6{
    font-size: 16px;
    padding: 10px;
    width: fit-content;
    background: salmon;
    color: white;
    border-radius: 10px;
}
.latest-wrapper{
    display: flex;
}

.latest-container{
    width: 100%;
}

.latest-container > div{
    width: 100%;
    display: flex;
    gap:30px;
    margin-bottom: 30px;
}

.latest-content{
    width: 440px;
    height: 300px;
    border-bottom: 1px solid black;
}
.sec2 .latest-content{
    width: 400px;
    height: 280px;
}
.sec2 .latest-image{
    width: 400px;
    height: 190px;
}
.latest-image{
    width: 440px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
.latest-image img{
    width: 100%;
    height: 100%;
}

.latest-content-title{
    width: 100%; 
}
.latest-content-title h6{
    width: 100%;
    font-size: 16px;
    line-height: 20px;
}
.latest-content-title h6:hover{
    text-decoration: underline;
}


.sidebar{
    padding: 0 30px;
}
.trending{
    width: 100%;
}
.trending h6{
    font-size: 16px;
    padding: 10px;
    width: fit-content;
    background: salmon;
    color: white;
    border-radius: 10px;
}

.side-container{
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.side-card{
    display: flex;
    gap: 15px;
    align-items: center;

}
.side-container .side-image{
    width: 150px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
}
.side-image img{
    width: 100%;
    height: 100%;
}
.side-container h6{
    width: 180px;
    font-size: 13px;
}
.side-container h6:hover{
    text-decoration: underline;
}

.tech-carousel{
    width: 100%;
    margin-bottom: 20px;
}
.tech-title{
    width: 100%;
}
.tech-title h6{
    font-size: 16px;
    padding: 10px;
    width: fit-content;
    background: salmon;
    color: white;
    border-radius: 10px;
}

.tech-container{
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.tech-card{
    width: 320px;
    height: 360px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid black;
}
.tech-image{
    width: 100%;
    height: 270px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}
.tech-card img{
    width: 100%;
    height: 100%;
}
.tech-card h6{
    font-size: 13px;
}

.tech-card h6:hover{
    text-decoration: underline;
}

.categories{
    width: 100%;
    padding: 30px 0;
}

.category-title{
    margin-bottom: 15px;
}
.category-container{
    padding: 30px;
    border-bottom: 1px solid black;
}
.category-container:nth-of-type(1){
    border-top: 1px solid black;
}

.category-title h6{
    font-size: 13px;
    padding: 8px;
    width: fit-content;
    background: lightsalmon;
    color: white;
    border-radius: 10px;
}

.cat-content-container{
    display: flex;
}
.big-content{
    width: 325px;
    padding-right: 25px;
    border-right: 1px solid black;
    margin-right: 25px;
}
.big-content .category-image{
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.big-content img{
    width: 100%;
    height: 100%;
}
.big-content h6{
    font-size: 14px;
}
.big-content h6:hover{
    text-decoration: underline;
}

.smaller-content{
    width: 100%;
}
.smaller-content > div{
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid black;
    display: flex;
    gap: 15px;
}
.smaller-content > div:nth-of-type(2){
    border: none;
}
.smaller-content .category-card{
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row-reverse;
}
.smaller-content .category-image{
    width: 150px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
}
.smaller-content img{
    width: 100%;
    height: 100%;
}
.smaller-content h6{
    width: 113px;
    font-size: 11px;
    text-align: right;
}
.smaller-content h6:hover{
    text-decoration: underline;
}