body {
  font-family: 'Khmer OS Moul Light', 'Khmer OS Siem Reap', 'KaiTi', 'Times New Roman','Times New Roman bold';
  font-size: 18px;



}


#search{
    text-align: center;
    background: #bebebe;
    color: white;
    width: 100%;
    height: 100%;
}

.btn{
  width: auto;
  font-size: 15px;
}

.button {

  border: none;
  color: white;
  padding: 1px 2px;
  text-align: center;
  text-decoration: none;
  display: flex;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;

}

.button3 {
  background-color: #891635;
      border: none;
      color: white;
      padding: 1px 2px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition-duration: 0.4s; /* Speed of the hover effect */
      text-align: center;


}
.button3:hover {
  background-color: white;
      color: black;
      border: 2px solid #891635;


}

.btn-default{
      background-color: #891635 !important;
      border: none;
      color: white !important;
      padding: 5px 2px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition-duration: 0.4s; /* Speed of the hover effect */
      text-align: center;
      font-family: 'Khmer OS Moul Light', 'KaiTi', 'Times New Roman bold';

}

.btn-default:hover{

      background-color: white;
      color: black;
      border: 2px solid #891635;


}

.btn-warning{

      border: none;
      color: white;
      padding: 5px 2px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition-duration: 0.4s; /* Speed of the hover effect */
      text-align: center;
}
.btn-warning:hover{
    background-color: white;
      color: black;
      border: 2px solid #891635;
}
/* Button */

/* Navbar styles */
.navbar-expand-lg {
            background-color: #891635;
            font-size:18px;
            list-style: none;
            padding: 0px;
            margin: 0px;
            background: transparent;
            /* Removed display: block; to allow Bootstrap's responsive collapse */



        }

        #home{
            margin-left: 40px;
        }

        .navbar-nav .nav-item {
            position: relative;
        }
        .navbar-nav .nav-item a {
            display: block;
            padding: 12px 20px;
            color: #fff;
            text-decoration: none;
        }


        /* Dropdown styles */
        .navbar-nav .nav-item .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            list-style: none;
            margin: 0;
            padding: 0;
            background: #ffffff;
            min-width: 150px;
            z-index: 1000;
        }
        .navbar-nav .nav-item .dropdown-menu .dropdown-item {
            padding: 10px;

        }
.dropdown-item{
      font-size: 15px;
      color: black !important;
        }
.dropdown-item:hover {
  background-color: #891635 !important;
  color: white !important;
}
.dropdown-item:active {
  background-color: #891635 !important;
  color: white !important;
}
/* Dropdown menu styles - removed hover display to ensure click functionality works properly */

.navbar{
  background-color:#891635;

}
.nav-link{
  color: white;
  margin-right: 20px;
}
.nav-link:hover, .dropdown-item:hover {
  font-weight: normal !important;
}
.navbar .nav-link:hover {
  color: white !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
}
.nav-link.dropdown-toggle:hover {
  color: white !important;
  border: none !important;
  background-color: #6f1a2a !important;
  outline: none !important;
}
/* Navbar */


#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #891635;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}

#myBtn:hover {
  background-color: #555;
}

/* Button */


h1{
  text-align: center;
   font-family: 'Khmer OS Moul Light';

}
h2, h3{
  text-align:left;
   font-family: 'Khmer OS Moul Light'
}

p{
  text-align: justify;
  font-size: 16px;
  font-family: 'Khmer OS Siem Reap';



}

/* Style the footer */
footer {
  background-color: #891635;
  padding: 10px;
  text-align: center;
  color: white;
}



#well{
    text-align: center;
    background-color:silver;
    border-radius: 0px 0px 0px 25px;


}



/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
  nav, article {
    width: 100%;
    height: auto;
  }
}

/* About page styles */
div.scroll-container {
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

/* Image wrapper */
.image-box {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

.image-box img {
  display: block;
  width: 600px;
  height: 400px;
  border-radius: 15px;
  border: 2px;
}

/* Overlay text */
.image-text {
  position: absolute;
  bottom: 50px; /* move text up */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

/* Overlay ruler */
.image-box hr {
  position: absolute;
  bottom: 40px; /* just below text */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  border: 2px solid white;
}
.image-container{
    margin-left: -15px;
}

/* Custom primary button color for language buttons */
.btn-primary {
  background-color: #891635 !important;
  border-color: #891635 !important;
}

.btn-primary:hover {
  background-color: #891635 !important;
  border-color: #891635 !important;
}

/* Custom secondary button color for language buttons */
.btn-secondary {
  background-color: white !important;
  border-color: #891635 !important;
  color: #891635 !important;
}

.btn-secondary:hover {
  background-color: #891635 !important;
  border-color: #891635 !important;
  color: white !important;
}
