* {
  font-family: "Outfit", sans-serif;
}

::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

header {
  display: inline;
}

body {
  margin: 0;
  padding: 0;
}
section {
  overflow: hidden;
}

/* Halaman Awal */
#title {
  background-color: rgb(32, 32, 32);
}

.title {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.welcomePage {
    height: fit-content;
}

a {
  text-decoration: none;
}

.welcomePage h1,
.welcomePage a#button {
  width: fit-content;
  font-size: 3em;
  color: transparent;
  animation: text_reveal 0.5s ease forwards;
  animation-delay: 1s;
  text-decoration: none;
}

.title a#button {
  transition: opacity 0.5s ease-in-out;
  display:inline-flex;
  font-size: 1em;
}

.title h1:nth-child(1) {
  animation-delay: 1s;
}

.title h1:nth-child(2) {
  animation-delay: 2s;
}

.title h1:nth-child(3) {
  animation: text_reveal 0.5s ease forwards;
  animation-delay: 3s;
}

.title a#button {
  animation: text_reveal_name 0.5s ease forwards;
  animation-delay: 4s;
}

/* End Halaman Awal */

/* Navbar */

nav {
  background-color: rgb(32, 32, 32);
  text-align: center;
  width: 100%;
  padding: 25px 0;
  position: sticky;
  top: 0;
}

nav ul {
  margin: 0;
}

nav li {
  display: inline-block;
  list-style-type: none;
  margin-right: 3em;
}

nav a {
  margin: 0 20px;
  font-size: 18px;
  font-weight: 400;
  color: white;
  transition: 0.1s;
  cursor: pointer;
}

.active,
nav a:hover {
  font-weight: bold;
  color: yellow;
  text-decoration: none;
}
/* End Navbar */

/* Introduksi */

.intro {
  height: 100vh;
  padding: 0 5em;
  column-gap: 50px;
}

.intro img {
  height: 500px;
  border-radius: 10px;
}

.intro h1 {
  font-size: 45px;
}

.intro p {
  font-size: 20px;
  line-height: 1.75em;
}

.intro .bold-p {
  font-weight: 600;
}

/* End Introduksi */

/* Pengalaman */
.resume {
  height: fit-content;
  width: fit-content;
  margin-top: 10em;
  justify-content: center;
}

.resume .accordion-button {
  background-color: #ffffff;
  color: #2b2b2b;
}

.resume .accordion-button:not(.collapsed) {
  background-color: #f7f7f7;
  color: #2b2b2b;
}

/* li {
  font-size: 14px;
} */

/* End Pengalaman */

/* Karya */

.projects {
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.scrlldn-proj {
  position: absolute;
  margin: 100px -25px;
  height: 50px;
  width: 50px;
}

.showcase {
  height: fit-content;
  padding-top: 10em;
}

/* End Karya */

/* Biodata */

/* End of Biodata */

@media screen and (max-width: 768px) {
  .title h1 {
    font-size: 48px;
  }

  .title #button {
    font-size: 48px;
  }

  .intro h1 {
    font-size: 36px;
  }

  .intro p {
    font-size: 20px;
  }

  .intro img {
    height: 300px;
  }

  #navbar a {
    font-size: 16px;
  }

  .scroll-down-btn {
    height: 40px;
    width: 40px;
  }

  .resume {
    height: fit-content;
  }

  .resume h6 {
    font-size: 15px;
  }

  .resume p, li {
    font-size: 12px;
  }

  .exp-card {
    display: inline;
  }

  .showcase {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .projects h1 {
    font-size: 32px;
  }

  .showcase img {
    object-fit: scale-down;
    height: 175px;
  }

  .showcase .card-body {
    text-align: start;
  }

}

@media screen and (max-width: 426px) {
  .welcomePage h1, a {
    font-size: 36px;
  }
  
  nav {
    display: none;
  }

  .intro img {
    height: 200px;
  }
}

@keyframes text_reveal {
  100% {
    color: white;
  }
}

@keyframes text_reveal_name {
  100% {
    color: yellow;
  }
}
