/* General Body and Font Styling */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0d0d0d;
    color: #fff;
}

/* Navigation Bar Styling */
 .navbar {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #333;
    color: white;
}
.navbar-menu a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 5px;
}

.a a[href*="dQw4w9WgXcQ"] {
        outline: none;
        box-shadow: none;
}


.navbar-menu a:focus,
.navbar-menu a:active,
.navbar-menu a:hover,
.navbar-menu a:focus-visible {
    outline: none;
    box-shadow: none;
}

.navbar-menu {
    list-style: none;
    display: flex;
    cursor: pointer;
}

.navbar-menu li {
    margin-right: 15px;
}

.search-bar input {
    padding: 5px;
    border-radius: 0px;
    
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0d0d0d;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.search-bar input, .sign-wallet {
    padding: 5px 20px;
    border-radius: 50px;
    border: 1px solid #555;
    background-color: #383838;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled .search-bar input, .navbar.scrolled .sign-wallet {
    background-color: transparent;
    border-color: transparent;
    color: #fff;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}



/* Hover effect when mouse hovers over a navbar link */
.navbar a:hover {
    background-color: #575757; /* Slightly lighter background color */
    color: #fff; /* Keep text color white */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Soft white glow effect */
}

/* Prevents the violet color for visited links */
.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon img {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: #0d0d0d;
        transition: left 0.3s ease;
    }

    .navbar ul.show {
        left: 0;
    }

    .navbar ul li {
        padding: 15px 0;
        text-align: center;
        border-top: 1px solid #333;
    }

    .search-bar {
        order: 0;
    }

    .sign-wallet {
        order: 0;
    }
}

/* Categories Section Styling */

.categories span a {
    color: #fff; /* Set link color to white */
    text-decoration: none; /* Remove underline */
}

.categories span a:hover {
    color: #fff; /* Ensure color stays white on hover */
}

.categories span:hover {
    background-color: #f7f7f7; /* Slightly lighter background color */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Soft white glow effect */
}
.categories {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background-color: #0d0d0d;
    border-bottom: 1px solid #0d0d0d;
}

.categories span {
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect when mouse hovers over the categories section */
.categories span:hover {
    background-color: #575757; /* Slightly lighter background color */
    color: #fff; /* Keep text color white */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Soft white glow effect */
}

/* Featured Section Styling */
.featured {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: #0d0d0d;
}

.featured img {
    max-width: 80%;
    justify-content: space-between;
     margin-left: 10%;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgb(151, 114, 238, 0.5); /* White glow effect */
}

/* NFT Table Styling */
.nft-table {
    width: 90%;
    margin: 40px auto;
    border-collapse: collapse;
}

.nft-table thead {
    background-color: #1a1a1a;
    border-bottom: 2px solid #333;
}

.nft-table th, .nft-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.nft-table tr:hover {
    background-color: #262626;
}

/* Sections for Trending, Art, Gaming, and 2D */
.sections {
    padding: 20px;
    background-color: #0d0d0d;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 600;
    text-transform: capitalize;
    color: #fff;
}

/* Image/NFT Grid Styling */
.nft-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nft-item {
    flex: 1 1 calc(25% - 20px);
    background-color: #3c3939;
    border-radius: 10px;
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nft-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.nft-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(103, 176, 249, 0.5); /* Blue glow effect */
}

 .nft-info { 
    position: absolute;
    bottom: -10%; /* Initially off-screen */
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgb(184, 70, 226, 0.7);
    color: #fff;
    padding: 5px;
    box-sizing: border-box;
    transition: bottom 0.3s ease;
    text-align: center;
    opacity: 0;
    visibility: hidden;
}

.nft-item:hover .nft-info {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}


/* Footer Styling */
footer {
    /* background-colour: #a2a0a0; */
    padding: 40px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #635f5f;
}

.stay-in-touch, .join-community {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stay-in-touch p, .join-community p {
    margin: 0;
    font-weight: italic;
    color: #fff;
}

.stay-in-touch input {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons img {
    display: inline-block;
    width: 30px;
    height: 30px;
    filter: brightness(1) invert(1);
}

/* for wallet connect  */

/* Button styling */
button {
    margin-top: 10px;
    top: 10px;
    right: 10px;
    padding: 5px 20px;
    /*padding: 10px 20px;*/
    cursor: pointer;
    font-size: 16px;
    border-radius: 20px; /* Make buttons rounded */
}

#connectWallet {
    font-size: 14px;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}

.modal-content {
    background-image: url('https://i.pinimg.com/564x/d7/95/10/d7951012368d957100cb1486a7a45d00.jpg');
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #ffffff;
    border-radius: 12px; /* Make modal rounded */
    width: 25%; /* 4:4 ratio */
    aspect-ratio: 4 / 4;
    text-align: center;
}

.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Wallet option styling */
.wallet-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px; /* Space between image and text */
    vertical-align: middle;
}

.kanan{
     width: 30px;
    border-radius: 50%; 
}
.tanmay{
     width: 30px;
    border-radius: 50%;
}
.samay{
    width: 25px;
    border-radius: 50%;
}
.harkirat{
      width: 30px;
      border-radius: 50%;
}