:root {
  /* --primary: #23b197; */
  --primary: #c9252d;
  --bg: #0a0a0a;
  --side: #1b1b1b;
  --bggrey: rgba(46, 46, 46, 0.8);
  --whitemal: #fafafa;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
  /* Panjang Scroll */
  /* min-height: 5000px; */
  scroll-behavior: smooth;
}
.body-login {
  min-height: 500px;
}

/* notifikasi gagal login */
.alert-log {
  font-family: "Poppins", sans-serif;
  color: white;
  text-align: center;
  font-size: 1px;
}
/* Lokasi Alamat */
.kotak-lokasi {
  text-decoration: none;
  color: var(--whitemal);
  text-align: left;
  font-size: 12px;
}
/* navbar */
.navbarcore {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2%;
  background-color: rgba(46, 46, 46, 0.8);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  user-select: none;
}

.navbarcore .navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--whitemal);
}
.navbarcore .lokasi {
  display: flex;
  font-size: 1.5rem;
  color: var(--whitemal);
}

.navbarcore .navbar-logo span {
  color: var(--primary);
}
.navbarcore .navbar-nav1 .navbar {
  display: inline-block;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  background-color: rgba(46, 46, 46, 0.8);
  border: none;
}
.navbarcore .navbar-nav1 a {
  color: var(--whitemal);
  display: inline-block;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}
/* untuk memberi warna berbeda saat kursor 
diarahkan ke bagian navbar */
.navbarcore .navbar-nav1 a:hover {
  color: var(--primary);
}
/* Untuk memberi animasi garis bawah pada navbar */
.navbarcore .navbar-nav1 a::after {
  content: "";
  display: none;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbarcore .navbar-nav1 a:hover::after {
  transform: scaleX(0.5);
}

.navbarcore .navbar-extra a,
.navbarkanan .box-kanan a {
  color: var(--whitemal);
  margin: 0 0.4rem;
}

.navbarcore .navbar-extra a:hover,
.navbarkanan .box-kanan a:hover {
  color: var(--primary);
}

.navbarside {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
  background-color: rgba(46, 46, 46, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  right: -100%;
  z-index: 9999;
  user-select: none;
}
.dropdown-tengah {
  background-color: var(--bggrey);
  font-size: 1.3rem;
  border-radius: 12px;
  color: inherit;
}

.dropdown-color {
  background-color: var(--bggrey);
  color: #fff;
}
.dropdownbtn1,
.dropdownbtn2 {
  display: flex;
  width: 100%;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}
.dropdownbtn1 a,
.dropdownbtn2 a {
  font-size: 1rem;
  border-radius: 12px;
  background-color: transparent;
}
.dropdownbtn1 a:focus {
  color: #c9252d;
}
#menu {
  display: none;
}
/* Navbar Search form */
.navbarcore .search-form {
  position: absolute;
  top: 100%;
  right: 7%;
  /* color: #fff; */
  /* background-color: rgba(46, 46, 46, 0.8); */
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  /*  untuk menentukan sumbu nya */
  transform-origin: top;
  transition: 0.3s;
}
.navbarcore .search-form.active {
  transform: scaleY(1);
}

.navbarcore .search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.5rem;
  color: var(--whitemal);
  padding: 1rem;
  border: 1px;
  background-color: rgba(46, 46, 46, 0.8);
  /* transition: 0.3s; */
}

/* .navbarcore .search-form label {
  cursor: pointer;
  font-size: 2rem;
  margin-right: 1.5rem;
  color: #fff;
  background-color: rgba(46, 46, 46, 0.8);
} */

/* Hero Section Start*/
.hero {
  min-height: 100vh;
  display: flex;
  /* vertical */
  align-items: center;
  background-image: url("../img/header-bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.heroProduk {
  min-height: 100vh;
  display: flex;
  /* vertical */
  align-items: center;
  background-image: url("../img/header-bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 40%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 3%,
    rgba(255, 255, 255, 0) 25%
  );
}
.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}
.heroVisi .contentVisi {
  padding: 1.4rem 7%;
  max-width: 60rem;
}
.hero .content h1 {
  font-size: 3rem;
  color: var(--whitemal);
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.1;
  font-weight: 700;
}
.hero .content h1 span {
  color: var(--primary);
}
.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4rem;
  /* menipiskan font */
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  color: var(--whitemal);
  border-radius: 0.5rem;
  background-color: rgba(46, 46, 46, 0.8);
  box-shadow: 1px 1px 3px var(--primary);
}

