        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            background-color: #252525;
            margin: 0;
            padding: 20px;
        }

        /* Main Container */
        .box_1 {
            max-width: 1200px;
            margin: 0 auto;
            margin-top: 100px;
            text-align: center;
        }

        .title{
            display: block;
            position: fixed;
            width: 100%;
            margin: 0;
            top: 0;
            left: 0;
            padding-top: 1%;
            background-image: linear-gradient(to bottom, #09203f 0%, #003984 100%);
            z-index: 1;
        }

        .title h1{
            text-align: center;
            font-size: 2.67rem;
            color: rgb(144, 40, 234);
            background-clip: text;
            margin-bottom: 20px;
        }

        .masonry {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            grid-gap: 16px;
            margin: 20px;
            padding: 16px;
        }

        .masonry-item {
            position: relative;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(255, 0, 0, 0.1);
            break-inside: avoid;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .masonry-item:hover {
            transform: perspective(1000px) rotateY(5deg);
            box-shadow: 0 0 10px white;
            transition: transform 0.3s ease-in-out, box-shadow 1s ease-in-out;
        }

        .masonry-item img {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 10px;
            transition: transform 0.4s ease, filter 0.3s ease;
            opacity: 1;
        }

        .masonry-item:hover img {
            opacity: 0.8;
            filter: blur(2px);
            filter: brightness(0.2);
        }

        a:hover {
            color: #000;
            background: #fff;
            transition: all 0.3s ease-in-out;
        }

        p {
            color: white;
            text-align: justify;
        }

        .img_descrip {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 10;
            padding: 10px;
            display: block;
            align-items: center;
            text-align: center;
            color: white;
            font-size: 16px;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }
        
        .masonry-item:hover .img_descrip {
            animation: top 0.5s ease-in-out;
            background-color: #00000056;
            opacity: 1;
        }

        #myBtn2 {
            display: block;
            position: fixed;
            padding: 15px;
            top: 0px;
            left: 30px;
            border: none;
            outline: none;
            background-color: #ffffff00;
            cursor: pointer;
            border-radius: 100%;
            z-index: 1;
            transition: display 0.3s ease-in-out, background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out, filter 0.3s ease-in-out;
            filter: drop-shadow(0 0 0.75rem white);
        }
        
        #imgarrow2 {
            
            height: 64px;

            transform: rotate(-90deg);
            transition: transform 0.3s ease-in-out;
        }
        
        #imgarrow2:hover{
            transform: rotate(-90deg) scale(1.25);
        }

        #myBtn {
            display: none;
            position: fixed;
            padding: 15px;
            bottom: 20px;
            right: 30px;
            border: none;
            outline: none;
            background-color: #ffffff00;
            cursor: pointer;
            border-radius: 100%;
            z-index: 99;
            transition: display 0.3s ease-in-out;
            filter: drop-shadow(0 0 0.75rem white);
        }

        #imgarrow {
            height: 64px;
            transition: transform 0.3s ease-in-out;
        }
        

        #imgarrow:hover {
            transform: scale(1.25);
        }

        .loading-placeholder {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            width: 100%;
            height: 300px;
            border-radius: 10px;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

        .loader {
            display: flex;
            justify-content: center;
            padding: 20px;
            color: white;
            font-size: 18px;
        }

        .footer {
            display: block;
            /* position: sticky; */
            bottom: 0;
            text-align: center;
            padding: 20px;
            color: white;
            background-image: linear-gradient(315deg, #1c6cc12d, #8eabcc91, #1c6cc12d);
            font-size: 16px;
        }

        @media (max-width: 768px) {
            .masonry {
                gap: 8px;
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .masonry {
                gap: 5px;
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }