body {
    background-color: #9B0064;
    color: #fff;
}

#menu-toggle:checked+#menu {
    display: block;
}

#menu li:hover {
    background-color: #ae38b2 !important;
}

#dropdown-toggle:checked+#dropdown {
    display: block;
}

a,
span {
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

a.arrow,
span.arrow {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1.5;
}

a.arrow .arrow_icon,
span.arrow .arrow_icon {
    position: relative;
    margin-left: 0.5em;
}

a.arrow .arrow_icon svg,
span.arrow .arrow_icon svg {
    transition: transform 0.3s 0.02s ease;
    margin-right: 1em;
}

a.arrow .arrow_icon::before,
span.arrow .arrow_icon::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 2px;
    background: #38b2ac;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

a.arrow:hover .arrow_icon::before,
span.arrow:hover .arrow_icon::before {
    width: 1em;
}

a.arrow:hover .arrow_icon svg,
span.arrow:hover .arrow_icon svg {
    transform: translateX(0.75em);
}

.clickItem {
    cursor: pointer;
}

.cover {
    border-bottom-right-radius: 128px;
}

.bg-blue-teal-gradient {
    background: rgb(49, 130, 206);
    background: linear-gradient(90deg, rgba(49, 130, 206, 1) 0%, rgba(56, 178, 172, 1) 100%);
}

.hotl1st_item_border_wrap {
    max-width: auto;
    padding: .4rem;
    position: relative;
    background: linear-gradient(to right, red, purple);
    padding: 2px;
    margin: .3rem;
    margin-bottom: 1rem;
    border-radius: 1.5em;
}

.hotl1st_item_border {
    background: #0f3653;
    color: #FF0000;
    padding: .4rem;
    margin: .2rem;
    border-radius: 1.2em;
}

.listImg {
    border-radius: 1.2em;
    width: 90% !important;
    margin: 0 auto 0 auto;
    mix-blend-mode: screen;
}

.containerImg {
    display: flex;
    border: white solid 1rem;
    border-radius: 1.2em;
    width: 100%;
    height: auto;
    background-color: white;
    margin-top: -1rem;
}

.columnImg {
    overflow: hidden;
    width: 50%;
}

.itemImgL {
    float: right;
    padding-left: 15%;
    padding-bottom: 0;
    overflow: hidden;
    /*mix-blend-mode: screen;*/
    object-fit: contain;
    min-height: 650px;
    max-height: 650px;
    max-width: 150%;
    overflow: hidden;
}

.itemImgR {
    float: left;
    padding-right: 15%;
    padding-bottom: 0;
    overflow: hidden;
    /*mix-blend-mode: screen;*/
    object-fit: contain;
    min-height: 650px;
    max-height: 650px;
    max-width: 150%;
    overflow: hidden;
}

.bg-sky-500\/20 {
    background-color: rgba(5, 48, 68, 0.85);
}

.bg-gray-100 {
    background-color: #9B0064;
}

.py-6 {
    padding-top: .8rem;
    padding-bottom: .8rem;
}

.mainLogo {
    width: 14rem;
    max-width: 14rem;
}

h1 {
    width: 100%;
    font-size: 3.8rem;
    font-weight: 600;
    line-height: 86%;
    background-image: linear-gradient(to left, #553c9a, #b393d3);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 3px 3px 3px rgba(179, 147, 211, 0.3);
    -webkit-text-stroke: 2px rgba(179, 147, 211, 0.8);
}

h2 {
    width: 100%;
    font-size: 1.8rem;
    line-height: 92%;
    text-align: center;
    background-image: linear-gradient(to left, #6f5e9c, #b393d3);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

#item1 .itemImg,
#item2 .itemImg {
    min-height: 18rem !important;
    height: auto !important;
    min-width: 4rem !important;
    width: auto !important;
}

.stripes1 {
    background: repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);
    opacity: .3;
}

.starVotes1 img {
    position: relative;
    height: 2rem;
    padding: 0;
    top: -1rem;
    width: 5rem !important;
    max-width: 5rem !important;
    height: auto;
}

.starVotes2 img {
    position: relative;
    height: 2rem;
    padding: 0;
    top: -1rem;
    width: 5rem !important;
    max-width: 5rem !important;
    height: auto;
}

.inCardUp {
    z-index: 9;
    position: absolute;
    margin-top: -1.8rem;
    margin-left: 1.8rem;
    width: 7rem !important;
    max-width: 7rem !important;
    height: 8rem;
    overflow: hidden;
    opacity: .7;
}

.textScore {
    color: transparent;
    font-family: sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 4.6em;
    transform: translatey(25px);
    background: linear-gradient(cornflowerblue 30%, white, darkmagenta 60%, cornflowerblue 100%);
    background-size: contain;
    -webkit-background-clip: text;
    -webkit-text-stroke: 2x silver;
    filter: drop-shadow(5px 5px 1px black) drop-shadow(1px 1px 1px magenta);
    animation: bg-shift 0.5s ease-in-out infinite alternate;
}

.textScore h3 {
    font-size: 3.8em;
}


/* to decide mob/desktop */

.alertMegaIconRotate {
    transition: transform .4s ease-in-out;
    transform: scale(1);
}

.alertMegaIconZoomed {
    transform: scale(1.6);
}

.alertMegaIconNoZoom {
    transform: scale(1.8);
}

.menutags {
    height: 100% !important;
    max-height: 500px !important;
    overflow-y: scroll;
}

.menutag {
    color: #e7e7e7;
}


/*       ScrollBar mainMenu        */

.scrollbar {
    height: auto;
    width: auto;
    overflow: auto;
    padding: 0 10px;
}

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

#menu::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #9B0064;
    border: 0px solid #9B0064;
}

#menu::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #d55959;
}

