body {
    background-image: url(../assets/gedung-q-petra.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.overlay {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-repeat: no-repeat;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.content {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.mansory-container {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

.mansory-container div { 
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    page-break-inside: avoid;
    max-width: 98%;
}


.mansory-container .mansory-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  width: 100%;
  display: inline-block; /* penting untuk masonry */
}
/* https://dev.to/hungle00/build-a-masonry-layout-pinterest-layout-3glp */

.glassMorphism {
    background: rgb(247, 247, 247, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    /* border: 1px solid rgba(255, 255, 255, 0.01); */
}

.glassMorphism:hover {
    background: rgba(254, 254, 254, 0.85);
    box-shadow: 0 4px 30px rgba(64, 64, 64, 0.5);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    --tw-scale-x: 102%;
    --tw-scale-y: 102%;
    --tw-scale-z: 102%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
}

.textUnderline:hover {
    color: #F8AD3D;
    /* background-image: linear-gradient(to bottom, transparent 90%, #293685 90%);
    background-size: 100% 100%;
    background-repeat: no-repeat; */
    text-decoration-line: underline;
    transition: background 0.3s ease;
}

.tagBadge {
  display: inline-block;
  background-color: #e5e7eb;
  color: #374151;
  font-size: 0.55rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
}

.tagBadge:hover {
  background-color: #dbeafe;
  color: #1e40af;
}


/* tailwind: {sm:} */
@media (width >= 40rem) {
    .mansory-container {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        
        /* -webkit-column-gap: 15px;
        -moz-column-gap: 15px;
        column-gap: 15px; */    
    }
    .tagBadge {
        font-size: 0.75rem;
    }
}

/* tailwind: {md:} */
@media (width >= 48rem) {
    .mansory-container {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

/* tailwind: {lg:} */
@media (width >= 64rem) {
    .mansory-container {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

/* tailwind: {xl:} */
@media (width >= 80rem) {
    .mansory-container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}