body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    background-color: #f8f8f8;
    padding: 0.5em 0;
    text-align: center;
    position: relative;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.burger-menu {
    position: absolute;
    left: 1em;
    font-size: 1.2em;
    cursor: pointer;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

nav {
    background-color: #333;
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;
    left: -250px;
    transition: left 0.3s ease;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 2em;
    text-align: center;
}

nav ul li {
    margin: 1em 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav.show {
    left: 0;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    background-color: #ffffff;
}

.product, .about, .contact {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-details, .about, .contact {
    margin-top: 1em;
}

.product-details h2, .about h2, .contact h2 {
    font-size: 1.2em;
    color: #333;
}

.product-details p, .about p, .contact p {
    font-size: 0.9em;
    color: #666;
    margin: 0.5em 0 1.5em;
}

.contact form {
    display: flex;
    flex-direction: column;
}

.contact form label {
    margin-bottom: 0.5em;
    color: #333;
}

.contact form input, .contact form textarea {
    margin-bottom: 1em;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact form button {
    padding: 0.75em 1.5em;
    font-size: 1em;
    color: #ffffff;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact form button:hover {
    background-color: #218838;
}

.buy-button {
    display: inline-block;
    padding: 0.75em 1.5em;
    font-size: 1em;
    color: #ffffff;
    background-color: #28a745;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #218838;
}

footer {
    background-color: #f8f8f8;
    text-align: center;
    padding: 0.5em 0;
}

footer p {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.2em;
    }
    .product-details h2, .about h2, .contact h2 {
        font-size: 1em;
    }
    .product-details p, .about p, .contact p {
        font-size: 0.8em;
    }
    .buy-button {
        font-size: 0.9em;
    }
    .contact form button {
        font-size: 0.9em;
    }
}