.modal {
    display: none;
    z-index: 99999;
}

.modalDialog {
    display: none;
}

#modalBox0 img {
    margin: 0 auto 0 auto;
}

/* Vote confirmation overlay: covers the viewport, always centred, never scrolls */
#serverResponse {
    display: none;
    z-index: 99999;
    opacity: .95;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    padding: .5rem;
    box-sizing: border-box;
    overflow: hidden;
    overscroll-behavior: contain;
    align-items: center;
    justify-content: center;
    background-color: #2A3030;
    color: #000;
}

#serverResponse #modalBox1 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 36rem;
    max-height: 100%;
    padding: .5rem 1rem;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
}

#serverResponse .modal-action {
    width: 100%;
    margin: 0 0 .25rem 0;
    justify-content: flex-end;
}

#serverResponse #textModal {
    padding: .5rem 0;
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    line-height: 1.35;
}

#serverResponse #randomList {
    width: 100%;
    margin-top: .25rem;
}

#serverResponse #modalBox0 {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* keep the thumb small enough to fit the screen without scrolling */
#serverResponse #modalBox0 img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: min(20rem, 88vw);
    max-height: 38vh;
    max-height: 38dvh;
    object-fit: contain;
}

@media (min-width: 1024px) {
    #serverResponse #modalBox0 img {
        max-width: min(30rem, 60vw);
        max-height: 44vh;
        max-height: 44dvh;
    }
}

/* no page scroll behind the overlay */
body.alertOpen {
    overflow: hidden;
}


/*mobile*/

@media (min-width: 320px) and (max-width: 480px) {
    .py-6 {
        padding-top: .4rem;
        padding-bottom: .8rem;
    }
    #mainContent {
        height: 150%;
        min-height: 1300px;
        margin-bottom: 3rem;
        overflow: hidden;
    }
    #menu {
        width: 100% !important;
    }
    #menu nav {
        color: #fff !important;
        background-color: #588AE4 !important;
        font-weight: 800;
        font-size: 1.2rem;
    }
    #menu li:hover {
        background-color: #ae38b2 !important;
    }
    #modalBox0 img {
        max-width: 20rem;
    }
    .listTop {
        position: relative;
        float: left;
        margin-top: -68%;
        font-size: 8rem;
        font-weight: 800;
        font-style: italic;
        background-image: linear-gradient(to left, #553c9a, #b393d3);
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        text-shadow: 3px 3px 3px rgba(179, 147, 211, 0.3);
        -webkit-text-stroke: 2px rgba(179, 147, 211, 0.8);
    }
    .itemImgL {
        float: right;
        padding-top: 25%;
        padding-bottom: 0;
        overflow: hidden;
        object-fit: contain;
        min-height: 25rem;
        max-height: 25rem;
        max-width: 150%;
        overflow: hidden;
    }
    .itemImgR {
        float: left;
        padding-top: 25%;
        padding-bottom: 0;
        overflow: hidden;
        object-fit: contain;
        min-height: 25rem;
        max-height: 25rem;
        max-width: 150%;
        overflow: hidden;
    }
    .starVotes1 img {
        position: relative;
        height: 2rem;
        padding: 0;
        top: -1rem;
        width: 4rem !important;
        max-width: 4rem !important;
        height: auto;
    }
    .starVotes2 img {
        position: relative;
        height: 2rem;
        padding: 0;
        top: -1rem;
        width: 4rem !important;
        max-width: 4rem !important;
        height: auto;
    }
}


/* Desktop */

@media (min-width: 1024px) {
    .modal-box {
        overflow-x: hidden !important;
    }
    .cover {
        border-bottom-right-radius: 256px;
    }
    #mainContent {
        padding-top: 2rem;
        min-height: 1300px;
    }
    .menutags {
        float: left;
        display: inline-block;
        width: 74%;
        height: 100% !important;
        max-height: 500px !important;
        overflow-y: hidden;
        overflow-x: scroll;
    }
    #modalBox0 img {
        max-width: 30rem;
    }
}

.noneBothButton {
    position: relative;
    left: 0.8rem;
    top: 0rem;
}

/* Add pop animation for score elements */
@keyframes pop {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity:.8;
    }
}

/* Apply animation to score elements */
.score-pop-animation {
    animation: pop 1.5s ease-in-out;
    transform-origin: center;
}

/* short screens (landscape phones): shrink further so nothing needs scrolling */
@media (max-height: 560px) {
    #serverResponse #modalBox0 img {
        max-height: 26vh;
        max-height: 26dvh;
    }
    #serverResponse #textModal {
        padding: .25rem 0;
        font-size: .9rem;
        line-height: 1.25;
    }
    #serverResponse #modalBox1 {
        padding: .25rem .5rem;
    }
}