/* MAIN */

main{
    display: flex;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 30px;
    padding-bottom: 60px;
    gap: 40px;
}

/* LEFT SIDE / MAIN 1 */

/* AKSES CEPAT */
.main1{
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.aksescepat{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.cepat{
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    padding: 10px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.cepat:hover{
    background-color: #ececec;
    cursor: pointer;
}

.cepatbutton{
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    height: 20px;
    width: 30px;
}

/* BERITA POPULER */

.populer{
    display: flex;
    flex-direction: column;
}

.populerinfo{
    display: flex;
    flex-direction: row;
    gap: 20px;
    color: rgb(183, 183, 183);
}

/* HARI INI */

.tanggal{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* LEFT SIDE / MAIN 1 */

/* MIDDLE SIDE */

.main2{
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 4;
}

.beritautama{
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.berita{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    background-color: #355cda;
    color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.tag{
    background-color: #3B82F6;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

#selengkapnya{
    background-color: #ffa200;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

#selengkapnya:hover{
    background-color: #ff8c00;
}

.topic{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.trend{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.trenditem:hover{
    background-color: #d4d4d4;
    cursor: pointer;
}

.trenditem{
    background-color: #eaeaea;
    color: black;
    padding: 10px 15px;
    border-radius: 20px;
    margin: 5px;
    font-weight: bold;
    cursor: pointer;
}

.trendbutton{
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.pilihan{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pilihanheader{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#pilihanbutton:hover{
    background-color: #1c36ab;
}

.pilihanitem{
    background-color: #ffffff;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.pilihanberita{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.pilihantext{
    padding: 15px;
}

/* MAIN3 */

.main3{
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 2;
}

.viral{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.trending-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px auto;
}

.trending-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.trending-header h2 {
    font-size: 18px;
    margin: 0;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.trending-item:last-child {
    border-bottom: none;
}

.topic-info {
    display: flex;
    flex-direction: column;
}

.hashtag {
    font-weight: 600;
    color: #1d1d1f;
}

.posts {
    font-size: 13px;
    color: #888;
}

.external-link {
    font-size: 16px;
    color: #5e6ad2;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.external-link:hover {
    transform: scale(1.2);
}

.penulis-list{
    display: flex;
    flex-direction: column;
}

.penulis{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 15px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.penulis-info{
    display: flex;
    flex-direction: column;
    gap: none;
}

.penulis:hover{
    background-color: #ececec;
    cursor: pointer;
}

.penulis-img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.sponsored{
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    gap: 20px;
    padding: 15px;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.sponsored-img{
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.sponsored-item{
    display: flex;
    flex-direction: column;
}

.spons-title{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.update{
    background: linear-gradient(135deg, #fd7c12, #ffffff);
    padding: 20px;
    border: 1px solid black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: none;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#subscribeButton{
    background-color: #ffffff;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

#subscribeButton:hover{
    background-color: #ececec;
}
/* MIDDLE SIDE */



/* RIGHT SIDE */

footer{
    background: linear-gradient(to right, #0e1526, #1c243c);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.footer{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    text-wrap: wrap;
    gap: 20px;
}

.info1{
    flex: 2;
}

.info2{

    flex: 1;
}

.info3{
    flex: 1;
}

.info4{
    flex: 1;
}

.links{
    text-decoration: none;
    color: rgb(227, 227, 227);
}

.kategori{
    text-decoration: none;
    list-style: none;
    padding-left: 0;
}

.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.subs{
    display: flex;
    flex-direction: column;
}

#subscribo{
    background-color: rgb(51, 51, 118);
    color: white;
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 300px;
}

#subrek{
    background-color: #ffa200;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
/* RIGHT SIDE */

