@font-face {
    font-family: poetsenOne;
    src: url(../fonts/PoetsenOne-Regular.ttf);
}

/* Start Auth */
body:has( #layoutAuthentication) {
    background-image: url('../img/bg-lucky-spin.jpg'); 
}

#layoutAuthentication .card {
    color: white;
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    border-radius: 20px;
    box-shadow: 1px 1px 15px #000, 0 0 5px #0e0e0e inset;
    border: 4px solid #b8b8b8;
}

#layoutAuthentication .card .card-header {
    border-bottom-color: #e1e1e1;
}

#layoutAuthentication .card .card-header h3 {
    text-shadow: 1px 1px #0e0e0e;
}

#layoutAuthentication .card label {
    color: rgb(54, 54, 54);
}

#layoutAuthentication .card .card-body {
    background-image: linear-gradient(#0e0e0e, #252525, #0e0e0e);
}

/* #layoutAuthentication .card .invalid-feedback {
    color: white;
    text-shadow: 1px 1px black;
} */

#layoutAuthentication .card button,
#layoutAuthentication .card a {
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    color: black;
    border: none;
    box-shadow: 1px 1px 5px #0e0e0e, 0 0 5px #0e0e0e inset;
    display: block;
    width: 100%;
}

#layoutAuthentication .card button:hover,
#layoutAuthentication .card a:hover {
    transform: scale(98%);
}

#layoutAuthentication .card .card-footer {
    border-top-color: #e1e1e1;
}
/* End Auth */

body {
    background-image: url(../img/bg-lucky-spin.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 50px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    width: 100vw;
    min-height: 100vh;
    font-family: poetsenOne;
    overflow-x: hidden;
}

.content-container {
    background-image: url('../img/bg-container.jpg');
    background-size: contain;
    height: 100%;
    border-radius: 50px;
    border: 10px solid #b8b8b8;
    /* border-top: 10px solid #b8b8b8;
    border-left: 10px solid #b8b8b8;
    border-right: 10px solid #b8b8b8; */
    box-shadow: 1px 1px 20px black, 0 0 30px black inset;
    overflow: hidden;
    padding: 0;
    max-width: 1700px !important;
}

.top-nav {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    border-bottom: 5px solid #e1e1e1;
    padding: .75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.website-logo-slider {
    width: 250px !important;
    padding: 0 2rem;
}

.website-logo-item {
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 5px black);
}

.top-nav-menu {
    display: flex;
    gap: 10px;
}

.top-nav-menu span.close-menu {
    display: none;
}

.top-nav-menu-item {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 2px;
    position: relative;
    overflow: hidden;
    border-radius: 22.5px;
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    box-shadow: 1px 1px 5px #0e0e0e;
    text-shadow: 1px 1px 5px #0e0e0e;
    height: fit-content;
    text-align: center;
}

.top-nav-menu-item:hover {
    /* color: #ffc909; */
    /* background-image: linear-gradient(#fd7901, #ffc909, #fd7901); */
}

.top-nav-menu-item:hover span {
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    color: #0e0e0e;
    text-shadow: none;
}

.top-nav-menu-item.small-only {
    display: none;
}

.top-nav-switch-menu {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    position: relative;
}

/* .top-nav-menu-item:hover: */

.top-nav-menu-item span {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    position: relative;
    z-index: 999;
    display: block;
    padding: .25rem 1rem;
    border-radius: 20px;
}

.prizes-detail {
    height: 505px;
}

.winners-detail {
    height: 180px;
}

.main-contents-detail {
    /* min-height: 200px;
    max-height: 525px; */
    min-height: 530px;
    overflow: hidden;
}

.prizes-detail,
.winners-detail,
.main-contents-detail {
    border-radius: 20px;
    box-shadow: 00px 0px 15px #0e0e0e inset;
    background-color: #0e0e0e;
    border: 3px solid #b8b8b8;
}

.prizes-container,
.winners-container,
.main-content-container {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    border: 5px solid hsl(0, 0%, 93%);
    box-shadow: 1px 1px 10px #0e0e0e, 0 0 15px black inset;
    text-align: center;
    padding: 1.5rem .75rem 3rem;
    border-radius: 25px;
}

.prizes-container .prize-title,
.winners-container .winner-title,
.main-content-container .main-content-title {
    font-weight: bold;
    color: #fff;
    background-color: #0e0e0e;
    width: fit-content;
    margin: 0 auto 1rem;
    padding: 0 1.5rem;
    border-radius: 50px;
    box-shadow: 1px 1px 10px #000;
    text-shadow: 1px 1px black;
    border: 4px solid #e1e1e1;
    white-space: nowrap;
}

.prizes-container .prize-title,
.main-content-container .main-content-title {
    font-size: 1.75rem;
}

.winners-container .winner-title {
    font-size: 1.35rem;
    white-space: nowrap;
}

.prize-detail-container,
.winner-detail-container {
    height: 100%;
    border-radius: 20px;
}

.main-content-container thead {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    text-shadow: 1px 1px #0e0e0e;
}

.prize-detail-item,
.winner-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7.5px;
    padding-left: .5rem;
    padding-right: .5rem;
}

