body {
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: "Roboto", system-ui;
    overflow-x: hidden;
}

body:has(.navbar-collapse.show) {
    overflow-y: hidden;
}

/* Start Navbar */
.navbar {
    background-image: linear-gradient(#380000, #9e0000);
    padding: 1rem 0 0;
    display: block;
    text-transform: uppercase;
    box-shadow: 0 0 10px black;
    position: sticky;
    top: 0;
    z-index: 999;
}

.overlay-block {
    display: none;
}

.navbar-toggler {
    border: 1px solid white;
    font-size: .95rem;
    background-color: #960000;
    box-shadow: 0px 0px 5px black inset, 1px 1px 2px black;
    position: relative;
    z-index: 9999;
}

.navbar-toggler:hover {
    background-image: linear-gradient(#bebebe, #fff);
}

.navbar-toggler:focus {
    box-shadow: 0px 0px 5px black inset, 1px 1px 2px black !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar span.copyright {
    display: none;
}

.navbar-nav {
    margin-left: auto;
}

.navbar .container {
    margin-bottom: .8rem;
    width: 100%;
    max-width: 1300px;
}

.navbar-brand {
    position: relative;
    padding: 0;
    margin: 0;
    /* z-index: 999; */
}

.navbar-brand img {
    position: relative;
    width: 100%;
    max-width: 250px;
    background-color: #960000;
    background-color: #960000;
    border: 1px solid #fff;
    padding: .2rem 1.5rem;
    box-shadow: 0 0 15px black inset;
    filter: drop-shadow(0px 0px 5px black);
    border-radius: 5px;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(124deg , transparent 47%, #ffffff99 53%, transparent 54%);
    background-size: 500% 500%;
    animation: shine 12s infinite;
    z-index: 1;
}



.navbar a.nav-link,
.navbar a.nav-link.active {
    color: white;
    font-weight: 700;
    font-size: .8rem;
    text-shadow: 1px 1px black;

}

.navbar .marquee-container {
    background-image: linear-gradient(#bebebe, #fff);
    font-weight: 700;
    font-size: .8rem;
    padding: .1rem .8rem;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    display: flex;
    align-items: center;
}

.navbar .marquee-container marquee {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: .1rem 0;
}
/* End Navbar */

/* Start Main */
section.main {
    padding: .8rem .5rem;
}

section.main > .container {
    width: 100%;
    max-width: 1300px;
    background-color: #380000;
    border: 1px solid #ffffff;
    border-radius: 5px;
    padding: 1rem;
    position: relative;
    box-shadow: 5px 5px 30px black, 0 0 10px black inset;
    min-height: 750px;
}

section.main h1 {
    text-align: center;
    color: white;
    font-weight: 700;
    border-bottom: 1px solid #fff;
    margin-bottom: 1rem;
}

.breadcrumb-filter-container {
    margin-bottom: 1rem;
}

/* Start Breadcrumb */
.breadcrumb-container {
    padding: 0;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: .9rem;
    color: white;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    color: #fff;
}

.breadcrumb .breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
    color: #a1a1a1;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '»';
    color: white;
}
/* End Breadcrumb */

/* Start Bukti JP Filter */
.bukti-jp-filter-form * {
    font-size: .9rem;
}

.bukti-jp-filter-form > div > div{
    padding: 0;
    font-size: .8rem;
}

.bukti-jp-filter-form > .row > div:has( > select) {
    padding-right: 7px;
}

.bukti-jp-filter-form .action-button {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;
}

.bukti-jp-filter-form select,
.bukti-jp-filter-form button {
    padding: .15rem .5rem;
}

.bukti-jp-filter-form select {
    width: fit-content;
    margin-left: auto;
    padding-right: 2rem;
}
/* End Bukti JP Filter */

/* Start Bukti JP List */
.bukti-jp-list-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.bukti-jp-card-item {
    background-color: #960000;
    background-image: linear-gradient(#380000, #9e0000);
    box-shadow: 1px 1px 10px black, 0 0 20px black inset;
    border: 1px solid #fff;
    padding: 1rem .5rem .5rem;
    color: white;
    border-radius: 7px;
}

.bukti-jp-card-item img {
    border: 1px solid #ffffff;
    border-radius: 9px;
}

.bukti-jp-card-item .card-title {
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: .25rem;
}

.bukti-jp-card-item .card-time {
    font-size: .75rem;
    margin-bottom: .25rem;
}

.bukti-jp-card-item .card-text {
    font-size: .8rem;
}

.bukti-jp-card-item a.btn {
    font-size: .8rem;
    border: 1px solid #fff;
    background-image: linear-gradient(#bebebe, #fff);
    color: rgb(46, 46, 46);
    box-shadow: 0 0 5px #00000099;
    border: 1px solid #380000;
    font-weight: 700;
    width: 100%;
}

.bukti-jp-card-item a.btn:hover {
    background-image: none;
    color: #fff;
}
/* End Bukti JP List */

/* Star Home Pagination */
.home-pagination {
    margin-top: 1rem;
}

.home-pagination .text-muted {
    color: white !important;
    margin-right: .5rem;
}

.home-pagination .page-item .page-link {
    background-image: linear-gradient(#380000, #9e0000);
    color: white;
    font-weight: 700;
}

.home-pagination .page-item:not(.active) .page-link:hover {
    background-image: none;
    background-color: #0053c0;
}

.home-pagination .active>.page-link {
    /* background-image: linear-gradient(#380000, #9e0000); */
    background-image: linear-gradient(#bebebe, #fff);
    color: #000;
    border-color: #fff;
}
/* End Home Pagination */

hr {
    border-color: #fff;
    margin-top: .5rem;
}

/* Start Winning Page */
.winning-img-container {
    position: relative;
    width: 100%;
    /* max-width: 500px; */
    box-shadow: 1px 1px 10px black, 0 0 10px black;
    margin: auto;
}

.winning-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(124deg , transparent 50%, #ffffff99 51%, transparent 51.3%);
    background-size: 1000% 1000%;
    animation: shine 12s infinite;
    z-index: 1;
}

.winning-img {
    width: 1300px;
    /* height: 600px; */
    /* max-width: 500px; */
    display: block;
    margin: auto;
    border: 1px solid #fff;
    border-radius: 7px;
    
    margin-bottom: .8rem;
}

.article-container {
    color: #fff;
    text-align: justify;
}

.article-container a {
    color: #ff1d1d;
    text-decoration: none;
}

.article-container a:hover {
    color: #9e0000;
    text-decoration: underline;
}

.winning-button {
    margin-bottom: .8rem;
}

.winning-button a {
    background-image: linear-gradient(#bebebe, #fff);
    text-decoration: none;
    color: black;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 5px;
    border: 1px solid #fff;
    font-size: .9rem;
}

.winning-button a:hover {
    background-image: linear-gradient(#380000, #9e0000);
    color: white;
}
/* End Winning Page */

/* Start Daftar Page */
.website-table-container {
    border: 1px solid white;
    border-radius: 5px;
    overflow: auto;
}

.website-table {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
    /* border: 1px solid #fff; */
}

.website-table img {
    max-width: 80px;
    background-color: #960000;
    padding: .2rem .5em;
    box-shadow: 0 0 15px black inset, 1px 1px 5px black;
    filter: drop-shadow(0px 0px 5px black);
    border-radius: 5px;
    border: 1px solid white;
    border-radius: 5px;
}

.website-table thead {
    background-image: linear-gradient(#380000, #9e0000);
}

.website-table tbody tr {
    background-image: linear-gradient(#000000, #1b1b1b);
}

.website-table a {
    background-image: linear-gradient(#bebebe, #fff);
    color: black;
    padding: .2rem .8rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid white;
    box-shadow: 1px 1px 5px black, 0 0 5px black inset;
    width: fit-content;
    display: block;
}

.website-table a:hover{
    transform: scale(95%);
}

.website-table .website-logo-img-container {
    position: relative;
    width: fit-content;
}

.website-table .website-logo-img-container:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(124deg , transparent 47%, #ffffff99 53%, transparent 54%);
    background-size: 700% 700%;
    animation: shine 7s infinite;
    z-index: 1;
}
/* End Daftar Page */

@media screen and (min-width: 768px) {
    .navbar a.nav-link:hover {
        background-color: black;
        border-radius: 5px;
    }
}

@media screen and (max-width: 1199px) {
    .bukti-jp-list-container {
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 767px) {
    .navbar .nav-link {
        padding: .75rem;
    }
    
    .navbar-collapse {
        display: block;
        background-image: linear-gradient(#380000, #9e0000);
        position: fixed;
        width: 100%;
        max-width: 280px;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 999;
        box-shadow: -1px -1px 10px black, 0 0 10px black inset;
        border-left: 1px solid #fff;
        padding-top: 65px;
        transform: translateX(100%);
        transition: all .3s ease-in;
        display: block !important;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .overlay-block:has(+.navbar-collapse.show) {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #00000099;
        display: block;
    }

    .navbar .nav-link,
    .navbar .nav-link.active {
        border-bottom: 1px solid #ffffff95;
        text-shadow: none !important;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active:hover {
        color: black;
        background-image: linear-gradient(#bebebe, #fff);
        text-shadow: none;
        border-left: 2px ridge #fff;
        border-right: 2px ridge #fff;
        border-top: 2px ridge #fff;
        border-bottom: 2px ridge #fff;
        box-shadow: 0 0 10px black inset;
    }

    .navbar span.copyright {
        display: block;
        color: white;
        font-size: .75rem;
        text-align: center;
        position: absolute;
        bottom: .8rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .bukti-jp-list-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 575px) {
    .navbar-brand img {
        width: 100%;
        max-width: 180px;
    }

    .breadcrumb-filter-container {
        margin-bottom: 0;
    }

    /* .bukti-jp-list-container {
        grid-template-columns: 1fr;
    } */

    .breadcrumb-container {
        margin-bottom: .3rem;
    }

    .bukti-jp-filter-form {
        margin-bottom: .5rem;
    }

    .bukti-jp-filter-form select {
        width: 100%;
    }
}

@keyframes shine {
    0% {
        background-position: 0% 82%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}