@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@keyframes appear{
    from{
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}        
body {
            background-color: black;
            font-family: "Poppins", sans-serif;
            color: #edf0f1;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            margin: 50px;
            padding: 20px;
            box-sizing: border-box;
            border: 5px, solid, white;
            border-radius: 30px;
        }

        h1 {
            display: inline-block;
            padding: 5px 15px;
            font-family: 'Poppins', sans-serif;
            border: 5px solid #edf0f1;
            border-radius: 50px;
            font-size: 40px;
            font-weight: bold;
            color: white;
            margin-bottom: 30px;
        }

        .button {
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: "Poppins", sans-serif;
            color: #edf0f1;
            border: 3px solid #edf0f1;
            border-radius: 40px;
            padding: 10px 20px;
            height: 50px;
            font-weight: bold;
            font-size: 16px;
            background: rgb(10, 5, 5);
            cursor: pointer;
            text-decoration: none;
            white-space: nowrap;
            transition: all 0.3s ease;
            
        }

        .button:hover {
            color: white;
            background-color: gray;
        }

        .button:active {
            color: black;
            background: white;
            transform: translateY(1px);
        }

        .button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        
        .dropdwn {
            list-style-type: none;
            padding: 0;
            display: flex;
            flex-direction: row; 
            flex-wrap: wrap; 
            align-items: center; 
            justify-content: center; 
            margin-top: 20px;
            margin-bottom: 30px;
        }
        .dropdwn li {
            margin: 5px;
        }

       
        .gallery-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 20px;
            max-width: 1000px;
            width: 100%;
            animation: appear 0.2s linear;
        }

        .gallery-item {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: center;
            background-color: #fff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s ease-in-out;
        }

        .gallery-item:hover {
            transform: scale(1.03);
        }

        .gallery-item img {
            
            display: block;
            width: 100%;
            height: 150px; 
            object-fit: cover; 
            border: 2px solid gray; 
            border-radius: 8px;
            margin: 0 auto 10px auto;
            transition: none;
        }

        .gallery-item.hide {
            display: none;
        }

        .popup-image {
            position: fixed;
            top: 0; left: 0;
            background: rgba(0, 0, 0, .9);
            height: 100%;
            width: 100%;
            z-index: 1000;
            display: none;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .popup-image span {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 40px;
            font-weight: bolder;
            color: #fff;
            cursor: pointer;
            z-index: 1001;
        }

        .popup-image img {
            border: 5px solid #fff;
            border-radius: 5px;
            max-width: 90%;
            max-height: 90vh;
            object-fit: contain;
            display: block;
            margin: 0;
            float: none;
            transition: none;
        }

        @media (max-width: 768px) {
            .popup-image img {
                width: 95%;
                max-width: 95%;
                max-height: 85vh;
            }
        }
        .gallery-item p {
            color: black;
            font-size: 20px;
            text-align: center;
            margin-top: 10px;
        }