.hero a {
  color: orange;
  font-size: 3rem;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
.hero h1 {
  -webkit-user-select: none;
  user-select: none;
}
.hero .cta {
  -webkit-user-select: none;
  user-select: none;
}
.visijudul span,
.misijudul span {
  color: var(--primary);
}
.visijudul h1,
.misijudul h1 {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.visijudul,
.misijudul {
  flex: 1 1 35rem;
  padding: 0 20rem;
}
.visijudul p,
.misijudul p {
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  font-size: 1.3rem;
  color: var(--whitemal);
  top: 0;
  left: 0;
  right: 0;
  line-height: 1.6;
  text-align: center;
}
.visijudul .gmbrvisi,
.misijudul .gmbrmisi {
  margin-top: 8rem;
  flex: 1 1 20rem;
  text-align: center;
}
.visijudul .gmbrvisi img,
.misijudul .gmbrmisi img {
  width: 10%;
}
/* carousel start */
.carousel,
.slide {
  margin: auto;
  width: 200x;
  border: transparent;
  padding: 10px;
  justify-content: center;
  position: relative;
}
 
.carouseltest {
  color: var(--whitemal);
  font-size: 1.5rem;
}
  /* Batasi ukuran carousel */
  #carouselExampleAutoplaying {
    max-width: 500px; /* Ukuran lebih kecil dari full width */
    margin: 0 auto;   /* Tengah halaman */
  }

  .carousel-inner img {
    height: auto;
    object-fit: contain;
  }
    #carouselWrapper {
    position: relative;
    max-width: 600px;
    margin: auto;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: auto;
    height: 100%;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
  }

  .carousel-control-prev {
    left: -50px; /* Geser ke kiri keluar gambar */
  }

  .carousel-control-next {
    right: -50px; /* Geser ke kanan keluar gambar */
  }

  .carousel-inner img {
    width: auto;
    object-fit: contain;
    max-height: 100%;
    max-width: 50%;
    margin:auto;
  }

/* carousel end */
.about,
.produk,
.kontak {
  padding: 8rem 7% 1.4rem;
  margin-bottom: 3rem;
}


.about h2,
.produk h2,
.kontak h2,
.login-judul h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 2rem;
}

.about h2 span,
.produk h2 span,
.kontak h2 span,
.login-judul h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
}
.about .row .about-img {
  flex: 1 1 20rem;
  text-align: center;
}
.about .row .about-img img {
  width: 10%;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about .content p,
.kontak p {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--whitemal);
  top: 0;
  left: 0;
  right: 0;
  /* font-weight: 100; */
  line-height: 1.6;
  text-align: center;
}

.navbarcore img {
  height: auto;
  width: auto;
  max-height: 50px;
  max-width: 200px;
}

.nav-container {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

/* sidebar menu */
.sidebar {
  height: 100%;
  width: 200px;
  background-color: rgba(46, 46, 46, 0.8);
  padding-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}
.sidebar a {
  padding: 15px 25px;
  text-decoration: none;
  font-size: 18px;
  color: var(--whitemal);
  display: block;
  transition: 0.4s;
}
.sidebar a:hover {
  background-color: #555;
}

/* Sidebarside Samping */
.containerside {
  display: flex;
  min-height: 100vh;
  /* height: 100%; */
}
.container {
  width: 50%;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebarside {
  background-color: var(--side);
  width: 230px;
  padding: 15px 10px;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  transition: all ease-in 0.3s;
  border-right: var(--primary);
}

.sidebarside.hide {
  width: 90px;
  transition: all ease-out 0.3s;
}

.list-item a img {
  width: 35px;
  height: 50px;
}

.mainside-content {
  background-color: var(--bg);
  flex-grow: 0.1;
}
.sidebarside .description-header {
  font-size: normal;
  padding-left: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 16px;
  text-align: center;
  color: #ffffff;
}
.sidebarside.hide .description-header {
  display: none;
}
.sidebarside a {
  text-decoration: none;
}
.sidebarside .headerside .list-item img {
  width: 25px;
  height: 30px;
}
/* .sidebarside .headerside .list-item .description-header {
  font-size: 25px;
} */
.sidebarside .headerside .list-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 10px;
  border-radius: 8px;
  background-color: var(--side);
  height: 55px;
  box-sizing: border-box;
}
.sidebarside .headerside .list-item .icon1 {
  margin-right: 12px;
}
.sidebarside .headerside .illustration {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  margin: 10px 0 10px 0;
  box-sizing: border-box;
}
.sidebarside.hide .illustration {
  display: none;
  margin-bottom: 5px;
}

.sidebarside .headerside .illustration img {
  display: flex;
  padding: none;
  width: 200px;
  height: 150px;
}
.sidebarside .mainside .list-item .description {
  font-style: normal;
  padding: 5px;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  color: var(--whitemal);
}
.sidebarside.hide .mainside .list-item .description {
  display: none;
}
.sidebarside .mainside .list-item .icon1 {
  margin-right: 12px;
}
.sidebarside .mainside .list-item {
  display: flex;
  flex-direction: row;
  margin-bottom: 15px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 8px;
  /* width: 212px; */
  box-sizing: border-box;
}
.sidebarside .mainside .list-item:hover {
  background: #c9252d;
  transition: all ease-in 0.2s;
}
.sidebarside .headerside .mainside .list-item a img {
  color: var(--whitemal);
}
/* toggle menu */
#menu_button {
  width: 32px;
  position: absolute;
  overflow: hidden;
}
#menu-label {
  position: relative;
  display: block;
  height: 50px;
  cursor: pointer;
}

