@import url('https://fonts.googleapis.com/css?family=Alex Brush');
@import url('https://fonts.googleapis.com/css?family=Fjalla One');
@import url('https://fonts.googleapis.com/css?family=Asap');
@import url('https://fonts.googleapis.com/css?family=Assistant');
@import url('https://fonts.googleapis.com/css?family=Oswald');
@import url('https://fonts.googleapis.com/css?family=BIZ+UDGothic');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #212529;
}

::-webkit-scrollbar-thumb {
    background-color: #0f1011;
}

h1 {
    font-size: 1.875rem;
    font-weight: bold;
}

h2 {
    font-size: 1.500rem;
    font-weight: bold;
}

h3 {
    font-size: 1.275rem;
    font-weight: bold;
}


body,
.outside,
.inside {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
        sans-serif, Apple Color Emoji, Segoe UI Emoji;
    margin: 0 auto;
    color: hsl(0, 0%, 95%);
    background-color: hsl(5, 15%, 5%);
    font-size: clamp(1rem, 5vw, 1.2rem);
    line-height: 1.6;
    padding: 0;
}

main {
    margin: 0 auto;
}

:root {
    --scale: 0.1;
    --space: 8vmin;
}

@media (prefers-reduced-motion) {
    :root {
        --scale: 0;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
}

.header,
.footer {
    display: grid;
    place-items: center;
    height: 100vh;
}

/* tambahan */

.image-container img {
    top: 0vh;
    position: fixed;
    width: 100vw;
    height: auto;
    object-fit: cover;
    z-index: -10;
}


.outside {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.content {
    width: 65vw;
}

.content p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.content-wide {
    /* width: 100%; */
    transition: 0.5s all ease-in;
}

.image-container figcaption {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: block;
    padding: 1vh 0 0 0;
    position: relative;
    z-index: 3;
    background-color: white;
    text-align: center;
    border-bottom: 3px outset #000;
}

figcaption {
    font-size: 13px;
}

blockquote {
    font-family: 'serif';
}

.potrait {
    width: 50%;
    height: auto;
    float: right;
    margin: 2rem 1rem;
}

.landscape {
    width: 90%;
    height: auto;
    margin: 0 auto;
}

.clear {
    clear: both;
}


.reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.img-responsive {
    margin: 1rem;
}

.embed-responsive {
    margin: 1rem;
}

.mb-8 img {
    /* width: 80%; */
    /* height: auto; */
    /* margin: 0 auto; */

}

.iconic {
    display: flex;
    width: 150px;
    float: left;
}

.iconic svg {
    display: block;
    height: auto;
    fill: white;
    float: left;
    margin: 1rem;
}

.related {
    width: 80vw;
    display: flex;
    flex-wrap: wrap;
    place-items: baseline;
    margin: 0 auto 2rem;
    border: 1px solid #b59214;
    color: #b59214;
}

.testing {
    font-size: 0.8rem;
    max-width: 46%;
    margin: 0.5rem;
    text-align: center;
}

.testing img {
    border-radius: 1rem;
}

/* media 1024 */
/* @media (min-width: 1024px) {
    body {
        width: 70vw;
        margin: 0 auto;
    }
    img {
       width: 100%;
      }
    p {
        font-size: 1rem;
        margin: 0 0 1rem 0;
    }
} */

/* media dibawah 1024 */
@media (max-width: 1023px) {

    blockquote {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0rem 1rem 1rem 0rem;
        float: left;
        padding-top: 80px;
        font-size: 1.2rem;
        font-style: italic;
        font-weight: bold;
    }

    blockquote::before {
        display: flex;
        font-family: 'BIZ UDGothic';
        content: '"';
        font-size: 8rem;
        font-weight: 300;
        position: absolute;
        top: -102px;
        left: -11px;
        font-style: normal;
        transform: rotate(180deg);
    }

    blockquote::after {
        display: flex;
        content: '" ';
        font-family: 'BIZ UDGothic';
        font-size: 2rem;
        right: 10px;
        bottom:10px;
    }

    .news-category {
        background-color: #d2222a;
        color: white;
        padding: 10px 20px;
        text-decoration: none;
        display: block;
        font-family: 'Montserrat';
        border-radius: 20px;
        font-size: 15px;
        text-transform: uppercase;
    }

    .header-title {
        font-family: 'Montserrat';
        font-weight: bold;
        margin: 20px 10vw;
        font-size: 2rem;
        text-shadow: 2px 3px 4px black;
    }

    .centered {
        z-index: 10;
        position: absolute;
        width: 100%;
        height: 75%;
        top: 65%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .divider {
        border: white solid 1px;
        width: 80%
    }

    .image-mobile-banner {
        position: absolute;
        top: 0px;
        width: 110vw;
        max-width: 1000px;
    }

    .background-mobile {
        background: black;
        height: 70vh;
        width: 100vw;
        top: 40%;
        position: absolute;
        box-shadow: -1px -30px 60px 55px black;
    }

    .bg-cover {
        height: 100%;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto;
        position: fixed;
    }

    .banner-header {
        background-image: "";
        background-size: auto;
        background-position-x: center;
        height: 100vh;
        width: 100%;
    }

    .inside {
        margin-top: 60vh;
        padding: 1.5rem;
    }

    .potrait {
        width: 100%;
        height: auto;
        margin: 40px auto;
    }

    .related {
        width: 100vw;
        display: flex;
        flex-wrap: wrap;
        place-items: baseline;
        margin: 0 auto 2rem;
        border: 1px solid #b59214;
        color: #b59214;
    }

    .testing {
        font-size: 0.8rem;
        margin: 2rem;
        text-align: center;
        max-width: 45%;
    }

    main {
        margin: 0 auto;
    }

    .content {
        width: 100vw;
    }

    .image-container img {
        position: fixed;
        height: 100vw;
        width: auto;
        object-fit: cover;
    }

    .text-open-news {
        display: none
    }

    .outside-content {
        width: 100%;
    }

    /* img {
       width: 100%;
       margin:1em auto;
      } */
    .container-image {
        position: relative;
    }

    .footer-item {
        display: flex;
        justify-content: center;
        border-radius: 10px;
        /* background-color: #212529; */
        padding: 10px;
        width: 85%;
        height: 50px;
    }

    .footer-icon {
        position: relative;
    }


    .footer-item a:hover {
        color: #212529;
    }

    .footer-icon i {
        top: 0px;
        right: 27px;
        font-size: 24px;
        transition: 0.3s ease-in;
    }

    .footer-icon svg.active {
        font-size: 14px;
        padding: 5px;
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    .footer-icon svg:not(.active) {
        font-size: 24px;
        padding: 0px;
        border-radius: 10px;
        transition: all 0.3s ease-in-out;
    }

    .footer-icon p.active {
        position: absolute;
        top: -14px;
        width: 100px;
        left: -11px;
        font-size: 12px;
        background-color: white;
        border-radius: 10px;
        color: #212529;
        padding: 0px 5px;
        z-index: -100;
        transform: translateY(-10px);
        transition: all 0.3s ease-in;
    }

    .footer-icon p:not(.active) {
        position: absolute;
        top: -35px;
        width: 100px;
        left: -30px;
        font-size: 12px;
        background-color: white;
        border-radius: 10px;
        color: #212529;
        padding: 0px 5px;
        transform: translateY(30px);
        z-index: -100;
        transition: all 0.3s ease-in;
    }

    .news-related{
        border-radius: 10px;

    }

    #image-related:not(.image-related-news) {
        display: flex;
        border-radius: 0px;
        transform: translateY(0px);
        transition: 0.3s all ease-in;
    }

    .image-related-news {
        text-align: center;
        border-radius: 15px;
        transform: translateY(-10px);
        transition: 0.3s all ease-in;
    }
}

@media (min-width: 1024px) {
    .editor-section {
        width: 100%;
        display: inline-block;
        padding: 0px 300px;
    }

    blockquote {
        position: relative;
        width: 50%;
        height: auto;
        margin: 2rem 2rem 2rem -5rem;
        float: left;
        padding-top: 60px;
        font-size: 1.5rem;
        font-style: italic;
        font-weight: bold;
        line-height: 2.5rem;
    }

    blockquote::before {
        position: absolute;
        font-family: 'BIZ UDGothic';
        content: '"';
        font-size: 12rem;
        font-weight: 300;
        font-style: normal;
        display: flex;
        transform: rotate(180deg);
        top: -68px;
        left: -17px;
    }

    blockquote::after {
        content: '" ';
        margin-left: 0.5rem;
        font-size: 2rem;
    }

    #image-related:not(.image-related-news) {
        display: flex;
        width: 400px;
        border-radius: 0px;
        transform: translateY(0px);
        transition: 0.3s all ease-in;
    }

    .image-related-news {
        width: 400px;
        height: 250px;
        text-align: center;
        border-radius: 15px;
        transform: translateY(-10px);
        transition: 0.3s all ease-in;
    }

    .news-related{
        width: 400px;
        height: 250px;
    }

    .image-mobile-banner {
        display: none;
    }

    .margin-news {
        margin: 20px 220px;
    }

    .news-category {
        background-color: #d2222a;
        color: white;
        padding: 10px 20px;
        text-decoration: none;
        display: block;
        font-family: 'Montserrat';
        border-radius: 20px;
        font-size: 14px;
        text-transform: uppercase;
    }

    .header-title {
        font-family: 'Montserrat';
        font-weight: bold;
        font-size: 2.5rem;
    }

    .centered {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .bg-cover {
        height: 100%;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
    }

    .banner-header {
        background-position: center;
        background-size: cover;
        text-align: center;
        height: 100vh;
        box-shadow: 10px -20px 150px 50px #212529 inset;
        filter: brightness(0.5);
    }

    .inside {
        margin-top: 80vh;
        padding: 3.5rem;
    }

    .footer-item {
        display: flex;
        justify-content: center;
        border-radius: 10px;
        /* background-color: #212529; */
        padding: 10px;
        width: 35%;
        height: 50px;
    }


    .footer-icon {
        position: relative;
    }


    .footer-item a:hover {
        color: #212529;
    }

    .footer-icon i {
        top: 0px;
        right: 27px;
        font-size: 24px;
        transition: 0.3s ease-in;
    }

    .footer-icon svg.active {
        font-size: 14px;
        padding: 5px;
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    .footer-icon svg:not(.active) {
        font-size: 24px;
        padding: 0px;
        border-radius: 10px;
        transition: all 0.3s ease-in-out;
    }

    .footer-icon p.active {
        position: absolute;
        top: -19px;
        width: 100px;
        left: -16px;
        font-size: 12px;
        background-color: white;
        border-radius: 10px;
        color: #212529;
        padding: 0px 5px;
        z-index: -100;
        transform: translateY(-10px);
        transition: all 0.3s ease-in;
    }

    .footer-icon p:not(.active) {
        position: absolute;
        top: -35px;
        width: 100px;
        left: -30px;
        font-size: 12px;
        background-color: white;
        border-radius: 10px;
        color: #212529;
        padding: 0px 5px;
        transform: translateY(30px);
        z-index: -100;
        transition: all 0.3s ease-in;
    }


    .outside-content {
        width: 100%;
    }

    .text-open-news {
        position: absolute;
        width: 300px;
        text-align: start;
        bottom: -15px;
        left: 150px;
        transform: translate(-50%, -50%);
        color: #212529;
        background-color: rgb(237 237 237 / 80%);
        padding: 15px 10px 10px 10px;
        font-size: small;
        font-family: 'Assistant';
        transition: 1s all ease-in;
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
        z-index: 1000;
    }

    .baca-berita {
        background-color: #2a2a2a;
        width: 100px;
        font-size: 16px;
        text-align: center;
        color: white;
        border-radius: 5px;
    }

    .judul-berita {
        font-size: 16px;
        font-weight: bold;
        color: #363636;
        margin-bottom: 10px
    }

    .tanggal-berita {
        background-color: #d2222a;
        color: #FFF;
        padding: 3px;
        font-size: 12px;
        border-radius: 5px;
    }

    #created-date {
        display: none;
    }

    #title-news {
        display: none;
    }

    .container-image {
        display:flex;
        justify-content: center;
        position: relative;
        max-width: 430px;
        width: 32vw;
        min-width: 32vw;
    }
}

.footer-premium.hidden {
    position: fixed;
    bottom: 0px;
    width: 0vw;
    justify-content: center;
    display: none;
    animation: fadeOut 1s;
    transition: all 1s ease-in-out;
}

.footer-premium:not(.hidden) {
    position: fixed;
    bottom: 30px;
    width: 100vw;
    justify-content: center;
    display: flex;
    animation: fadeIn 1s;
    transition: all 1s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.footer-item a {
    color: #212529;
    margin: 0px 20px;
    text-decoration: none;
}

.container {
    position: relative;
    text-align: center;
    color: white;
    max-width: 100%;
}

.body-background {
    box-shadow: 10px 10px 10px 10px inset;
    filter: opacity(0.5);
    transition: 1s;
}

.tag-keyword {
    background-color: #666666;
    color: white;
    text-decoration: none;
    padding: 5px;
}

.reveal-author {
    display: flex;
    position: fixed;
    background-color: white;
    color: #212529;
    bottom: 0;
    text-align: center;
    width: 100vw;
    height: 100vh;
    background-color: red;
    opacity: 0;
    transition: 0.3s all ease;
}

.reveal-author.active {
    display: flex;
    position: fixed;
    background-color: white;
    color: #212529;
    bottom: 0;
    text-align: center;
    width: 100vw;
    height: 100vh;
    background-color: red;
    opacity: 1;
    transition: 0.3s all ease;
}

.background-block {
    background-color: hsl(5, 15%, 5%);
    transition: 0.5s all ease-in;
}

.background-position-body {
    background-color: hsl(5, 15%, 5%);
    transition: 0.5s all ease-in;
}

.image-profile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-profile-photo {
    width: 150px;
    height: 150px;
}

.created-date {
    background-color: #d2222a;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 10px;
}

a.author {
    text-decoration: none;
    color: hsl(0, 0%, 95%);
    font-size: 18px;
}

a.author:hover {
    text-decoration: none;
    color: hsl(0, 0%, 95%);
    font-size: 18px;
}

.social-share {
    text-align: center;
    margin: 50px 0px 100px 0px;
}

.social-share a {
    color: #212529;
    text-decoration: none;
}

.social-share a:hover {
    color: #131618;
    text-decoration: none;
}

ol, ul {
    padding-left: 0rem;
}

@-webkit-keyframes bounce {
    0% { transform: translateY(-5px)  }
    50% { transform: translateY(10px) }
    100% { transform: translateY(-5px) }
}

@keyframes bounce {
    0% { transform: translateY(-5px)  }
    50% { transform: translateY(10px) }
    100% { transform: translateY(-5px) }
}

.animate-bounce {
    margin: 20px auto;

    -webkit-animation: bounce 3s infinite ease-in-out;
    -o-animation: bounce 3s infinite ease-in-out;
    -ms-animation: bounce 3s infinite ease-in-out;
    -moz-animation: bounce 3s infinite ease-in-out;
    animation: bounce 3s infinite ease-in-out;
}
