body {
    padding: 0px;
    margin: 0; /* Remove default margin */
    background-image: url('https://pitmonk.com/page-background.png');
    background-position: center top; /* Centers the image horizontally and aligns it to the top */
    background-size: 100% auto; /* Stretches the image to cover the width of the screen */
    overflow-x: hidden; /* Prevent horizontal scrolling */
 
}

header {
   
width: 1200px; /* Width of the header matches the image width */
height: 529px; /* Height of the header matches the image height */
margin: auto; /* Center the header if the page width is larger than 1200px */
background-image: url('https://pitmonk.com/header-bg.png'); /* Your image URL */
background-size: cover; /* Cover the entire area of the header */
background-position: center; /* Center the image in the header */
background-repeat: no-repeat; /* Prevent the image from repeating */

}
#gameBar, footer {
width: 1200px;
margin: auto; /* Center these elements */
/* Other existing styles */
}

#cardContainer {
width: 1600px;
margin: auto; /* Center these elements */
/* Other existing styles */
}



/* Custom formatting for H1, H2, H3, H4, and Paragraph */
h1 {
    font-size: 2em; /* Example size */
    color: #d3d3d3; /* Example color */
    text-align: center;
    /* Add other styles as needed */
}

h2 {
    font-size: 1.75em;
    color: #d3d3d3;
    text-align: center;
    /* Add other styles as needed */
}

h3 {
    font-size: 1.5em;
    color: #d3d3d3;
    text-align: center;
    /* Add other styles as needed */
}

h4 {
    font-size: 1.25em;
    color: #d3d3d3;

    text-align: center;
     /* Add other styles as needed */
}

p {
    font-size: 1.2em;
    color: #fff;
    /* Add other styles as needed */
}

/* Styling hyperlinks within H1, H2, H3, H4, and Paragraph */
h1 a, h2 a, h3 a, h4 a, p a {
    color: inherit; /* Inherits the color of the parent element */
    text-decoration: underline; /* Underlines the hyperlink */
}


/* Style for text boxes */
input[type="text"] {
    height: 54px; /* Set the height of the text boxes */
    width: 140px; /* Set the width of the buttons */
    border-radius: 5px; /* Rounded corners */
    color: #d3d3d3;
    font-size: 18px; /* Font size */
    font-weight: bold; /* Bold font */
    text-align: center; /* Center the text horizontally */
    background-color:  #24394b; /* Change color to gold when pressed */
    /* Add any additional styling you need for the text boxes */
}

/* Style for buttons */
button {
    height: 60px; /* Set the height of the buttons */
    
    border-radius: 5px; /* Rounded corners */
    font-size: 18px; /* Font size */
    font-weight: bold; /* Bold font */
    text-align: center; /* Center the text horizontally */
    background-color: rgba(255, 217, 0, 0.715); /* Change color to gold when pressed */
    transition: box-shadow 0.3s ease; /* Smooth transition for the glow effect */
    /* Add any additional styling you need for the buttons */
}

/* Style for button glow on hover */
button:hover {
    box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.6); /* Gold glow effect */
}


/* Style for buttons when being pressed */
button:active {
    background-color: gold; /* Change color to gold when pressed */
}



.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.header-left, .header-center, .header-right {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.header-center img {
    max-width: 100%;
    height: auto;
}

/* Style the NFT card in the header-right section */
.header-right .card {
    margin: 0 auto; /* Center the card */
}


.header-right .card-placeholder, .header-right .card {
    border: 5px solid #c1c1c1; /* Red border */
    align: right;
    display: inline-block; /* Align image properly */
    background-color: #14202a; /* Change color to gold when pressed */
}

.header-right .card-placeholder img {
    max-width: 100%; /* Ensures the image does not overflow its container */
    height: auto; /* Maintain aspect ratio */
}

/* You might want to specify a fixed height for the header or the placeholder */
.header-right {
    height: 424px; /* Example fixed height to match the card height */
}


#navBar {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#gameBar {
    display: flex;
    justify-content: center;
    gap: 5px;
}

