/* General Styles */
body {
    background-color: #a00000;
    background-image: url(K9BoxingLogo.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 200px 200px;
    padding-top: 140px;
    font-family: sans-serif;
    font-size: 100%;
}

.go-back-container {
    margin: 20px 0;
    text-align: left;
}

.go-back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #2c69ef;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.go-back-link span {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.go-back-link:hover {
    background-color: #fffc01;
    text-decoration: none;
    color: #2c69ef;
}


/* Navigation Bar */
nav {
    background-color: #1a1a1a;
    border-bottom: 2px solid #d4af37;
}

nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style-type: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #fffc01;
}

/* Page Heading */
h1 {
    text-align: center;
    color: white;
    font-size: 4em;
    font-family: fantasy;
}

/* Merchandise Container */
.merch-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Merchandise Item Styles */
.merch-item {
    background-color: #2c2c2c;
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s;
}

.merch-item:hover {
    transform: scale(1.05);
}

.merch-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.merch-item h2 {
    color: #fffc01;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.merch-item p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.price {
    font-weight: bold;
    color: #d4af37;
}

/* Buy Button Styles */
.buy-button {
    background-color: #2c69ef;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #fffc01;
    color: #2c69ef;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    font-size: 0.8em;
    background-color: #1a1a1a; /* Same as your nav/footer */
    color: #d4af37; /* Gold text */
}

p {
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.credit-container {
    position:fixed;
    top: 10px;
    right: 10px;
    font-size: 9px;
    color: #000000; /* You can adjust the color as needed */
}

/* Featured Teammate Section */
.featured-teammate {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

.featured-teammate img {
    max-width: 60%; /* Adjust this value to make the image smaller or larger */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.featured-teammate .caption {
    font-size: 1.2em;
    color: #d4af37;
    background-color: rgba(26, 26, 26, 0.8);
    padding: 15px;
    border-radius: 5px;
}

html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Optional: adds a slight upward motion */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards; /* Adjust duration and easing as needed */
    opacity: 0; /* Ensures the element is hidden before animation */
}

#cart-icon-container {
    position: fixed;
    top: 50px;
    right: 20px;
    cursor: pointer;
    font-size: 35px;
    display: flex;
    align-items: center;
}

#item-count {
    margin-left: 5px;
    font-size: 16px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
}

#checkout-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #28a745; /* Green button */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#checkout-button:hover {
    background-color: #1e642d; /* Darker green on hover */
}





