body {
    font-family: 'Arial', sans-serif;
    background-color: #161b24;
    color: #ffffff;
    margin: 0;
    padding: 0;

  



}

/* กำหนดสไตล์ของ Scrollbar */
body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #161b24;
}

body::-webkit-scrollbar-thumb {
    background-color: #161b24;
    border-radius: 10px;
    border: 3px solid #ffc107;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #161b24;
}

body::-webkit-scrollbar-thumb:active {
    background-color: #161b24;
}

.logo img {
    max-height: 80px;
}
#content-wrapper {
    display: flex;
    height: calc(100vh - 110px); /* Adjust this value to match the combined height of your header and navigation */
    margin-top: 110px; /* Adjust this value to match the combined height of your header and navigation */
}

#sidebar {
    width: 120px;
    background-color: #161b24;
    color: #ffc107;
    height: calc(100vh - 120px); /* Adjust this value to match the combined height of your header and navigation */
    overflow-y: auto;
    position: fixed;
    top: 120px; /* Adjust this value to match the combined height of your header and navigation */
    left: 0;
    z-index: 1001; /* Higher than navigation */
    padding-bottom: 20px; /* Ensure there's some padding at the bottom */
}

#sidebar ul {
    list-style: none;
    padding: 0;
    padding-bottom: 100px; /* Ensure there's some padding at the bottom */
}

#sidebar ul li {
    margin-bottom: 10px;
}

#sidebar ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffc107;
    border-radius: 23px;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border: none;
    position: relative;
}

#sidebar ul li a .sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sidebar ul li a img {
    margin-bottom: 5px;
}

#sidebar ul li a::before {
    content: '';
    position: absolute;
    top: -0.5px;
    left: -0.5px;
    right: -0.5px;
    bottom: -0.5px;
    border-radius: 23px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 0 20px #d2be7b;
}
#nav-active{
    box-shadow: 0 0 20px #d2be7b;
    border-radius: 23px;
    background: radial-gradient(ellipse farthest-corner at right bottom,#8A6E2F 40%, #9f7928 60% , transparent 90%), 
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    text-decoration: none;
}

#sidebar ul li a:hover::before {
    opacity: 1;
}

#sidebar ul li a:hover {
    background: radial-gradient(ellipse farthest-corner at right bottom,#8A6E2F 40%, #9f7928 60% , transparent 90%), 
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    text-decoration: none;
}

#sidebar {
    width: 120px;
    background-color: #161b24;
    color: #ffc107;
    height: 100vh;
    overflow-y: auto;
}

#sidebar::-webkit-scrollbar {
    width: 2px;
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: #ffc107;
    border-radius: 5px;
}

