@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

:root{
    --main-color: rgb(241 245 249);
    --dark-mode-color: rgb(15 23 42);
    --dark-mode-sec: rgb(30 41 59);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--main-color);
  color: var(--dark-mode-color);
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
}

.progress-container {
  width: 100%;
  background-color: transparent;
  height: 5px;
  display: block;
}
.progress-bar {
  background-color: #0dcaf0;
  width: 0%;
  display: block;
  height: inherit;
}

li:after {
  display:block;
  content: '';
  border-bottom: solid 3px #019fb6;  
  transform: scaleX(0);  
  transition: transform 250ms ease-in-out;
}
li:hover:after { transform: scaleX(1); }
li.fromRight:after{ transform-origin:100% 50%; }
li.fromLeft:after{  transform-origin:  0% 50%; }

/* animated search */
#search-container:after {
  display:block;
  content: '';
  border-bottom: solid 3px #019fb6;  
  transform: scaleX(0);  
  transition: transform 5000ms ease-in-out;
}
#search-container:hover:after { transform: scaleX(1); }
#search-container.fromRight:after{ transform-origin:100% 50%; }
#search-container.fromLeft:after{  transform-origin:  0% 50%; }

.bg-img{
  z-index: -999999999;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.527),rgba(0, 0, 0, 0.5)), url("../img/rizknas-2MOnt5BQEkE-unsplash.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  opacity: 0.9;
  background-attachment: fixed;
}

canvas{
  z-index:-1;
  top: 45%;
  left: 50%;
  width: 25%;
}


#cta:hover { 
    transition: all 0.6s ease;
    transform: translateY(-0.5rem) scale(1);
    transform-origin: center;
}

#go-top {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#go-top:hover {
  background-color: #555;
}

.dark-mode {
  background-color: var(--dark-mode-color) !important;
  color: var(--main-color) !important;
  transition: 0.7s ease-in-out; 

}

.img-darkmode {
  width: 20px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#provinsi{
  z-index: -999999999;
  background-image: linear-gradient(rgba(0, 0, 0, 0.527),rgba(0, 0, 0, 0.5)), url('/assets/img/joglo.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  opacity: 0.9;
  background-attachment: fixed;
  
}


.animate {
  transform: translateY(0);
  animation: transform 0.5s ease-in-out;
}

.carousel-btn {
  top: 115%;
}

.carousel-control-prev {
  left: 85%;
}

.carousel-control-next {
  right: -15%;
}


.disable {
  display: none;
}

.scrolled {
  -webkit-backdrop-filter: blur(64px); 
  /* Safari 9+ */ 
  backdrop-filter: blur(20px); 
  backdrop-filter: brightness(.0.1);
  /* Chrome and Opera */
  /* background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 300ms linear;  */
  background-color: var(--dark-mode-color) !important;
}

.mobile-navbar {
  background-color: #fff !important;
  transition: background-color 200ms linear;
}

.card-content {
  border-radius: 12px 12px 0px 0px !important;
}

.card-content:hover {
  box-shadow: rgb(163, 163, 163) 10px 10px 5px;
}

/* preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
}
.preloader .loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

@keyframes ZoomIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
  
}

@keyframes OpacityEfect {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.content-home {
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-name: OpacityEfect;
}

/* canvas {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s 1.42s, transform 1s 2s;
} */


.carousel-item > .card > img {
  width: 100%;
  height: 400px;
}

@media screen and (max-width: 768px) {
  .carousel-item > .card > img {
    height: 200px;
  }

  .carousel-btn {
    top: 200%;
  }
  
  .carousel-control-prev {
    left: 20%;
  }
  
  .carousel-control-next {
    right: 20%;
  }

  #search-modal {
    margin-top: 5rem;
  }
  
  .img-budaya{
    width: auto;
    height: auto;
  }
}



.slideUp {
  animation: slide-up 0.9s cubic-bezier(0.65, 0, 0.35, 1) both
}

.bounce-left {
  animation: bounce-left 0.9s 
}

@keyframes slide-up {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes bounce-left {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50px);
  }
  70% {
    transform: translateX(100px);
  }
  90% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}


.ic-heart {
  animation: beat 0.25s infinite alternate;
  transform-origin: center;
}

/* Heart beat animation */
@keyframes beat {
  to {
    transform: scale(1.4);
  }
}


.card:hover, .card:focus {
  transform: scale(1.1);
}

#ic-reaction {
  cursor: pointer;
  font-size: larger;
}

#ic-reaction:hover {
 font-size: x-large;
}
