@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "Coolvetica";
  src: url("coolvetica/Coolvetica\ Rg.otf") format("opentype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #131010;
  background-color: #f8f8f8;
}

.hero {
  height: 50vh;
  background: url("gmbr_kontenbljr/Gambar Angklung.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.nama {
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  padding: 0 20px;
}

.nama h1 {
  font-family: "Coolvetica", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 5vw, 32px);
}

.nama h3 {
  font-size: clamp(14px, 3vw, 18px);
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}

.nama hr {
  width: 300px;
  max-width: 90%;
  margin: 10px auto;
}

.konten {
  margin-left: auto;
  margin-right: auto;
  margin-top: 68px;
  padding: 0 170px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.konten h2 {
  margin-bottom: 15px;
  font-size: clamp(19px, 4vw, 22px);
  font-family: "Coolvetica", sans-serif;
  font-weight: 400;
  color: #543a14;
}

.konten p {
  font-size: clamp(14px, 2.5vw, 16px);
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

.gambar1,
.gambar2 {
  justify-content: center;
  text-align: center;
}

.audio-video {
  margin-top: 6px;
  margin-bottom: 150px;
  text-align: center;
  padding: 0 20px;
}

.audio-video h2 {
  margin-top: 54px;
  margin-bottom: 38px;
  font-size: clamp(24px, 5vw, 32px);
  font-family: "Coolvetica", sans-serif;
  font-weight: 400;
}

.tentang-angklung {
  margin: auto;
}

.tentang-angklung ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.gambar1 ul {
  text-align: left;
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.gambar1 img,
.gambar2 img {
  width: 100%;
  max-width: 40vh;
  height: auto;
  margin: 0 auto;
  border-radius: 5px;
}

.suara-angklung .audio-wrapper {
  width: 100%;
  max-width: 953px;
  margin: 10px auto;
  border-radius: 10px;
  overflow: hidden;
  padding: 0 10px;
}

.suara-angklung .audio-wrapper audio {
  display: block;
  width: 100%;
}

.video-angklung {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 952px;
  margin: 0 auto;
  padding: 0 10px;
}

.video-angklung video {
  width: 100%;
  max-width: 952px;
  height: clamp(150px, 30vw, 187px);
  border-radius: 10px;
  transition: all 0.8s ease-in-out;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: block;
}

.video-angklung video.expand {
  height: clamp(250px, 50vw, 500px);
}

.video-angklung::before {
  content: "";
  position: absolute;
  width: calc(100% - 20px);
  max-width: 952px;
  height: clamp(120px, 25vw, 150px);
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.video-angklung.playing::before {
  height: clamp(200px, 40vw, 340px);
}

.coklat {
  color: #543a14;
}

/* Tablet */
@media (max-width: 1024px) {
  .konten {
    padding: 0 80px;
    gap: 30px;
  }

  .tentang-angklung ul {
    gap: 30px;
  }

  .gambar1 img,
  .gambar2 img {
    max-width: 35vh;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .konten {
    padding: 0 20px;
    margin-top: 40px;
    gap: 40px;
  }

  .nama {
    margin-top: 30px;
    padding: 0 15px;
  }

  .audio-video {
    padding: 0 20px;
    margin-bottom: 80px;
  }

  .gambar1 ul {
    gap: 15px;
    justify-content: center;
  }

  .gambar1 img,
  .gambar2 img {
    max-width: 100%;
  }

  .tentang-angklung ul {
    gap: 20px;
  }
}
