html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  margin: 0;
  font-size: 16px;
  font-family: "Barlow", sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

@keyframes arrowbounce {
  0% {
    bottom: 0;
  }

  50% {
    bottom: 10px;
  }

  100% {
    bottom: 0;
  }
}

.container {
  width: 770px;
}

.transparent-banner--nav {
  position: fixed;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  margin-right: 4em;
  margin-left: 4em;
  top: 0;
  left: 0;
  right: 0;
}

.nav--hero {
  background: #f2bb5a;
  background: linear-gradient(180deg, #f2bb5a 35%, #e43a87 100%);
  overflow: hidden;
}

.nav--link {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav--link li {
  padding: 0.75em 1.5em;
}

.nav--link li a {
  color: #222;
  cursor: pointer !important;
  opacity: 0.8;
  text-decoration: none;
  letter-spacing: 2px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  padding-block: 16px;
}

.nav--link li a:hover {
  opacity: 1;
  transition: 0.4s;
  transform: translateY(1em);
}

.nav--link .active a {
  color: #fff !important;
}

.banner-hero {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("https://www.bca.co.id/-/media/Images/campaign/2022/Porseni/background porseni-2");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.banner-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.banner-text h1 {
  line-height: 40px;
  font-size: 2.4rem;
  letter-spacing: 0.2px;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.banner-text p {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 1.5em;
  max-width: 600px;
}

.banner-icon {
  width: 60%;
}

.banner-hashtag {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrow {
  position: relative;
  animation: arrowbounce 2s infinite;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #122641;
  min-height: 100vh;
}

.banner-card--wrapper {
  margin-block: 4rem;
}

.banner-card--wrapper img {
  border-radius: 10px;
}

.card--wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-block: 2rem;
  justify-content: space-between;
}

.card {
  width: 23%;
  transition: all ease 0.2s;
}

.card:hover {
  cursor: pointer;
  transform: translateY(-6px);
}

.card-active {
  transform: translateY(-6px);
}

.card-content-wrapper {
  display: none;
}

.card-content {
  color: #333;
  background-color: #efdfc6;
  border-radius: 10px;
  padding: 1em;
  margin-block: 1em;
  transition: all ease 0.2s;
  word-break: break-word;
}

.more-karya-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
}

@media (max-width: 600px) {
  .more-karya-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.more-karya-card {
  border-radius: 10px;
  overflow: hidden;
  transition: all ease 0.2s;
}

.more-karya-card:hover {
  transform: translateY(-6px);
}

.more-karya-thumbnail {
  display: flex;
}

.more-karya-caption {
  padding-block: 0.75rem;
  background: linear-gradient(180deg, #f2bb5a 35%, #e43a87 100%);
  text-align: center;
}

.active {
  display: block;
}

@media (min-width: 769px) {
  .transparent-banner--nav {
    margin-top: 2rem;
  }

  .nav--hero {
    border-radius: 10px;
  }
}

@media (max-width: 1024px) {
  #banner {
    margin-top: 5rem !important;
  }
}

@media (max-width: 768px) {
  .container {
    margin-inline: 2rem;
  }

  .banner-hero {
    background-image: url(https://www.bca.co.id/-/media/Images/campaign/2022/Porseni/20221207-background-mobile);
    background-position-y: 18%;
  }

  .banner-text {
    margin-block: 4rem;
    flex-direction: row;
  }

  .transparent-banner--nav {
    justify-content: center;
    margin-right: unset;
    margin-left: unset;
  }

  .card {
    width: 50%;
  }

  .nav--link {
    font-size: 8px;
  }

  .a-title {
    margin-top: 10rem;
  }
}
