/* Initial Root Element */
@font-face {
    font-family: helvetica;
    src: url("../../fonts/FreeSans.otf"); /* IE9 Compat Modes */
    src: url("../../fonts/FreeSans.otf") format("embedded-opentype"), /* IE6-IE8 */
         url("../../fonts/FreeSans.otf") format("woff"), /* Modern Browsers */
         url("../../fonts/FreeSans.otf") format("truetype"), /* Safari, Android, iOS */
         url("../../fonts/FreeSans.otf") format("svg"); /* Legacy iOS */
}

/* Base Root Element 10px => 1rem = 10px */
/* Ukuran Web 2/3 dari ukurang di Figma */
body, html {
    height: 100%;
    font-size: calc(2/3 * 10px);
    font-family: helvetica;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@media screen and (max-width: 450px) {
    body, html {
        font-size: 3.5;
    }
}

/* Content Detail Berita */
.content-berita {
    margin: 7rem 0;
    min-height: 1000px;
}
.title-berita {
    font-size: 3.5rem;
    font-weight: 700;
    color: black;
}
.waktu-berita {
    font-size: 2.2rem;
    color: black;
}
.image-berita {
    margin: 5rem 0;
}
.image-berita img {
    width: 100rem;
    height: 50rem;
    object-fit: cover;
}
.share-berita p {
    font-size: 2.5rem;
    color: black;
}
.detail-berita p {
    font-size: 2.5rem;
    color: black;
}

.content-populer {
    padding: 6rem 0;
    position: sticky;
    top: 0;
}
.judul-populer {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    border-bottom: 3px solid red;
    padding: 2rem 0;
}
.card {
    border: none;
}
.card-img-top {
    /* width: 30rem; */
    height: 25rem;
    object-fit: cover;
}
.title-populer {
    text-decoration: none;
    transition: .3s;
    color: black;
    font-size: 2rem;
    font-weight: 700;
}
.title-populer:hover {
    transition: .3s;
    color: red;
}
.waktu-populer {
    font-size: 2rem;
}

@media screen and (max-width: 450px) {
    .content-berita {
        margin: 7rem 0;
        min-height: 700px;
    }
    .main-detail-berita .container {
        padding: 4rem 6rem;
    }
    .waktu-berita, .share-berita p {
        font-size: 3rem;
        margin-top: 1rem;
    }
    .image-berita img {
        width: 100%;
    }
    .share-berita a {
        margin: 0 1rem;
    }
    .title-populer {
        font-size: 3rem;
        font-weight: 700;
    }
    .card-img-top {
        height: 35rem;
    }
    .waktu-populer {
        font-size: 2.5rem;
    }
}
/* End Content Detail Berita */