/* General Styles */
body {
    font-family: 'Khmer OS Siemreap';
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

/* Header */
header {
    padding-bottom: 5px;
    height: 100px;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

header .logo {
    width: 70%;
}

header .logo img {
    width: 600px;
}

/* Navigation Bar */
nav {
    background-color: #3d54b9;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 50px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /*font-family: 'Khmer OS Siemreap';*/
}

nav ul li {
    margin: 0 25px;
    display: flex;
}

nav ul li a {
    color: #e4e3e3;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
}

nav ul li a:hover {
    color: #ffffff;
    border-radius: 5px;
}

/* Main Content */
.main-content {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
}

main {
    width: 70%;
    padding: 20px;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
}

.category {
    margin-bottom: 40px;
}

.category h2 {
    font-size: 24px;
    color: #333;
}

.category article {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category article h3 {
    font-size: 20px;
    color: #333;
}

.category article p {
    font-size: 16px;
    color: #666;
}

.main-content .category .ctrl_row{
    display: flex;
}

/* Footer */
footer {
    background-color: #3d54b9;
    color: #fff;
    text-align: center;
    padding: 5px;
}

/* Slideshow Styles */
.slideshow-container {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */   
}

.container-show {
    /* 
    padding: 5px;
    position: relative;
    width: 70%;
    max-width: 90%;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 4px 100px rgba(0,0,0,0.1);    
    */

    padding-top: 5px;
    position: relative;
    width: 70%;
    overflow: hidden;
    
  }

  .slide-track {
    
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%; /* 3 slides total */
    height: 100%;
}  

  .slide {
    /*
    display: none;
    width: 100%;
    */
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
  }

  .slide img {
    /*
    width: 100%;
    border-radius: 0px;
    */
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 0.3s;
  }

  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }

  .prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
  }