#menu-checkbox {
  display: none;
}

#burger,
#menu-label:after,
#menu-label:before {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
}

#menu-label:after,
#menu-label:before {
  content: "";
  transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) left;
}

#menu-label:before {
  top: 0;
}
#menu-label:after {
  top: 8px;
}

#burger {
  top: 16px;
}
#burger:before {
  content: "MENU";
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  color: var(--whitemal);
  font-size: 10px;
  font-weight: bold;
  text-align: center;
}
#menu-checkbox:checked + #menu-label:before {
  left: -39px;
}
#menu-checkbox:checked + #menu-label::after {
  left: 39px;
  /* content: "MENU"; */
}

#menu-checkbox:checked + #menu-label #burger:before {
  animation: moveUpThenDown 0.8s ease 0.2s forwards,
    shakeUp 0.8s ease 0.2s forwards, shakeDown 0.2s ease 0.2s forwards;
}
@keyframes moveUpThenDown {
  0% {
    top: 0;
  }
  50% {
    top: -27px;
  }
  100% {
    top: -14px;
  }
}
@keyframes shakeUp {
  0% {
    transform: rotateZ(0);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  50% {
    transform: rotateZ(0);
  }
  75% {
    transform: rotateZ(10deg);
  }
  100% {
    transform: rotateZ(0);
  }
}
@keyframes shakeDown {
  0% {
    transform: rotateZ(0);
  }
  80% {
    transform: rotateZ(3deg);
  }
  90% {
    transform: rotateZ(-3deg);
  }
  100% {
    transform: rotateZ(0);
  }
}
.navbarkanan {
  display: flex;
  justify-content: space-between;
  align-items: right;
  padding: 1.4rem 3%;
  background-color: rgba(46, 46, 46, 0.8);
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  user-select: none;
}
.navbarkanan .box-kanan a {
  color: var(--whitemal);
  display: inline-block;
  font-size: 18px;
}
.form {
  display: inline-block;
  text-align: left;
}
.section-backend {
  display: flex;
  width: 100%;
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 10px;
  margin: 0 auto;
  margin-top: 10px;
  height: 90vh;
}

/* Sidebar samping end */

/* Produk Section */
.produk h2 {
  margin-bottom: 1rem;
}
.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.produk p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1rem;
  color: var(--whitemal);
  /* font-weight: 100; */
  line-height: 1.6rem;
}
.produk .row .login-user1 {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}
.produk .row .produk-card {
  text-align: center;
  padding-bottom: 3rem;
}
.produk .row .produk-card img {
  border-radius: -100%;
  width: 60%;
}
.produk .row .produk-card title {
  margin-top: 1rem auto 0.5rem;
}

