body {
    background-color: purple;
    color: #002e6b;
    /* font-family: prompt-regular; */
}
*{
    font-family: "Prompt", system-ui;
    font-weight: 400;
    font-style: normal; 
   
}

  
.container {
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-top h1 {
    font-size: 2em;
    color: #fff;
}

.auth-buttons .btn {
    color: #da35ff;
    background-color: #fff;
    border: 1px solid #3586ff;
}

.auth-buttons .btn:hover {
    background-color: #e6e6e6;
}

.statistics-section, .charts-section, .news-section {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stat-box, .chart-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    margin: 10px;
}

.stat-box h3, .chart-container h3 {
    color: #3586ff;
    font-size: 2em;
}

.stat-box p, .chart-container p {
    color: #666;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 400px;
}

.table {
    background-color: #fff;
    max-width: 100%;
    margin: 20px auto;
}

.table th, .table td {
    color: #333;
}

.news-articles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-article {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    margin: 10px;
}

.news-article img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.news-article h3 {
    font-size: 1.5em;
    color: #3586ff;
}

.news-article p {
    color: #666;
}

.btn-primary {
    background-color: #a800d6;
    border-color: #d105ff;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #2a6db3;
    border-color: #2a6db3;
}

.btn-secondary {
    background-color: #fff;
    color: #3586ff;
    border-color: #3586ff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #e6e6e6;
    color: #3586ff;
}

.btn-warning {
    background-color: #ffcc00;
    border-color: #ffcc00;
}

.btn-warning:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

.btn-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

 .main-menu {
    background-color: #9700a8c5;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    /* border-radius: 10px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: larger;
    font-weight:bolder;
} 

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.main-menu ul li {
    margin: 0 10px;
}

.main-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
     border-radius: 5px; 
}

.main-menu ul li a:hover {
    color: #000000;
    /* background-color: #f0f0f0; */
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 500px; /* ปรับขนาดความสูงของสไลด์ */
    margin: auto;
    overflow: hidden;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 1;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}


