* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #0079c1;
    color: white;
    padding: 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo {
    height: 300px;
    margin-right: 10px;
}

h1 {
    margin-bottom: 0;
}

nav {
    margin-top: 1rem;
    text-align: center;
}

.dropdown-menu {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.main-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.main-link {
    margin: 0 1rem;
    text-decoration: none;
    color: #0079c1;
    font-weight: bold;
}

.main-link:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
}

.about-us {
    text-align: center;
}

.home {
    text-align: center;
}

.home-banner {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 5px;
}

.soap-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.soap-entry {
    flex: 0 1 calc(33.333% - 2rem);
    margin: 1rem;
    background-color: #f1f1f1;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.soap-entry img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0079c1;
}

footer {
    background-color: #0079c1;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Media queries for mobile optimization */

@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .soap-entry {
        flex: 0 1 calc(50% - 2rem);
    }
}

@media (max-width: 480px) {
    .soap-entry {
        flex: 0 1 100%;
    }
}
