/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header-content {
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
}

.main-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    display: inline;
    margin-right: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
}

.social-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #333;
}

.social-links:hover {
    display: block;
    color: lightgray;
    background-color: white;
    transition: 0,5s;
}

.featured {
    padding-left: 20px;
}

.featured img {
    max-width: 100px;
    height: auto;
}

.tarjous {
    padding-left: 20px;
    padding-right: 2px;
    color: lightpink;
}





/* Product Styles */

#featured-products {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;/* Ensure items wrap on smaller screens */
}


.product {
    border: 1px solid #ccc;
    box-shadow: lightslategray;
    padding: 20px;
    margin: 10px;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    background-color: lightgray;
    
}

.product img {
    max-width: 100%;
    height: auto;
}


/* Footer Styles */
footer {
    background-color: #f3f3f3;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    text-align: left;
}

.copyright {
    text-align: right;
    padding-right: 20px;
}   


/* Responsive adjustments */
@media only screen and (max-width: 600px) {
    .header-content, .footer-content {
        flex-direction: column;
        text-align: center;
    }

    #featured-products {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 80%;
    }
}

#hero {
    background-image: url('kansikuva1.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}