
@font-face {
  font-family: bali;
  src: url(../Balinese\ Family.ttf);
}

@font-face {
  font-family: papyrus;
  src: url(../papyrus.ttf );  
}


body {
  font-family: 'bali', sans-serif; /* Bali-themed font */
  margin: 0;
  padding: 0;
  font-family: 'papyrus', sans-serif;
}
.container {
margin-top: 50px;
}

.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: none;
border-radius: 8px;
transition: transform 0.2s;
cursor: pointer;
overflow: hidden;
}

.card:hover {
transform: translateY(-5px);
}

.card-text {
  font-family: papyrus;
  font-size: 15px;
}

.card-img-top {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 10px;
}

.card-title-h5{
padding-top: 20px;
font-family: papyrus;
}

.modal-body img {
width: 250px;
height: 150px;
object-fit: cover;
border-radius: 8px;
}

.modal-body .content {
margin-left: 15px;
}

/* navbar */
.navbar {
  background-color: #333;
position: fixed;
width: 100%;
top: 0;
z-index: 100;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.6); /* Shadow hitam lembut di bawah */
display: flex;
justify-content: center;
align-items: center;
font-family: papyrus;
}


.container {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0px 50px;
}

*,
*::after,
*::before{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.html{
  font-size: 62.5%;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines{
  display: none;
}

.container{
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

.navbar{
  box-shadow: 0px 5px 10px 0px #aaa;
  width: 100%;
  height:80px;
  background-color: #333;
  color: #ffffff;
  z-index: 100;
  display: flex ;
}

.navbar-container{
  display: flex;
  justify-content: space-between;
  height: 64px;
  align-items: center;
}

.menu-items{
  order: 2;
  display: flex;
}
.logo{
  order: 1;
  font-size: 2.3rem;
}

.menu-items li{
  list-style: none;
  margin-left: 1.5rem;
  font-size: 1.3rem;
}

.navbar a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.navbar a:hover{
  color: #ff9100;
}

@media (max-width: 768px){
  .navbar{
      opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines{
      display: block;
  }

  .navbar-container{
      display: block;
      position: relative;
      height: 64px;
  }

  .navbar-container input[type="checkbox"]{
      position: absolute;
      display: block;
      height: 32px;
      width: 30px;
      top: 20px;
      left: 20px;
      z-index: 5;
      opacity: 0;
      cursor: pointer;
  }

  .navbar-container .hamburger-lines{
      display: block;
      height: 28px;
      width: 35px;
      position: absolute;
      top: 20px;
      left: 20px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line{
      display: block;
      height: 4px;
      width: 100%;
      border-radius: 10px;
      background: #333;
  }
  
  .navbar-container .hamburger-lines .line1{
      transform-origin: 0% 0%;
      transition: transform 0.3s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2{
      transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3{
      transform-origin: 0% 100%;
      transition: transform 0.3s ease-in-out;
  }

  .navbar .menu-items{
      padding-top: 100px;
      background: #fff;
      height: 100vh;
      max-width: 300px;
      transform: translate(-150%);
      display: flex;
      flex-direction: column;
      margin-left: -40px;
      padding-left: 40px;
      transition: transform 0.5s ease-in-out;
      box-shadow:  5px 0px 10px 0px #aaa;
      overflow: scroll;
  }

  .navbar .menu-items li{
      margin-bottom: 1.8rem;
      font-size: 1.1rem;
      font-weight: 500;
  }

  .logo{
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 2.5rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items{
      transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1{
      transform: rotate(45deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2{
      transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3{
      transform: rotate(-45deg);
  }

}

@media (max-width: 768px) {
.navbar-nav {
  display: none; /* Hide nav links initially */
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0; /* Adjust based on navbar height */
  width: 100%;
  background-color: #333; /* Match navbar color */
  z-index: 99;
  padding: 20px 0;
}

.navbar-nav.active {
  display: flex; /* Show nav links when active */
}

.hamburger {
  display: block; /* Show hamburger on small screens */

}}


/* Atur tinggi maksimal untuk gambar di kartu */
.card img {
    object-fit: cover;
    max-height: 200px;
}

/* Untuk modal gambar agar terlihat baik di layar kecil */
.modal img {
    max-width: 100%;
    height: auto;
    margin-right: 20px;
}

/* Atur modal konten agar tidak berantakan */
.modal-body {
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
}

.modal-body .content {
    flex: 1;
}

/* Margin atas pada kartu di layar kecil */
.card {
    margin-bottom: 15px;
}

/* Pastikan grid responsif */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
      
    }

    .logo{
      width: 250px;
      position: absolute;
      left: 10px;
      top: 0px;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*
foother
*/

/* Prevent textarea from resizing */
textarea {
  resize: none;
}

/* Center text in any container */
.text {
color: white;
font-size: 20px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%); /* For IE */
white-space: nowrap;
}

/* Remove duplicate charset declaration */


/* Fix icon alignment */
.svg-inline--fa {
vertical-align: -0.200em;
}

/* Center the rounded social buttons container */
.rounded-social-buttons {
text-align: center;
padding: 20px 10px;
}

/* Style the social button */
.rounded-social-buttons .social-button {
display: inline-block;
cursor: pointer;
width: 3.125rem;
height: 3.125rem;
border: 0.125rem solid transparent;
padding: 0;
text-decoration: none;
text-align: center;
color: #fefefe;
font-size: 1.5625rem;
font-weight: normal;
line-height: 2em;
border-radius: 1.6875rem;
transition: all 0.5s ease;
margin-right: 0.25rem;
margin-bottom: 0.25rem;
}

/* Rotate button on hover or focus */
.rounded-social-buttons .social-button:hover, 
.rounded-social-buttons .social-button:focus {
transform: rotate(360deg);
}

/* Style the social media icons */
.rounded-social-buttons .fa-twitter, 
.rounded-social-buttons .fa-facebook-f, 
.rounded-social-buttons .fa-linkedin, 
.rounded-social-buttons .fa-tiktok, 
.rounded-social-buttons .fa-youtube, 
.rounded-social-buttons .fa-instagram {
font-size: 25px;
}

/* Specific button styles for each social network */
.rounded-social-buttons .social-button.facebook {
background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover, 
.rounded-social-buttons .social-button.facebook:focus {
color: #3b5998;
background: #fefefe;
border-color: #3b5998;
}

.rounded-social-buttons .social-button.twitter {
background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover, 
.rounded-social-buttons .social-button.twitter:focus {
color: #55acee;
background: #fefefe;
border-color: #55acee;
}

.rounded-social-buttons .social-button.linkedin {
background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover, 
.rounded-social-buttons .social-button.linkedin:focus {
color: #007bb5;
background: #fefefe;
border-color: #007bb5;
}

.rounded-social-buttons .social-button.tiktok {
background: #000000;
}

.rounded-social-buttons .social-button.tiktok:hover, 
.rounded-social-buttons .social-button.tiktok:focus {
color: #000000;
background: #fefefe;
border-color: #000000;
}

.rounded-social-buttons .social-button.youtube {
background: #bb0000;
}

.rounded-social-buttons .social-button.youtube:hover, 
.rounded-social-buttons .social-button.youtube:focus {
color: #bb0000;
background: #fefefe;
border-color: #bb0000;
}

.rounded-social-buttons .social-button.instagram {
background: #125688;
}

.rounded-social-buttons .social-button.instagram:hover, 
.rounded-social-buttons .social-button.instagram:focus {
color: #125688;
background: #fefefe;
border-color: #125688;
}

.image-pilihan {
  display: flex;
  justify-content: center; /* Center images horizontally */
  align-items: center; /* Align images vertically */
  flex-wrap: wrap; /* Allow wrapping of images if they overflow */
  gap: 20px; /* Add space between images */
  padding: 20px; /* Add padding around the container */
}

.image-pilihan img {
  width: 300px;
  height: 200px;
  object-fit: cover; /* Make sure the image is nicely cropped */
  border-radius: 10px; /* Rounded corners */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
}

.image-pilihan img:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}


/* Basic footer styling */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  bottom: 0;
  width: 100%;
  margin-top: 4.7%;
}

/* Style the footer text */
.footer-content p {
  margin-top: 10px;
  font-size: 16px;
}