header {
    margin-bottom: 0;
    background: -webkit-linear-gradient(#6c531e,#161b24 );
    padding: 10px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.navigation {
    background-color: #161b24;
    width: 100%;
    position: fixed;
    top: 110px; /* Adjust this value to match the height of your header */
    left: 0;
    z-index: 1000;
}



.nav {
    background-color: #161b24;
    padding: 10px 0;
}

.nav a.custom-btn {
    border-radius: 7px;
    margin: 0 3px;
    cursor: pointer;
    padding: 0.65rem 1.8rem;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    border: none;
    background: radial-gradient(ellipse farthest-corner at right bottom,#8A6E2F 40%, #9f7928 60% , transparent 90%), 
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
}

.nav a.custom-btn-active {
    border-radius: 7px;
    margin: 0 3px;
    cursor: pointer;
    padding: 0.65rem 1.8rem;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    border: none;
    background: radial-gradient(ellipse farthest-corner at right bottom,#8A6E2F 40%, #9f7928 60% , transparent 90%), 
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    background: linear-gradient(45deg, #6c531e, #aa771c);
    border-color: #6c531e;
}

.nav a.custom-btn:hover {
    background: linear-gradient(45deg, #6c531e, #aa771c);
    border-color: #6c531e;
}

.marquee {
    background-color: #9f7928eb;
    color: #ffffff;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.content-box {
    background-color: #1e1e1e;
    border: 2px solid #ffc107;
    border-radius: 10px;
    margin: 20px 0;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.content-header {
    background-color: #ffc107;
    border-radius: 8px 8px 0 0;
    padding: 10px;
    color: #161b24;
    font-size: 1.5em;
}

.content-body {
    padding: 15px;
    color: #ffffff;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    background: #161b24;
    padding: 20px 0;
    color: #ffffff;
}

footer p, footer ul {
    margin: 0;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin-right: 10px;
}

h1.text-primary {
    color: #007bff !important;
}

p.text-secondary {
    color: #6c757d !important;
}

@keyframes shine {
    0% {
        background-position: -200px;
    }
    100% {
        background-position: 200px;
    }
}

.auth-buttons button {
    margin-left: 6px;
    border: 2px solid #d1be81;
    border-radius: 15px;
    font-size: 1.3rem;
    padding: 5px 25px;
    transition: all 0.3s ease-in-out;
}

.login-btn, .signup-btn {
    
    position: relative;
    display: inline-block;
    padding: 18px 70px;
    color: #ad4d00;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(to right, #e5e5e5 0%, white 20%,#e9b928 20%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite linear;
}

.main-wrap h3 {
    background: -webkit-linear-gradient(#fbf5b7, #aa771c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}



.content-section {
    display: none;
}

.content-item {
    background-color: transparent;
    margin: 10px 0;
    border-radius: 5px;
    color: #161b24;
    text-align: center;
    position: relative;
}

.content-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-left: 10px;
    width: 50;
    border-radius: 50%;
    object-fit: cover;
    
}

.content-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #aa771c;
    

}

.content-image:hover::after {
    content: 'คลิกเพื่อดูเพิ่มเติม';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.overlay-btn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: #ffc107;
    color: #161b24;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2;
}

.content-item:hover .overlay-btn {
    display: block;
}

.content-box-with-border {
    padding: 20px;
    margin-bottom: 20px;
}

#content-area .content-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    box-shadow: 0 0 5px #ffc107;
}

#content-area .content-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #ffc107;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.content-image-container {
    flex: 1 1 calc(20% - 10px);
    margin: 0px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    
   
}

.content-container-bar {
    flex: 1 1 calc(20% - 10px);
    margin: 5px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #aa771c;
    margin-top: 20px;
    margin-bottom: 20px;
    /* width: 100%; */
}

.header-bar {
    display: inline-flex;
    gap: 10px;
    padding: 3px 20px;
    position: relative;
    width: 100%;
}

.header-bar span {
    font-size: 24px;
    margin-top: 1rem;
}
/* Slot Game */

.container-game {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}

.container-game-con {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    /* justify-content: left; */
}






.column-group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-left: 20px;
}

.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.column {
    background-color: #333;
    margin: 10px;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    width: 200px;
    height: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.image-container {
    position: relative;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}




.image-container p {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
}
/*----------Game Hot-------------------*/
.image-container-g {
    position: relative;
}

.image-container-g img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}


.image-container-g p {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container .play-button {
    background-color: #ffc107;
    color: #161b24;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.image-container .game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 1px 0;
    font-size: 1em;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.play-button {
    background-color: #ffc107;
    color: #161b24;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
.column.extra-large {
    width: 320px;
    height: 250px;
}




.column img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}


.column p {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

.decorative-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #b8890b, #ffffff, #b8890b, transparent);
    border-radius: 2px;
    margin-top: 30px;
    margin-bottom: 30px;
 
}

/*Product */


.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    
}

.logo-item {
    width: 100px; /* Adjust the width as needed */
    height: 100px; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
}

.container-fluid{
    margin-top: 170px;
    margin-left: 130px;
}



/* Footer Menu */
.footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    background-color: #f0a500; /* สีพื้นหลังที่ต้องการ */
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: row; /* ทำให้เมนูแสดงในแนวนอน */

}

.menu-item {
    text-align: center;
    flex: 1; /* ทำให้เมนูแบ่งพื้นที่กันอย่างเท่าเทียม */
}

.menu-item img {
    width: 24px; /* ขนาดของไอคอน */
    height: 24px;
}

.menu-item p {
    margin: 5px 0 0;
    font-size: 14px;
}

/* Highlighted Menu */
.highlighted-menu {
    background-color: #f0a500;
    width: 100%;
    padding: 3px 0;
    margin-top: 15px; /* Adjust this value to ensure it appears below the navigation */
    overflow-x: auto; /* เปิดการเลื่อนแนวนอน */
    white-space: nowrap; /* ป้องกันการตัดคำ */
    -webkit-overflow-scrolling: touch; /* ทำให้การเลื่อนลื่นไหลมากขึ้นในอุปกรณ์มือถือ */
    position: fixed;
}

.highlighted-menu .nav {
    display: flex;
    justify-content: flex-start; /* จัดการให้เมนูเรียงจากซ้ายไปขวา */
    flex-wrap: nowrap; /* ป้องกันการเลื่อนแถว */
    white-space: nowrap; /* ป้องกันการตัดคำ */
}

.highlighted-menu .nav-link {
    display: inline-block;
    flex: none; /* ทำให้รายการเมนูไม่ยืดขยาย */
    margin: 0 10px;
    color: #fff;
    text-align: center;
    white-space: nowrap; /* ป้องกันการตัดคำ */
}

.highlighted-menu .nav-link img {
    width: 24px; /* ปรับขนาดไอคอน */
    height: 24px;
}

.highlighted-menu .nav-link p {
    margin: 5px 0 0;
    font-size: 12px;
}

/* สไตล์ Scrollbar แนวนอน */
.highlighted-menu::-webkit-scrollbar {
    height: 12px; /* ความสูงของ scrollbar */
}

.highlighted-menu::-webkit-scrollbar-track {
    background: #161b24; /* สีพื้นหลังของ scrollbar */
}

.highlighted-menu::-webkit-scrollbar-thumb {
    background-color: #161b24; /* สีของ scrollbar */
    border-radius: 5px;
}

.highlighted-menu::-webkit-scrollbar-thumb:hover {
    background-color: #161b24; /* สีของ scrollbar เมื่อ hover */
}

/* ปรับปรุง Scrollbar แนวตั้ง */
body::-webkit-scrollbar {
    width: 6px; /* ความกว้างของ scrollbar แนวตั้ง */
}

body::-webkit-scrollbar-track {
    background: #161b24; /* สีพื้นหลังของ scrollbar แนวตั้ง */
}

body::-webkit-scrollbar-thumb {
    background-color: #161b24; /* สีของ scrollbar แนวตั้ง */
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #161b24; /* สีของ scrollbar แนวตั้ง เมื่อ hover */
}

.spacer{
    flex-grow: 1 !important;
  }

  .btn {
    font-size: 14px;
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.4rem 0.8rem;
    /* font-weight: bold; */
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    
    border: none;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
  }


  .btn:hover {
    background-color: #0d0d0d;
  }
  .btn:focus {
    outline: 1px dashed yellow;
    outline-offset: 3px;
  }
  /* Floating Icon */
#floating-icon {
    position: fixed;
    bottom: 80px;  /* Adjust the position as needed */
    right: 20px;  /* Adjust the position as needed */
    z-index: 1000;
}

#floating-icon img {
    width: 80px;  /* Adjust the size as needed */
    height: auto;
    cursor: pointer;
}
/*Sport img*/


.game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.game-item {
    flex: 1 1 calc(25% - 20px);
    margin: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.game-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ffc107;
}

/*Fising*/
.game-listf {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.game-itemf {
    flex: 1 1 calc(25% - 20px);
    margin: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.game-itemf img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ffc107;
}

.game-namef {
    padding: 10px;
    background-color: #161b24;
    color: #ffc107;
    font-weight: bold;
}
/*Poker*/





.game-imagep {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ffc107;
    

}

.overlayp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: rgba(0, 0, 0, 0.5); */
}


.image-container {
    position: relative;
}

.image-containerp img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
           


.play-buttonp {
    margin-top: 250px;
    margin-left: 6px;
    border: 2px solid #FFFFAC;
    border-radius: 15px;
    font-size: 1.3rem;
    padding: 5px 30px;
    color: #ffffff;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    transition: transform 0.3s ease-in-out;
}

.play-buttonp:hover {
    transform: scale(1.1);
}
/* E-Sport */

.page {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    /* background-color: #000; */
  }
  
  .esport-container {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .esport-img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  .logo-e {
    max-width: 30%;
    max-height: 30%;
    position: absolute;
    top: 10%;
    left: 35%;
    z-index: 2;
    animation: esport-animation 2s infinite alternate;
  }
  
  .esport-c {
    width: 15%;
    position: absolute;
    z-index: 2;
    /* animation: esport-animation 2s infinite alternate; */
  }
  
  .c1 {
    width: 40%;
    top: 5%;
    left: 5%;
  }
  
  .c2 {
    width: 40%;
    top: 15%;
    left: 10%;
  }
  
  .c3 {
    width: 40%;
    top: 25%;
    left: 15%;
  }
  
  .play-btn-esp {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
  }
  
  .gradient-border {
    border-radius: 15px;
    padding: 5px;
    background: linear-gradient(45deg, #ffcc00, #ff9900);
  }
  
  .esport-btn {
    border: 2px solid #FFFFAC;
    border-radius: 15px;
    font-size: 1.3rem;
    padding: 10px 30px;
    color: #ffffff;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    animation: button-animation 2s infinite alternate;
  }
  
  @keyframes esport-animation {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }
  
  @keyframes logo-animation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes button-animation {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }

/* Chicken */

.logo-ch {
    width: 15%;
    position: absolute;
    top: 10%;
    left: 45%;
    z-index: 2;
    animation: esport-animation 2s infinite alternate;
    height: auto;
  }

  .cockfight-img {
    width: 100%;
    height: auto;
}

.play-btn-ch {
    position: absolute;
    bottom: 5%;
    left: 50%;
    height: auto;
  }

  .chicken-btn {
    bottom: 30%;
    border: 2px solid #FFFFAC;
    border-radius: 15px;
    font-size: 1.3rem;
    padding: 10px 30px;
    color: #ffffff;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    animation: button-animation 2s infinite alternate;
  }


/* Footer Menu */
.footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    background-color: #f0a500; /* สีพื้นหลังที่ต้องการ */
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: row; /* ทำให้เมนูแสดงในแนวนอน */
}

.menu-item {
    text-align: center;
    flex: 1; /* ทำให้เมนูแบ่งพื้นที่กันอย่างเท่าเทียม */
}

.menu-item img {
    width: 24px; /* ขนาดของไอคอน */
    height: 24px;
}

.menu-item p {
    margin: 5px 0 0;
    font-size: 14px;
}

/* Box Promotion */
.box-pro{
       flex: 1 1 calc(25% - 20px);
    margin: 10px; 
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;

}
.allnews-box {

    margin-top: 10px;
    max-width: 100%;
    height: auto;
    position: relative;
    padding: 10px;
    margin-bottom: 1.5em;
    background-color: #11151c;
    border: solid 1px #131821;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}

.allnews-box:hover {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .15);
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}
.allnews-text-harder {
    font-size: 14px; /* กำหนดขนาดฟอนต์ตามต้องการ */
    color: #4d85ff; /* กำหนดสีฟอนต์ (อันนี้เป็นสีแดง) */
    font-weight: bold; /* กำหนดความหนาของฟอนต์ */
}

.status-event.bg-update {
    background-color: #188a18; /* กำหนดสีพื้นหลัง (อันนี้เป็นสีเขียว) */
    color: #ffffff; /* กำหนดสีตัวอักษร (อันนี้เป็นสีขาว) */
    padding: 5px 5px; /* กำหนดขนาด padding */
    border-radius: 8px; /* กำหนดขอบให้โค้ง */
    font-size: 8px; /* กำหนดขนาดฟอนต์ */
    display: inline-block; /* ทำให้เป็นบล็อกในบรรทัดเดียวกัน */
}
.allnews-text {
    font-size: 14px; /* กำหนดขนาดฟอนต์ */
    color: #ffffff; /* กำหนดสีฟอนต์เป็นสีขาว */

    margin-top: 5px; /* กำหนดระยะห่างด้านบน */
}
.allnews-time{
    margin-top: 5px; /* กำหนดระยะห่างด้านบน */
    font-size: 12px; /* กำหนดขนาดฟอนต์ */

}


/*Responsive */
#highlighted-menu {
    display: none;
}

#mobile-menu {
    display: none;
    background-color: #161b24;
    color: #ffffff;
}

#footer-menu {
    display: none;
    background-color: #ba7f1a;
    color: #ffffff;
    margin-bottom: 0;
}
#esport-img-dt{
    display: flex;
}
#esport-img-m{
    display: none;
}

