.jumbotron {
  padding-top: 6rem;
  background-color: #1a1a1a;
}

#projects {
  background-color: #1a1a1a;
}

section {
  padding-top: 5rem;
}

nav,
footer {
  background-color: #1a1a1a;
}

a {
  color: white;
}

section p {
  font-style: italic;
}

.gallery-img {
  width: 100%;
}

#gallery .row > * {
  padding: 0;
}

/* my laptop section */
.laptop-box {
  position: relative;
  background-color: white;
  border-radius: 10px;
  height: 500px;
  transform-style: preserve-3d;
}
.laptop-box::before {
  content: "MY";
  position: absolute;
  font-size: 6em;
  font-weight: bold;
  font-style: italic;
  left: 50%;
  transform: translate(-50%, 0);
  top: 30px;
  transition: 0.5s;
  opacity: 0;
}

/* ketka laptop-box dihover apa yabg akan terjadi di element before */
.laptop-box:hover::before {
  opacity: 0.5;
}

.laptop-box::after {
  content: "LAPTOP";
  position: absolute;
  font-size: 4.3em;
  font-weight: bold;
  font-style: italic;
  left: 50%;
  transform: translate(-50%, 0);
  top: 350px;
  transition: 0.5s;
  opacity: 0;
}

.laptop-box:hover::after {
  opacity: 0.5;
}

.laptop-name {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  font-size: 2em;
  opacity: 0;
  transition: 0.5s;
  transform: translate3d(0, 0, 50px);
}

.laptop-box:hover .laptop-name {
  top: 20px;
  opacity: 1;
}

.laptop-detail-button {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate3d(-50%, 0, 100px);
  opacity: 0;
  transition: 0.5s;
}

.laptop-box:hover .laptop-detail-button {
  opacity: 1;
  bottom: 20px;
}

.laptop-img {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate3d(-50%, -50%, 80px);
  max-width: 250px;
  transition: 0.5s;
}

.laptop-box:hover .laptop-img {
  transform: translate3d(-50%, -52%, 100px) scale(1.1);
}

.custom-img-height {
    max-height: 405px; /* Atur tinggi maksimum sesuai kebutuhan */
    width: auto; /* Biarkan lebar mengikuti aspek rasio */
}
