*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: white;
}

/* NAVBAR */
.navbar {
  padding: 0;
}

.container-fluid {
  background-color: rgb(124, 1, 1);
  min-height: 100px;
}

/* NAV MENU */
.ul-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.li-nav {
  font-weight: bold;
}

.li-nav:hover {
  border-bottom: 1px solid white;
}

.li-nav a {
  text-decoration: none;
  color: white;
}

/* HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;

  min-height: 100vh;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  flex-wrap: wrap;
}

.hero-image img {
  width: 350px;
  max-width: 100%;
}

.hero-text {
  max-width: 500px;
}

.hero-text p {
  font-size: 24px;
  line-height: 1.8;
  color: #333;
}

.hero-text button {
  margin-top: 20px;
  padding: 15px 30px;

  font-size: 20px;
  font-weight: bold;

  border: 2px solid black;
  background: transparent;

  cursor: pointer;
  transition: 0.3s;
}

.hero-text button:hover {
  transform: scale(1.05);
}

/* TITLE */
.portofolio,
.experience {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  color: rgb(124, 1, 1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  text-align: center;
}

.portofolio {
  letter-spacing: 10px;
}

/* CARD */
.card {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  transition: 0.3s;
}

.card:hover {
  /* background-color: rgb(124, 1, 1); */
  color: black;
  transform: scale(1.03);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  background-color: white;
  border-radius: 20px;
  padding: 10px;
  width: 90%;
  height: 200px;
  object-fit: contain;
  margin: auto;
}

.card-text {
  padding: 10px;
  text-align: justify;
  color: black;
}

.card:hover .card-text {
  color: black;
}

.btn {
  background-color: rgb(124, 1, 1);
  color: white;
  margin-top: auto;
}

.card:hover .btn {
  background-color: rgb(124, 1, 1);
  color: white;
}

/* FOOTER */
.footer {
  background-color: rgb(124, 1, 1);
  margin-top: 90px;
  box-shadow: 0px -8px 16px rgba(0, 0, 0, 0.2);
  padding: 40px 20px;
}

.p-biodata {
  max-width: 100%;
  font-size: 21px;
  line-height: 2;
  color: #333;
  margin: 10px;
}

.p-biodata span {
  display: block;
  width: 180%;
  margin-bottom: 1px;
  font-size: 20px;
}

.p-biodata b {
  color: rgb(124, 1, 1);
}

.h3-footer {
  color: white;
  text-align: center;
  font-weight: bold;
}

.h4-footer {
  color: white;
  text-align: center;
  margin-top: 30px;
}

.icon-footer {
  text-align: center;
  font-size: 30px;
  letter-spacing: 10px;
  margin-top: 15px;
}

.icon-style {
  color: white;
}

.h1-footer {
  color: white;
  text-align: center;
  font-size: 12px;
  padding-top: 40px;
}

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgb(124, 1, 1);
  color: white;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .li-nav{
    align-items: center;
    justify-content: center;
    display: flex;
    margin-inline-start: 30px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 15px;
  }

  .hero-image img {
    width: 250px;
  }

  .hero-text p {
    font-size: 18px;
  }

  .col-lg-3{
    width: 50%;
  }

  .portofolio {
    font-size: 20px;
    letter-spacing: 5px;
  }

  .experience {
    font-size: 18px;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

.p-biodata{
width: 90%; 
font-size: 21px;
}

.p-biodata span {
  display: block;
  width: 110%;
  margin-bottom: 1px;
  font-size: 15px;
}

}

