:root {
  --primary: #33312f;
  --bg: rgb(32, 31, 31);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: 0;
  border: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 7%;
  background-color: rgba(39, 38, 36, 0.93);
  border-bottom: 1px solid #252423;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar img {
  width: 200px;
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1rem;
  margin: 0.6rem;
}

.navbar .navbar-nav a:hover {
  color: #21211f;
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.2rem;
  border-bottom: 0.1rem solid #21211f;
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: #21211f;
}

#menu {
  display: none;
}

/* dijual */
* {
  box-sizing: border-box;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 5rem auto 1rem;
}

.mySlides img {
  border-radius: 10px;
  height: 30rem;
}

.mySlides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -17rem;
  margin-left: 1rem;
  margin-right: 1rem;
  padding: 16px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 10%;
  user-select: none;
  background: #ca391c;
}

.next {
  right: 0;
  border-radius: 10%;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* rincian */

.tanahlokasi {
  display: flex;
  justify-content: space-between;
}
.rincian .tanah {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 1rem;
  color: #fff;
  background-color: #ca391c;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.rincian .lokasi {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 1rem;
  color: black;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.slideshow-container .rincian ul {
  font-weight: 900;
}

hr {
  border: none;
  height: 1px;
  color: white;
  background-color: white;
  margin: 1rem auto 1rem;
}

.detail {
  display: flex;
}

.col2 {
  margin-left: 10rem;
}

.slideshow-container h4 {
  margin: 0.5rem auto 0.5rem;
  color: #ca391c;
}

.slideshow-container ul,
p {
  font-weight: 300;
}

/* footer section */

footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0;
  margin-top: 3 rem;
}

footer .socials {
  padding: 1rem;
}

footer .socials a {
  color: brown;
  margin: 1rem;
  font-size: 2.5rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: var(--bg);
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: white;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: tomato;
  font-weight: 700;
}

/* media queries */

/* laptop */
@media (max-width: 1366px) {
  html {
    font-size: 100%;
  }
}

/* tablet */
@media (max-width: 864px) {
  html {
    font-size: 62.5%;
  }

  #menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .slideshow-container {
    width: 38rem;
  }

  .slideshow-container .mySlides img {
    height: 27rem;
  }

}

/* handphone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
