body {
    background-image: url(../img/background-sibayak.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Start Navbar */
.navbar {
    background-image: linear-gradient(#4d0000, #bb0000);
    box-shadow: 0px 0px 15px black;
    position: sticky;
    top: 0;
    padding-bottom: 0;
    z-index: 999;
}

.navbar-brand {
    margin: .5rem;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.navbar-brand img {
    margin: auto;
    width: 100%;
    max-width: 300px;
    border: 2px solid #d1d1d1;
    border-radius: 7px;
    padding: .3rem .8rem;
    background-color: #000;
    box-shadow: 0 0 5px black inset, 1px 1px 5px black;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(124deg , transparent 47%, #ffffff99 53%, transparent 54%);
    background-size: 500% 500%;
    animation: shine 8s infinite;
    z-index: 99;
}

.marquee-container {
    background-image: linear-gradient(#afafaf, #ffffff);
    width: 100%;
    max-width: none;
    font-weight: 700;
}

.marquee-container marquee {
    width: 100%;
    max-width: 1350px;
    margin: auto;
    padding: 0 .5rem;
}
/* End Navbar */

/* Start Main */
.main {
    padding: .8rem .5rem;
}

.main hr {
    border-color: #d1d1d1;
}

.main > .container {
    background-color: #4d0000;
    max-width: 1350px;
    box-shadow: 1px 1px 5px black, 0 0 15px black inset;
    border: 2px solid #d1d1d1;
    border-radius: 5px;
    padding: .75rem;
}

.main-title {
    text-align: center;
    color: #d1d1d1;
    text-shadow: 1px 1px black;
}

/* Start Main Carousel */
.main-carousel {
    position: relative;
    border: 2px solid #d1d1d1;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 1px 1px 7px black;
}

.main-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem !important;
    display: flex;
    align-items: center;
    height: fit-content;
    text-shadow: 3px 3px black;
}

.main-carousel .owl-nav .owl-prev,
.main-carousel .owl-nav .owl-next {
    color: white !important;
}

.main-carousel .owl-nav .owl-prev {
    left: .8rem;
}

.main-carousel .owl-nav .owl-next {
    right: .8rem;
}
/* End Main Carousel */

/* Start Main Button Group */
.main-button-group-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
    gap: 10px;
    margin: 1rem 0
}
.main-button-group-container a {
    color: #d1d1d1;
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(#4d0000, #bb0000);
    border: 2px solid #d1d1d1;
    font-size: 1.2rem;
    border-radius: 7px;
    box-shadow: 1px 1px 5px black;
    padding: .1rem;
    text-shadow: 1px 1px black;
    animation: blink .5s infinite;
    transition: .1s linear;
}

.main-button-group-container a:hover {
    transform: scale(98%);
    background-image: linear-gradient(#960000, #960000);
    animation: none;
}
/* End Main Button Group */

/* Start Main Breadcrumb */
.main .breadcrumb-item,
.main .breadcrumb-item a {
    color: #d1d1d1;
    text-decoration: none;
}

.main .breadcrumb-item a:hover {
    color: #afafaf;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '»';
    color: #d1d1d1;
}
/* End Main Breadcrumb */

/* Start Main Content */
/* Start Prediksi Container */
.prediksi-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.prediksi-item-container {
    position: relative;
    border: 2px solid #bb0000;
    border-radius: 7px;
    height: fit-content;
    overflow: hidden;
    display: flex;
    text-align: center;
    box-shadow: 1px 1px 5px black;
}

.prediksi-item-container img {
    width: 100%;
    height: 100%;
}

.prediksi-item-content-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 99;
    color: #d1d1d1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prediksi-item-content > * {
    margin: 0;
    font-weight: 700;
    text-shadow: 1px 1px black;
}

.prediksi-item-content .pool-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.prediksi-item-content .pool-date,
.prediksi-item-content .pool-schedule {
    font-size: .8rem;
}

.prediksi-item-content .see-prediction {
    background-image: linear-gradient(#4d0000, #bb0000);
    color: #d1d1d1;
    font-weight: 700;
    text-decoration: none;
    padding: .1rem .8rem;
    border: 1px solid #d1d1d1;
    font-size: .85rem;
    border-radius: 9px;
    display: block;
    margin: .5rem 0 0;
    box-shadow: 1px 1px 5px black;
    transition: .2s linear;
    width: 100%;
}

.prediksi-item-content .see-prediction:hover {
    transform: scale(98%);
    background-image: linear-gradient(#960000, #960000);
}
/* End Container */

/* Start Article */
.article h1 {
    color: #d1d1d1;
    text-align: center;
    font-weight: 700;
    text-shadow: 1px 1px black;
}

.article {
    color: #d1d1d1;
    text-align: justify;
}

.article a {
    color: #cc0000;
}
/* End Article */
/* End Main Content */
/* End Main */

/* Start Prediction Modal */
#predictionModal .modal-content {
    box-shadow: 1px 1px 10px black;
    background-color: #4d0000;
    border: 1px solid #d1d1d1;
    color: #d1d1d1;
}

#predictionModal .modal-content .btn-close {
    filter: brightness(100%);
    background: transparent url("../img/close-icon.png") center/1em auto no-repeat;
}

#predictionModal .modal-header {
    border-bottom-color: #d1d1d1;
    background-image: linear-gradient(#4d0000, #960000);
}

#predictionModal .modal-footer {
    border-top-color: #d1d1d1;
    background-image: linear-gradient(#960000, #4d0000);
}

#predictionModal .modal-content img {
    width: 200px;
    filter: drop-shadow(1px 1px 5px black);
}

#predictionModal .modal-body {
    background-color: #000000;
}

#predictionModal h5 {
    font-weight: 700;
    margin-bottom: 0;
}

#predictionModal .date-time {
    font-size: .8rem;
    font-weight: 600;
}

#predictionModal .close-modal {
    background-image: linear-gradient(#afafaf, #ffffff);
    color: black;
    border: 1px solid #bb0000;
    font-weight: 700;
    font-size: .8rem;
}

#predictionModal table {
    width: 100%;
    /* border: 2px solid #960000; */
    border-radius: 7px;
}

#predictionModal th {
    background-image: linear-gradient(#4d0000, #960000);
}

#predictionModal th,
#predictionModal td {
    padding: .5rem .3rem;
    border: 2px solid #960000;
}
/* End Prediction Modal */

@keyframes blink {
    0% {
        border-color: #d1d1d1;
    }

    50% {
        border-color: #4d0000;
    }

    100% {
        border-color: #d1d1d1;
    }
}

@media screen and (max-width: 1200px) {
    .prediksi-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 976px) {
    .prediksi-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .prediksi-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@keyframes shine {
    0% {
        background-position: 0% 82%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}