/* contac section */
.kontak .map {
  display: flex;
  margin: auto;
  margin-top: 2rem;
  width: 50%;
  height: 30rem;
}
.kontak .row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: 4rem;
  background-color: var(--side);
  width: 35%;
  /* flex-wrap: wrap; */
}
.login-sec .log-user {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: 2rem;
  background-color: var(--side);
  width: 20%;
}
.kontak .row form {
  flex: 1 1 5rem;
  padding: 1rem 1rem;
  text-align: center;
}
.login-sec .log-user form {
  flex: 1 1 3rem;
  padding: 1rem 1rem;
  text-align: center;
}
.kontak .row form .input-group,
.login-sec .log-user form .loginkar {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--bg);
  border: 1px solid #eee;
  padding-left: 2rem;
}
.kontak .row form .input-group input,
.login-sec .log-user form .loginkar input {
  width: 90%;
  padding: 10px;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--whitemal);
}
.kontak .row form .input-group textarea {
  resize: none;
  width: 90%;
  height: 100%;
  padding: 10px;
  font-size: 0.9rem;
  background: none;
  color: var(--whitemal);
}
.kontak .row form .btn,
.login-sec .log-user form .btn1 {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 1rem;
  font-size: 0.9rem;
  color: var(--whitemal);
  background-color: var(--primary);
  cursor: pointer;
}
.login-sec .log-user form a {
  margin-top: 10rem;
}

/* Pesan Peringatan Start */
.pesan .successs {
  font-size: 1.25rem;
  color: var(--primary);
  position: absolute;
  animation: buttons 1s linear;
  display: none;
}
.pesan .danger {
  font-size: 1.2rem;
  color: var(--whitemal);
  position: absolute;
  transition: 0.5s;
  animation: buttons 1s linear;
  display: none;
}
@keyframes buttons {
  80% {
    transform: scale(0.6);
  }
}

/* Pesan Peringatan end */

/* footer */
footer {
  background-color: var(--bg);
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  font-size: 1.3rem;
}

footer .social {
  padding: 1rem 0;
}

footer .social a {
  color: var(--whitemal);
  margin: 1rem;
}
footer .social a:hover {
  color: var(--primary);
}
footer .links {
  margin-bottom: 1.4rem;
}
footer .links a {
  color: var(--whitemal);
  padding: 0.999rem 0.5rem;
}
footer .links a:hover {
  color: var(--primary);
}
footer .credit a {
  color: var(--primary);
}
/* footer end */
/* footer login start */
.footer-login {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--bg);
  color: var(--whitemal);
  text-align: center;
}
/* footer login end */
.login-sec {
  display: flex;
  margin-bottom: 2rem;
}

