/* Sejarah */
*,
*:after,
*:before {
    box-sizing: border-box;
}

strong {
    font-weight: 900;
}

body {
background-color: #161616;;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

.judul {
  text-align: center;
  padding-top: 5vh;
}

.judul span {
  font-weight: bold;
  font-size: 1rem;
  color: #ffc107;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

spand {
  font-weight: bold;
  font-size: 3rem;
      background-color: #005baa;
    background-image: linear-gradient(365deg, #005baa, #98FF98);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-and-text {
  margin: 5% !important;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.text {
  flex: 2;
  text-align: justify;
}

.video {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5% !important;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height:500px;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #c2c2c2;
}

.canvas_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-btn,
.fullscreen-btn {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}

.video-btn {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.fullscreen-btn {
  bottom: 10px;
  right: 10px;
  font-size: 18px;
  opacity: 0.8;
}

.fa-play,
.fa-pause {
  font-size: 30px;
}

.reveal-btn {
  margin-top: 1rem;
  padding: 10px 20px;
  border-radius: 25px;
  background: #ffc107;
  color: #000;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reveal-btn:hover {
  background: #e0a800;
}

.video-btn i,
.fullscreen-btn i {
  font-size: 20px;
}

#showMoreBtn {
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border: none;
  border-radius: 20em;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #e8dff6;
  font-size: 1.2em;
  letter-spacing: 1px;
  padding: 0.8em 2.5em;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: 20px;
  display: inline-block;
}

#showMoreBtn:hover {
  transform: scale(1.05);
}

#videoButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border: none;
  border-radius: 50%;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #fff;
  font-size: 2rem;
  padding: 0.7em 0.8em;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  z-index: 2;
  opacity: 1;
}

#videoButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border: none;
  border-radius: 50%;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #fff;
  font-size: 2rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  z-index: 2;
  opacity: 1;
}

#videoButton:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
#videoButton {
  transition: transform 0.2s ease, opacity 0.5s ease;
}

@media (max-width: 768px) {
  .logo-and-text {
    flex-direction: column;
    align-items: center;
    margin: 5% !important;
    padding: 1rem;
  }

  .video {
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: 2rem;
  }

  .video-wrapper {
    width: 100%;
    height: auto;
    max-height: 400px;
  }

  .canvas_video {
    height: auto;
  }

  .text{
    width: 100%;
    text-align: justify;
    font-size: 0.85rem; /* ↓ Slightly smaller text */
    line-height: 1.2;
  }

    .text p {
    font-size: 0.8rem; /* Adjust as needed */
    line-height: 1.6;
  }


  .judul h1 {
    font-size: 1.5rem; /* ↓ Smaller headline */
  }

  .judul span {
    font-size: 0.8rem; /* ↓ Smaller subheadline */
  }

  #showMoreBtn {
    margin-left: 0;
  }
}