#logo-e-dt{
    display: flex;
}
#logo-e-m{
    display: none;
}


@media (max-width: 768px) {
    #mobile-menu {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    #footer-menu {
        display: flex; /* เปลี่ยน display ให้เมนูแสดงผล */
        position: fixed; /* ใช้ fixed เพื่อให้เมนูอยู่ด้านล่าง */
        bottom: 0; /* ตำแหน่งด้านล่าง */
        left: 0;
        width: 100%;
        z-index: 1000;
        justify-content: space-around; /* จัดการตำแหน่งของเมนูในแนวนอน */
        align-items: center; /* จัดการตำแหน่งของเมนูในแนวตั้ง */
        padding: 10px 0;
    }

    #highlighted-menu {
        display: flex;
        overflow-x: auto; /* เปิดการเลื่อนแนวนอน */
    }

    #navigation {
        display: none;
       

    }
    #main{
        margin-top: 180px;
        margin-left: 5px;
    }
   
    .content-image {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        margin-left: 2px;
        width: 45px;
        
    }

    
  .play-btn {
    position: absolute;
    bottom: 40%;
    left: 50%;
    /* width: 10%; */
    transform: translateX(-50%);
    z-index: 3;
  }
  .esport-btn {
    border: 0.5px solid #FFFFAC;
    border-radius: 15px;
    font-size: 0.8rem;
    padding: 10px 30px;
    color: #ffffff;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    animation: button-animation 2s infinite alternate;
  }
  #logo-e-m {
    display: flex;
    max-width: 40%;
    max-height: 15%;
    position: absolute;
    top: 10%;
    left: 30%;
    z-index: 2;
    animation: esport-animation 2s infinite alternate;
  }

  #logo-e-dt {
    display: none;

  }
  #esport-img-dt{
    display: none;
}
#esport-img-m{
    display: flex;
}

#esport-c{
    display: none;
}

    .play-btn-ch {
        position: absolute;
        bottom: 30%;
        left: 50%;
        height: auto;
    }

  .chicken-btn {
    bottom: 30%;
    border: 2px solid #FFFFAC;
    border-radius: 15px;
    font-size: 0.8rem;
    padding: 10px 30px;
    color: #ffffff;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    animation: button-animation 2s infinite alternate;
  }
  .auth-buttons button {
    margin-left: 1px;
    border: 2px solid #d1be81;
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 3px 15px;
    transition: all 0.3s ease-in-out;
    margin-top: 30px;
}



.logo-item img {
    max-width: 80%;
    max-height: 80%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}



.play-buttonp {
    margin-top: 50px;
    margin-left: 6px;
    border: 2px solid #FFFFAC;
    border-radius: 15px;
    font-size: 0.8rem;
    padding: 5px 30px;
    color: #ffffff;
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    transition: transform 0.3s ease-in-out;
}

.col-6 {
    padding-left: 3px;
    padding-right: 3px;
}

.logo img {
    max-height: 50px;
}

#floating-icon img {
    width: 60px;  /* Adjust the size as needed */
    height: auto;
    cursor: pointer;
}
}