/* Login menu start */
.login-judul h2 {
  margin-top: 2rem;
}
.body-login .login-judul .logo-login img {
  width: 10%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.login-sec .log-user form .forgot-pass {
  font-size: 1rem;
  color: var(--whitemal);
  text-decoration: none;
}
.login-sec .log-user form .forgot-pass:hover {
  color: var(--primary);
}
/* Login menu end */

/* Media Queries */

/* Laptop */
@media (max-width: 1068px) {
  .sidebarside .mainside .list-item .description {
    display: none;
  }
  .sidebarside .description-header {
    display: none;
  }
  .sidebarside {
    width: 70px;
    transition: all ease-out 0.3s;
  }
}

@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}
/* Macbook Pro 2012  */
@media (max-width: 1280px) {
  html {
    font-size: 75%;
  }
}
/* macbook pro 2012 */
@media (max-width: 1280px) {
  .section-backend {
    width: 100%;
    display: flex;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Laptop kecil */
@media (max-width: 905px) {
  html {
    font-size: 75%;
  }
  .kontak .row {
    width: 70%;
  }
  .kontak .map {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: center;
    width: 70%;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .col-berita1 .col-berita2 .col-berita {
    margin-bottom: 10px;
  }
  .about .row {
    display: flex;
    text-align: center;
  }
}
/* @media (max-width: 913px) {
  .about .row {
    display: flex;
    text-align: center;
  }
  .col-berita1 .col-berita2 .col-berita {
    margin-bottom: 10px;
  }
} */
@media (max-width: 937px) {
  .about .row {
    display: flex;
    text-align: center;
  }
  .col-berita1 .col-berita2 .col-berita {
    margin-bottom: 10px;
  }
}
/* Tablet 1 */
@media (max-width: 700px) {
  html {
    font-size: 70%;
  }
  .kontak .map {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 2rem;
    width: 50%;
  }
  .kontak .row {
    width: 50%;
  }
  /* .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 4rem;
    background-color: var(--side);
    width: 35%;
  }
  .login-sec .log-user form {
    flex: 1 1 3rem;
    padding: 1rem 1rem;
    text-align: center;
    font-size: 0.9rem;
  } */
  .carouseltest {
    color: var(--whitemal);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .navbarcore .nav-container,
  .navbarside .nav-container {
    display: flex;
    align-items: center;
    column-gap: 10px;
  }
  .navbar-extra .box {
    display: flex;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Tablet2 */
@media (max-width: 789px) {
  html {
    font-size: 65%;
  }
  .kontak .map {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 2rem;
    width: 70%;
  }
  .kontak .row {
    width: 70%;
  }
  .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 4rem;
    background-color: var(--side);
    width: 40%;
  }
  .navbarcore .nav-container {
    display: flex;
    align-items: center;
    column-gap: 10px;
  }
  .navbar-extra .box {
    display: flex;
    padding-right: 1rem ;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 45%;
  }

  #menu {
    display: inline-block;
  }
  /* untuk sidebar samping */
  .navbarcore .navbar-nav1 {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(46, 46, 46, 0.8);
    width: 10rem;
    height: 100vh;
    border-right: var(--primary);
    transition: 0.3s;
    flex-direction: column;
  }
  .navbarcore .active {
    right: 0;
  }
  .navbarcore a {
    /* text-decoration: none; */
    color: #fff;
    display: block;
    margin: 0.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  /* untuk navbar disamping tulisan ada garisnya */
  .navbarcore a::after {
    transform-origin: 0 0;
  }
  .navbarcore a:hover::after {
    transform: scaleX(0.3);
  }
  .navbarcore .search-form {
    width: 90%;
    right: 2rem;
  }
  .about .row {
    flex-wrap: wrap;
  }
  .about .row .about-img img {
    width: 10%;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }
  .about .row span {
    color: var(--primary);
  }
  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .about .row .content p {
    color: #fff;
    font-size: 1.6rem;
  }
  .produk p {
    font-size: 1.2rem;
  }
  .kontak .row {
    flex-wrap: wrap;
    /* margin: auto; */
    margin-top: 5rem;
    width: 100%;
  }
  .kontak .row form input {
    width: 100%;
    font-size: 1.7rem;
  }
  .kontak .map {
    flex-wrap: wrap;
    width: 100%;
  }

  .carousel,
  .slide {
    margin: auto;
    width: 300px;
    /* border: transparent; */
    /* border: 3px solid red; */
    padding: 10px;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
  }
  .carousel .slide h1 {
    text-align: center;
  }
  .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 4rem;
    background-color: var(--side);
    width: 40%;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile Phone */
@media (max-width: 480px) {
  html {
    font-size: 55%;
  }
  .kontak .row {
    flex-wrap: wrap;
  }
  .kontak .map {
    flex-wrap: wrap;
    width: 100%;
  }
  .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    background-color: var(--side);
    width: 60%;
  }
  .body-login .login-judul .logo-login img {
    width: 15%;
  }
  .navbarcore .nav-container {
    display: flex;
    align-items: center;
    column-gap: 10px;
  }
  .navbar-extra .box {
    display: flex;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .section-backend {
    height: 95%;
    padding: 20px;
    display: flex;
    width: 120%;
  }
  .carousel-control-prev {
    left: 5%;
  }
  .carousel-control-next{
    right: 5%;
  }
} 
@media (max-width: 400px) {
  .carousel-control-prev{
    left: 2%;
  }
  .carousel-control-next {
    right: 2%;
  }
} 

/* Surface Pro 7 */
@media (max-width: 912px) {
  html {
    font-size: 55%;
  }
  .kontak .row {
    flex-wrap: wrap;
  }
  .kontak .map {
    flex-wrap: wrap;
    width: 100%;
  }
  .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    background-color: var(--side);
    width: 40%;
  }
  .body-login .login-judul .logo-login img {
    width: 15%;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Surface duo */
@media (max-width: 540px) {
  html {
    font-size: 55%;
  }
  .kontak .row {
    flex-wrap: wrap;
  }
  .kontak .map {
    flex-wrap: wrap;
    width: 100%;
  }
  .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    background-color: var(--side);
    width: 40%;
  }
  .body-login .login-judul .logo-login img {
    width: 15%;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Surface duo */
@media (max-width: 280px) {
  html {
    font-size: 55%;
  }
  .login-sec .log-user {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    background-color: var(--side);
    width: 60%;
  }
  .body-login .login-judul .logo-login img {
    width: 15%;
  }
  .login-judul .logo-login img {
    width: 5%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
  padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
  top: 0;
  bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
  padding: 0;
}

/* 

for zoom animation 
uncomment this part if you haven't added this code anywhere else

*/
/*

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}
*/
#preview img {
  max-height: 60px;
}

