/* Style all font awesome icons */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.fa-pinterest {
  background: #cb2027;
  color: white;
}

.fa-snapchat-ghost {
  background: #fffc00;
  color: white;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-skype {
  background: #00aff0;
  color: white;
}

.fa-android {
  background: #a4c639;
  color: white;
}

.fa-dribbble {
  background: #ea4c89;
  color: white;
}

.fa-vimeo {
  background: #45bbff;
  color: white;
}

.fa-tumblr {
  background: #2c4762;
  color: white;
}

.fa-vine {
  background: #00b489;
  color: white;
}

.fa-foursquare {
  background: #45bbff;
  color: white;
}

.fa-stumbleupon {
  background: #eb4924;
  color: white;
}

.fa-flickr {
  background: #f40083;
  color: white;
}

.fa-yahoo {
  background: #430297;
  color: white;
}

.fa-soundcloud {
  background: #ff5500;
  color: white;
}

.fa-reddit {
  background: #ff5700;
  color: white;
}

.fa-rss {
  background: #ff6600;
  color: white;
}

/* Style for the caption */
.caption-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 10px 0; /* Adjust as needed */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Style for the caption text */
.caption-text {
    color: #ffffff;
    margin: 0;
}

/* Style for grid pictures */
.grid-container {
      display: grid;
      grid-template-columns: repeat(4, minmax(200px, 1fr));
      grid-gap: 5px;
      /*justify-content: center;*/
      justify-items: center;
      align-items: center;
}

.grid-container2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(200px, 1fr));
      grid-gap: 5px;
      /*justify-content: center;*/
      justify-items: center;
      align-items: center;
}

.grid-item {
      border: 1px solid #ccc;
      padding: 5px;
      display: block;
      justify-content: center; /* Center content horizontally */
      align-items: center; /* Center content vertically */
      text-align: center;
}

.grid-item img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto; 
}

.highlight {
    background-color: #e9f08c; /* kuning lembut, boleh tukar ikut selera */
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.slide {
    display: none;
    text-align: center;
}

.controls {
    display: flex;         /* Use Flexbox */
    justify-content: center; /* Center items horizontally */
    align-items: center;     /* Align items vertically */
    margin-top: 10px;
    gap: 10px; /* Space between buttons */
}

.controls button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007BFF; /* Blue button */
    color: white;
    border-radius: 5px;
}

.controls button:hover {
    background-color: #0056b3; /* Darker blue */
}

.slide img {
  width: 100%;
  height: auto;
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

.input {
    width: 100%;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

#data-container {
  text-align: center;
}

h3 {
  background-color: #80ced6;
}

h2 {
  background-color: #FFFFFF;
}
body,h1,h2,h3,h4,h5,h6 {font-family: "Karma", sans-serif}.w3-bar-block .w3-bar-item {padding:5px}.mySlides {display:none;}

.scrolling-text-container {
  width: 2000px; /* Adjust width as needed */
  overflow: hidden;
}

.scrolling-text {
  white-space: nowrap;
  animation: scroll-left 20s linear infinite; /* Adjust speed as needed */
}

.center {
margin-left: auto;
margin-right: auto;
}

.highlight {
    background-color: greenyellow;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }

table, th, td {
  border:1px solid black;
  border-collapse: collapse;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
}