@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
}

html,
body {
  font-family: "Lato", sans-serif;
  background: #fff;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 2 !important;
  overflow-x: hidden;
}

body.sign {
  background: rgba(241, 242, 181, 1);
  background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(7, 117, 82, 0.5) 100%);
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(19, 80, 88, 0.5)));
  background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(19, 80, 88, 0.5) 100%);
  background: -o-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(19, 80, 88, 0.5) 100%);
  background: -ms-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(19, 80, 88, 0.5) 100%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(19, 80, 88, 0.5) 100%);
  filter: ;
  progid: DXImageTransform.Microsoft.gradient(startColorstr='#f1f2b5', endColorstr='#135058', GradientType=1);
  -webkit-filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f1f2b5', endColorstr='#135058', GradientType=1);
}

.animate {
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
}

.text-center {
  text-align: center;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.navbar.fixed-top {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.navbar-nav li a:hover {
  color: #fff !important;
}

.navbar-nav li.active a {
  color: #fff !important;
  background-color: #29292c !important;
}

.navbar-default .navbar-toggle {
  border-color: transparent;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

/* CSS untuk Navbar Icon Profil */
.nav-profile img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-profile {
  display: flex;
  align-items: center;
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-family: var(--title-font-family); 
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

/* Jika menggunakan media query untuk responsivitas */
@media (max-width: 576px) {
  .nav-profile {
    background: var(--white-color);
    border-radius: var(--border-radius-large);
    display: inline-block;
    font-size: var(--h5-font-size);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: all 0.3s ease;
  }

  /* Memodifikasi ukuran ikon profil saat responsif */
  .nav-profile img {
    width: 28px;
    height: 28px;
  }

  .navbar-nav {
    order: -1; /* Mengatur urutan menu responsif ke sebelum profil */
  }

  .navbar-collapse {
    justify-content: flex-end; /* Menggeser semua elemen navbar ke kanan pada tampilan mobile */
  }
}

.nav-profile:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-profile {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-profile:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-profile:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-profile:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-profile:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-profile {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-profile:before,
.navbar-toggler .navbar-toggler-profile:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-profile::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-profile::after {
  top: 8px;
}


/*.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.clearfix {
  display: inline-block;
}*/

/* start commented backslash hack \*/
/** html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}*/

/* close commented backslash hack */
a {
  color: #00A885;
}

a:hover,
a:focus {
  color: #00755d;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.text-primary {
  color: #00A885;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

.logo h1 {
  color: #00A885;
  margin-bottom: -12px;
}

input[type="checkbox"] {
  width: auto;
}

button {
  cursor: pointer;
  background: #00A885;
  width: 100%;
  border: 0;
  padding: 10px 15px;
  color: #fff;
  font-size: 20px;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  -ms-transition: 0.3s linear;
  -o-transition: 0.3s linear;
}

span.validate-tooltip {
  width: 100%;
  display: block;
  padding: 5px;
  color: #D91717;
  box-sizing: border-box;
  font-size: 14px;
  margin-top: -28px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-animation: tooltipanimation 0.3s 1;
  animation: tooltipanimation 0.3s 1;
}

.input-group {
  position: relative;
}

.input-group label {
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 16px;
  color: #cdcdcd;
  font-weight: normal;
  padding: 2px 5px;
  z-index: 5;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.input-group input {
  border-radius: 10px !important;
  outline: none;
  display: block;
  width: 100%;
  height: 40px;
  position: relative;
  z-index: 3;
  border: 1px solid #d9d9d9;
  padding: 10px 10px;
  background: #ffffff;
  box-sizing: border-box;
  font-weight: 400;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -webkit-border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -ms-border-radius: 10px !important;
  -o-border-radius: 10px !important;
}

.input-group textarea {
  border-radius: 10px !important;
  outline: none;
  display: block;
  width: 100%;
  position: relative;
  z-index: 3;
  border: 1px solid #d9d9d9;
  padding: 10px 10px;
  background: #ffffff;
  box-sizing: border-box;
  font-weight: 400;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -webkit-border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -ms-border-radius: 10px !important;
  -o-border-radius: 10px !important;
}

.form-control:focus {
  box-shadow: 0 0 0 0.15rem rgba(0, 200, 160, 0.407) !important;
}


.input-group.focused label {
  background: #fff;
  font-size: 12px;
  top: -10px;
  left: 5px;
  color: #00A885;
}

.input-group.focused input {
  border-color: #00A885;
}

.input-group.focused textarea {
  border-color: #00A885;
}


.input-group span.validate-tooltip {
  margin-top: 0;
}

/*.wrapper .inner-warpper {
  padding: 50px 30px 60px;
  box-shadow: 1px 1.732px 10px 0px rgba(0, 0, 0, 0.063);
}

.wrapper .title {
  margin-top: 0;
}

.wrapper .supporter {
  margin-top: 10px;
  font-size: 14px;
  color: #8E8E8E;
  cursor: pointer;
}

.wrapper .remember-me {
  cursor: pointer;
}

.wrapper input[type="checkbox"] {
  float: left;
  margin-right: 5px;
  margin-top: 2px;
  cursor: pointer;
}

.wrapper label[for="rememberMe"] {
  cursor: pointer;
}

.wrapper .signup-wrapper {
  padding: 10px;
  font-size: 14px;
  background: #EBEAEA;
}

.wrapper .signup-wrapper a {
  text-decoration: none;
  color: #7F7F7F;
}

.wrapper .signup-wrapper a:hover {
  text-decoration: underline;
}*/

/*@-webkit-keyframes tooltipanimation {
  from {
    margin-top: -28px;
  }

  to {
    margin-top: 0;
  }
}

@keyframes tooltipanimation {
  from {
    margin-top: -28px;
  }

  to {
    margin-top: 0;
  }
}

.direction {
  width: 200px;
  position: fixed;
  top: 120px;
  left: 20px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  background: #9365B8;
  padding: 10px;
  color: #fff;
}*/

.card-inverse {
  max-width: 100% !important;
  height: auto;
}

@media only screen and (max-width: 768px) {
  .direction {
    position: static;
  }

  .img-main-box img {
    display: none !important;
  }

}

@media only screen and (max-width: 536px) {
  .direction {
    position: static;
  }

  .card-inverse {
    max-width: 30rem !important;
    ;
  }
}

@media only screen and (max-width: 480px) {
  .direction {
    position: static;
  }

  .card-inverse {
    max-width: 28rem !important;
    ;
  }
}

@media only screen and (max-width: 390px) {
  .card-inverse {
    max-width: 20rem !important;
    height: auto;
  }
}

/* Gaya untuk ikon mata (eye) */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1000;
  color: rgb(163, 163, 163);
}

/* Gaya tambahan untuk ikon mata (eye) ketika input dalam fokus */
.input-group.focused .toggle-password {
  color: #00A885;
}

/* Gaya tambahan untuk ikon mata (eye) ketika diklik */
.toggle-password:active {
  color: #00755d;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

.img-sign {
  max-height: 100vh;
  width: 100%;
  margin: 0 auto;
}

.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  /*max-width: 100px;
  */
  width: 70% !important;
  border: none !important;
  border-radius: 10px !important;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.user-img img {
  border-color: #fff;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  -o-border-radius: 50% !important;
  /*z-index: 100;*/
}

/* card dalam materi outside */
.list-group-item:first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.list-group-item:last-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.thumbnail {
  padding: 0 0 15px 0;
  border: none;
  border-radius: 0;
}
.thumbnail p {
  margin-top: 15px;
  color: #555;
}
.btn {
  padding: 10px 20px;
  background-color: #333;
  color: #f1f1f1;
  border-radius: 0;
  transition: .2s;
}
.btn:hover, .btn:focus {
  border: 1px solid #333;
  background-color: #fff;
  color: #000;
}
.centered-row {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;
}
.padding-adjusted {
  padding-right: 0.5rem;
  padding-left: 0.5rem; 
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.mb-adjusted {
  margin-bottom: 3rem;
}
.mx-adjusted {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .navbar {
    background-color: var(--secondary-color);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--copyright-font-size);
    padding: 10px;
  }

  .featured-section {
    border-radius: 0 0 80px 80px;
    padding-bottom: 50px;
  }

  .custom-block-topics-listing .custom-block-image {
    width: auto;
  }

  .custom-block-topics-listing > .d-flex,
  .custom-block-topics-listing-info,
  .custom-block-topics-listing a {
    flex-direction: column;
  }

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

.peta-belajar {
  max-width: 100%;
  height: auto;
  display: block; /* This makes the image center if needed */
  margin-left: auto;
  margin-right: auto;
}
