/* General Reset */
* {
    margin: 0;
    padding: 0;
   
}

/* Body and Header Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.2;
}

header {
    background-color: #7306f0;
    color: #0a0101;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #f50a0a;
    text-decoration: none;
}

/* Main Product Styles */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-details {
    max-width: 500px;
    margin-left: 20px;
}

.product-details  {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 1.5rem;
    color: #e67e22;
    margin-bottom: 20px;
}

.product-details .description {
    margin-bottom: 20px;
}

#buyButton {
    padding: 10px 20px;
    background-color: #e67e22;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#buyButton:hover {
    background-color: #d35400;
}

/* Footer Styles */
footer {
    background-color: #7306f0;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }

    .product-container {
        flex-direction: column;
    }

    .product-details {
        margin-left: 0;
    }

    footer {
        position: static;
        padding: 20px 0;
    }
}