* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;

}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



.container {
    width: 100%;
    background-color: rgba(0, 128, 128, 1);
    overflow: hidden;

}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 0;
}

nav .logo {
    width: 163px;
    height: 82px;
    margin: 0px 0px 0px 80px;


    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    width: 100%;
    margin-left: 180px;
    text-align: right;
    padding-right: 30px;
}

nav ul li {
    display: inline-block;
    margin: 10px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    height: 30px;
    font-size: 25px;
}

nav .menu {
    display: none;
}



.product-item img {
    height: 60px;
}

/* Product Page Title */
.pro-pcb {
    background-color: white;
}



.product-title {
    background-color: #f4f4f4;
    padding: 30px 20px;
    text-align: center;
}

.product-title h1 {
    color: #008080;
    font-size: 36px;
    margin-bottom: 10px;
}

.product-title p {
    font-size: 18px;
    color: #666;
}

/* Products Section */
.products {
    padding: 50px 20px;
}

.products .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-item h3 {
    color: #008080;
    font-size: 22px;
    margin: 15px 0 10px;
}

.product-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}



footer {
    width: 100%;
    height: 430px;
    background-color: rgba(217, 217, 217, 1);
}

footer div h2 {
    margin-left: 80px;
    padding-top: 40px;

}

footer div input {
    width: 364px;
    height: 52px;
    margin-left: 80px;
    margin-top: 20px;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: left;
    padding: 10px 10px;
    background-color: white;

}

footer div .sign-up {

    background-color: rgba(51, 51, 51, 1);
    /* Green background */
    color: white;
    /* White text */
    padding: 15px 32px;
    /* Padding around text */
    font-size: 16px;
    /* Font size */
    border: none;
    /* Remove borders */
    border-radius: 4px;
    /* Rounded corners */
    cursor: pointer;
    /* Change cursor on hover */
    text-align: center;
    /* Center text inside button */


}

.footer-container {
    display: flex;
    /* Aligns the child divs (foot-info) in a row */
    justify-content: space-between;
    /* Adds space between the divs */
    align-items: center;
    /* Aligns the divs to the top (you can change it to 'center' if you prefer) */
    /* background-color: #f1f1f1; Optional background for the footer */
    padding: 20px;
    /* Adds padding around the footer */
    flex-wrap: wrap;
    /* Allows wrapping in case the screen width is smaller */
}

.foot-info {
    flex: 1;
    /* Makes the divs flexible, adjusting the width automatically */
    margin: 10px;
    /* Adds space around each div */
    max-width: 300px;
    align-items: center;
    /* Limits the maximum width of each div */
}

.foot-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-right: 40px;
}

.foot-info p {
    margin-left: 80px;
}

.footer-end {
    display: flex;
    background-color: rgba(0, 128, 128, 1);
    color: white;
    height: 52px;
}

.footer-end p {
    margin-left: 80px;
    text-align: center;
    margin-right: 700px;
    padding-top: 20px;
}

.footer-end img {
    margin: 10px 10px;
    color: none;
    margin-left: 20px;
}

.foot-info a {
    display: none;
}

/* responsive for teb */
@media(max-width: 768px) {
    .container {
        width: 100%;
        height: 100px;
        overflow-x: hidden;
    }

    html,
    body {
        overflow-x: hidden;
    }

    nav {
        padding: 10px;
        justify-content: space-between;
    }

    nav .logo {
        margin-left: 40px;
    }

    nav ul {
        display: none;
        /* Hide the full menu */
        flex-direction: column;
        position: absolute;
        top: 60px;
        /* Place the menu below the nav bar */
        /* left: 0; */
        background-color: rgba(0, 128, 128, 1);
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul li a {
        font-size: 20px;
        /* Slightly smaller font */
    }

    nav .menu {
        display: block;
        /* Show the hamburger menu icon */
        cursor: pointer;
        margin-right: 10px;
        color: white;
        font-size: 30px;
        margin-top: 30px;
    }

    /* Toggle the menu visibility when clicking the hamburger icon */
    nav ul.show {
        display: flex;
    }

    nav .search {
        padding-right: 20px;
    }

    nav h6 {
        font-size: 20px;
        padding-right: 10px;
    }

    nav .logo {
        width: 105px;
        height: 70px;
        margin-left: 40px;
        margin-top: 10px 10px;
    }

    nav .menu {
        display: block;
        color: rgb(0, 0, 0);
        height: 1px;
        width: 55px;
        margin-bottom: 50px;
        margin-right: 40px;
        padding-right: 30px;
    }

    nav ul,
    .user,
    h6 {
        display: none;
    }

    .product-item h3 {
        font-size: 20px;
    }

    .product-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        height: auto;
        overflow-x: hidden;
    }

    html,
    body {
        overflow-x: hidden;
        padding: 0;
        margin: 0;
    }

    nav {
        flex-direction: row;
        padding: 10px;
        justify-content: space-between;
        align-items: center;
    }

    nav .logo {
        width: 80px;
        height: 60px;
        margin-left: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(0, 128, 128, 1);
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
    }

    nav .menu {
        display: block;
        font-size: 10px;
        height: 1px;

        margin-bottom: 50px;
        margin-right: 10px;
        padding-right: 30px;
    }

    nav .menu {
        height: 10px;

    }

    nav .search {
        padding-right: 10px;
    }

    nav h6 {
        font-size: 16px;
        padding-right: 0;
    }




    .product-title h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .product-title p {
        font-size: 14px;
    }

    /* Products Section */
    .products {
        padding: 20px 10px;
        width: 100%;
        height: auto;
    }

    .products .container {
        display: grid;
        grid-template-columns: minmax(100px, 0.5fr);
        gap: 5px;
        height: auto;
    }

    .product-item {
        padding: 15px;
        border-radius: 8px;
    }

    .product-item img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .product-item h3 {
        font-size: 18px;
        margin: 10px 0 8px;
    }

    .product-item p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Adjust grid for single-column layout */
    .products .container {
        grid-template-columns: 1fr;
    }

    footer {
        height: auto;
    }

    footer div h2 {
        margin-left: 20px;
        padding-top: 10px;

    }

    footer div input {

        height: 32px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 20px;
        border: 1px solid gray;
        border-radius: 5px;
        text-align: left;
        padding: 5px 5px;
        background-color: white;

    }

    footer div .sign-up {
        width: 80px;
        height: 32px;
        background-color: rgba(51, 51, 51, 1);
        /* Green background */
        color: white;
        margin-top: 10px;
        margin-left: 10px;
        /* White text */
        padding: 5px 5px;
        /* Padding around text */
        font-size: 16px;
        /* Font size */
        border: none;
        /* Remove borders */
        border-radius: 4px;
        /* Rounded corners */
        cursor: pointer;
        /* Change cursor on hover */
        text-align: center;
        /* Center text inside button */


    }

    .footer-container a {
        margin-left: 80px;
    }

    .footer-end {
        display: flex;
        background-color: rgba(0, 128, 128, 1);
        color: white;
        height: 52px;
    }

    .footer-end p {
        margin-left: 10px;
        text-align: center;
        margin-right: 10px;
        padding-top: 20px;
        font-size: 12px;
    }

    .footer-end img {
        margin: 10px 10px;
        color: none;
        margin-left: px;
        width: 20px;
        height: 20px;
        align-items: center;
    }

}