body {
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(270deg, #040221, black, #040221);
    background-size: 600% 600%;
    animation: gradientBackground 10s ease infinite;
    overflow-x: hidden;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Header styles */
header {
    background: linear-gradient(to right, #03032E, black, #03032E);
    height: 60px;
    padding: 0 10px;
    top: 0;
    align-items: center;
    display: flex;
    justify-content: space-between;
    line-height: 2;
    transition: top 0.3s ease-in-out;
    z-index: 1000;
    position: fixed;
    width: 100%;
}

header.show {
    top: 0;
}

header.hide {
    top: -70px;
}

nav {
    width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 2;
}

.ProductsList {
    margin-top: 20vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
    gap: 30px; /* Space between squares */
    padding: 30px;
}

.glass-square {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%; /* Full width within the grid cell */
    padding-top: 50%; /* Aspect ratio trick for perfect squares */
    position: relative; /* Ensure the content centers correctly */
    text-decoration: none;
    font-size: 1.5rem;
}

.glass-square a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-decoration: none;
}
footer {
    background-image: url('LOGO.png');
    background-size: 50px;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 50px;
    text-align: left;
    justify-content: space-between;
}
.Glass-square {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%; /* Full width within the grid cell */
    padding-top: 50%; /* Aspect ratio trick for perfect squares */
    position: relative; /* Ensure the content centers correctly */
    text-decoration: none;
    font-size: 1.5rem;
}
.Glass-square a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FF5758;
    text-align: center;
    text-decoration: none;
    font-weight:Bold;
}
.Glass-square img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container while preserving aspect ratio */
    display: block;
}