* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}


/* Search-bar dropdown */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    z-index: 2000;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    background: white;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-header h2 {
    font-size: 24px;
    font-weight: 500;
    color: #111827;
}

.close-search {
    background: none;
    border: none;
    font-size: 20px;
    color: #6B7280;
    cursor: pointer;
    padding: 4px;
}

.search-form {
    position: relative;
    margin-bottom: 20px;
}

.search-form input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 48px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.search-form input:focus {
    border-color: #6c5ce7;
}

.search-submit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 4px;
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    position: fixed;
    background-color: #fff;
    border-bottom: 1px solid rgb(192, 192, 192);
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    width: 20%;
}

.logo img {
    width: 60%;
    margin-left: 0.5rem;
}

.navbar .nav2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.search-button {
    border-radius: 8px;
    border: none;
    background-color: white;
    color: #000;
    border: 1px solid rgb(192, 192, 192);
    cursor: pointer;
    font-size: 20px;
    font-weight: 100;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-size: 13px;
    border: 1px solid gray;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0.75rem;
}

.user-info .user-name {
    font-size: 15px;
    font-weight: 400;
    color: #000;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* margin-right: 0.5rem; */
}


.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    /* margin-bottom: 24px;
    margin-top: 7rem; */
    margin: 5.5rem 1rem 1rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #ececec80;
    transition: 0.3s;
}

.back-button:hover {
    background-color: #ececec;
}

.nft-container {
    display: flex;
    justify-content: space-evenly;
    align-items: top;
    padding: 10px;
}

.nft-image {
    width: 35%;
    border-radius: 16px;
    aspect-ratio: 1;
    object-fit: cover;
}

.nft-details {
    width: 60%;
    padding: 20px 0;
}

.nft-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.owner-info {
    color: #6B7280;
    margin-bottom: 16px;
}

.owner-name {
    color: #111827;
    font-weight: 500;
}

.description {
    color: #374151;
    margin-bottom: 24px;
}

.price-container {
    background-color: #ececec80;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.price-label {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.price-selector {
    position: relative;
}
.bidMake{
    width: 100%;
    margin-top: 15px;
}

.bidMake input{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #555;
    margin-top: 5px;
}

.price-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 40%;
    margin-top: 20px;
    cursor: pointer;
}

.weth {
    font-size: 32px;
    font-weight: 600;
}

#selected-currency {
    font-size: 20px;
}

.dropdown-icon {
    font-size: 20px;
}

.usd-price {
    color: #6B7280;
    font-size: 14px;
    margin-top: 10px;
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 200px;
    display: none;
    z-index: 10;
    margin-top: 4px;
}

.currency-dropdown.show {
    display: block;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.currency-option:hover {
    background-color: #f3f4f6;
}

.currency-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.currency-option .dot {
    width: 8px;
    height: 8px;
    background-color: #7c3aed;
    border-radius: 50%;
    margin-right: -4px;
    display: none;
}

.currency-option.selected .dot {
    display: block;
}

.buy-button {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background-color: #7c3aed;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.buy-button:hover {
    background-color: #6d28d9;
}



.art-container {
    margin: 2rem 0.7rem;
    padding: 25px;
    border-radius: 20px;
    background-color: #ececec80;
}

.art-container h1 {
    font-weight: 600;
    font-size: 20px;
    margin: 10px;
}

.art {
    padding: 50px;
}

.art-container .art-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.art-container .art-text a{
    text-decoration: none;
    color: black;
    background-color: #ececec;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.art-container .art-text a:hover{
    background-color: #c7c7c7;
}

.art .swiper a {
    text-decoration: none;
    color: #333;
}

.art .swiper .swiper-slide {
    width: 30%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: -7;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1.5% 0%;
    transition: transform 0.3s ease;
}

.art .swiper .swiper-slide:hover {
    transform: translateY(-4px);
}

.art .swiper .swiper-slide .card-image {
    width: 100%;
    height: 220px;
    image-orientation: center;
    object-fit: cover;
}

.art .swiper-wrapper {
    margin-right: 10%;
}

.art .nft-info {
    padding: 16px;
}

.art .nft-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 17px;
}

.art .nft-creator {
    color: #666;
    font-size: 14px;
}

.art .nft-price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.art .nft-price img {
    width: 10%;
}

.art .nft-price .first {
    font-weight: bold;
    font-size: 16px;
}

.art .nft-price .last {
    font-size: 11px;
}





.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 500px;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
}

.submit-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #444;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: #6c5ce7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
.footer-bottom-links a:hover {
    color: #6c5ce7;
}





@media (max-width: 768px) {
    .search-container {
        margin: 0 16px;
    }

    .search-header h2 {
        font-size: 20px;
    }

    .logo img {
        width: 10rem;
    }

    .user-info span {
        display: none;
    }

    .nft-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nft-image {
        width: 100%;
        border-radius: 16px;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .nft-title {
        font-size: 24px;
    }

    .price-container {
        margin-top: 16px;
    }

    .nft-details {
        width: 100%;
    }

    .art-container{
        padding: 2px;
    }

    .art-container h1{
        margin: 20px;
    }

    .art-container .art-text{
        margin: 15px;
    }

    .art{
        padding: 35px;
    }

    .art .swiper .swiper-slide {
        width: calc(50% - 15px) !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .email-input {
        max-width: 100%;
    }
}