/* styles.css */

body {
    background-color: rgb(22, 22, 22); /* Darker grey background */
    color: #fff; /* White text */
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.disable-download img {
    pointer-events: none;
}

.link-transition a {
    transition: background 0.2s ease, color 0.2s ease;
}

.link-transition a svg {
    transition: fill 0.2s ease;
}

/* New Header Styles */
.header {
    background-color: rgb(12, 12, 12); /* Black background */
    color: #fff;
    padding: 40px;
    padding-bottom: 50px; /* Add padding to the bottom */
    display: flex;
    justify-content: space-between; /* Spread content horizontally */
    align-items: center; /* Center content vertically */
    width: 100%; /* Full width */
    box-sizing: border-box; /* Include padding and border in total width */
}

.header-content {
    display: flex;
    align-items: center; /* Center content vertically */
    /*max-width: 1200px; */
    margin: 20 auto; /* Center the content */
    width: 100%; /* Full width */
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%; /* Adjust the width as needed */
}

.logo img {
    max-height: 175px;
    width: auto;
    max-width: 100%;
}

.main-menu {
    display: flex;
    align-items: center;
    width: 35%; /* Adjust the width as needed */
    margin-left: 25px;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu li {
    margin-right: 18px;
}

.main-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 100;
    font-style: normal;
    font-size: 19px;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #3498db;
}
/* End of New Header Styles */

.image-grid {
    max-width: 1200px;
    margin: 0 auto; /* Center the grid */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four images per row */
    gap: 20px;
    padding: 20px;
}

.image {
    position: relative;
    width: 250px; /* Set a fixed width for the image container */
    height: 250px; /* Set a fixed height for the image container */
    overflow: hidden; /* Hide the overflowing content */
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.buy-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.payment-buttons {
    text-align: center;
    padding: 20px;
}

#crypto-button-container {
    /* Add styling for your crypto payment button container */
}


/* Add these styles to your existing CSS */

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px; /* Adjust the maximum width as needed */
    background: #333; /* Dark grey background */
    color: #fff; /* White text */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.popup-content {
    position: relative;
    padding: 20px;
    text-align: center;
}

.popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 14px;
    margin-bottom: 20px;
}

.popup-image-options {
    display: flex;
}

.popup-image-container {
    max-width: 50%; /* Adjust the maximum width as needed */
    text-align: left; /* Align image to the left */
}

#popupImage {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.options-container {
    max-width: 50%; /* Adjust the maximum width as needed */
    padding-left: 20px; /* Buffer between edge and image */
    text-align: left; /* Align options to the left */
}

.buy-options {
    width: 100%;
}

.buy-option {
    display: block;
    width: calc(100% - 20px); /* Adjusted width with padding */
    margin-bottom: 10px;
    padding: 10px;
    background: transparent; /* Transparent background */
    border: 2px solid white; /* White border */
    color: white; /* White text */
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
}

.buy-option.selected {
    background: #3498db; /* Light blue background */
    border: 2px solid #3498db; /* Light blue border */
    color: #fff; /* White text */
}

.buy-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5; /* Initial opacity, will be updated dynamically */
    transition: background 0.3s ease, opacity 0.3s ease;
}

.buy-button.enabled {
    opacity: 1; /* Full opacity when enabled */
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}


.popup {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Maximum width */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#cart-section {
    display: flex;
    align-items: center; /* Center vertically */
    margin: 20px; /* Space above the grid */
}

#cart-icon {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    cursor: pointer; /* Pointer cursor for interactivity */
}

#cart-count {
    margin-left: 5px; /* Space between icon and count */
    font-size: 18px; /* Adjust font size as needed */
    color: black; /* Adjust color as needed */
}