
/* styles.css */

/* General styles */
body {
  margin: 0;
  font-family: 'kanit', sans-serif;
  color: #333;
}


/* Slideshow container */
.slideshow-container {
  flex: 1; /* Fills the remaining height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.mySlides {
  display: none;
  height: 100%; /* Ensures full height of the slideshow container */
  width: 100%; /* Ensures full width */
}

.mySlides img {
  height: 75vh; /* Make the image cover the container's height */
  object-fit: cover; /* Keeps the image proportionally scaled */
  width: 100%;
}


/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 10s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}

.card-section {
  text-align: center;
  padding: 20px;
}

.section-title {
  font-size: 2.2rem;
  color: #333;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 150px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-size: 1.45rem;
  margin: 0 0 10px;
}

.card-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.card-info {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  font-size: 1.2rem;
  font-weight: 300;
}

.card-info li {
  margin-bottom: 5px;
}

.card-button {
  display: block;
  width: 100%;
  padding: 10px;
  color: #fff;
  background: linear-gradient(90deg, #ff3976, #feb181);
  /* background: #100e0f; */
  border-radius: 3px;
  font-size: 14px;
  text-align: center;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card-button:hover {
  background-color: #ff3475;
}


.content {
  margin-top: 50px;
}
.custom-pagination {
  margin-bottom: 20px;
}
.custom-pagination input,
.custom-pagination select {
  width: 75px;
  display: inline-block;
}
.error-text {
  display: none;
}
.has-error .help-block.error-text {
  display: block;
}
.has-error .help-inline.error-text {
  display: inline;
}
.header-profile-image {
  opacity: 0.8;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  margin-right: 5px;
}
.open .header-profile-image,
a:hover .header-profile-image {
  opacity: 1;
}
[ng\:cloak],
[ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}
.undecorated-link:hover {
  text-decoration: none;
}
.user-header-dropdown-toggle {
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}

.main-photo {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}
.thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.thumbnail {
  width: 100px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}
.thumbnail:hover {
  transform: scale(1.05);
}