* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
}
header {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(images/bgheader.png);
  background-size: cover;
  filter: brightness(0.7);
  background-attachment: fixed;
  z-index: -1;
}
header .content {
  position: relative;
  z-index: 1;
}
header h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
header p {
 font-size: 1.4rem;
  margin-top: 8px;
  color: #dcdcdc;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
#peringatan {
  background-color: #d1ecf1;
  color: #0c5460;
  padding: 15px;
  margin: 10px;
  border: 1px solid #bee5eb;
  border-radius: 4px;
  display: none;
  font-family: sans-serif;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
main .images {
  gap: 15px;
  max-width: 90%;
  margin-top: 40px;
  columns: 5 340px;
}
.images li {
  display: flex;
  overflow: hidden;
  position: relative;
  list-style: none;
  margin-bottom: 14px;
  border-radius: 4px;
}
.images li .detail {
  position: absolute;
  bottom: -100px;
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: bottom 0.1s ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5)), transparent;
  color: #fff;
}
.images li:hover .detail {
  bottom: 0;
}
.detail .info i {
  font-size: 0.8rem;
  margin-right: 4px;
}
.detail .info span,
.detaip .info p {
  font-size: 1rem;
  text-transform: capitalize;
}
.images img {
  width: 100%;
  pointer-events: none;
  user-select: none;
}
.images video {
  width: 100%;
}
h2 {
  text-align: center;
  margin: 10px 0;
}
footer {
  margin-top: 70px;
  text-align: center;
  padding: 20px 20px 40px 20px;
  background-color: #f9f9f9;
  font-size: 14px;
}
.quot {
  margin-bottom: 30px;
  font-size: 16px;
}
.quot p {
  margin-top: 10px;
}

@media (max-width: 768px) {
  header {
     height: 30vh;
  }
  header::before {
    background-attachment: scroll;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  header h1 {
    font-size: 2.4rem;
  }
  header p {
     font-size: 1rem;
  }
}
