﻿.mobileview {
    display: none;
}

.webview {
    display: block;
}


.flexContent {
    height: 90vh !important;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
}

.container {
    max-width: 1000px !important;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0px;
    background-color: black;
}

.header-contains {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


.game-options-container h4 {
    font-size: 1.5rem;
    margin: 25px;
    padding-left: 50px;
    font-weight: 700;
    color: snow;    
}

.content p {
    color: #ccc;
    line-height: 1.3;
}

.logo {
    display: flex;
    align-items: center;
    height: 3rem;
}

    .logo img {
        width: 120px;
        padding: 10px;
    }

    .logo h1 {
        color: #ffffff;
        font-size: 24px;
    }

nav {
    display: flex;
    align-items: center;
}

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;        
    }

        nav ul li {
            margin: 0 10px;
        }

            nav ul li a {
                color: white;
                font-weight: bolder;
                font-size: 0.9em;
                text-decoration: none;
                position: relative; /* Needed for absolute positioning of the underline */
                transition: color 0.3s ease, box-shadow 0.3s ease;
            }

                /*nav ul li a::after {
                    content: '';*/ /* Creates a pseudo-element */
                    /*position: absolute;
                    left: 0;
                    bottom: -15px;*/ /* Adjust the distance of the underline from the text */
                    /*width: 100%;
                    height: 2px;*/ /* Thickness of the underline */
                    /*background-color: #9cb4c5;*/ /* Color of the underline */
                    /*transform: scaleX(0);*/ /* Initially hides the underline */
                    /*transform-origin: bottom right;*/ /* Makes the underline animation grow from right to left */
                    /*transition: transform 0.3s ease;*/ /* Smooth animation effect */
                /*}

                nav ul li a:hover::after {
                    transform: scaleX(1);*/ /* Makes the underline visible on hover */
                    /*transform-origin: bottom left;*/ /* Changes the origin to left on hover */
                /*}*/

.btn-login {
    padding: 10px 45px;
    border-radius: 20px;
    color: black;
    text-decoration: none;
}

.btn-register,
nav ul li a:not(.btn-login) {
    padding: 8px 35px;   
    border-radius: 20px;
    color: white;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #F3C943; /* Add white border */
    font-weight: bolder;
    /*font-size: 0.9em;*/
    transition: all 0.3s ease;
}

