@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&display=swap');

body {
  overflow-x: hidden;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #466256; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #1b463f;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1b463f;
}

.logo {
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
  z-index: 999;
  }
.logo img {
  width: 250px;
  height: 250px;
}

@media only screen and  (max-width: 800px) {
  .logo img {
    width: 350px;
    height: 350px;
  }
  .float {
    margin: 30px 20px !important;
    text-align: left !important;
  }
  .pb-5 {
    padding-bottom: 0 !important;
  }
  .section-padding {
    padding-top: 0.6rem !important;
  }
  .contact-form button[type='submit'] {
    margin-bottom: 50px;
  }
}

@media only screen and (max-width: 480px) {
  .navbar {
    top: 0;
    position: fixed;
    z-index: 9999!important;
  }
  .logo img {
    width: 160px;
    height: 160px;
  }
  .testimonial p {
    font-size: 14px;
  }
  .navbar {
    background: var(--dark-color);
  }
}

.slide-image {
  width: 100%;
  height: 100%;
  max-height: 735px;
  min-height: 635px;
  object-fit: cover;
}

.bg-light {
  background-color: #1b463f !important;
}

.navbar-social {
  display: inline-block;
}

.navbar-social i {
  color: var(--light-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-wiight-light);
  margin-right: 10px;
}

.mx-right {
  margin-right: 0 !important;
  margin-left: auto !important;
}

.navbar-nav .nav-link-book {
  font-family: 'Antonio', sans-serif;
  padding-right: 25px;
  padding-left: 25px;
  color: var(--light-color);
  font-size: 18px;
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-loose);
  position: relative;
  top: 10px;
}

.book {
  background: var(--primary-color);
  padding: 10px 20px;
}

.about-img {
  max-height: 450px;
  overflow: hidden;
  object-fit: cover;
  position: relative;
  top: 50px;
}

.philosophy-img {
  max-height: 330px;
  overflow: hidden;
  object-fit: cover;
  position: relative;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.carousel-control-next, .carousel-control-prev {
  width: fit-content;
}

.control {
  display: block;
  position: absolute;
  right: 1.2rem;
}

.gallery-info {
  text-align: center;
  display: block;
}

.gallery-title {
  font-size: var(--p-font-size);
  font-weight: var(--font-wiight-extra-light);
}

.gallery-image {
  max-width: 100%;
}

.copyright-text {
  margin-bottom: 0;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: center;
  margin-left: 12%;
}

.special-link {
  display: block;
}

ul.special-link {
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.special-link a {
  margin-top: 20px;
  margin-right: 10px;
  color: var(--color-white);
}

/* Modal */

.btn-close {
  cursor: pointer;
  position: relative;
  right: -5px;
  top: 5px;
  margin: 3px;
  width: 20px;
  height: 20px;
  float: right;
}
.clear {
  clear: both;
}
.btn-close::before, .btn-close::after {
  content: '';
  height: 2px;
  display: block;
  background: #d6d6d6;
}
.btn-close::before {
  margin-top: 10px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.btn-close::after {
  margin-top: -2px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.btn-close:hover:after, .btn-close:hover:before {
  background: #FF8CB4;
}
.modal-wrapper {
  display: flex;
  z-index: 999;
  width: 100%;
  height: 100%;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: 0;
  background: rgba(25, 18, 12, 0.3);
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.modal-wrapper.open {
  visibility: visible;
  opacity: 1;
  filter: alpha(opacity=1);
}
.modal {
  padding-left: 15px;
  padding-right: 15px;
  display: inline-block;
  height: 505px;
  width: 405px;
  position: relative;
  margin: auto;
  background: #1b463f;
  background: -webkit-linear-gradient(bottom, #466256, #699180);
  background: -o-linear-gradient(bottom, #466256, #699180);
  background: linear-gradient(to top, #466256, #699180);
  box-shadow: 0px 16px 16px -6px rgba(47, 46, 38, 0.5);
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -ms-transform: scale(0.7);
  /* IE 9 */
  -webkit-transform: scale(0.7);
  /* Safari */
  transform: scale(0.7);
}
.modal-wrapper.open .modal {
  opacity: 1;
  filter: alpha(opacity=100);
  -ms-transform: scale(1);
  /* IE 9 */
  -webkit-transform: scale(1);
  /* Safari */
  transform: scale(1);
}
.content {
  text-align: center;
}

.content .form-label {
  margin-top: 15px;  
}

.content .contact-form button[type='submit'] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color) !important;
  font-weight: var(--font-weight-bold);
  font-size: var(--p-font-size);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
  letter-spacing: var(--letter-spacing-loose);
  margin-bottom: 50px;
}

@media screen and (max-width: 425px) {
  .modal {
    width: 100%;
    height: 70%;
    padding: 0;
  }
  .btn-close {
    right: 5px;
  }
}

/* WhatsApp */

[class^="bi-"]::before, [class*=" bi-"]::before {
  vertical-align: 0;
}

.float {
  position: relative;
  text-align: center;
  margin: 0 20px;
  display: block;
}

.float img {
  margin-top: 1px;
}


.testimonial {
  min-height: 435px;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transition: opacity 0s 0.6s;
}

.google-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.google-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.google-link:hover,
.google-link:hover::after {
  color: var(--white-color);
}

ul > li {
  color: var(--light-color);
}

.menu-bg {
  background: url(../images/menu-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

-my-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Main CSS */
.grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
}

.grid-wrapper > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}

.grid-wrapper .wide {
	grid-column: span 2;
}

.grid-wrapper .tall {
	grid-row: span 2;
}

.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}

.grid-wrapper > div > img:hover {
  cursor: pointer;
}


/* Tambahan */

@media only screen and (max-width: 1400px) {
  .extra-wide {
    display: none !important;
  }
}

@media only screen and (min-width: 1400px) {
  .grid-wrapper .ds-normal img {
    width: 250px !important;
  }
  .grid-wrapper .ds-tall img {
    width: 250px !important;
  }
  .grid-wrapper .ds-wide img {
    width: 510px !important;
  }
  .grid-wrapper .ds-big img {
    width: 512px !important;
  }
}

.grid-wrapper .ds-normal img {
    width: 270px;
    height: 200px;
    object-fit: cover;
}

.grid-wrapper .ds-wide img {
  width: 552px;
  height: 200px;
  object-fit: cover;
}

.grid-wrapper .ds-big img {
  width: 552px;
  height: 410px;
  object-fit: cover;
}

.grid-wrapper .ds-tall img {
  width: 270px;
  height: 410px;
  object-fit: cover;
}

.contact-phone a {
  color: inherit;
  font-weight: 300;
}

.contact-phone a:hover {
  color: inherit;
  font-weight: 300;
}

    /* CSS styles for the CAPTCHA container */
    .captcha-container {
      max-width: 300px;
      margin: 20px auto;
      padding: 20px;
      background-color: #f4f4f4;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .captcha-image {
      width: 150px;
      height: 50px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 3px;
      text-align: center;
      line-height: 50px;
      font-size: 24px;
      font-weight: bold;
    }
    .captcha-input {
      margin-top: 10px;
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 3px;
      box-sizing: border-box;
      outline: none;
    }
    .captcha-button {
      margin-top: 10px;
      padding: 10px 20px;
      background-color: #4CAF50;
      color: #fff;
      border: none;
      border-radius: 3px;
      cursor: pointer;
    }