#gameBar input, #gameBar button {
    flex: 1;
    margin: 0 5px;
}

footer {
    padding: 20px;
    text-align: center;
   
}
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
    gap: 10px;
    justify-content: center;
    padding: 10px;
    margin: auto;
    max-width: 1380px;
    flex-wrap: wrap; /* Allow cards to wrap to the next line */
    display: flex;


}


@media (max-width: 1080px) {
.card {
width: calc((100% / 4) - 10px); /* Adjust the width for smaller screens */
/* Other styles... */
}
}


.card {
    width: 213px;
    height: 444px;
    position: relative;
    cursor: pointer;
    border: 5px solid #c4a808;
    background-color: rgba(19, 8, 1, 0.8);
    box-sizing: border-box;
    background-image: url('card-bg.png');
}

.card .card-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.card .card-title, .card .rank-info {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px 4px 2px;
}

.card .media-container {
    width: 200px;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
}

.card .card-media {
    height: 200px;
    object-fit: cover;
}

.card .card-traits {
    font-size: 14px;
    padding: 10px;
    color: rgb(255, 255, 255);
    overflow-y: auto;
    white-space: pre-line;
}

.card .trait-type {
    font-weight: bold;
    font-size: 10px;
}

.card .trait-value {
    font-weight: bold;
    font-size: 14px;
    font-style: italic;
}

.card-back {
    display: none;
    background-image: url('card-backside.png');
}

.card-flipped .card-back {
    display: block;
}

.card-flipped .card-clear {
    display: none;
}

/* Optional: Add styles to your image if needed */
#zinuImage {
    width: 130px; /* Example width */
    height: auto; /* Maintain aspect ratio */
    /* Add any other styling you need */
}


.button, .clipboard-button, .external-link-button, .gameboard-button, .pdf-button {
padding: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
transition: transform 0.1s;
}
.external-link-button {
background-color: #24394b;
color: white;
}
.clipboard-button {
background-color: #24394b;
color: white;
}

.button:hover, .clipboard-button:hover, .external-link-button:hover, .gameboard-button:hover, .pdf-button:hover {
transform: scale(1.05);
}
.button-group {
display: flex;
justify-content: space-between; 
width: 100%;
max-width: 600px;
}


#linkBar {
max-width: 1200px;
margin: auto;
padding: 20px;
text-align: center; /* Center the logos */
display: flex; /* Align items in a row */
justify-content: center; /* Center items horizontally */
align-items: center; /* Center items vertically */
gap: 20px; /* Spacing between logos */
}

#zinuImage, #openseaImage {
max-width: 100px; /* Control the size of the logos */
height: auto;
}

/* The switch - the box around the slider */
.toggle-switch {
position: relative;
display: inline-block;
width: 60px; /* Width of the switch */
height: 30px; /* Height of the switch */
}

/* The slider */
.toggle-switch .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc; /* Background of the slider */
transition: .4s;
border-radius: 34px; /* Rounded corners */
}

.toggle-switch .slider:before {
position: absolute;
content: "";
height: 25px; /* Height of the circle */
width: 25px; /* Width of the circle */
left: 2px;
bottom: 2px;
background-color: #ffffff;
transition: .4s;
border-radius: 50%; /* Make it circular */
}

input:checked + .slider {
background-color: #1e2c38; /* Color when switched on */
}

input:focus + .slider {
box-shadow: 0 0 1px #1e2c38; /* Focused state */
}

input:checked + .slider:before {
transform: translateX(26px); /* Move the circle when checked */
}

#linkBar {
max-width: 1200px;
margin: auto;
padding: 20px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}

#linkBar input[type="text"] {
width: 80px; /* Width for 5-digit number */
margin-right: 10px;
}

#linkBar button {
background-color: grey;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s;
}

#linkBar button:hover {
background-color: lightgrey;
box-shadow: 0 0 10px lightblue;
}


.card-back {
width: 100%;
height: 100%;
/* Add more styles as needed */
}