.btn-register {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

.btn-login {
    background-color: #F3C943;    
    font-weight: bolder;
    font-size: 0.9em;
}


.btn-register {
    background-color: #007acc;
}

.hero {
    position: relative;
    text-align: left;
    color: white;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 80px; /* Ensure hero section starts below the fixed header */
}

.overlay {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 0;
    display: flex;
    flex-direction: row; /* Default to row layout */
    align-items: center;
    text-align: left;
    gap: 20px;
}

.content {
    max-width: 50%;
}

    .content h2 {        
        font-size: 30px;
        margin-bottom: 20px;
        text-align: left;
        font-weight: 600;
        padding-top: 10px;
    }

    .content p {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        text-align: left;
    }

.btn-get-started {
    padding: 15px 40px;
    border-radius: 10px;
    background-color: #F3C943;
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.MediaIcon {
    width: 2rem;
    transition: transform .5s;
}

    .MediaIcon:hover {
        -ms-transform: scale(1.5); /* IE 9 */
        -webkit-transform: scale(1.5); /* Safari 3-8 */
        transform: scale(1.5);
    }


#socials {
    padding-top: 1rem;
    margin: 0rem;
    border-top: 1px solid #2e312a;
    border-bottom: 1px solid #2e312a;
    gap: 3rem;
}


.MobileSocialMedia {
    /*visibility: hidden;*/
    height: 5rem;
}

.logoTitle {
    width: 120px;
    padding-bottom: 1rem;
}

.logoFooter {
    width: 120px;
}

.hero-image {
    flex: 1;
}

    .hero-image img {
        width: 100%;
        height: auto;
    }


body {
    background-image: url('../images/TKB/BS_Win.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Remove background from combined-sections */
.combined-sections {
    background: none;
}

    /* Ensure content sections have proper background if needed */
    .combined-sections > section {
        background: transparent; /* or any other background you want for content areas */
    }

.game-section {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
}

.game-options-container h2 {
    padding-left: 50px;    
}

.game-options-container {
    border-radius: 30px;
    max-width: 1100px;
    width: 100%;
    text-align: left;
    padding-bottom: 30px;
    border: 5px solid #2e312a; /* Example border color */
    background-color: rgba(0, 0, 0, 0.5);
}


.bj-carousel {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.bj-carousel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}


.bj-carousel-item {
    min-width: 210px;
    margin: 0 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is evenly spaced */
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(19,23,27,1) 50%);
    /* Set background image */    
    min-height: 400px; /* Ensure all items have a uniform height */
}


    .bj-carousel-item img {
        width: 180px;
        height: 180px;
        object-fit: contain; /* Ensures the image covers the area, maintaining aspect ratio */
        border-radius: 10px;
        margin-bottom: 10px;
    }

/* Styles for tablets and larger screens (≥769px) */
@media only screen and (min-width: 769px) {
    .bj-carousel-item img {
        width: 180px;
        height: 180px;
    }


   
}

    @media (max-width: 767px) {
        .btn-login {
            padding: 10px 25px;
        }

        .btn-register,
        nav ul li a:not(.btn-login) {
            padding: 10px 25px;            
        }

    }
    /* Styles for desktops and larger screens (≥1024px) */
    @media only screen and (min-width: 1024px) {
        .bj-carousel-item img {
            width: 210px;
            height: 210px;
        }
    }

    .bj-carousel-item button {
    width: 180px;
    padding: 10px 20px;
    background-color: #F3C943;
    color: black;    
    font-weight: bolder;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


    .bj-carousel-item button:hover {
        background-color: #F3C943;
        transform: scale(1.05);
    }

.bj-carousel-prev,
.bj-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.bj-carousel-prev {
    left: 10px; /* Adjusted from -5px to ensure it fits within screen */
}

.bj-carousel-next {
    right: 10px; /* Adjusted from 0px to ensure it fits within screen */
}

.floating-social-media {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

    .floating-social-media a {
        margin-bottom: 15px;
    }

    .floating-social-media img {
        width: 40px;
        height: 40px;
        padding: 5px;
    }

    .floating-social-media a img {
        background-color: transparent;
        border-radius: 10%;
        padding: 5px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    

    .floating-social-media a:hover img {
        filter: brightness(0) saturate(100%) invert(77%) sepia(90%) saturate(500%) hue-rotate(5deg) brightness(105%) contrast(105%);
        border-radius: 10%;
        padding: 5px;
        transition: background-color 0.7s ease, transform 0.7s ease;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    }

footer {
    background-color: black; /* Dark background */
    padding: 40px 50px; /* Increased padding for breathing space */
    text-align: center;
    color: #ccc; /* Light grey text color */
    position: relative;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 20px; /* Space between footer content and bottom */
}

.footer-section {
    margin: 0 20px;
}

    .footer-section h3 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #fff; /* White headings */
        font-weight: bold;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: left;
    }

        .footer-section ul li {
            margin-bottom: 10px;
        }

            .footer-section ul li a {
                color: #ccc;
                text-decoration: none;
                transition: color 0.3s ease;
            }

                .footer-section ul li a:hover {
                    color: #e2ecf5; /* Hover effect color */
                    text-decoration: underline;
                }

    .footer-section.qr-code {
        text-align: center; /* Center text */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Aligns both text and QR code to center */
        flex: 1;
        max-width: 200px; /* Adjust as needed */
    }

#qrcode {
    margin-top: 10px;
    display: inline-block;
}

.footer-section img.logoTitle {
    width: 100px;
    margin-bottom: 20px; /* Adds spacing below the logo */
}

footer p {
    color: #999; /* Slightly lighter color for copyright text */
    font-size: 12px;
    margin-top: 30px; /* Space above copyright */
}

.content a:hover {
    text-decoration: none;
    color: #fafafa !important;    
}

nav ul li a:hover {
    color: #ccc !important;
    text-decoration:unset;
}
    .game-description {
    flex-grow: 1; /* Makes the description take available space */
    font-size: 11px;
    color: #ddd;    
    width: 180px;
    text-align: left;
    font-weight: bold;
    padding-bottom: 12px;
    overflow: hidden;
}

.footer-social-media {
    display: none; /* Hide on all screen sizes by default */
}

/* Media Queries for Mobile View */
@media (max-width: 768px) {    
    .game-options-container h4 {
        padding-left: 0px;
    }

    #lbconfirm {
        margin-top: 40px !important;
    }

    .floating-social-media img {
        width: 30px;
        height: 30px;
    }

    .overlay {
        flex-direction: column; /* Stack image and content vertically */
        text-align: center; /* Center text on mobile */
        gap: 0px;
    }

    .content {
        max-width: 100%; /* Full width on mobile */
        margin: 0 0 20px; /* Margin below content */
    }

    .hero-image {
        order: -1;
        flex: none; /* Allow image to shrink */
        margin-bottom: 20px; /* Margin below image */
        z-index: 2; /* Ensure the image is above the content */
    }

        .hero-image img {
            width: 100%; /* Full width on mobile */
            height: auto; /* Maintain aspect ratio */
            padding-top: 20px;
        }

    .content {
        order: 1;
        z-index: 1; /* Ensure content is below the image */
    }

        .content h2 {
            font-size: 26px;
        }

        .content p {
            font-size: 18px;
        }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section.qr-code {
        text-align: center;
        margin-top: 20px;
    }

    .bj-carousel {
        padding: 0 0px;
    }

    .bj-carousel-prev, .bj-carousel-next {
        display: none; /* Hide bj-carousel navigation buttons on mobile */
    }

    .bj-carousel-item {
        min-width: 150px; /* Adjust size for better fit on mobile */
    }

    .floating-social-media {
        display: none; /* Hide floating social media icons on mobile */
    }

    .logo img {
        padding-left: 15px;
    }

    .hero {
        padding: 0px 0;
    }

    .content {
        margin-left: 20px;
        margin-right: 20px;
    }

   /* nav {        
        visibility: hidden;
    }*/

        nav ul {
            gap: 0px;
        }


    .MobileSocialMedia {
        /*visibility: visible;*/
        height: 5rem;
    }

    .logoFooter {
        padding-bottom: 20px;
    }

    .btn-get-started {
        font-size: 15px;
        padding: 15px 100px;
        display: inline-block;
    }

    .game-options-container {
        margin-left: 10px;
        margin-right: 10px;
        padding-bottom: 0px;
    }

    .footer-section ul {
        text-align: center;
    }

    .bj-carousel-item {
        min-height: 0px; /* Ensure all items have a uniform height */
    }

    .footer-social-media {
        display: flex;
        justify-content: center; /* Center align icons */
        gap: 10px; /* Space between icons */
        margin-top: 20px; /* Space above the social media icons */
    }

        .footer-social-media a {
            display: flex;
            align-items: center;
        }

        .footer-social-media img {
            width: 30px; /* Adjust icon size */
            height: 30px; /* Adjust icon size */
            padding: 5px;
        }

    .combined-sections {
        /*background: rgb(1,20,37);
        background: linear-gradient(90deg, rgba(1,20,37,1) 0%, rgba(1,31,59,1) 35%, rgba(41,88,160,1) 100%);*/
        /*background-image: url('../images/JB/JB_Win.jpg');
        background-size: cover;*/ /* Optional: to make the image cover the entire element */
        /*background-position: center;*/ /* Optional: to center the image */
    }



    .logoTitle {
        text-align: left; /* Override and align the logo to the left */
        margin-left: 0; /* Ensure the logo sticks to the left */
        display: block; /* Ensure it behaves as a block element for proper alignment */
    }

    #socials {
        gap: 0rem;
    }


    .mobileview {
        display: block;
    }

    .webview {
        display: none;
    }
}