.prize-detail-item {
    padding-top: 5px;
    padding-bottom: 5px;

}

.winner-detail-item {
    padding-top: 2.5px;
    padding-bottom: 2.5px;
}

.prize-detail-name,
.prize-detail-value,
.winner-detail-name,
.winner-detail-value {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    box-shadow: 1px 1px 10px #000;
    text-shadow: 1px 1px black;
    color: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    line-height: 1em;
    padding: .25rem;
}

.winner-detail-name,
.winner-detail-value {
    height: 30px;
}

.prize-detail-name,
.winner-detail-name {
    color: #fffb00;
}


.cycle-carousel-wrap {
    width: 100% !important;
}

.external-links {
    display: grid;
    gap: 7px;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.external-links a {
    color: white;
    text-decoration: none;
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    padding: 2px;
    text-shadow: 1px 1px 5px #0e0e0e;
    margin: auto;
    box-shadow: 1px 1px 10px #0e0e0e, 0px 0px 5px #0e0e0e inset;
}

.external-links a span {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    display: block;
    border-radius: 20px;
}

.external-links a:hover span {
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    color: #0e0e0e;
    text-shadow: none;
}

.luckyspin-title {
    color: #fff;
    font-weight: bold;
    font-size: 2.5rem;
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    width: fit-content;
    border-radius: 30px;
    padding: 2px;
    box-shadow: 1px 1px 10px #0e0e0e, 0px 0px 5px #0e0e0e inset;
    margin: 0 auto 1rem;
    text-shadow: 1px 1px 5px #0e0e0e;
}

.luckyspin-title span {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    padding: .3rem 2rem;
    border-radius: 30px;
}

.mywheel-canvas-container {
    background-image: url(../img/wheel.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 550px;
    height: 550px;
    position: relative;
    margin: auto;
    filter: drop-shadow(1px 1px 5px black);
    margin-bottom: 1rem;
}

.mywheel-pointer {
    position: absolute;
    width: 2.5rem;
    filter: drop-shadow(3px 3px 10px #000);
    left: 50%;
    top: 34px;
    transform: translateX(-50%);
}

#myWheelCanvas {

}

.voucher-input {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.voucher-input-button {
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    padding: 2px;
    color: white;
    text-shadow: 1px 1px black;
    border-radius: 20px;
}

.voucher-input-button.spin-voucher span {
    font-size: 1.5rem;
}

.voucher-input-button span {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    display: block;
    font-size: 1.2rem;
    padding: .25rem 1rem;
    border-radius: 20px;
}

.voucher-input-button:hover span {
    background-image: linear-gradient(#fd7901, #ffc909, #fd7901);
    color: #0e0e0e;
    text-shadow: none;
}

.bukti-kemenangan-content-container .card {
    background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
    width: 100%;
    white-space: normal;
    text-align: left;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    text-shadow: 1px 1px #0e0e0e;
    padding: .5rem;
    margin-bottom: .5rem;
    display: flex;
    flex-direction: row;
    box-shadow: 0px 0px 5px #0e0e0e inset;
}

.bukti-kemenangan-content-container .card img {
    border-radius: 20px;
    width:200px;
    box-shadow: 1px 1px 5px #0e0e0e;
}


.bukti-kemenangan-content-container .card a.btn {
    box-shadow: 1px 1px 5px #0e0e0e;
}


/* Start Swal2 */
.swal2-container {
    font-family: Arial, Helvetica, sans-serif;
}
/* End Swal2 */

@media screen and (max-width: 1199px) {
    body {
        height: fit-content;
    }

    .top-nav-menu-item span {
        display: grid;
        justify-items: center;
        white-space: nowrap;
    }

    .main-content-container {
        margin-bottom: 1rem;
    }

    .prize-content {
        order: 2;
    }

    .winner-link-content {
        order: 3;
    }

    .luckyspin {
        order: 1;
        margin-bottom: 2rem;
        width: 100%;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 991px) {
    .top-nav {
        padding: .25rem 1.25rem;
    }

    .website-logo-slider {
        padding-left: 0;
        padding-right: 4rem;
    }

    .top-nav-switch-menu {
        display: flex;
    }

    .top-nav-menu {
        display: flex;
        flex-wrap: wrap;
        position: fixed;
        z-index: 99;
        right: 0;
        top: 0;
        width: 80%;
        max-width: 250px;
        height: 100vh;
        background-image: linear-gradient(#700000 -10%, #bc0000, #e80000,#bc0000, #700000 110%);
        align-content: flex-start;
        padding: 4rem 1rem 2rem;
        box-shadow: -1px -1px 15px #0e0e0e;
        transform: translateX(120%);
        transition: transform .5s ease-in-out;
    }

    .top-nav-menu.active {
        transform: translateX(0);
    }

    .top-nav-menu span.close-menu{
        display: inline;
        position: absolute;
        right: 1rem;
        top: 1rem;
        line-height: 2rem;
        font-size: 1.2rem;
        color: white;
        background-color: black;
        width: 2rem;
        height: 2rem;
        text-align: center;
        border-radius: 50%;
        border: 1px solid white;
        cursor: pointer;
    }
    
    .top-nav-menu-item {
        width: 100%;
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .top-nav-menu-item.small-only {
        display: inline;
    }
   
}

@media screen and (max-width: 767px) {
    .website-logo-slider {
        width: 180px !important;
        padding-right: 3rem;
    }

    .top-nav-menu-item {
        font-size: 1rem;
    }

    .prize-content {
        margin-bottom: 1rem;
    }

    .prizes-container .prize-title,
    .main-content-container .main-content-title {
        font-size: 1.5rem;
    }
    
    .luckyspin-title {
        font-size: 1.5rem;
    }

    .external-links {
        display: none;
    }

    .mywheel-canvas-container {
        width: 500px;
        height: 500px;
    }

    #myWheelCanvas {
        width: 500px;
    }

    .mywheel-pointer {
        width: 35px;
        top: 30px;
    }
    
    .bukti-kemenangan-content-container .card {
        /* display: block; */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bukti-kemenangan-content-container .card img {
        width: 100%;
        max-width: 300px;
    }

    .bukti-kemenangan-content-container .card .card-title {
        font-size: 1.1rem;
    }

    .bukti-kemenangan-content-container .card a.btn {
        font-size: .9rem;
    }

    .bukti-kemenangan-content-container .card .card-text {
        font-size: .9rem;
    }
}

@media screen and (max-width: 575px) {
    body {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .mywheel-canvas-container {
        width: 320px;
        height: 320px;
    }

    #myWheelCanvas {
        width: 320px;
    }

    .mywheel-pointer {
        width: 32px;
        top: 20px;
    }

    .main-contents-detail table tbody td {
        font-size: .7rem;
    }

    .main-content-pagination .page-link {
        font-size: .7rem !important;
    }

    .main-contents-detail {
        height: 450px;
        overflow: hidden;
    }

    .main-contents-detail.profiles-content label {
        text-align: left !important;
    }

    .prize-detail-item {
        grid-template-columns: 1fr 2fr;
    }

    .prize-detail-value {
        font-size: .8rem;
    }
}